/external/chromium_org/third_party/closure_compiler/ |
processor.py | 16 source_file: A file path. 19 def __init__(self, source_file, line_number): 20 self.file = source_file 34 def read(self, source_file): 38 source_file: a file to read and return the contents of. 43 abs_file = os.path.abspath(source_file) 68 source_file: A file to process. 78 def __init__(self, source_file): 81 self._lines = self._get_file(source_file) 98 def _get_file(self, source_file) [all...] |
checker.py | 157 def check(self, source_file, depends=None, externs=None): 161 source_file: A file to check. 176 self._debug("FILE: %s" % source_file) 178 if source_file.endswith("_externs.js"): 179 self._debug("Skipping externs: %s" % source_file) 182 self._file_arg = source_file 187 includes = [rel_path(f) for f in depends + [source_file]] 213 self._error("Error in: %s%s" % (source_file, "\n" + output if output else ""))
|
/external/chromium_org/build/toolchain/mac/ |
setup_toolchain.py | 12 with open(source_path) as source_file: 13 tool_source = source_file.readlines()
|
/external/chromium_org/chrome/browser/translate/ |
standalone_cld_data_harness.cc | 69 base::FilePath source_file; local 70 GetStandaloneDataFileSource(&source_file); 71 VLOG(1) << "Copying CLD test data file from " << source_file.value() << " to " 73 ASSERT_TRUE(base::CopyFile(source_file, target_file));
|
/external/chromium_org/tools/json_schema_compiler/ |
features_cc_generator.py | 12 def Generate(self, feature_defs, source_file, namespace): 13 return _Generator(feature_defs, source_file, namespace).Generate() 19 def __init__(self, feature_defs, source_file, namespace): 21 self._source_file = source_file 22 self._source_file_filename, _ = os.path.splitext(source_file)
|
features_h_generator.py | 12 def Generate(self, features, source_file, namespace): 13 return _Generator(features, source_file, namespace).Generate() 19 def __init__(self, features, source_file, namespace): 21 self._source_file = source_file 22 self._source_file_filename, _ = os.path.splitext(source_file) 38 output_file = os.path.splitext(self._namespace.source_file)[0] + '.h'
|
model.py | 32 source_file, 38 source_file, 91 - |source_file| the file that contained the namespace definition 92 - |source_file_dir| the directory component of |source_file| 93 - |source_file_filename| the filename component of |source_file| 105 source_file, 117 self.source_file = source_file 118 self.source_file_dir, self.source_file_filename = os.path.split(source_file) 119 self.short_filename = os.path.basename(source_file).split('.')[0 [all...] |
/external/chromium_org/tools/gn/ |
function_read_file.cc | 56 SourceFile source_file = cur_dir.ResolveRelativeFile(args[0].string_value()); local 58 scope->settings()->build_settings()->GetFullPath(source_file);
|
output_file.cc | 8 #include "tools/gn/source_file.h" 18 const SourceFile& source_file) 19 : value_(RebaseSourceAbsolutePath(source_file.value(),
|
function_write_file.cc | 60 SourceFile source_file = cur_dir.ResolveRelativeFile(args[0].string_value()); local 63 source_file.value(), args[0].origin(), err)) 77 scope->settings()->build_settings()->GetFullPath(source_file);
|
loader_unittest.cc | 33 void AddCannedResponse(const SourceFile& source_file, 71 void MockInputFileManager::AddCannedResponse(const SourceFile& source_file, 74 canned->input_file.reset(new InputFile(source_file)); 86 canned_responses_[source_file] = linked_ptr<CannedResult>(canned);
|
output_file.h | 22 const SourceFile& source_file);
|
/external/chromium_org/chrome/installer/util/ |
duplicate_tree_detector_unittest.cc | 140 base::FilePath source_file(temp_source_dir_.path()); 141 source_file = source_file.AppendASCII("F1"); 142 CreateTextFile(source_file.MaybeAsASCII(), text_content_1_); 147 ASSERT_TRUE(installer::test::CopyFileHierarchy(source_file, dest_file)); 154 EXPECT_TRUE(installer::IsIdenticalFileHierarchy(source_file, dest_file)); 155 EXPECT_FALSE(installer::IsIdenticalFileHierarchy(source_file, other_file));
|
/external/chromium_org/third_party/cython/src/ |
setup.py | 129 source_file = os.path.join(source_root, *module.split('.')) 130 if os.path.exists(source_file + ".py"): 131 pyx_source_file = source_file + ".py" 133 pyx_source_file = source_file + ".pyx" 135 if os.path.exists(source_file + '.pxd'): 136 dep_files.append(source_file + '.pxd') 190 source_file = os.path.join(source_root, *module.split('.')) variable in class:compile_cython_modules.build_ext.build_ext 191 if os.path.exists(source_file + ".py"): 192 pyx_source_file = source_file + ".py" 194 pyx_source_file = source_file + ".pyx [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
execfile.py | 97 source_file = open_source(filename) 102 source = source_file.read() 104 source_file.close()
|
html.py | 114 source_file = cu.source_file() 116 source = source_file.read() 118 source_file.close()
|
/external/chromium_org/tools/clang/scripts/ |
test_tool.py | 48 actual_files = ['-'.join([source_file.rsplit('-', 1)[0], 'actual.cc']) 49 for source_file in source_files] 50 expected_files = ['-'.join([source_file.rsplit('-', 1)[0], 'expected.cc']) 51 for source_file in source_files]
|
/external/chromium_org/build/toolchain/win/ |
setup_toolchain.py | 69 with open(source_path) as source_file: 70 tool_source = source_file.readlines()
|
/external/e2fsprogs/lib/ss/ |
test_ss.c | 34 static int source_file(const char *cmd_file, int sci_idx) function 129 exit_status = source_file(cmd_file, sci_idx);
|
/bootable/recovery/applypatch/ |
applypatch.c | 36 static int GenerateTarget(FileContents* source_file, 731 FileContents source_file; local 733 source_file.data = NULL; 737 // We try to load the target file into the source_file object. 738 if (LoadFileContents(target_filename, &source_file) == 0) { 739 if (memcmp(source_file.sha1, target_sha1, SHA_DIGEST_SIZE) == 0) { 745 free(source_file.data); 750 if (source_file.data == NULL || 755 free(source_file.data); 756 source_file.data = NULL [all...] |
/external/chromium_org/testing/gtest/scripts/ |
release_docs.py | 140 source_file = os.path.join(self.wiki_dir, f) 143 text = file(source_file, 'r').read()
|
/external/lldb/include/lldb/Symbol/ |
Function.h | 446 /// @param[out] source_file 453 GetStartLineSourceInfo (FileSpec &source_file, uint32_t &line_no); 460 /// @param[out] source_file 467 GetEndLineSourceInfo (FileSpec &source_file, uint32_t &line_no);
|
/external/lldb/source/Symbol/ |
Function.cpp | 250 Function::GetStartLineSourceInfo (FileSpec &source_file, uint32_t &line_no) 253 source_file.Clear(); 260 source_file = m_type->GetDeclaration().GetFile(); 273 source_file = line_entry.file; 279 Function::GetEndLineSourceInfo (FileSpec &source_file, uint32_t &line_no) 282 source_file.Clear(); 297 source_file = line_entry.file;
|
/art/runtime/mirror/ |
throwable.cc | 94 const char* source_file = method->GetDeclaringClassSourceFile(); local 96 source_file, line_number);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
test_importer.py | 270 source_file = os.path.join(os.path.dirname(test_info['reference']), support_file) 271 source_file = os.path.normpath(source_file) 274 to_copy = {'src': source_file, 'dest': support_file}
|