/system/extras/tests/workloads/ |
atrace-uncompress.py | 4 # Usage: python atrace-uncompress.py infile > outfile 14 infile = open(sys.argv[1], "rb") 15 out = infile.read()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Strip/ |
strip.c | 94 FILE *InFile;
106 InFile = fopen (argv[1], "rb");
109 if (!InFile) {
119 fseek (InFile, 0, SEEK_END);
120 FileSize = ftell (InFile);
127 fseek (InFile, 0, SEEK_SET);
135 fread (Buffer, 1, FileSize, InFile);
143 fclose (InFile);
|
/external/python/cpython2/Lib/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/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/toybox/tests/ |
dirname.test | 5 #testing "name" "command" "result" "infile" "stdin"
|
env.test | 5 #testcmd "name "args" "result" "infile" "stdin" 6 #testing "name" "command" "result" "infile" "stdin"
|
md5sum.test | 5 #testing "name" "command" "result" "infile" "stdin" 11 testing "infile" "md5sum input" \
|
/external/vboot_reference/utility/include/ |
bmpblk_util.h | 10 int dump_bmpblock(const char *infile, int show_as_yaml,
|
/build/soong/scripts/ |
toc.sh | 37 ("${CROSS_COMPILE}readelf" -d "${infile}" | grep SONAME || echo "No SONAME for ${infile}") > "${outfile}.tmp" 38 "${CROSS_COMPILE}readelf" --dyn-syms "${infile}" | awk '{$2=""; $3=""; print}' >> "${outfile}.tmp" 42 otool -l "${infile}" | grep LC_ID_DYLIB -A 5 > "${outfile}.tmp" 43 nm -gP "${infile}" | cut -f1-2 -d" " | grep -v 'U$' >> "${outfile}.tmp" 50 i) infile="${OPTARG}" ;; 61 if [ -z "${infile}" ]; then
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
RTPtimeshift.cc | 28 FILE* inFile = fopen(argv[1], "rb"); 29 if (!inFile) { 45 EXPECT_TRUE(fgets(firstline, FIRSTLINELEN, inFile) != NULL); 48 fread(firstline, 1, kRtpDumpHeaderSize, inFile)); 52 int packLen = packet.readFromFile(inFile); 79 packLen = packet.readFromFile(inFile); 82 fclose(inFile);
|
/external/vboot_reference/futility/ |
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/python/cpython3/Programs/ |
_freeze_importlib.c | 36 FILE *infile = NULL, *outfile = NULL; local 52 infile = fopen(inpath, "rb"); 53 if (infile == NULL) { 57 if (_Py_fstat_noraise(fileno(infile), &status)) { 67 n = fread(text, 1, text_size, infile); 68 fclose(infile); 69 infile = NULL; 146 if (infile) 147 fclose(infile);
|
/external/sonic/ |
main.c | 18 waveFile inFile, 40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); 60 fprintf(stderr, "Usage: sonic [OPTION]... infile outfile\n" 75 waveFile inFile, outFile; 125 inFile = openInputWaveFile(inFileName, &sampleRate, &numChannels); 126 if(inFile == NULL) { 131 closeWaveFile(inFile); 134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality, 136 closeWaveFile(inFile);
|
/system/sepolicy/tests/ |
mini_parser.py | 19 def _getNextStmt(self, infile): 22 c = infile.read(1) 25 c = infile.read(1) 28 c = infile.read(1) 31 c = infile.read(1) 35 c = infile.read(1) 92 with open(policyFile, 'r') as infile: 93 s = self._getNextStmt(infile) 96 s = self._getNextStmt(infile)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
findnocoding.py | 53 infile = open(fullpath, 'rU')
57 line1 = infile.readline()
58 line2 = infile.readline()
62 infile.close()
66 rest = infile.read()
67 infile.close()
|
pysource.py | 54 infile = _open(fullpath)
55 if infile is None:
58 line = infile.readline()
59 infile.close()
75 infile = _open(fullpath)
76 if infile is None:
79 code = infile.read()
80 infile.close()
|
/external/lzma/CPP/7zip/UI/Common/ |
ArchiveOpenCallback.cpp | 116 CInFileStreamVol *inFile = new CInFileStreamVol;
117 CMyComPtr<IInStream> inStreamTemp = inFile;
118 if (!inFile->Open(fullPath))
128 inFile->FileNameIndex = FileNames_WasUsed.Add(true);
129 inFile->OpenCallbackImp = this;
130 inFile->OpenCallbackRef = this;
|
/external/python/cpython2/Doc/library/ |
mimify.rst | 32 .. function:: mimify(infile, outfile) 34 Copy the message in *infile* to *outfile*, converting parts to quoted-printable 35 and adding MIME mail headers when necessary. *infile* and *outfile* can be file 36 objects (actually, any object that has a :meth:`readline` method (for *infile*) 38 *infile* and *outfile* are both strings, they may have the same value. 41 .. function:: unmimify(infile, outfile[, decode_base64]) 43 Copy the message in *infile* to *outfile*, decoding all quoted-printable parts. 44 *infile* and *outfile* can be file objects (actually, any object that has a 45 :meth:`readline` method (for *infile*) or a :meth:`write` method (for 46 *outfile*)) or strings naming the files. If *infile* and *outfile* are bot [all...] |
/external/elfutils/tests/ |
run-compress-test.sh | 23 infile="$1" 24 uncompressedfile="${infile}.uncompressed" 27 echo "uncompress $infile -> $uncompressedfile" 28 testrun ${abs_top_builddir}/src/elfcompress -v -t none -o ${uncompressedfile} ${infile} 33 gnucompressedfile="${infile}.gnu" 43 gnuuncompressedfile="${infile}.gnu.uncompressed" 49 elfcompressedfile="${infile}.gabi" 59 elfuncompressedfile="${infile}.gabi.uncompressed"
|
/external/python/cpython2/Tools/scripts/ |
pysource.py | 54 infile = _open(fullpath) 55 if infile is None: 58 line = infile.readline() 59 infile.close() 75 infile = _open(fullpath) 76 if infile is None: 79 code = infile.read() 80 infile.close()
|
/external/python/cpython3/Tools/scripts/ |
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()
|
/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"
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Frontend/ |
FrontendActions.h | 30 StringRef InFile) override; 45 StringRef InFile) override; 51 StringRef InFile) override; 57 StringRef InFile) override; 63 StringRef InFile) override; 69 StringRef InFile) override; 75 StringRef InFile) override; 91 ComputeASTConsumerArguments(CompilerInstance &CI, StringRef InFile, 99 CreateOutputFile(CompilerInstance &CI, StringRef InFile) = 0; 103 StringRef InFile) override [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Frontend/ |
FrontendActions.h | 30 StringRef InFile) override; 45 StringRef InFile) override; 51 StringRef InFile) override; 57 StringRef InFile) override; 63 StringRef InFile) override; 69 StringRef InFile) override; 75 StringRef InFile) override; 91 ComputeASTConsumerArguments(CompilerInstance &CI, StringRef InFile, 99 CreateOutputFile(CompilerInstance &CI, StringRef InFile) = 0; 103 StringRef InFile) override [all...] |