/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_file_stream.cpp | 30 , 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 …]
|
D | dng_file_stream.h | 36 FILE *fFile;
|
/third_party/skia/src/sksl/ |
D | SkSLFileOutputStream.h | 20 fFile = fopen(name.c_str(), "wb"); in FileOutputStream() 30 return nullptr != fFile; in isValid() 36 if (EOF == fputc(b, fFile)) { in write8() 37 fFile = nullptr; in write8() 45 if (EOF == fputs(s, fFile)) { in writeText() 46 fFile = nullptr; in writeText() 53 size_t written = fwrite(s, 1, size, fFile); in write() 55 fFile = nullptr; in write() 62 if (isValid() && fclose(fFile)) { in close() 63 fFile = nullptr; in close() [all …]
|
/third_party/icu/icu4c/source/test/letest/ |
D | PortableFontInstance.cpp | 82 …: fFile(NULL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), f… in PortableFontInstance() 90 fFile = fopen(fileName, "rb"); in PortableFontInstance() 93 if (fFile == NULL) { in PortableFontInstance() 102 size_t numRead = fread(&tempDir, sizeof tempDir, 1, fFile); in PortableFontInstance() 121 fseek(fFile, 0L, SEEK_SET); in PortableFontInstance() 122 numRead = fread((void *) fDirectory, sizeof(char), dirSize, fFile); in PortableFontInstance() 188 fclose(fFile); in PortableFontInstance() 189 fFile = NULL; in PortableFontInstance() 195 if (fFile != NULL) { in ~PortableFontInstance() 196 fclose(fFile); in ~PortableFontInstance() [all …]
|
D | PortableFontInstance.h | 33 FILE *fFile;
|
/third_party/icu/icu4c/source/test/perf/leperf/ |
D | PortableFontInstance.cpp | 86 …: fFile(NULL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), f… in PortableFontInstance() 94 fFile = fopen(fileName, "rb"); in PortableFontInstance() 97 if (fFile == NULL) { in PortableFontInstance() 106 fread(&tempDir, sizeof tempDir, 1, fFile); in PortableFontInstance() 124 fseek(fFile, 0L, SEEK_SET); in PortableFontInstance() 125 fread((void *) fDirectory, sizeof(char), dirSize, fFile); in PortableFontInstance() 191 fclose(fFile); in PortableFontInstance() 192 fFile = NULL; in PortableFontInstance() 198 if (fFile != NULL) { in ~PortableFontInstance() 199 fclose(fFile); in ~PortableFontInstance() [all …]
|
D | PortableFontInstance.h | 37 FILE *fFile;
|
/third_party/icu/icu4c/source/test/perf/ubrkperf/ |
D | ubrkperfold.cpp | 486 FILE *fFile; member in UCharFile 508 fFile = fopen(fName, "rb"); in UCharFile() 510 if (fFile == NULL) { in UCharFile() 519 BOMC1 = fgetc(fFile); in UCharFile() 520 BOMC2 = fgetc(fFile); in UCharFile() 526 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile() 539 fclose(fFile); in ~UCharFile() 550 cL = fgetc(fFile); in get() 551 cH = fgetc(fFile); in get() 562 cH = fgetc(fFile); in get() [all …]
|
/third_party/icu/icu4c/source/io/ |
D | ufile.cpp | 81 result->fFile = f; in finit_owner() 259 if (f->fFile != NULL) { in u_feof() 260 return endOfBuffer && feof(f->fFile); in u_feof() 270 if (file->fFile) { in u_fflush() 271 fflush(file->fFile); in u_fflush() 284 if (file->fFile) { in u_frewind() 285 rewind(file->fFile); in u_frewind() 302 fclose(file->fFile); in u_fclose() 316 return f->fFile; in u_fgetfile()
|
D | ustdio.cpp | 249 if((!f) || (!f->fFile)) { in ufile_flush_io() 339 if (!f->fFile) { in u_file_write_flush() 382 f->fFile); in u_file_write_flush() 419 if (f->fFile == NULL) { in ufile_fill_uchar_buffer() 447 char *retStr = fgets(charBuffer, ufmt_min(maxCPBytes, UFILE_CHARBUFFER_SIZE), f->fFile); in ufile_fill_uchar_buffer() 455 f->fFile); in ufile_fill_uchar_buffer() 473 (UBool)(feof(f->fFile) != 0), in ufile_fill_uchar_buffer()
|
D | ufile.h | 69 FILE *fFile; /* the actual filesystem interface */ member
|
D | sscanf.cpp | 107 inStr.fFile = NULL; in u_vsscanf_u()
|
/third_party/skia/third_party/externals/icu/source/io/ |
D | ufile.cpp | 71 result->fFile = f; in finit_owner() 249 if (f->fFile != NULL) { in u_feof() 250 return endOfBuffer && feof(f->fFile); in u_feof() 260 if (file->fFile) { in u_fflush() 261 fflush(file->fFile); in u_fflush() 274 if (file->fFile) { in u_frewind() 275 rewind(file->fFile); in u_frewind() 292 fclose(file->fFile); in u_fclose() 306 return f->fFile; in u_fgetfile()
|
D | ustdio.cpp | 249 if((!f) || (!f->fFile)) { in ufile_flush_io() 339 if (!f->fFile) { in u_file_write_flush() 382 f->fFile); in u_file_write_flush() 419 if (f->fFile == NULL) { in ufile_fill_uchar_buffer() 447 char *retStr = fgets(charBuffer, ufmt_min(maxCPBytes, UFILE_CHARBUFFER_SIZE), f->fFile); in ufile_fill_uchar_buffer() 455 f->fFile); in ufile_fill_uchar_buffer() 473 (UBool)(feof(f->fFile) != 0), in ufile_fill_uchar_buffer()
|
D | ufile.h | 69 FILE *fFile; /* the actual filesystem interface */ member
|
D | sscanf.cpp | 107 inStr.fFile = NULL; in u_vsscanf_u()
|
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/ |
D | howExpensiveIs.cpp | 156 …HowExpensiveTest(const char *name, const char *file, int32_t line) : fName(name), fFile(file), fLi… in HowExpensiveTest() 192 const char *fFile; member in HowExpensiveTest 202 fprintf(stderr, "%s:%d:\t%s\n", t.fFile, t.fLine, t.getName()); in runTestOn() 206 fprintf(stderr, "%s:%d: Running: %s\n", t.fFile, t.fLine, t.getName()); in runTestOn() 270 const char *fFile; member in NumTest 298 fFile(FILE), in NumTest() 312 fFile,fLine,getName(),trial,fExpect); in warmup() 398 const char *fFile; member in NumFmtTest 426 fFile(FILE), in NumFmtTest() 445 fFile,fLine,getName(),strBuf,fCStr, u_errorName(setupStatus)); in warmup() [all …]
|
/third_party/skia/include/private/ |
D | GrSingleOwner.h | 27 : fFile(file), fLine(line), fSO(so) { in AutoEnforce() 30 ~AutoEnforce() { fSO->exit(fFile, fLine); } in ~AutoEnforce() 32 const char* fFile; member
|
/third_party/skia/include/sksl/ |
D | SkSLErrorReporter.h | 27 : fFile(file) in fFile() function 39 return fFile; in file_name() 47 const char* fFile = nullptr;
|
/third_party/icu/icu4c/source/test/perf/collationperf/ |
D | collperf.cpp | 1222 FILE *fFile; member in UCharFile 1235 fFile = fopen(fName, "rb"); in UCharFile() 1237 if (fFile == NULL) { in UCharFile() 1246 BOMC1 = fgetc(fFile); in UCharFile() 1247 BOMC2 = fgetc(fFile); in UCharFile() 1253 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile() 1266 fclose(fFile); in ~UCharFile() 1277 cL = fgetc(fFile); in get() 1278 cH = fgetc(fFile); in get() 1289 cH = fgetc(fFile); in get() [all …]
|
/third_party/skia/src/ports/ |
D | SkFontMgr_preview.h | 70 , fFile(nullptr) in SkTypeface_PreviewSystem() 77 if (fFile) { in makeStream() 78 sk_sp<SkData> data(SkData::MakeFromFILE(fFile)); in makeStream() 126 SkAutoTCallVProc<FILE, sk_fclose> fFile; variable
|
D | SkFontMgr_android.cpp | 71 , fFile(cacheFontFiles ? sk_fopen(fPathName.c_str(), kRead_SkFILE_Flag) : nullptr) { in SkTypeface_AndroidSystem() 73 SkASSERT(fFile); in SkTypeface_AndroidSystem() 78 if (fFile) { in makeStream() 79 sk_sp<SkData> data(SkData::MakeFromFILE(fFile)); in makeStream() 106 fFile, in onMakeClone() 122 SkAutoTCallVProc<FILE, sk_fclose> fFile; member in SkTypeface_AndroidSystem
|
/third_party/skia/tools/fonts/ |
D | create_test_font.cpp | 37 char const * const fFile; member 295 SkString filepath(SkOSPath::Join(basepath, font.fFile)); in generate_fonts() 357 testFontsIndex, font.fFile); in generate_index() 368 slant_to_string(font.fNamedStyle.fStyle.slant()), testFontsIndex, font.fFile); in generate_index()
|
D | test_font_index.inc | 66 const char* fFile;
|
/third_party/skia/tests/ |
D | CodecAnimTest.cpp | 572 const char* fFile; in DEF_TEST() member 593 auto codec = SkCodec::MakeFromData(GetResourceAsData(test.fFile)); in DEF_TEST() 603 "Mismatched size for initial frame of %s", test.fFile); in DEF_TEST() 609 "Mismatched size for frame at 500 ms of %s", test.fFile); in DEF_TEST()
|