Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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;
/third_party/flutter/skia/src/sksl/
DSkSLFileOutputStream.h20 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 …]
DSkSLParser.h151 SkASSERT(id.fValue >= 0 && id.fValue < (int) fFile->fNodes.size()); in getNode()
152 return fFile->fNodes[id.fValue]; in getNode()
281 std::unique_ptr<ASTFile> fFile; variable
DSkSLParser.cpp113 ASTNode::ID result(fFile->fNodes.size()); \
114 fFile->fNodes.emplace_back(&fFile->fNodes, __VA_ARGS__)
124 fFile->fNodes[target.fValue].addChild(child)
128 ASTNode::ID child(fFile->fNodes.size()); \
129 fFile->fNodes.emplace_back(); \
130 fFile->fNodes[target.fValue].addChild(child); \
135 fFile.reset(new ASTFile()); in file()
137 fFile->fRoot = result; in file()
141 return std::move(fFile); in file()
173 return std::move(fFile); in file()
[all …]
/third_party/skia/src/sksl/
DSkSLFileOutputStream.h20 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/perf/leperf/
DPortableFontInstance.cpp86 …: 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 …]
/third_party/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp82 …: 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 …]
/third_party/flutter/skia/third_party/externals/icu/source/io/
Dufile.cpp70 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()
Dustdio.cpp249 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()
/third_party/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperfold.cpp486 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/
Dufile.cpp71 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()
Dustdio.cpp249 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()
/third_party/skia/third_party/externals/icu/source/io/
Dufile.cpp71 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()
Dustdio.cpp249 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()
/third_party/skia/include/private/
DGrSingleOwner.h27 : fFile(file), fLine(line), fSO(so) { in AutoEnforce()
30 ~AutoEnforce() { fSO->exit(fFile, fLine); } in ~AutoEnforce()
32 const char* fFile; member
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp156 …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/sksl/
DSkSLErrorReporter.h27 : fFile(file) in fFile() function
39 return fFile; in file_name()
47 const char* fFile = nullptr;
/third_party/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp1222 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/flutter/skia/src/ports/
DSkFontMgr_preview.h71 , fFile(nullptr) in SkTypeface_PreviewSystem()
78 if (fFile) { in makeStream()
79 sk_sp<SkData> data(SkData::MakeFromFILE(fFile)); in makeStream()
127 SkAutoTCallVProc<FILE, sk_fclose> fFile; variable
DSkFontMgr_android.cpp72 , 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 fFile, in onMakeClone()
123 SkAutoTCallVProc<FILE, sk_fclose> fFile; member in SkTypeface_AndroidSystem
/third_party/skia/src/ports/
DSkFontMgr_android.cpp71 , 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/
Dcreate_test_font.cpp37 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()
/third_party/flutter/skia/tools/fonts/
Dcreate_test_font.cpp37 char const * const fFile; member
298 SkString filepath(SkOSPath::Join(basepath, font.fFile)); in generate_fonts()
360 testFontsIndex, font.fFile); in generate_index()
371 slant_to_string(font.fNamedStyle.fStyle.slant()), testFontsIndex, font.fFile); in generate_index()
/third_party/skia/tests/
DCodecAnimTest.cpp572 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()

12