Home
last modified time | relevance | path

Searched refs:source_file (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/third_party/closure_compiler/
Dprocessor.py19 def __init__(self, source_file, line_number): argument
20 self.file = source_file
34 def read(self, source_file): argument
43 abs_file = os.path.abspath(source_file)
78 def __init__(self, source_file): argument
81 self._lines = self._get_file(source_file)
98 def _get_file(self, source_file): argument
99 lines = FileCache.read(source_file).splitlines()
100 return [(source_file, lnum + 1, line) for lnum, line in enumerate(lines)]
102 def _include_file(self, source_file): argument
[all …]
Dcompile_js.gypi16 'source_file': '<(_target_name).js',
17 …': '<(SHARED_INTERMEDIATE_DIR)/closure/<!(python <(CLOSURE_DIR)/build/outputs.py <@(source_file))',
28 '<!@(python <(CLOSURE_DIR)/build/inputs.py <(source_file) -d <@(depends) -e <@(externs))',
36 '<(source_file)',
41 'message': 'Compiling <(source_file)',
Dchecker.py157 def check(self, source_file, depends=None, externs=None): argument
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/checkpolicy/
Dpolicy_scan.l42 char source_file[PATH_MAX]; variable
277 if (source_file[0])
279 source_file, source_lineno);
293 if (source_file[0])
295 source_file, source_lineno);
309 strncpy(source_file, name, sizeof(source_file)-1);
310 source_file[sizeof(source_file)-1] = '\0';
311 if (strlen(source_file) && source_file[strlen(source_file)-1] == '"')
312 source_file[strlen(source_file)-1] = '\0';
/external/chromium_org/third_party/cython/src/
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('.'))
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/tools/json_schema_compiler/
Dfeatures_h_generator.py12 def Generate(self, features, source_file, namespace): argument
13 return _Generator(features, source_file, namespace).Generate()
19 def __init__(self, features, source_file, namespace): argument
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'
Dfeatures_cc_generator.py12 def Generate(self, feature_defs, source_file, namespace): argument
13 return _Generator(feature_defs, source_file, namespace).Generate()
19 def __init__(self, feature_defs, source_file, namespace): argument
21 self._source_file = source_file
22 self._source_file_filename, _ = os.path.splitext(source_file)
Dmodel.py32 source_file, argument
38 source_file,
105 source_file, argument
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]
525 hierarchy.insert(0, ' in %s' % entity.source_file)
/external/chromium_org/chrome/installer/util/
Dduplicate_tree_detector_unittest.cc140 base::FilePath source_file(temp_source_dir_.path()); in TEST_F() local
141 source_file = source_file.AppendASCII("F1"); in TEST_F()
142 CreateTextFile(source_file.MaybeAsASCII(), text_content_1_); in TEST_F()
147 ASSERT_TRUE(installer::test::CopyFileHierarchy(source_file, dest_file)); in TEST_F()
154 EXPECT_TRUE(installer::IsIdenticalFileHierarchy(source_file, dest_file)); in TEST_F()
155 EXPECT_FALSE(installer::IsIdenticalFileHierarchy(source_file, other_file)); in TEST_F()
/external/chromium_org/chrome/browser/translate/
Dstandalone_cld_data_harness.cc69 base::FilePath source_file; in CopyStandaloneDataFile() local
70 GetStandaloneDataFileSource(&source_file); in CopyStandaloneDataFile()
71 VLOG(1) << "Copying CLD test data file from " << source_file.value() << " to " in CopyStandaloneDataFile()
73 ASSERT_TRUE(base::CopyFile(source_file, target_file)); in CopyStandaloneDataFile()
/external/chromium_org/build/android/
Djava_cpp_enum.gypi14 # 'source_file': 'ui/android/bitmap_format.h',
27 'generator_args': '--output_dir=<(output_dir) <(source_file)',
44 '<(source_file)',
56 'message': 'Generating Java from cpp header <(source_file)',
/external/chromium_org/tools/clang/scripts/
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/tools/gn/
Dfunction_write_file.cc60 SourceFile source_file = cur_dir.ResolveRelativeFile(args[0].string_value()); in RunWriteFile() local
63 source_file.value(), args[0].origin(), err)) in RunWriteFile()
77 scope->settings()->build_settings()->GetFullPath(source_file); in RunWriteFile()
Dloader_unittest.cc33 void AddCannedResponse(const SourceFile& source_file,
71 void MockInputFileManager::AddCannedResponse(const SourceFile& source_file, in AddCannedResponse() argument
74 canned->input_file.reset(new InputFile(source_file)); in AddCannedResponse()
86 canned_responses_[source_file] = linked_ptr<CannedResult>(canned); in AddCannedResponse()
Doutput_file.cc18 const SourceFile& source_file) in OutputFile() argument
19 : value_(RebaseSourceAbsolutePath(source_file.value(), in OutputFile()
Dfunction_read_file.cc56 SourceFile source_file = cur_dir.ResolveRelativeFile(args[0].string_value()); in RunReadFile() local
58 scope->settings()->build_settings()->GetFullPath(source_file); in RunReadFile()
/external/chromium_org/build/toolchain/mac/
Dsetup_toolchain.py12 with open(source_path) as source_file:
13 tool_source = source_file.readlines()
/external/lldb/source/Symbol/
DFunction.cpp250 Function::GetStartLineSourceInfo (FileSpec &source_file, uint32_t &line_no) in GetStartLineSourceInfo() argument
253 source_file.Clear(); in GetStartLineSourceInfo()
260 source_file = m_type->GetDeclaration().GetFile(); in GetStartLineSourceInfo()
273 source_file = line_entry.file; in GetStartLineSourceInfo()
279 Function::GetEndLineSourceInfo (FileSpec &source_file, uint32_t &line_no) in GetEndLineSourceInfo() argument
282 source_file.Clear(); in GetEndLineSourceInfo()
297 source_file = line_entry.file; in GetEndLineSourceInfo()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
Dexecfile.py97 source_file = open_source(filename)
102 source = source_file.read()
104 source_file.close()
Dhtml.py114 source_file = cu.source_file()
116 source = source_file.read()
118 source_file.close()
/external/chromium_org/third_party/closure_linter/closure_linter/
Drunner.py119 source_file = htmlutil.GetScriptLines(source)
121 source_file = source
123 token, tokenizer_mode = _Tokenize(source_file)
/external/chromium_org/build/toolchain/win/
Dsetup_toolchain.py69 with open(source_path) as source_file:
70 tool_source = source_file.readlines()
/external/chromium_org/ui/android/
Dui_android.gyp14 'source_file': '../gfx/android/java_bitmap.h',
34 'source_file': '../base/window_open_disposition.h',
/external/chromium_org/testing/gtest/scripts/
Drelease_docs.py140 source_file = os.path.join(self.wiki_dir, f)
143 text = file(source_file, 'r').read()
/external/e2fsprogs/lib/ss/
Dtest_ss.c34 static int source_file(const char *cmd_file, int sci_idx) in source_file() function
129 exit_status = source_file(cmd_file, sci_idx); in main()

123