Lines Matching refs:theBundle
483 UResourceBundle* theBundle = NULL; in TestNewTypes() local
507 theBundle = ures_open(testdatapath, "testtypes", &status); in TestNewTypes()
509 empty = tres_getString(theBundle, -1, "emptystring", &len, &status); in TestNewTypes()
516 CONFIRM_INT_NE(theBundle, NULL); in TestNewTypes()
523 res = ures_getByKey(theBundle, "zerotest", res, &status); in TestNewTypes()
539 res = ures_getByKey(theBundle, "binarytest", res, &status); in TestNewTypes()
552 res = ures_getByKey(theBundle, "importtest", res, &status); in TestNewTypes()
565 res = ures_getByKey(theBundle, "one", res, &status); in TestNewTypes()
577 res = ures_getByKey(theBundle, "minusone", res, &status); in TestNewTypes()
590 res = ures_getByKey(theBundle, "plusone", res, &status); in TestNewTypes()
601 res = ures_getByKey(theBundle, "onehundredtwentythree", res, &status); in TestNewTypes()
612 const UChar* str = tres_getString(theBundle,-1,"testescape",&len,&status); in TestNewTypes()
651 got = tres_getString(theBundle,-1,"test_unescaping",&len,&status); in TestNewTypes()
668 const UChar* str = tres_getString(theBundle,-1,"test_underscores",&len,&status); in TestNewTypes()
684 resB = ures_getByKey(theBundle, "collations", resB, &status); in TestNewTypes()
710 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status); in TestNewTypes()
747 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status); in TestNewTypes()
780 ures_close(theBundle); in TestNewTypes()
785 UResourceBundle* theBundle = NULL; in TestEmptyTypes() local
805 theBundle = ures_open(testdatapath, "testtypes", &status); in TestEmptyTypes()
809 CONFIRM_INT_NE(theBundle, NULL); in TestEmptyTypes()
817 res = ures_getByKey(theBundle, "emptyexplicitstring", res, &status); in TestEmptyTypes()
832 res = ures_getByKey(theBundle, "emptystring", res, &status); in TestEmptyTypes()
847 res = ures_getByKey(theBundle, "emptyint", res, &status); in TestEmptyTypes()
861 res = ures_getByKey(theBundle, "emptyintv", res, &status); in TestEmptyTypes()
878 res = ures_getByKey(theBundle, "emptybin", res, &status); in TestEmptyTypes()
895 res = ures_getByKey(theBundle, "emptyarray", res, &status); in TestEmptyTypes()
911 res = ures_getByKey(theBundle, "emptytable", res, &status); in TestEmptyTypes()
926 ures_close(theBundle); in TestEmptyTypes()
1648 UResourceBundle* theBundle = NULL; in testTag() local
1692 theBundle = ures_open(testdatapath, param[i].name, &status); in testTag()
1768 string=tres_getString(theBundle, -1, tag, &len, &status); in testTag()
1799 array=ures_getByKey(theBundle, tag, array, &status); in testTag()
1841 array=ures_getByKey(theBundle, tag, array, &status); in testTag()
1877 array2d=ures_getByKey(theBundle, tag, array2d, &status); in testTag()
1929 array2d=ures_getByKey(theBundle, tag, array2d, &status); in testTag()
1973 tags=ures_getByKey(theBundle, tag, tags, &status); in testTag()
2010 tags=ures_getByKey(theBundle, tag, tags, &status); in testTag()
2047 ures_close(theBundle); in testTag()
2068 UResourceBundle* theBundle = NULL; in TestPreventFallback() local
2082 theBundle = ures_open(testdatapath, "te_IN_NE", &status); in TestPreventFallback()
2090 …ures_getStringByKeyWithFallback(theBundle, "string_in_te_no_te_IN_fallback", &unused_len, &status); in TestPreventFallback()
2098 ures_getStringByKeyWithFallback(theBundle, "string_only_in_te", &unused_len, &status); in TestPreventFallback()
2104 ures_close(theBundle); in TestPreventFallback()
2107 theBundle = ures_open(testdatapath, "te", &status); in TestPreventFallback()
2113 …ures_getStringByKeyWithFallback(theBundle, "string_in_te_no_te_IN_fallback", &unused_len, &status); in TestPreventFallback()
2119 ures_close(theBundle); in TestPreventFallback()