Lines Matching refs:strFile
254 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()
280 log_err("u_fgetlocale didn't return \"de\" Got: %d\n", u_fgetlocale(strFile)); in TestLocalizedString()
283 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
284 u_frewind(strFile); in TestLocalizedString()
286 u_fscanf(strFile, "%d", &numResult); in TestLocalizedString()
287 u_fclose(strFile); in TestLocalizedString()
297 strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), NULL); in TestLocalizedString()
298 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
299 u_frewind(strFile); in TestLocalizedString()
301 u_fscanf(strFile, "%d", &numResult); in TestLocalizedString()
302 u_fclose(strFile); in TestLocalizedString()