Home
last modified time | relevance | path

Searched refs:strFile (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/icu/source/test/iotest/
Dstrtst.c254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US"); in TestLocalizedString() local
256 if (!strFile) { in TestLocalizedString()
260 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
261 u_frewind(strFile); in TestLocalizedString()
262 u_fscanf(strFile, "%d", &numResult); in TestLocalizedString()
272 u_frewind(strFile); in TestLocalizedString()
273 locale = u_fgetlocale(strFile); in TestLocalizedString()
275 log_err("u_fgetlocale didn't return \"en\" Got: %d\n", u_fgetlocale(strFile)); in TestLocalizedString()
277 u_fsetlocale(strFile, "de_DE"); in TestLocalizedString()
278 locale = u_fgetlocale(strFile); in TestLocalizedString()
[all …]
/external/icu/icu4c/source/test/iotest/
Dstrtst.c254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US"); in TestLocalizedString() local
256 if (!strFile) { in TestLocalizedString()
260 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
261 u_frewind(strFile); in TestLocalizedString()
262 u_fscanf(strFile, "%d", &numResult); in TestLocalizedString()
272 u_frewind(strFile); in TestLocalizedString()
273 locale = u_fgetlocale(strFile); in TestLocalizedString()
275 log_err("u_fgetlocale didn't return \"en\" Got: %d\n", u_fgetlocale(strFile)); in TestLocalizedString()
277 u_fsetlocale(strFile, "de_DE"); in TestLocalizedString()
278 locale = u_fgetlocale(strFile); in TestLocalizedString()
[all …]