Lines Matching refs:theBundle

455     UResourceBundle* theBundle = NULL;  in TestNewTypes()  local
479 theBundle = ures_open(testdatapath, "testtypes", &status); in TestNewTypes()
481 empty = tres_getString(theBundle, -1, "emptystring", &len, &status); in TestNewTypes()
488 CONFIRM_INT_NE(theBundle, NULL); in TestNewTypes()
495 res = ures_getByKey(theBundle, "zerotest", res, &status); in TestNewTypes()
511 res = ures_getByKey(theBundle, "binarytest", res, &status); in TestNewTypes()
524 res = ures_getByKey(theBundle, "importtest", res, &status); in TestNewTypes()
537 res = ures_getByKey(theBundle, "one", res, &status); in TestNewTypes()
549 res = ures_getByKey(theBundle, "minusone", res, &status); in TestNewTypes()
562 res = ures_getByKey(theBundle, "plusone", res, &status); in TestNewTypes()
573 res = ures_getByKey(theBundle, "onehundredtwentythree", res, &status); in TestNewTypes()
584 const UChar* str = tres_getString(theBundle,-1,"testescape",&len,&status); in TestNewTypes()
623 got = tres_getString(theBundle,-1,"test_unescaping",&len,&status); in TestNewTypes()
640 const UChar* str = tres_getString(theBundle,-1,"test_underscores",&len,&status); in TestNewTypes()
656 resB = ures_getByKey(theBundle, "collations", resB, &status); in TestNewTypes()
682 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status); in TestNewTypes()
719 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status); in TestNewTypes()
752 ures_close(theBundle); in TestNewTypes()
757 UResourceBundle* theBundle = NULL; in TestEmptyTypes() local
777 theBundle = ures_open(testdatapath, "testtypes", &status); in TestEmptyTypes()
781 CONFIRM_INT_NE(theBundle, NULL); in TestEmptyTypes()
789 res = ures_getByKey(theBundle, "emptyexplicitstring", res, &status); in TestEmptyTypes()
804 res = ures_getByKey(theBundle, "emptystring", res, &status); in TestEmptyTypes()
819 res = ures_getByKey(theBundle, "emptyint", res, &status); in TestEmptyTypes()
833 res = ures_getByKey(theBundle, "emptyintv", res, &status); in TestEmptyTypes()
850 res = ures_getByKey(theBundle, "emptybin", res, &status); in TestEmptyTypes()
867 res = ures_getByKey(theBundle, "emptyarray", res, &status); in TestEmptyTypes()
883 res = ures_getByKey(theBundle, "emptytable", res, &status); in TestEmptyTypes()
898 ures_close(theBundle); in TestEmptyTypes()
1594 UResourceBundle* theBundle = NULL; in testTag() local
1638 theBundle = ures_open(testdatapath, param[i].name, &status); in testTag()
1714 string=tres_getString(theBundle, -1, tag, &len, &status); in testTag()
1745 array=ures_getByKey(theBundle, tag, array, &status); in testTag()
1787 array=ures_getByKey(theBundle, tag, array, &status); in testTag()
1823 array2d=ures_getByKey(theBundle, tag, array2d, &status); in testTag()
1875 array2d=ures_getByKey(theBundle, tag, array2d, &status); in testTag()
1919 tags=ures_getByKey(theBundle, tag, tags, &status); in testTag()
1956 tags=ures_getByKey(theBundle, tag, tags, &status); in testTag()
1993 ures_close(theBundle); in testTag()
2014 UResourceBundle* theBundle = NULL; in TestPreventFallback() local
2028 theBundle = ures_open(testdatapath, "te_IN_NE", &status); in TestPreventFallback()
2036 …ures_getStringByKeyWithFallback(theBundle, "string_in_te_no_te_IN_fallback", &unused_len, &status); in TestPreventFallback()
2044 ures_getStringByKeyWithFallback(theBundle, "string_only_in_te", &unused_len, &status); in TestPreventFallback()
2050 ures_close(theBundle); in TestPreventFallback()
2053 theBundle = ures_open(testdatapath, "te", &status); in TestPreventFallback()
2059 …ures_getStringByKeyWithFallback(theBundle, "string_in_te_no_te_IN_fallback", &unused_len, &status); in TestPreventFallback()
2065 ures_close(theBundle); in TestPreventFallback()