/external/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;
|
/external/skia/src/sksl/ |
D | SkSLFileOutputStream.h | 20 fFile = fopen(name, "wb"); in FileOutputStream() 28 return nullptr != fFile; in isValid() 34 if (EOF == fputc(b, fFile)) { in write8() 35 fFile = nullptr; in write8() 43 if (EOF == fputs(s, fFile)) { in writeText() 44 fFile = nullptr; in writeText() 51 size_t written = fwrite(s, 1, size, fFile); in write() 53 fFile = nullptr; in write() 60 if (isValid() && fclose(fFile)) { in close() 61 fFile = nullptr; in close() [all …]
|
/external/skqp/src/sksl/ |
D | SkSLFileOutputStream.h | 20 fFile = fopen(name, "wb"); in FileOutputStream() 28 return nullptr != fFile; in isValid() 34 if (EOF == fputc(b, fFile)) { in write8() 35 fFile = nullptr; in write8() 43 if (EOF == fputs(s, fFile)) { in writeText() 44 fFile = nullptr; in writeText() 51 size_t written = fwrite(s, 1, size, fFile); in write() 53 fFile = nullptr; in write() 60 if (isValid() && fclose(fFile)) { in close() 61 fFile = nullptr; in close() [all …]
|
/external/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;
|
/external/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;
|
/external/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 …]
|
/external/icu/icu4c/source/io/ |
D | ufile.cpp | 70 result->fFile = f; in finit_owner() 219 if (f->fFile != NULL) { in u_feof() 220 return endOfBuffer && feof(f->fFile); in u_feof() 230 if (file->fFile) { in u_fflush() 231 fflush(file->fFile); in u_fflush() 244 if (file->fFile) { in u_frewind() 245 rewind(file->fFile); in u_frewind() 262 fclose(file->fFile); in u_fclose() 276 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()
|
/external/skqp/tools/bookmaker/ |
D | spellCheck.cpp | 25 string fFile; member 485 if (string::npos != iter.second.fFile.find("undocumented.bmh")) { in report() 488 if (string::npos != iter.second.fFile.find("markup.bmh")) { in report() 491 if (string::npos != iter.second.fFile.find("usingBookmaker.bmh")) { in report() 495 SkDebugf("%s(%d): %s\n", iter.second.fFile.c_str(), iter.second.fLine, in report() 507 if (string::npos != iter.second.fFile.find("undocumented.bmh")) { in report() 510 if (string::npos != iter.second.fFile.find("markup.bmh")) { in report() 513 if (string::npos != iter.second.fFile.find("usingBookmaker.bmh")) { in report() 545 if (string::npos != iter.second.fFile.find("undocumented.bmh")) { in report() 548 if (string::npos != iter.second.fFile.find("markup.bmh")) { in report() [all …]
|
/external/skia/tools/bookmaker/ |
D | spellCheck.cpp | 25 string fFile; member 478 if (string::npos != iter.second.fFile.find("undocumented.bmh")) { in report() 481 if (string::npos != iter.second.fFile.find("markup.bmh")) { in report() 484 if (string::npos != iter.second.fFile.find("usingBookmaker.bmh")) { in report() 488 string fullName = this->ReportFilename(iter.second.fFile); in report() 501 if (string::npos != iter.second.fFile.find("undocumented.bmh")) { in report() 504 if (string::npos != iter.second.fFile.find("markup.bmh")) { in report() 507 if (string::npos != iter.second.fFile.find("usingBookmaker.bmh")) { in report() 539 if (string::npos != iter.second.fFile.find("undocumented.bmh")) { in report() 542 if (string::npos != iter.second.fFile.find("markup.bmh")) { in report() [all …]
|
/external/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 …]
|
/external/icu/icu4c/source/test/perf/collationperf/ |
D | collperf.cpp | 1223 FILE *fFile; member in UCharFile 1236 fFile = fopen(fName, "rb"); in UCharFile() 1238 if (fFile == NULL) { in UCharFile() 1247 BOMC1 = fgetc(fFile); in UCharFile() 1248 BOMC2 = fgetc(fFile); in UCharFile() 1254 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) { in UCharFile() 1267 fclose(fFile); in ~UCharFile() 1278 cL = fgetc(fFile); in get() 1279 cH = fgetc(fFile); in get() 1290 cH = fgetc(fFile); in get() [all …]
|
/external/skqp/src/ports/ |
D | SkFontMgr_android.cpp | 72 , fFile(cacheFontFiles ? sk_fopen(fPathName.c_str(), kRead_SkFILE_Flag) : nullptr) { in SkTypeface_AndroidSystem() 74 SkASSERT(fFile); in SkTypeface_AndroidSystem() 79 if (fFile) { in makeStream() 80 sk_sp<SkData> data(SkData::MakeFromFILE(fFile)); in makeStream() 107 SkAutoTCallVProc<FILE, sk_fclose> fFile; member in SkTypeface_AndroidSystem
|
/external/skia/src/ports/ |
D | SkFontMgr_android.cpp | 72 , fFile(cacheFontFiles ? sk_fopen(fPathName.c_str(), kRead_SkFILE_Flag) : nullptr) { in SkTypeface_AndroidSystem() 74 SkASSERT(fFile); in SkTypeface_AndroidSystem() 79 if (fFile) { in makeStream() 80 sk_sp<SkData> data(SkData::MakeFromFILE(fFile)); in makeStream() 107 SkAutoTCallVProc<FILE, sk_fclose> fFile; member in SkTypeface_AndroidSystem
|
/external/skqp/tools/ |
D | create_test_font.cpp | 41 char const * const fFile; member 354 SkString filepath(SkOSPath::Join(basepath, fontDesc.fFile)); in generate_fonts() 415 slant_to_string(desc.fNamedStyle.fStyle.slant()), desc.fFontIndex, desc.fFile); in generate_index() 423 slant_to_string(desc.fNamedStyle.fStyle.slant()), desc.fFontIndex, desc.fFile); in generate_index()
|
D | test_font_index.inc | 67 const char* fFile;
|
/external/skia/tools/fonts/ |
D | create_test_font.cpp | 41 char const * const fFile; member 355 SkString filepath(SkOSPath::Join(basepath, fontDesc.fFile)); in generate_fonts() 416 slant_to_string(desc.fNamedStyle.fStyle.slant()), desc.fFontIndex, desc.fFile); in generate_index() 424 slant_to_string(desc.fNamedStyle.fStyle.slant()), desc.fFontIndex, desc.fFile); in generate_index()
|
D | test_font_index.inc | 67 const char* fFile;
|