Searched refs:source_file (Results 1 - 25 of 58) sorted by relevance

123

/external/chromium_org/third_party/closure_compiler/
H A Dprocessor.py16 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...]
H A Dchecker.py157 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/
H A Dsetup_toolchain.py12 with open(source_path) as source_file:
13 tool_source = source_file.readlines()
/external/chromium_org/tools/json_schema_compiler/
H A Dfeatures_h_generator.py12 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'
H A Dfeatures_cc_generator.py12 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)
H A Dmodel.py32 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)
[all...]
/external/chromium_org/chrome/browser/translate/
H A Dstandalone_cld_data_harness.cc69 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/gn/
H A Dfunction_read_file.cc56 SourceFile source_file = cur_dir.ResolveRelativeFile(args[0].string_value()); local
58 scope->settings()->build_settings()->GetFullPath(source_file);
H A Doutput_file.cc8 #include "tools/gn/source_file.h"
18 const SourceFile& source_file)
19 : value_(RebaseSourceAbsolutePath(source_file.value(),
17 OutputFile(const BuildSettings* build_settings, const SourceFile& source_file) argument
H A Dfunction_write_file.cc60 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);
H A Dloader_unittest.cc33 void AddCannedResponse(const SourceFile& source_file,
71 void MockInputFileManager::AddCannedResponse(const SourceFile& source_file, argument
74 canned->input_file.reset(new InputFile(source_file));
86 canned_responses_[source_file] = linked_ptr<CannedResult>(canned);
H A Doutput_file.h22 const SourceFile& source_file);
/external/chromium_org/third_party/cython/src/
H A Dsetup.py129 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
[all...]
/external/chromium_org/chrome/installer/util/
H A Dduplicate_tree_detector_unittest.cc140 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/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dexecfile.py97 source_file = open_source(filename)
102 source = source_file.read()
104 source_file.close()
H A Dannotate.py54 source = cu.source_file()
H A Dhtml.py114 source_file = cu.source_file()
116 source = source_file.read()
118 source_file.close()
/external/chromium_org/tools/clang/scripts/
H A Dtest_tool.py48 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/
H A Dsetup_toolchain.py69 with open(source_path) as source_file:
70 tool_source = source_file.readlines()
/external/chromium_org/testing/gtest/scripts/
H A Drelease_docs.py140 source_file = os.path.join(self.wiki_dir, f)
143 text = file(source_file, 'r').read()
/external/e2fsprogs/lib/ss/
H A Dtest_ss.c34 static int source_file(const char *cmd_file, int sci_idx) function
129 exit_status = source_file(cmd_file, sci_idx);
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Drunner.py119 source_file = htmlutil.GetScriptLines(source)
121 source_file = source
123 token, tokenizer_mode = _Tokenize(source_file)
/external/lldb/source/Symbol/
H A DFunction.cpp250 Function::GetStartLineSourceInfo (FileSpec &source_file, uint32_t &line_no) argument
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) argument
282 source_file.Clear();
297 source_file = line_entry.file;
/external/lldb/include/lldb/Symbol/
H A DFunction.h446 /// @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/chromium_org/chrome/browser/extensions/
H A Dcrx_installer.h100 // Install the crx in |source_file|.
101 void InstallCrx(const base::FilePath& source_file);
104 void InstallUserScript(const base::FilePath& source_file,
117 const base::FilePath& source_file() const { return source_file_; } function in class:extensions::CrxInstaller

Completed in 594 milliseconds

123