HomeSort by relevance Sort by last modified time
    Searched full:out_file (Results 1 - 25 of 197) sorted by null

1 2 3 4 5 6 7 8

  /external/brotli/python/tests/
compressor_test.py 25 with open(temp_uncompressed, 'wb') as out_file:
27 out_file.write(brotli.decompress(in_file.read()))
33 with open(temp_compressed, 'wb') as out_file:
35 out_file.write(self.compressor.process(in_file.read()))
36 out_file.write(self.compressor.finish())
42 with open(temp_compressed, 'wb') as out_file:
46 out_file.write(self.compressor.process(data))
47 out_file.write(self.compressor.finish())
53 with open(temp_compressed, 'wb') as out_file:
57 out_file.write(self.compressor.process(data)
    [all...]
compress_test.py 26 with open(temp_uncompressed, 'wb') as out_file:
28 out_file.write(brotli.decompress(in_file.read(), **kwargs))
33 with open(temp_compressed, 'wb') as out_file:
35 out_file.write(brotli.compress(in_file.read(), **kwargs))
decompress_test.py 26 with open(temp_uncompressed, 'wb') as out_file:
28 out_file.write(brotli.decompress(in_file.read()))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
uu.py 29 encode(in_file, out_file [,name, mode])
30 decode(in_file [, out_file, mode])
42 def encode(in_file, out_file, name=None, mode=None):
62 # Open out_file if it is a pathname
64 if out_file == '-':
65 out_file = sys.stdout
66 elif isinstance(out_file, basestring):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
    [all...]
  /external/python/cpython2/Lib/
uu.py 29 encode(in_file, out_file [,name, mode])
30 decode(in_file [, out_file, mode])
42 def encode(in_file, out_file, name=None, mode=None):
62 # Open out_file if it is a pathname
64 if out_file == '-':
65 out_file = sys.stdout
66 elif isinstance(out_file, basestring):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
uu.py 29 encode(in_file, out_file [,name, mode])
30 decode(in_file [, out_file, mode])
42 def encode(in_file, out_file, name=None, mode=None):
62 # Open out_file if it is a pathname
64 if out_file == '-':
65 out_file = sys.stdout
66 elif isinstance(out_file, basestring):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
uu.py 29 encode(in_file, out_file [,name, mode])
30 decode(in_file [, out_file, mode])
42 def encode(in_file, out_file, name=None, mode=None):
62 # Open out_file if it is a pathname
64 if out_file == '-':
65 out_file = sys.stdout
66 elif isinstance(out_file, basestring):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
uu.py 29 encode(in_file, out_file [,name, mode])
30 decode(in_file [, out_file, mode])
42 def encode(in_file, out_file, name=None, mode=None):
62 # Open out_file if it is a pathname
64 if out_file == '-':
65 out_file = sys.stdout
66 elif isinstance(out_file, basestring):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
uu.py 29 encode(in_file, out_file [,name, mode])
30 decode(in_file [, out_file, mode])
42 def encode(in_file, out_file, name=None, mode=None):
62 # Open out_file if it is a pathname
64 if out_file == '-':
65 out_file = sys.stdout
66 elif isinstance(out_file, basestring):
67 out_file = open(out_file, 'wb')
68 opened_files.append(out_file)
    [all...]
  /external/tpm2/generator/
structure_generator.py 203 def OutputMarshal(self, out_file, typemap):
207 out_file: The output file.
215 out_file.write(
220 typemap[self.field_type].OutputMarshalCall(out_file, self)
222 def OutputUnmarshal(self, out_file, typemap):
226 out_file: The output file.
234 out_file.write(
239 typemap[self.field_type].OutputUnmarshalCall(out_file, self)
306 def _GetBaseType(self, out_file, marshalled_types, typemap):
317 out_file: The output file
    [all...]
command_generator.py 409 def OutputMarshalFunction(self, out_file, typemap):
413 out_file: File to be written to opened by the caller.
421 out_file.write(self._MARSHAL_COMMAND_START % {
425 out_file.write('\n // Marshal response handles.')
428 out_file, Field(handle['type'],
431 out_file.write(self._PARAMETERSIZE_CHECK)
433 out_file.write('\n // Marshal response parameters.')
436 out_file, Field(parameter['type'], parameter['name'],
438 out_file.write(self._MARSHAL_END)
440 def OutputUnmarshalFunction(self, out_file, typemap)
    [all...]
structure_generator_test.py 28 out_file = StringIO.StringIO()
29 typedef2.OutputMarshalImpl(out_file, marshalled_types, typemap)
32 out_file.close()
42 out_file = StringIO.StringIO()
43 constant.OutputMarshalImpl(out_file, marshalled_types, typemap)
46 out_file.close()
57 out_file = StringIO.StringIO()
58 attributeStruct.OutputMarshalImpl(out_file, marshalled_types, typemap)
61 out_file.close()
73 out_file = StringIO.StringIO(
    [all...]
  /external/e2fsprogs/debugfs/
logdump.c 80 FILE *out_file; local
175 out_file = stdout;
178 out_file = fopen(out_fn, "w");
179 if (!out_file) {
253 fprintf(out_file, "Using external journal found at %s\n",
260 dump_journal(argv[0], out_file, &journal_source);
268 if (out_file && (out_file != stdout))
269 fclose(out_file);
338 static void dump_journal(char *cmdname, FILE *out_file,
    [all...]
  /system/tpm/trunks/generator/
generator_test.py 37 out_file = StringIO.StringIO()
39 typedef.OutputForward(out_file, defined_types, typemap)
41 typedef.Output(out_file, defined_types, typemap)
42 self.assertEqual(out_file.getvalue(), 'typedef int INT;\n')
53 out_file.close()
62 out_file = StringIO.StringIO()
63 typedef2.OutputSerialize(out_file, serialized_types, typemap)
66 out_file.close()
73 out_file = StringIO.StringIO()
74 constant.Output(out_file, defined_types, typemap
    [all...]
generator.py 310 def OutputForward(self, out_file, defined_types, typemap):
311 """Writes a typedef definition to |out_file|.
317 out_file: The output file.
322 self.Output(out_file, defined_types, typemap)
324 def Output(self, out_file, defined_types, typemap):
325 """Writes a typedef definition to |out_file|.
330 out_file: The output file.
339 typemap[self.old_type].OutputForward(out_file, defined_types, typemap)
340 out_file.write(self._TYPEDEF % {'old_type': self.old_type,
344 def OutputSerialize(self, out_file, serialized_types, typemap)
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
ml_load_dmp.h 29 void read_dmp_img(char *dmp_path, char *out_file);
  /hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
ml_load_dmp.h 29 void read_dmp_img(char *dmp_path, char *out_file);
  /development/vndk/tools/definition-tool/tests/
test_elfdump.py 63 out_file = os.path.join(cls.test_dir, 'main.out')
64 target.link(out_file, [obj_file], ['-ldl', '-lc', '-lstdc++'])
72 out_file = os.path.join(cls.test_dir, 'libtest.so')
73 target.link(out_file, [obj_file], ['-shared', '-lc'])
76 out_file = os.path.join(cls.test_dir, 'libtest-rpath.so')
77 target.link(out_file, [obj_file],
82 out_file = os.path.join(cls.test_dir, 'libtest-rpath-multi.so')
83 target.link(out_file, [obj_file],
88 out_file = os.path.join(cls.test_dir, 'libtest-runpath.so')
89 target.link(out_file, [obj_file]
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/tools/
rtp_analyze.cc 83 FILE* out_file; local
85 out_file = fopen(argv[2], "wt");
86 if (!out_file) {
92 out_file = stdout;
96 fprintf(out_file, "SeqNo TimeStamp SendTime Size PT M SSRC");
98 fprintf(out_file, " AuLvl (V)");
101 fprintf(out_file, " AbsSendTime");
103 fprintf(out_file, "\n");
116 fprintf(out_file,
126 fprintf(out_file,
    [all...]
  /cts/tests/tests/security/tools/
format_cert.sh 30 out_file="$2"
48 if [ "$out_file" == "" ]; then
49 out_file="$subject_hash.0"
50 echo "Auto-generated output file name: $out_file"
54 "$OPENSSL" x509 -in "$in_file" -inform $in_form -outform pem > "$out_file" && \
56 >> "$out_file"
  /build/make/tools/releasetools/
target_files_diff.py 137 def diff(name, file1, file2, out_file):
150 print("%s: Binary files differ" % name, file=out_file)
153 print("%s: %s" % (name, line), file=out_file)
155 def recursiveDiff(prefix, dir1, dir2, out_file):
176 file=out_file)
179 print("%s: File types differ, skipping compare" % name, file=out_file)
188 print("%s: File types differ, skipping compare" % name, file=out_file)
193 (name, stat1.st_mode, stat2.st_mode), file=out_file)
196 recursiveDiff(name, name1, name2, out_file)
198 diff(name, name1, name2, out_file)
    [all...]
  /external/autotest/client/cros/audio/
pack_audio_quality.py 53 def pack_files(out_file):
59 @param out_file: Zip file name.
63 command.append(out_file)
71 def check_packed_file(out_file):
74 @param out_file: Zip file name.
77 command = ['python', out_file, '--help']
113 def append_name_with_git_hash(out_file):
116 For out_file like ABC.xyz, append the name ABC with git SHA-1 of HEAD, like
122 basename, ext = os.path.splitext(out_file)
141 out_file = append_name_with_git_hash(args.out
    [all...]
  /dalvik/tools/
get-hprof 33 OUT_FILE=heap-dump.hprof
35 adb pull "$FILE_BASE" "$OUT_FILE"
40 echo "hat $OUT_FILE"
  /external/wpa_supplicant_8/src/utils/
wpa_debug.c 61 static FILE *out_file = NULL; variable
75 if (out_file) {
76 fprintf(out_file, "%ld.%06u: ", (long) tv.sec,
221 if (out_file) {
222 vfprintf(out_file, fmt, ap);
223 fprintf(out_file, "\n");
348 if (out_file) {
349 fprintf(out_file, "%s - hexdump(len=%lu):",
352 fprintf(out_file, " [NULL]");
355 fprintf(out_file, " %02x", buf[i])
    [all...]
  /cts/tools/vm-tests-tf/src/util/build/
DasmBuildStep.java 104 File out_file = null; local
107 out_file = new File(class_name + ".dex");
109 out_file = new File(dest_dir, class_name + ".dex");
127 outp = new FileOutputStream(out_file);
133 " while writing " + out_file.getPath());
137 out_file.delete();

Completed in 1224 milliseconds

1 2 3 4 5 6 7 8