Searched refs:dataTable (Results 1 – 4 of 4) sorted by relevance
55 UChar*** dataTable = NULL; variable71 if(dataTable == NULL) { in setUpDataTable()72 dataTable = (UChar***)calloc(sizeof(UChar**),3); in setUpDataTable()75 dataTable[i] = (UChar**)calloc(sizeof(UChar*),4); in setUpDataTable()77 dataTable[i][j] = (UChar*) malloc(sizeof(UChar)*(strlen(raw[i][j])+1)); in setUpDataTable()78 u_uastrcpy(dataTable[i][j],raw[i][j]); in setUpDataTable()87 if(dataTable != NULL) { in cleanUpDataTable()90 free(dataTable[i][j]); in cleanUpDataTable()92 free(dataTable[i]); in cleanUpDataTable()94 free(dataTable); in cleanUpDataTable()[all …]
160 static UChar*** dataTable=0; variable544 testLocale=(char*)realloc(testLocale, sizeof(char) * (u_strlen(dataTable[NAME][i])+1)); in TestSimpleResourceInfo()545 u_austrcpy(testLocale, dataTable[NAME][i]); in TestSimpleResourceInfo()552 if (0 != u_strcmp(expected, dataTable[LANG3][i])) { in TestSimpleResourceInfo()554 austrdup(dataTable[LANG3][i])); in TestSimpleResourceInfo()560 if (0 != u_strcmp(expected, dataTable[CTRY3][i])) { in TestSimpleResourceInfo()562 austrdup(dataTable[CTRY3][i])); in TestSimpleResourceInfo()974 expectedLang=dataTable[compareIndex][i]; in doTestDisplayNames()976 expectedLang=dataTable[DLANG_EN][i]; in doTestDisplayNames()978 expectedScript=dataTable[compareIndex + 1][i]; in doTestDisplayNames()[all …]
166 : dataTable(NULL) in LocaleTest()173 if (dataTable != 0) { in ~LocaleTest()175 delete []dataTable[i]; in ~LocaleTest()177 delete []dataTable; in ~LocaleTest()178 dataTable = 0; in ~LocaleTest()245 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i])) in TestBasicGetters()247 + dataTable[LANG][i]); in TestBasicGetters()248 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i])) in TestBasicGetters()250 + dataTable[SCRIPT][i]); in TestBasicGetters()251 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i])) in TestBasicGetters()[all …]
124 UnicodeString** dataTable; variable