Searched refs:cat1 (Results 1 – 2 of 2) sorted by relevance
/haiku/src/tests/kits/locale/ |
H A D | catalogTestAddOn.cpp | 36 BPrivate::EditableCatalog cat1("Default", catSig, "German"); in Run() local 37 assert(cat1.InitCheck() == B_OK); in Run() 40 res = cat1.SetString("string", "Schnur_A", B_TRANSLATION_CONTEXT); in Run() 42 res = cat1.SetString(hashVal, "Schnur_id_A"); in Run() 46 res = cat1.SetString("string", "String_A", "programming"); in Run() 48 res = cat1.SetString("string", "Textpuffer_A", "programming", in Run() 51 res = cat1.SetString("string", "Leine_A", B_TRANSLATION_CONTEXT, in Run() 54 res = cat1.WriteToFile("./locale/catalogs/"catSig"/german.catalog"); in Run() 58 s = cat1.GetString("string", B_TRANSLATION_CONTEXT); in Run() 60 s = cat1.GetString(hashVal); in Run() [all …]
|
H A D | catalogSpeed.cpp | 61 BPrivate::EditableCatalog cat1("Default", catSig, "klingon"); in TestCreation() local 62 assert(cat1.InitCheck() == B_OK); in TestCreation() 66 cat1.SetString(strs[i].String(), trls[i].String(), ctxs[i].String()); in TestCreation() 70 cat1.CountItems(), watch.ElapsedTime()); in TestCreation() 74 res = cat1.WriteToFile("./locale/catalogs/"catSig"/klingon.catalog"); in TestCreation() 78 cat1.CountItems(), watch.ElapsedTime()); in TestCreation() 122 BPrivate::EditableCatalog cat1("Default", catSig, "klingon"); in TestIdCreation() local 123 assert(cat1.InitCheck() == B_OK); in TestIdCreation() 132 cat1.SetString(i, trls[i].String()); in TestIdCreation() 136 cat1.CountItems(), watch.ElapsedTime()); in TestIdCreation() [all …]
|