/external/vboot_reference/utility/include/ |
bmpblk_util.h | 10 int dump_bmpblock(const char *infile, int show_as_yaml,
|
/external/bzip2/ |
format.pl | 24 my $infile = shift; 25 # check infile exists 26 die "Can't find file \"$infile\"" 27 unless -f $infile; 28 # check we can read infile 29 if (! -r $infile) { 30 die "Can't read input $infile\n"; 32 # check we can open infile 33 open( INFILE,"<$infile" ) or [all...] |
/device/google/contexthub/firmware/ |
symcheck.sh | 22 infile="$1" 29 echo -e "\n\nChecking '$infile' for forbidden symbols\n\n" >&2 44 if ${CROSS_COMPILE}nm -a "$infile" |grep -e "[0-9a-f]\{8\} [Tt] $look_for" >/dev/null 54 cp "$infile" "$outfile"
|
/external/elfutils/tests/ |
run-strip-groups.sh | 45 infile=testfile58 46 outfile=$infile.stripped 47 dbgfile=$infile.debug 49 testfiles $infile 52 testrun ${abs_top_builddir}/src/strip -o $outfile -f $dbgfile $infile 53 testrun ${abs_top_builddir}/src/elflint -q $infile
|
run-strip-reloc.sh | 28 infile=$1 35 testrun ${abs_top_builddir}/src/strip -o $outfile1 -f $debugfile1 $infile || 36 { echo "*** failure strip $infile"; status=1; } 39 -f $debugfile2 $infile || 40 { echo "*** failure strip --reloc-debug-sections $infile"; status=1; } 44 { echo "*** failure readelf -a outfile1 $infile"; status=1; } 47 { echo "*** failure compare stripped files $infile"; status=1; } 54 { echo "*** failure --reloc-debug-sections not smaller $infile"; status=1; } 60 { echo "*** failure readelf -w debugfile1 $infile"; status=1; } 64 { echo "*** failure readelf -w debugfile2 $infile"; status=1; [all...] |
/external/libjpeg-turbo/ |
rdcolmap.c | 79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) 88 if ((header[i] = getc(infile)) == EOF) 104 R = getc(infile); 105 G = getc(infile); 106 B = getc(infile); 121 pbm_getc (FILE * infile) 127 ch = getc(infile); 130 ch = getc(infile); 138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) 149 ch = pbm_getc(infile); [all...] |
/external/xmlrpcpp/test/ |
TestBase64Server.cpp | 29 std::ifstream infile("pngnow.png", std::ios::binary);
30 if (infile.fail())
31 infile.open("../pngnow.png", std::ios::binary);
32 if (infile.fail())
39 char c = infile.get();
40 if (infile.eof()) break;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/json/ |
tool.py | 18 infile = sys.stdin 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 27 raise SystemExit(sys.argv[0] + " [infile [outfile]]") 28 with infile: 30 obj = json.load(infile)
|
/prebuilts/gdb/linux-x86/lib/python2.7/json/ |
tool.py | 18 infile = sys.stdin 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 27 raise SystemExit(sys.argv[0] + " [infile [outfile]]") 28 with infile: 30 obj = json.load(infile)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
tool.py | 18 infile = sys.stdin 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 27 raise SystemExit(sys.argv[0] + " [infile [outfile]]") 28 with infile: 30 obj = json.load(infile)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
tool.py | 18 infile = sys.stdin 21 infile = open(sys.argv[1], 'rb') 24 infile = open(sys.argv[1], 'rb') 27 raise SystemExit(sys.argv[0] + " [infile [outfile]]") 28 with infile: 30 obj = json.load(infile)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/tests/ |
test_varblock.py | 19 infile = BytesIO(encoded) 21 (decoded, read) = varblock.read_varint(infile) 28 self.assertEqual(b('crummy'), infile.read()) 33 infile = BytesIO(encoded) 35 (decoded, read) = varblock.read_varint(infile) 42 self.assertEqual(b('crummy'), infile.read()) 69 infile = BytesIO(b('\x01\x0512345\x06Sybren')) 71 varblocks = list(varblock.yield_varblocks(infile)) 78 infile = BytesIO(b('123456Sybren')) 80 fixedblocks = list(varblock.yield_fixedblocks(infile, 6) [all...] |
/external/vboot_reference/futility/ |
cmd_vbutil_key.c | 49 " --key <infile> RSA key file (.keyb or .pem)\n" 62 "Usage: " MYNAME " %s --unpack <infile>\n" 70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, 76 if (!infile || !outfile) { 81 pubkey = PublicKeyReadKeyb(infile, algorithm, version); 91 privkey = PrivateKeyReadPem(infile, algorithm); 101 VbExError("Unable to parse either .keyb or .pem from %s\n", infile); 106 static int Unpack(const char *infile, const char *outfile) 111 if (!infile) { 116 pubkey = PublicKeyRead(infile); 167 char *infile = NULL; local [all...] |
cmd_dump_kernel_config.c | 34 char *infile = NULL; local 68 infile = argv[optind]; 75 if (!infile || !*infile) { 80 config = FindKernelConfig(infile, kernel_body_load_address);
|
/external/libvpx/libvpx/ |
ivfdec.h | 21 int ivf_read_frame(FILE *infile, uint8_t **buffer,
|
ivfdec.c | 72 int ivf_read_frame(FILE *infile, uint8_t **buffer, 77 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { 78 if (!feof(infile)) 101 if (!feof(infile)) { 102 if (fread(*buffer, 1, frame_size, infile) != frame_size) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
ivfdec.h | 21 int ivf_read_frame(FILE *infile, uint8_t **buffer,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_tool.py | 49 infile = test_support.TESTFN 50 with open(infile, "w") as fp: 51 self.addCleanup(os.remove, infile) 53 return infile 56 infile = self._create_infile() 57 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 62 infile = self._create_infile() 64 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_tool.py | 49 infile = test_support.TESTFN 50 with open(infile, "w") as fp: 51 self.addCleanup(os.remove, infile) 53 return infile 56 infile = self._create_infile() 57 rc, out, err = assert_python_ok('-m', 'json.tool', infile) 62 infile = self._create_infile() 64 rc, out, err = assert_python_ok('-m', 'json.tool', infile, outfile)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
varblock.py | 42 def read_varint(infile): 49 @param infile: the file-like object to read from. It should have a read() 58 char = infile.read(1) 103 def yield_varblocks(infile): 106 @param infile: file to read, is expected to have the VARBLOCK format as 112 first_char = infile.read(1) 121 (block_size, read_bytes) = read_varint(infile) 127 block = infile.read(block_size) 137 def yield_fixedblocks(infile, blocksize): 140 :param infile: file to read and separate in blocks [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
applesingle.py | 107 def decode(infile, outpath, resonly=False, verbose=False): 108 """decode(infile, outpath [, resonly=False, verbose=False]) 112 outpath containing only the resource fork from infile. 114 with the data and resource forks from infile. On platforms 119 if not hasattr(infile, 'read'): 120 if isinstance(infile, Carbon.File.Alias): 121 infile = infile.ResolveAlias()[0] 124 if isinstance(infile, (Carbon.File.FSSpec, Carbon.File.FSRef)): 125 infile = infile.as_pathname( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
applesingle.py | 107 def decode(infile, outpath, resonly=False, verbose=False): 108 """decode(infile, outpath [, resonly=False, verbose=False]) 112 outpath containing only the resource fork from infile. 114 with the data and resource forks from infile. On platforms 119 if not hasattr(infile, 'read'): 120 if isinstance(infile, Carbon.File.Alias): 121 infile = infile.ResolveAlias()[0] 124 if isinstance(infile, (Carbon.File.FSSpec, Carbon.File.FSRef)): 125 infile = infile.as_pathname( [all...] |
/external/pcre/dist/ |
perltest.pl | 49 open(INFILE, "<$ARGV[0]") || die "Failed to open $ARGV[0]\n"; 50 $infile = "INFILE"; 52 else { $infile = "STDIN"; } 68 printf " re> " if $infile eq "STDIN"; 69 last if ! ($_ = <$infile>); 70 printf $outfile "$_" if $infile ne "STDIN"; 77 printf " > " if $infile eq "STDIN"; 78 last if ! ($_ = <$infile>); 79 printf $outfile "$_" if $infile ne "STDIN" [all...] |
/external/libpng/contrib/gregbook/ |
readppm.c | 81 int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeight) 87 saved_infile = infile; 89 fgets(ppmline, 256, infile); 107 fgets(ppmline, 256, infile); 112 fgets(ppmline, 256, infile);
|
/external/selinux/libselinux/src/ |
matchmediacon.c | 17 FILE *infile; local 21 if ((infile = fopen(path, "r")) == NULL) 23 while (!feof_unlocked(infile)) { 24 if (!fgets_unlocked(current_line, sizeof(current_line), infile)) { 50 fclose(infile);
|