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

12

/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_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 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)
H A Dmodel.py30 def AddNamespace(self, json, source_file, include_compiler_options=False):
34 source_file,
85 - |source_file| the file that contained the namespace definition
86 - |source_file_dir| the directory component of |source_file|
87 - |source_file_filename| the filename component of |source_file|
97 def __init__(self, json, source_file, include_compiler_options=False):
106 self.source_file = source_file
107 self.source_file_dir, self.source_file_filename = os.path.split(source_file)
495 hierarchy.insert(0, ' in %s' % entity.source_file)
[all...]
/external/chromium_org/tools/gn/
H A Dfunction_read_file.cc54 SourceFile source_file = cur_dir.ResolveRelativeFile(args[0].string_value()); local
56 scope->settings()->build_settings()->GetFullPath(source_file);
H A Dfunction_write_file.cc54 SourceFile source_file = cur_dir.ResolveRelativeFile(args[0].string_value()); local
57 source_file.value(), args[0], err))
72 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);
/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/tools/clang/scripts/
H A Dtest_tool.py48 actual_files = ['-'.join([source_file.rsplit('-', 2)[0], 'actual.cc'])
49 for source_file in source_files]
50 expected_files = ['-'.join([source_file.rsplit('-', 2)[0], 'expected.cc'])
51 for source_file in source_files]
/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()
H A Dcodeunit.py103 def source_file(self): member in class:CodeUnit
/external/chromium_org/build/toolchain/win/
H A Dsetup_toolchain.py95 with open(source_path) as source_file:
96 tool_source = source_file.readlines()
/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/chrome/browser/extensions/
H A Dcrx_installer.h88 // Install the crx in |source_file|.
89 void InstallCrx(const FilePath& source_file);
92 void InstallUserScript(const FilePath& source_file,
H A Dcrx_installer.cc146 void CrxInstaller::InstallCrx(const FilePath& source_file) { argument
147 source_file_ = source_file;
151 source_file,
161 void CrxInstaller::InstallUserScript(const FilePath& source_file, argument
165 source_file_ = source_file;
/external/chromium_org/chrome/test/functional/
H A Dnacl_sdk.py119 source_file = os.path.join(
122 source_file = os.path.join(
127 subprocess.Popen([source_file, 'list'],
135 source_file = os.path.join(self._extracted_sdk_path, 'nacl_sdk',
138 source_file = os.path.join(self._extracted_sdk_path, 'nacl_sdk',
143 updated_output = subprocess.Popen([source_file, 'update'],
721 source_file = os.path.join(self._temp_dir, 'nacl_sdk.zip')
722 if zipfile.is_zipfile(source_file):
723 zip = zipfile.ZipFile(source_file, 'r')
726 self.fail(msg='%s is not a valid zip file' % source_file)
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dcrx_installer.h96 // Install the crx in |source_file|.
97 void InstallCrx(const base::FilePath& source_file);
100 void InstallUserScript(const base::FilePath& source_file,
116 const base::FilePath& source_file() const { return source_file_; } function in class:extensions::CrxInstaller
/external/chromium_org/ui/gl/
H A Dgenerate_bindings.py1830 source_file = open(
1832 GenerateSource(source_file, functions, set_name, used_extension_functions)
1833 source_file.close()
1847 source_file = open(os.path.join(dir, 'gl_bindings_autogen_mock.cc'), 'wb')
1848 GenerateMockSource(source_file, GL_FUNCTIONS)
1849 source_file.close()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/
H A Drebaselineserver.py111 for source_file in actual_result_files:
112 source_path = filesystem.join(test_results_directory, source_file)
113 destination_file = source_file.replace('-actual', '-expected')
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
H A Dtest_importer.py261 source_file = os.path.join(os.path.dirname(test_info['reference']), support_file)
262 source_file = os.path.normpath(source_file)
265 to_copy = {'src': source_file, 'dest': support_file}
/external/chromium_org/ppapi/
H A Dgenerate_ppapi_size_checks.py66 kind,name,size,arch_dependent,source_file,start_line,end_line
73 - source_file: The source file in which the type is defined.
78 [self.kind, self.name, self.size, arch_dependent_string, source_file,
83 self.source_location = SourceLocation(source_file,
/external/e2fsprogs/tests/progs/
H A Dtest_icount.c246 static int source_file(const char *cmd_file, int sci_idx) function
354 exit_status = source_file(cmd_file, sci_idx);
/external/chromium/base/files/
H A Dfile_path_watcher_browsertest.cc229 FilePath source_file(temp_dir_.path().AppendASCII("source"));
230 ASSERT_TRUE(WriteFile(source_file, "content"));
237 ASSERT_TRUE(file_util::Move(source_file, test_file()));
454 FilePath source_file(source_subdir.AppendASCII("file"));
461 ASSERT_TRUE(WriteFile(source_file, "content"));

Completed in 1529 milliseconds

12