/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | rdcolmap.c | 80 read_gif_map(j_decompress_ptr cinfo, FILE *infile) in read_gif_map() argument 89 if ((header[i] = getc(infile)) == EOF) in read_gif_map() 105 R = getc(infile); in read_gif_map() 106 G = getc(infile); in read_gif_map() 107 B = getc(infile); in read_gif_map() 122 pbm_getc(FILE *infile) in pbm_getc() argument 128 ch = getc(infile); in pbm_getc() 131 ch = getc(infile); in pbm_getc() 139 read_pbm_integer(j_decompress_ptr cinfo, FILE *infile) in read_pbm_integer() argument 150 ch = pbm_getc(infile); in read_pbm_integer() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | rdcolmap.c | 79 read_gif_map(j_decompress_ptr cinfo, FILE *infile) in read_gif_map() argument 88 if ((header[i] = getc(infile)) == EOF) in read_gif_map() 104 R = getc(infile); in read_gif_map() 105 G = getc(infile); in read_gif_map() 106 B = getc(infile); in read_gif_map() 121 pbm_getc(FILE *infile) in pbm_getc() argument 127 ch = getc(infile); in pbm_getc() 130 ch = getc(infile); in pbm_getc() 138 read_pbm_integer(j_decompress_ptr cinfo, FILE *infile) in read_pbm_integer() argument 149 ch = pbm_getc(infile); in read_pbm_integer() [all …]
|
/third_party/libjpeg/ |
D | rdcolmap.c | 79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) in read_gif_map() argument 88 if ((header[i] = getc(infile)) == EOF) in read_gif_map() 104 R = getc(infile); in read_gif_map() 105 G = getc(infile); in read_gif_map() 106 B = getc(infile); in read_gif_map() 121 pbm_getc (FILE * infile) in pbm_getc() argument 127 ch = getc(infile); in pbm_getc() 130 ch = getc(infile); in pbm_getc() 138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) in read_pbm_integer() argument 149 ch = pbm_getc(infile); in read_pbm_integer() [all …]
|
/third_party/uboot/u-boot-2020.01/tools/dtoc/ |
D | test_dtoc.py | 160 with open(output) as infile: 161 lines = infile.read().splitlines() 165 with open(output) as infile: 166 lines = infile.read().splitlines() 174 with open(output) as infile: 175 data = infile.read() 199 with open(output) as infile: 200 data = infile.read() 278 with open(output) as infile: 279 data = infile.read() [all …]
|
/third_party/nghttp2/doc/ |
D | mkapiref.py | 122 def make_api_ref(infile): argument 128 line = infile.readline() 132 line = infile.readline() 135 functions.append(process_function('function', infile)) 137 types.append(process_function('type', infile)) 139 types.append(process_struct(infile)) 141 enums.append(process_enum(infile)) 143 macros.append(process_macro(infile)) 145 macros.append(process_macrosection(infile)) 147 types.append(process_typedef(infile)) [all …]
|
/third_party/lz4/ossfuzz/ |
D | standaloneengine.c | 18 FILE *infile; in main() local 22 infile = fopen(argv[ii], "rb"); in main() 23 if(infile) in main() 31 fseek(infile, 0L, SEEK_END); in main() 32 buffer_len = ftell(infile); in main() 35 fseek(infile, 0L, SEEK_SET); in main() 42 fread(buffer, sizeof(uint8_t), buffer_len, infile); in main() 63 fclose(infile); in main() 64 infile = NULL; in main()
|
/third_party/libsnd/ossfuzz/ |
D | standaloneengine.cc | 18 FILE *infile; in main() local 22 infile = fopen(argv[ii], "rb"); in main() 23 if(infile) in main() 31 fseek(infile, 0L, SEEK_END); in main() 32 buffer_len = ftell(infile); in main() 35 fseek(infile, 0L, SEEK_SET); in main() 44 result = fread(buffer, sizeof(uint8_t), buffer_len, infile); in main() 75 fclose(infile); in main() 76 infile = NULL; in main()
|
/third_party/node/deps/acorn/acorn/dist/ |
D | bin.js | 7 var infile, forceFile, silent = false, compact = false, tokenize = false; variable 19 if ((arg === "-" || arg[0] !== "-") && !infile) { infile = arg; } 20 …else if (arg === "--" && !infile && i + 2 === process.argv.length) { forceFile = infile = process.… 52 …console.error(infile && infile !== "-" ? e.message.replace(/\(\d+:\d+\)$/, function (m) { return m… 58 if (forceFile || infile && infile !== "-") { 59 run(fs.readFileSync(infile, "utf8"));
|
/third_party/python/Tools/scripts/ |
D | generate_token.py | 90 def make_h(infile, outfile='Include/token.h'): argument 91 tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile) 102 print("%s regenerated from %s" % (outfile, infile)) 161 def make_c(infile, outfile='Parser/token.c'): argument 162 tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile) 186 print("%s regenerated from %s" % (outfile, infile)) 197 def make_rst(infile, outfile='Doc/library/token-list.inc'): argument 198 tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile) 210 print("%s regenerated from %s" % (outfile, infile)) 243 def make_py(infile, outfile='Lib/token.py'): argument [all …]
|
D | pysource.py | 54 infile = _open(fullpath) 55 if infile is None: 58 with infile: 59 line = infile.readline() 75 infile = _open(fullpath) 76 if infile is None: 79 with infile: 80 code = infile.read()
|
/third_party/bzip2/ |
D | format.pl | 24 my $infile = shift; 26 die "Can't find file \"$infile\"" 27 unless -f $infile; 29 if (! -r $infile) { 30 die "Can't read input $infile\n"; 33 open( INFILE,"<$infile" ) or 34 die "Can't input $infile $!";
|
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/ |
D | format.pl | 24 my $infile = shift; 26 die "Can't find file \"$infile\"" 27 unless -f $infile; 29 if (! -r $infile) { 30 die "Can't read input $infile\n"; 33 open( INFILE,"<$infile" ) or 34 die "Can't input $infile $!";
|
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/ |
D | format.pl | 24 my $infile = shift; 26 die "Can't find file \"$infile\"" 27 unless -f $infile; 29 if (! -r $infile) { 30 die "Can't read input $infile\n"; 33 open( INFILE,"<$infile" ) or 34 die "Can't input $infile $!";
|
/third_party/libsnd/programs/ |
D | common.c | 50 sfe_copy_data_fp (SNDFILE *outfile, SNDFILE *infile, int channels, int normalize) in sfe_copy_data_fp() argument 57 sf_command (infile, SFC_CALC_SIGNAL_MAX, &max, sizeof (max)) ; in sfe_copy_data_fp() 63 { readcount = sf_readf_double (infile, data, frames) ; in sfe_copy_data_fp() 68 { sf_command (infile, SFC_SET_NORM_DOUBLE, NULL, SF_FALSE) ; in sfe_copy_data_fp() 71 { readcount = sf_readf_double (infile, data, frames) ; in sfe_copy_data_fp() 86 sfe_copy_data_int (SNDFILE *outfile, SNDFILE *infile, int channels) in sfe_copy_data_int() argument 94 { readcount = sf_readf_int (infile, data, frames) ; in sfe_copy_data_int() 105 merge_broadcast_info (SNDFILE * infile, SNDFILE * outfile, int format, const METADATA_INFO * info) in merge_broadcast_info() argument 133 if (sf_command (infile, SFC_GET_BROADCAST_INFO, &binfo, sizeof (binfo)) == 0) in merge_broadcast_info() 134 { if (infile == outfile) in merge_broadcast_info() [all …]
|
D | sndfile-convert.c | 48 static void copy_metadata (SNDFILE *outfile, SNDFILE *infile, int channels) ; 136 SNDFILE *infile = NULL, *outfile = NULL ; in main() local 290 if ((infile = sf_open (infilename, SFM_READ, &sfinfo)) == NULL) in main() 332 { sf_close (infile) ; in main() 351 copy_metadata (outfile, infile, sfinfo.channels) ; in main() 358 { if (sfe_copy_data_fp (outfile, infile, sfinfo.channels, normalize) != 0) in main() 364 sfe_copy_data_int (outfile, infile, sfinfo.channels) ; in main() 366 sf_close (infile) ; in main() 373 copy_metadata (SNDFILE *outfile, SNDFILE *infile, int channels) in copy_metadata() argument 381 { str = sf_get_string (infile, k) ; in copy_metadata() [all …]
|
/third_party/glib/tests/ |
D | unicode-caseconv.c | 12 FILE *infile; in main() local 27 infile = fopen (filename, "r"); in main() 28 if (!infile) in main() 34 while (fgets (buffer, sizeof(buffer), infile)) in main() 92 fclose (infile); in main() 97 infile = fopen (filename, "r"); in main() 98 if (!infile) in main() 105 while (fgets (buffer, sizeof(buffer), infile)) in main() 127 fclose (infile); in main()
|
/third_party/python/Lib/test/test_json/ |
D | test_tool.py | 94 infile = support.TESTFN 95 with open(infile, "w", encoding="utf-8") as fp: 96 self.addCleanup(os.remove, infile) 98 return infile 101 infile = self._create_infile() 102 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 115 infile = self._create_infile(data) 116 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 123 infile = self._create_infile() 125 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile) [all …]
|
/third_party/selinux/libselinux/src/ |
D | matchmediacon.c | 17 FILE *infile; in matchmediacon() local 21 if ((infile = fopen(path, "re")) == NULL) in matchmediacon() 23 while (!feof_unlocked(infile)) { in matchmediacon() 24 if (!fgets_unlocked(current_line, sizeof(current_line), infile)) { in matchmediacon() 25 fclose(infile); in matchmediacon() 51 fclose(infile); in matchmediacon()
|
/third_party/skia/third_party/externals/brotli/python/ |
D | bro.py | 122 if options.infile: 123 if not os.path.isfile(options.infile): 124 parser.error('file "%s" not found' % options.infile) 125 with open(options.infile, 'rb') as infile: 126 data = infile.read() 131 infile = get_binary_stdio('stdin') 132 data = infile.read() 153 'bro: error: %s: %s' % (e, options.infile or 'sys.stdin'))
|
/third_party/ffmpeg/tools/ |
D | qt-faststart.c | 432 FILE *infile = NULL; in main() local 460 infile = fopen(argv[1], "rb"); in main() 461 if (!infile) { in main() 468 while (!feof(infile)) { in main() 469 if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) { in main() 490 if (fseeko(infile, -ATOM_PREAMBLE_SIZE, SEEK_CUR) || in main() 491 fread(ftyp_atom, atom_size, 1, infile) != 1 || in main() 492 (start_offset = ftello(infile)) < 0) { in main() 500 if (fread(atom_bytes, ATOM_PREAMBLE_SIZE, 1, infile) != 1) { in main() 504 ret = fseeko(infile, atom_size - ATOM_PREAMBLE_SIZE * 2, SEEK_CUR); in main() [all …]
|
/third_party/python/Programs/ |
D | _freeze_importlib.c | 38 FILE *infile = NULL, *outfile = NULL; in main() local 54 infile = fopen(inpath, "rb"); in main() 55 if (infile == NULL) { in main() 59 if (_Py_fstat_noraise(fileno(infile), &stat)) { in main() 69 n = fread(text, 1, text_size, infile); in main() 70 fclose(infile); in main() 71 infile = NULL; in main() 158 if (infile) in main() 159 fclose(infile); in main()
|
/third_party/ltp/testcases/kernel/io/direct_io/ |
D | diotest1.c | 55 static char infile[LEN]; /* Input file. Default "infile" */ variable 87 strcpy(infile, "infile"); /* Default input file */ in main() 109 strcpy(infile, optarg); in main() 122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 157 if (filecmp(infile, outfile) != 0) { in main() 159 infile, outfile); in main()
|
/third_party/boost/libs/coroutine/example/asymmetric/ |
D | chaining.cpp | 126 std::istringstream infile(data); in main() local 131 coro_t::pull_type reader(boost::bind(readlines, _1, boost::ref(infile))); in main() 141 std::istringstream infile(data); in main() local 142 coro_t::pull_type reader(boost::bind(readlines, _1, boost::ref(infile))); in main() 153 std::istringstream infile(data); in main() local 154 coro_t::pull_type reader(boost::bind(readlines, _1, boost::ref(infile))); in main() 166 std::istringstream infile(data); in main() local 167 coro_t::pull_type reader(boost::bind(readlines, _1, boost::ref(infile))); in main() 179 std::istringstream infile(data); in main() local 180 coro_t::pull_type reader(boost::bind(readlines, _1, boost::ref(infile))); in main() [all …]
|
/third_party/python/Lib/ |
D | shlex.py | 21 def __init__(self, instream=None, infile=None, posix=False, argument 27 self.infile = infile 30 self.infile = None 82 self.filestack.appendleft((self.infile, self.instream, self.lineno)) 83 self.infile = newfile 88 print('shlex: pushing to file %s' % (self.infile,)) 95 (self.infile, self.instream, self.lineno) = self.filestack.popleft() 284 if isinstance(self.infile, str) and not os.path.isabs(newfile): 285 newfile = os.path.join(os.path.dirname(self.infile), newfile) 288 def error_leader(self, infile=None, lineno=None): argument [all …]
|
/third_party/uboot/u-boot-2020.01/scripts/ |
D | mailmapper | 128 infile = None variable 132 infile = open(map_file) variable 141 if infile: 142 for line in infile: 148 for line in infile: 150 infile.close()
|