Searched refs:dataTable (Results 1 - 4 of 4) sorted by relevance

/external/icu4c/test/cintltst/
H A Dcustrtst.c60 UChar*** dataTable = NULL; variable
76 if(dataTable == NULL) {
77 dataTable = (UChar***)calloc(sizeof(UChar**),3);
80 dataTable[i] = (UChar**)calloc(sizeof(UChar*),4);
82 dataTable[i][j] = (UChar*) malloc(sizeof(UChar)*(strlen(raw[i][j])+1));
83 u_uastrcpy(dataTable[i][j],raw[i][j]);
92 if(dataTable != NULL) {
95 free(dataTable[i][j]);
97 free(dataTable[i]);
99 free(dataTable);
[all...]
H A Dcloctst.c157 static UChar*** dataTable=0; variable
534 testLocale=(char*)realloc(testLocale, sizeof(char) * (u_strlen(dataTable[NAME][i])+1));
535 u_austrcpy(testLocale, dataTable[NAME][i]);
542 if (0 != u_strcmp(expected, dataTable[LANG3][i])) {
544 austrdup(dataTable[LANG3][i]));
550 if (0 != u_strcmp(expected, dataTable[CTRY3][i])) {
552 austrdup(dataTable[CTRY3][i]));
964 expectedLang=dataTable[compareIndex][i];
966 expectedLang=dataTable[DLANG_EN][i];
968 expectedScript=dataTable[compareInde
[all...]
/external/icu4c/test/intltest/
H A Dloctest.cpp165 : dataTable(NULL)
172 if (dataTable != 0) {
174 delete []dataTable[i];
176 delete []dataTable;
177 dataTable = 0;
252 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i]))
254 + dataTable[LANG][i]);
255 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i]))
257 + dataTable[SCRIPT][i]);
258 if ( (temp=testLocale.getCountry()) != (dataTable[CTR
[all...]
H A Dloctest.h122 UnicodeString** dataTable; member in class:LocaleTest

Completed in 89 milliseconds