/external/toybox/tests/ |
xzcat.test | 8 #testing "name" "command" "result" "infile" "stdin" 16 #testing "name" "command" "result" "infile" "stdin"
|
/external/google-breakpad/src/common/tests/ |
file_utils.cc | 45 int infile = HANDLE_EINTR(open(from_path, O_RDONLY)); local 46 if (infile < 0) { 54 if (IGNORE_EINTR(close(infile)) < 0) { 64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); 87 if (IGNORE_EINTR(close(infile)) == -1) {
|
/external/libvpx/libvpx/examples/ |
vp9_lossless_encoder.c | 28 fprintf(stderr, "Usage: %s <width> <height> <infile> <outfile>\n", exec_name); 60 FILE *infile = NULL; local 109 if (!(infile = fopen(argv[3], "rb"))) 119 while (vpx_img_read(&raw, infile)) { 128 fclose(infile);
|
/external/libvpx/libvpx/ |
ivfdec.c | 73 int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, 78 if (fread(raw_header, IVF_FRAME_HDR_SZ, 1, infile) != 1) { 79 if (!feof(infile)) warn("Failed to read frame size\n"); 101 if (!feof(infile)) { 102 if (fread(*buffer, 1, frame_size, infile) != frame_size) {
|
/external/python/cpython3/Tools/scripts/ |
findnocoding.py | 54 infile = open(fullpath, 'rb') 58 with infile: 59 line1 = infile.readline() 60 line2 = infile.readline() 68 rest = infile.read()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
DumpDatabaseAction.java | 59 final File inFile = context.getDatabasePath(dbName); 60 if (inFile.exists() && inFile.isFile()) { 61 originalSize = inFile.length(); 68 bis = new BufferedInputStream(new FileInputStream(inFile));
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/ |
GenCrc32.c | 136 FILE *InFile;
147 InFile = NULL;
279 InFile = fopen (LongFilePath (InputFileName), "rb");
280 if (InFile == NULL) {
285 fseek (InFile, 0, SEEK_END);
286 FileSize = ftell (InFile);
287 fseek (InFile, 0, SEEK_SET);
292 fclose (InFile);
296 fread (FileBuffer, 1, FileSize, InFile);
297 fclose (InFile);
[all...] |
/external/google-breakpad/src/common/mac/testing/ |
GTMSenTestCase.h | 93 inFile:[NSString stringWithUTF8String:__FILE__] \ 101 inFile:[NSString stringWithUTF8String:__FILE__] \ 123 inFile:[NSString stringWithUTF8String:__FILE__] \ 131 inFile:[NSString stringWithUTF8String:__FILE__] \ 152 inFile:[NSString stringWithUTF8String:__FILE__] \ 160 inFile:[NSString stringWithUTF8String:__FILE__] \ 180 inFile:[NSString stringWithUTF8String:__FILE__] \ 188 inFile:[NSString stringWithUTF8String:__FILE__] \ 218 inFile:[NSString stringWithUTF8String:__FILE__] \ 227 inFile:[NSString stringWithUTF8String:__FILE__] [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mimify.py | 18 mimify.py -e [infile [outfile]]
19 mimify.py -d [infile [outfile]]
20 to encode and decode respectively. Infile defaults to standard
207 def unmimify(infile, outfile, decode_base64 = 0):
209 if type(infile) == type(''):
210 ifile = open(infile)
211 if type(outfile) == type('') and infile == outfile:
213 d, f = os.path.split(infile)
214 os.rename(infile, os.path.join(d, ',' + f))
216 ifile = infile
[all...] |
/external/python/cpython2/Lib/ |
mimify.py | 18 mimify.py -e [infile [outfile]] 19 mimify.py -d [infile [outfile]] 20 to encode and decode respectively. Infile defaults to standard 207 def unmimify(infile, outfile, decode_base64 = 0): 209 if type(infile) == type(''): 210 ifile = open(infile) 211 if type(outfile) == type('') and infile == outfile: 213 d, f = os.path.split(infile) 214 os.rename(infile, os.path.join(d, ',' + f)) 216 ifile = infile [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
mimify.py | 18 mimify.py -e [infile [outfile]] 19 mimify.py -d [infile [outfile]] 20 to encode and decode respectively. Infile defaults to standard 207 def unmimify(infile, outfile, decode_base64 = 0): 209 if type(infile) == type(''): 210 ifile = open(infile) 211 if type(outfile) == type('') and infile == outfile: 213 d, f = os.path.split(infile) 214 os.rename(infile, os.path.join(d, ',' + f)) 216 ifile = infile [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
mimify.py | 18 mimify.py -e [infile [outfile]] 19 mimify.py -d [infile [outfile]] 20 to encode and decode respectively. Infile defaults to standard 207 def unmimify(infile, outfile, decode_base64 = 0): 209 if type(infile) == type(''): 210 ifile = open(infile) 211 if type(outfile) == type('') and infile == outfile: 213 d, f = os.path.split(infile) 214 os.rename(infile, os.path.join(d, ',' + f)) 216 ifile = infile [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimify.py | 18 mimify.py -e [infile [outfile]] 19 mimify.py -d [infile [outfile]] 20 to encode and decode respectively. Infile defaults to standard 207 def unmimify(infile, outfile, decode_base64 = 0): 209 if type(infile) == type(''): 210 ifile = open(infile) 211 if type(outfile) == type('') and infile == outfile: 213 d, f = os.path.split(infile) 214 os.rename(infile, os.path.join(d, ',' + f)) 216 ifile = infile [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimify.py | 18 mimify.py -e [infile [outfile]] 19 mimify.py -d [infile [outfile]] 20 to encode and decode respectively. Infile defaults to standard 207 def unmimify(infile, outfile, decode_base64 = 0): 209 if type(infile) == type(''): 210 ifile = open(infile) 211 if type(outfile) == type('') and infile == outfile: 213 d, f = os.path.split(infile) 214 os.rename(infile, os.path.join(d, ',' + f)) 216 ifile = infile [all...] |
/external/python/cpython2/Lib/plat-mac/ |
cfmfile.py | 164 infile = open(self.path, "rb") 166 infile.seek(0, 2) 167 self.length = infile.tell() 170 infile.seek(self.offset) 182 outfile.write(infile.read(BUFSIZE)) 185 outfile.write(infile.read(l)) 187 infile.close()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
cfmfile.py | 164 infile = open(self.path, "rb") 166 infile.seek(0, 2) 167 self.length = infile.tell() 170 infile.seek(self.offset) 182 outfile.write(infile.read(BUFSIZE)) 185 outfile.write(infile.read(l)) 187 infile.close()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
cfmfile.py | 164 infile = open(self.path, "rb") 166 infile.seek(0, 2) 167 self.length = infile.tell() 170 infile.seek(self.offset) 182 outfile.write(infile.read(BUFSIZE)) 185 outfile.write(infile.read(l)) 187 infile.close()
|
/system/extras/ioshark/ |
convert_format.c | 91 char *infile, *outfile; local 108 infile = argv[1]; 110 if (stat(infile, &st) < 0) { 112 progname, infile); 117 progname, infile); 120 old_fp = fopen(infile, "r"); 123 progname, infile);
|
/external/lzma/CPP/7zip/Common/ |
InOutTempBuffer.cpp | 95 NIO::CInFile inFile;
96 if (!inFile.Open(_tempFile.GetPath()))
101 if (!inFile.ReadPart(_buf, kTempBufSize, processed))
|
/external/python/cpython2/Lib/test/ |
test_file_eintr.py | 40 """Returns the infile = ... line of code for the reader process. 45 'infile = _io.FileIO(sys.stdin.fileno(), "rb")') 82 writing a final newline and closing the infile pipe. 84 object named 'infile' and validate the result. This will be 101 'infile.close()' 147 'got = infile.{read_method_name}() ;' 187 """Returns the infile = ... line of code to make a BufferedReader.""" 188 return ('infile = io.open(sys.stdin.fileno(), "rb") ;' 189 'import _io ;assert isinstance(infile, _io.BufferedReader)') 202 """Returns the infile = ... line of code to make a TextIOWrapper."" [all...] |
/external/python/cpython3/Lib/test/ |
test_file_eintr.py | 37 """Returns the infile = ... line of code for the reader process. 42 'infile = io.FileIO(sys.stdin.fileno(), "rb")' % 80 writing a final newline and closing the infile pipe. 82 object named 'infile' and validate the result. This will be 99 'infile.close()' 145 'got = infile.{read_method_name}() ;' 192 """Returns the infile = ... line of code to make a BufferedReader.""" 193 return ('import %s as io ;infile = io.open(sys.stdin.fileno(), "rb") ;' 194 'assert isinstance(infile, io.BufferedReader)' % 214 """Returns the infile = ... line of code to make a TextIOWrapper."" [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_file_eintr.py | 40 """Returns the infile = ... line of code for the reader process. 45 'infile = _io.FileIO(sys.stdin.fileno(), "rb")') 82 writing a final newline and closing the infile pipe. 84 object named 'infile' and validate the result. This will be 101 'infile.close()' 147 'got = infile.{read_method_name}() ;' 187 """Returns the infile = ... line of code to make a BufferedReader.""" 188 return ('infile = io.open(sys.stdin.fileno(), "rb") ;' 189 'import _io ;assert isinstance(infile, _io.BufferedReader)') 202 """Returns the infile = ... line of code to make a TextIOWrapper."" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_file_eintr.py | 40 """Returns the infile = ... line of code for the reader process. 45 'infile = _io.FileIO(sys.stdin.fileno(), "rb")') 82 writing a final newline and closing the infile pipe. 84 object named 'infile' and validate the result. This will be 101 'infile.close()' 147 'got = infile.{read_method_name}() ;' 187 """Returns the infile = ... line of code to make a BufferedReader.""" 188 return ('infile = io.open(sys.stdin.fileno(), "rb") ;' 189 'import _io ;assert isinstance(infile, _io.BufferedReader)') 202 """Returns the infile = ... line of code to make a TextIOWrapper."" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_file_eintr.py | 40 """Returns the infile = ... line of code for the reader process. 45 'infile = _io.FileIO(sys.stdin.fileno(), "rb")') 82 writing a final newline and closing the infile pipe. 84 object named 'infile' and validate the result. This will be 101 'infile.close()' 147 'got = infile.{read_method_name}() ;' 187 """Returns the infile = ... line of code to make a BufferedReader.""" 188 return ('infile = io.open(sys.stdin.fileno(), "rb") ;' 189 'import _io ;assert isinstance(infile, _io.BufferedReader)') 202 """Returns the infile = ... line of code to make a TextIOWrapper."" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_file_eintr.py | 40 """Returns the infile = ... line of code for the reader process. 45 'infile = _io.FileIO(sys.stdin.fileno(), "rb")') 82 writing a final newline and closing the infile pipe. 84 object named 'infile' and validate the result. This will be 101 'infile.close()' 147 'got = infile.{read_method_name}() ;' 187 """Returns the infile = ... line of code to make a BufferedReader.""" 188 return ('infile = io.open(sys.stdin.fileno(), "rb") ;' 189 'import _io ;assert isinstance(infile, _io.BufferedReader)') 202 """Returns the infile = ... line of code to make a TextIOWrapper."" [all...] |