Home
last modified time | relevance | path

Searched refs:fFile (Results 1 – 17 of 17) sorted by relevance

/external/dng_sdk/source/
Ddng_file_stream.cpp30 , fFile (NULL) in dng_file_stream()
34 fFile = fopen (filename, output ? "wb" : "rb"); in dng_file_stream()
36 if (!fFile) in dng_file_stream()
61 if (fFile) in ~dng_file_stream()
63 fclose (fFile); in ~dng_file_stream()
64 fFile = NULL; in ~dng_file_stream()
74 if (fseek (fFile, 0, SEEK_END) != 0) in DoGetLength()
81 return (uint64) ftell (fFile); in DoGetLength()
92 if (fseek (fFile, (long) offset, SEEK_SET) != 0) in DoRead()
99 uint32 bytesRead = (uint32) fread (data, 1, count, fFile); in DoRead()
[all …]
Ddng_file_stream.h36 FILE *fFile;
/external/icu/icu4c/source/io/
Dufile.c82 result->fFile = &__iob_func()[_fileno(f)]; in finit_owner()
84 result->fFile = &_iob[_fileno(f)]; in finit_owner()
90 result->fFile = f; in finit_owner()
236 if (f->fFile != NULL) { in u_feof()
237 return endOfBuffer && feof(f->fFile); in u_feof()
247 if (file->fFile) { in u_fflush()
248 fflush(file->fFile); in u_fflush()
261 if (file->fFile) { in u_frewind()
262 rewind(file->fFile); in u_frewind()
279 fclose(file->fFile); in u_fclose()
[all …]
Dustdio.c247 if((!f) || (!f->fFile)) { in ufile_flush_io()
337 if (!f->fFile) { in u_file_write_flush()
380 f->fFile); in u_file_write_flush()
417 if (f->fFile == NULL) { in ufile_fill_uchar_buffer()
445 char *retStr = fgets(charBuffer, ufmt_min(maxCPBytes, UFILE_CHARBUFFER_SIZE), f->fFile); in ufile_fill_uchar_buffer()
453 f->fFile); in ufile_fill_uchar_buffer()
471 (UBool)(feof(f->fFile) != 0), in ufile_fill_uchar_buffer()
Dufile.h65 FILE *fFile; /* the actual filesystem interface */ member
Dsscanf.c105 inStr.fFile = NULL; in u_vsscanf_u()
/external/icu/icu4c/source/test/perf/leperf/
DPortableFontInstance.cpp80 …: fFile(NULL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), f… in PortableFontInstance()
88 fFile = fopen(fileName, "rb"); in PortableFontInstance()
91 if (fFile == NULL) { in PortableFontInstance()
100 fread(&tempDir, sizeof tempDir, 1, fFile); in PortableFontInstance()
118 fseek(fFile, 0L, SEEK_SET); in PortableFontInstance()
119 fread((void *) fDirectory, sizeof(char), dirSize, fFile); in PortableFontInstance()
185 fclose(fFile); in PortableFontInstance()
186 fFile = NULL; in PortableFontInstance()
192 if (fFile != NULL) { in ~PortableFontInstance()
193 fclose(fFile); in ~PortableFontInstance()
[all …]
DPortableFontInstance.h31 FILE *fFile;
/external/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp80 …: fFile(NULL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), f… in PortableFontInstance()
88 fFile = fopen(fileName, "rb"); in PortableFontInstance()
91 if (fFile == NULL) { in PortableFontInstance()
100 size_t numRead = fread(&tempDir, sizeof tempDir, 1, fFile); in PortableFontInstance()
119 fseek(fFile, 0L, SEEK_SET); in PortableFontInstance()
120 numRead = fread((void *) fDirectory, sizeof(char), dirSize, fFile); in PortableFontInstance()
186 fclose(fFile); in PortableFontInstance()
187 fFile = NULL; in PortableFontInstance()
193 if (fFile != NULL) { in ~PortableFontInstance()
194 fclose(fFile); in ~PortableFontInstance()
[all …]
DPortableFontInstance.h31 FILE *fFile;
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp481 FILE *fFile; member in UCharFile
503 fFile = fopen(fName, "rb"); in UCharFile()
505 if (fFile == NULL) { in UCharFile()
514 BOMC1 = fgetc(fFile); in UCharFile()
515 BOMC2 = fgetc(fFile); in UCharFile()
521 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
534 fclose(fFile); in ~UCharFile()
545 cL = fgetc(fFile); in get()
546 cH = fgetc(fFile); in get()
557 cH = fgetc(fFile); in get()
[all …]
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp151 …HowExpensiveTest(const char *name, const char *file, int32_t line) : fName(name), fFile(file), fLi… in HowExpensiveTest()
187 const char *fFile; member in HowExpensiveTest
197 fprintf(stderr, "%s:%d:\t%s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
201 fprintf(stderr, "%s:%d: Running: %s\n", t.fFile, t.fLine, t.getName()); in runTestOn()
265 const char *fFile; member in NumTest
293 fFile(FILE), in NumTest()
307 fFile,fLine,getName(),trial,fExpect); in warmup()
393 const char *fFile; member in NumFmtTest
421 fFile(FILE), in NumFmtTest()
440 fFile,fLine,getName(),strBuf,fCStr, u_errorName(setupStatus)); in warmup()
[all …]
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp1219 FILE *fFile; member in UCharFile
1232 fFile = fopen(fName, "rb"); in UCharFile()
1234 if (fFile == NULL) { in UCharFile()
1243 BOMC1 = fgetc(fFile); in UCharFile()
1244 BOMC2 = fgetc(fFile); in UCharFile()
1250 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile()
1263 fclose(fFile); in ~UCharFile()
1274 cL = fgetc(fFile); in get()
1275 cH = fgetc(fFile); in get()
1286 cH = fgetc(fFile); in get()
[all …]
/external/skia/src/ports/
DSkFontMgr_android.cpp70 , fFile(cacheFontFiles ? sk_fopen(fPathName.c_str(), kRead_SkFILE_Flag) : nullptr) { in SkTypeface_AndroidSystem()
72 SkASSERT(fFile); in SkTypeface_AndroidSystem()
77 if (fFile) { in createStream()
78 SkData* data = SkData::NewFromFILE(fFile); in createStream()
103 SkAutoTCallVProc<FILE, sk_fclose> fFile; member in SkTypeface_AndroidSystem
/external/skia/tools/
Dcreate_test_font.cpp28 const char* fFile; member
344 filepath.append(fontDesc.fFile); in generate_fonts()
416 gStyleName[desc.fStyle], desc.fFontIndex, desc.fFile); in generate_index()
422 gStyleName[desc.fStyle], desc.fFontIndex, desc.fFile); in generate_index()
Dtest_font_index.cpp67 const char* fFile; member
Dtest_font_data.cpp8579 const char* fFile; member