Lines Matching refs:strFile
257 UFILE *strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), "en_US"); in TestLocalizedString() local
259 if (!strFile) { in TestLocalizedString()
263 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
264 u_frewind(strFile); in TestLocalizedString()
265 u_fscanf(strFile, "%d", &numResult); in TestLocalizedString()
275 u_frewind(strFile); in TestLocalizedString()
276 locale = u_fgetlocale(strFile); in TestLocalizedString()
278 log_err("u_fgetlocale didn't return \"en\" Got: %d\n", u_fgetlocale(strFile)); in TestLocalizedString()
280 u_fsetlocale(strFile, "de_DE"); in TestLocalizedString()
281 locale = u_fgetlocale(strFile); in TestLocalizedString()
283 log_err("u_fgetlocale didn't return \"de\" Got: %d\n", u_fgetlocale(strFile)); in TestLocalizedString()
286 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
287 u_frewind(strFile); in TestLocalizedString()
289 u_fscanf(strFile, "%d", &numResult); in TestLocalizedString()
290 u_fclose(strFile); in TestLocalizedString()
300 strFile = u_fstropen(testStr, UPRV_LENGTHOF(testStr), NULL); in TestLocalizedString()
301 u_fprintf(strFile, "%d", 1234); in TestLocalizedString()
302 u_frewind(strFile); in TestLocalizedString()
304 u_fscanf(strFile, "%d", &numResult); in TestLocalizedString()
305 u_fclose(strFile); in TestLocalizedString()