/system/core/libsparse/ |
output_file.h | 22 struct output_file; 24 struct output_file *output_file_open_fd(int fd, unsigned int block_size, int64_t len, 26 struct output_file *output_file_open_callback(int (*write)(void *, const void *, int), 29 int write_data_chunk(struct output_file *out, unsigned int len, void *data); 30 int write_fill_chunk(struct output_file *out, unsigned int len, 32 int write_file_chunk(struct output_file *out, unsigned int len, 34 int write_fd_chunk(struct output_file *out, unsigned int len, 36 int write_skip_chunk(struct output_file *out, int64_t len); 37 void output_file_close(struct output_file *out);
|
sparse_file.h | 28 struct output_file *out;
|
/build/tools/ |
generate-notice-files.py | 108 output_file = open(output_filename, "wb") 110 print >> output_file, "<html><head>" 111 print >> output_file, HTML_OUTPUT_CSS 112 print >> output_file, '</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">' 115 print >> output_file, '<div class="toc">' 116 print >> output_file, "<ul>" 124 print >> output_file, '<li><a href="#id%d">%s</a></li>' % (id_table.get(filename), stripped_filename) 126 print >> output_file, "</ul>" 127 print >> output_file, "</div><!-- table of contents -->" 129 print >>output_file, '<table cellpadding="0" cellspacing="0" border="0"> [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
chrome_subsetter.cc | 52 FILE* output_file = NULL; local 54 fopen_s(&output_file, kOutputFileName, "wb"); 56 output_file = fopen(kOutputFileName, "wb"); 58 EXPECT_TRUE((output_file != NULL)); 59 if (output_file) { 60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); 62 fflush(output_file); 63 fclose(output_file);
|
/external/sfntly/cpp/src/test/ |
chrome_subsetter.cc | 52 FILE* output_file = NULL; local 54 fopen_s(&output_file, kOutputFileName, "wb"); 56 output_file = fopen(kOutputFileName, "wb"); 58 EXPECT_TRUE((output_file != NULL)); 59 if (output_file) { 60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); 62 fflush(output_file); 63 fclose(output_file);
|
/external/protobuf/gtest/test/ |
gtest-options_test.cc | 94 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); local 96 _strcmpi(output_file.c_str(), 99 _strcmpi(output_file.c_str(), 102 _strcmpi(output_file.c_str(), 105 << " output_file = " << output_file; 108 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); 114 EXPECT_TRUE(output_file == 117 output_file == 120 output_file = 190 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); local 240 const String& output_file = UnitTestOptions::GetAbsolutePathToOutputFile(); local [all...] |
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
gypd.py | 79 output_file = input_file_stem + params['options'].suffix + '.gypd' 81 if not output_file in output_files: 82 output_files[output_file] = input_file 84 for output_file, input_file in output_files.iteritems(): 85 output = open(output_file, 'w')
|
/external/chromium_org/build/win/importlibs/ |
create_importlib_win.py | 68 def _WriteStubsFile(self, import_names, output_file): 69 output_file.write(_ASM_STUB_HEADER) 72 output_file.write('%s PROC\n' % name) 73 output_file.write('%s ENDP\n' % name) 75 output_file.write('END\n') 77 def _WriteDefFile(self, dll_name, import_names, output_file): 78 output_file.write(_DEF_STUB_HEADER) 79 output_file.write('NAME %s\n' % dll_name) 80 output_file.write('EXPORTS\n') 83 output_file.write(' %s\n' % name [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
create-html-entity-table | 63 # Python 3, change to: print("Usage: %s -o OUTPUT_FILE INPUT_FILE" % program_name, file=sys.stderr) 64 sys.stderr.write("Usage: %s -o OUTPUT_FILE INPUT_FILE\n" % program_name) 77 output_file = open(output_path, "w") variable 79 output_file.write("""/* 116 output_file.write("static const UChar %s[] = %s;\n" % ( 120 output_file.write(""" 131 output_file.write(' { %s, %s, %s, %s },\n' % ( 138 output_file.write("""}; 142 output_file.write("static const HTMLEntityTableEntry* uppercaseOffset[] = {\n") 144 output_file.write("%s\n" % offset_table_entry(index[letter]) [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
netlog_profiler.py | 33 output_file = i[len(self._NET_LOG_ARG):] 34 assert output_file 38 self._browser_backend.adb.Adb().Adb().Pull(output_file, host_output_file) 40 self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file) 41 output_file = host_output_file 42 print 'Net-internals log saved as %s' % output_file 44 return [output_file]
|
v8_profiler.py | 35 output_file = match.groups(0)[0] 36 assert output_file 40 self._browser_backend.adb.Adb().Adb().Pull(output_file, host_output_file) 42 self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file) 43 output_file = host_output_file 44 print 'V8 profile saved as %s' % output_file 47 return [output_file]
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
generate_protocol_externs.py | 91 output_file = open(output_path, "w") 93 output_file.write( 109 output_file.write("\n\n\nvar %sAgent = {};\n" % domain_name) 121 output_file.write(generate_enum(enum_name, property)) 126 output_file.write("\n/** @typedef {!{%s}} */\n%sAgent.%s;\n" % (", ".join(typedef_args), domain_name, type["id"])) 128 output_file.write("\n/** @typedef {!Object} */\n%sAgent.%s;\n" % (domain_name, type["id"])) 130 output_file.write(generate_enum("%sAgent.%s" % (domain_name, type["id"]), type)) 132 output_file.write("\n/** @typedef {!Array.<!%s>} */\n%sAgent.%s;\n" % (param_type(domain_name, type["items"]), domain_name, type["id"])) 134 output_file.write("\n/** @typedef {%s} */\n%sAgent.%s;\n" % (type_traits[type["type"]], domain_name, type["id"])) 138 output_file.write("\n/**\n" [all...] |
/frameworks/compile/libbcc/tests/debuginfo/ |
test_bcc_debuginfo.pl | 36 my $output_file = "$output_dir/$input_filename.gdb.output"; 72 system("$debugger $debugger_options > $output_file 2>&1") ; 75 print("$debugger $debugger_options > $output_file 2>&1\n") ; 80 system("$filecheck_tool", "-input-file", "$output_file", "$testcase_file"); 83 print("$debugger $debugger_options > $output_file 2>&1\n") ; 85 print "$filecheck_tool -input-file $output_file $testcase_file\n";
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/ |
make_token_matcher.py | 49 def __init__(self, output_file, array_variable, length_variable): 50 self.output_file = output_file 80 self.output_file.write(u'if (LIKELY(') 82 self.output_file.write(u' && ') 85 self.output_file.write("(%s[%d] | 0x20) == '%s'" % 88 self.output_file.write("%s[%d] == '%s'" % 90 self.output_file.write(u')) {\n') 94 self.output_file.write(u'}\n') 117 self.output_file.write(block_line [all...] |
xxd.py | 45 with open(output_filename, 'w') as output_file: 46 output_file.write(const_declaration)
|
/external/llvm/utils/ |
test_debuginfo.pl | 24 my $output_file = "$output_dir/$input_filename.gdb.output"; 52 system("$my_debugger $debugger_options $debugger_script_file $executable_file > $output_file 2>&1"); 55 system("FileCheck", "-input-file", "$output_file", "$testcase_file");
|
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
utils.cc | 76 FILE* output_file = NULL; local 78 fopen_s(&output_file, font_path, "wb"); 80 output_file = fopen(font_path, "wb"); 82 if (output_file == reinterpret_cast<FILE*>(NULL)) 85 fwrite(&(output_stream.Get()[i]), 1, 1, output_file); 87 fflush(output_file); 88 fclose(output_file);
|
/external/sfntly/cpp/src/sample/subtly/ |
utils.cc | 76 FILE* output_file = NULL; local 78 fopen_s(&output_file, font_path, "wb"); 80 output_file = fopen(font_path, "wb"); 82 if (output_file == reinterpret_cast<FILE*>(NULL)) 85 fwrite(&(output_stream.Get()[i]), 1, 1, output_file); 87 fflush(output_file); 88 fclose(output_file);
|
/external/chromium_org/net/tools/tld_cleanup/ |
tld_cleanup.cc | 76 base::FilePath output_file; local 77 PathService::Get(base::DIR_SOURCE_ROOT, &output_file); 78 output_file = output_file.Append(FILE_PATH_LITERAL("net")) 85 net::tld_cleanup::NormalizeFile(input_file, output_file);
|
/external/jpeg/ |
wrgif.c | 86 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) 203 putc(w & 0xFF, dinfo->pub.output_file); 204 putc((w >> 8) & 0xFF, dinfo->pub.output_file); 212 putc(val, dinfo->pub.output_file); 213 putc(val, dinfo->pub.output_file); 214 putc(val, dinfo->pub.output_file); 242 putc('G', dinfo->pub.output_file); 243 putc('I', dinfo->pub.output_file); 244 putc('F', dinfo->pub.output_file); 245 putc('8', dinfo->pub.output_file); [all...] |
/external/qemu/distrib/jpeg-6b/ |
wrgif.c | 86 if (JFWRITE(dinfo->pub.output_file, dinfo->packetbuf, dinfo->bytesinpkt) 203 putc(w & 0xFF, dinfo->pub.output_file); 204 putc((w >> 8) & 0xFF, dinfo->pub.output_file); 212 putc(val, dinfo->pub.output_file); 213 putc(val, dinfo->pub.output_file); 214 putc(val, dinfo->pub.output_file); 242 putc('G', dinfo->pub.output_file); 243 putc('I', dinfo->pub.output_file); 244 putc('F', dinfo->pub.output_file); 245 putc('8', dinfo->pub.output_file); [all...] |
/external/chromium/testing/gtest/scripts/ |
fuse_gtest_files.py | 117 output_file = os.path.join(output_dir, relative_path) 118 if os.path.exists(output_file): 131 parent_directory = os.path.dirname(output_file) 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 169 output_file.write(line) 172 output_file.close() 175 def FuseGTestAllCcToFile(gtest_root, output_file): 176 """Scans folder gtest_root to generate gtest/gtest-all.cc in output_file.""" 206 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,)) 213 output_file.write(line [all...] |
/external/chromium_org/chrome/tools/build/ |
appid.py | 26 ofp = open(opts.output_file, 'r') 33 open(opts.output_file, 'w').write(contents) 39 parser.add_option('-o', '--output_file', 44 if opts.appid is None or not opts.output_file:
|
/external/chromium_org/testing/gtest/scripts/ |
fuse_gtest_files.py | 117 output_file = os.path.join(output_dir, relative_path) 118 if os.path.exists(output_file): 131 parent_directory = os.path.dirname(output_file) 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 169 output_file.write(line) 172 output_file.close() 175 def FuseGTestAllCcToFile(gtest_root, output_file): 176 """Scans folder gtest_root to generate gtest/gtest-all.cc in output_file.""" 206 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,)) 213 output_file.write(line [all...] |
/external/gtest/scripts/ |
fuse_gtest_files.py | 117 output_file = os.path.join(output_dir, relative_path) 118 if os.path.exists(output_file): 131 parent_directory = os.path.dirname(output_file) 149 output_file = file(os.path.join(output_dir, GTEST_H_OUTPUT), 'w') 169 output_file.write(line) 172 output_file.close() 175 def FuseGTestAllCcToFile(gtest_root, output_file): 176 """Scans folder gtest_root to generate gtest/gtest-all.cc in output_file.""" 206 output_file.write('#include "%s"\n' % (GTEST_H_OUTPUT,)) 213 output_file.write(line [all...] |