/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;
|
output_file.c | 31 #include "output_file.h" 70 int (*open)(struct output_file *, int fd); 71 int (*skip)(struct output_file *, int64_t); 72 int (*pad)(struct output_file *, int64_t); 73 int (*write)(struct output_file *, void *, int); 74 void (*close)(struct output_file *); 78 int (*write_data_chunk)(struct output_file *out, unsigned int len, 80 int (*write_fill_chunk)(struct output_file *out, unsigned int len, 82 int (*write_skip_chunk)(struct output_file *out, int64_t len); 83 int (*write_end_chunk)(struct output_file *out) 86 struct output_file { struct [all...] |
/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/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/chromium_org/tools/telemetry/telemetry/page/ |
html_page_measurement_results_unittest.py | 47 output_file = StringIOFile() 51 output_file, 'test_name', False, 'browser_type') 89 self.assertIn(expected, output_file.getvalue()) 92 output_file.seek(0) 94 output_file, 'test_name', False, 'browser_type') 158 self.assertIn(expected, output_file.getvalue()) 159 last_output_len = len(output_file.getvalue()) 162 output_file.seek(0) 164 output_file, 'test_name', True, 'browser_type') 202 self.assertIn(expected, output_file.getvalue() [all...] |
/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...] |
/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/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}|null} */\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)) 135 output_file.write("\n/** @typedef {Array.<%s>%s} */\n%sAgent.%s;\n" % (param_type(domain_name, type["items"]), suffix, domain_name, type["id"])) 137 output_file.write("\n/** @typedef {%s} */\n%sAgent.%s;\n" % (type_traits[type["type"]], domain_name, type["id"])) 141 output_file.write("\n/**\n" [all...] |
/external/chromium_org/third_party/WebKit/Source/core/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...] |
/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/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...] |
/external/protobuf/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/installer/util/ |
lzma_util.h | 26 std::wstring* output_file); 40 std::wstring* output_file);
|
/external/chromium/testing/gmock/scripts/ |
fuse_gmock_files.py | 122 output_file = file(os.path.join(output_dir, GMOCK_H_OUTPUT), 'w') 150 output_file.write('#include "%s"\n' % (gtest.GTEST_H_OUTPUT,)) 153 output_file.write(line) 156 output_file.close() 159 def FuseGMockAllCcToFile(gmock_root, output_file): 160 """Scans folder gmock_root to fuse gmock-all.cc into output_file.""" 184 output_file.write('#include "%s"\n' % (GMOCK_H_OUTPUT,)) 199 output_file.write(line) 207 output_file = file(os.path.join(output_dir, GMOCK_GTEST_ALL_CC_OUTPUT), 'w') 209 gtest.FuseGTestAllCcToFile(GetGTestRootDir(gmock_root), output_file) [all...] |