/third_party/alsa-utils/topology/ |
H A D | topology.c | 86 static int load(const char *source_file, void **dst, size_t *dst_size) in load() argument 93 if (strcmp(source_file, "-") == 0) { in load() 96 fd = open(source_file, O_RDONLY); in load() 99 source_file, strerror(errno)); in load() 219 static int dump(const char *source_file, const char *output_file, int cflags, int sflags) in dump() argument 226 err = load(source_file, (void **)&config, &size); in dump() 259 const char *source_file, const char *output_file, in pre_process_run() 267 err = load(source_file, (void **)&config, &config_size); in pre_process_run() 282 inc_path = get_inc_path(source_file); in pre_process_run() 295 static int pre_process_conf(const char *source_file, cons argument 258 pre_process_run(struct tplg_pre_processor **tplg_pp, const char *source_file, const char *output_file, const char *pre_processor_defs, const char *include_path) pre_process_run() argument 311 compile(const char *source_file, const char *output_file, int cflags, const char *pre_processor_defs, const char *include_path) compile() argument 359 decode(const char *source_file, const char *output_file, int cflags, int dflags, int sflags) decode() argument 438 char *source_file = NULL; main() local [all...] |
/third_party/gn/src/gn/ |
H A D | bundle_data_unittest.cc | 9 SourceFile source_file; in TEST() member 15 .source_file = SourceFile("//my/bundle/foo.xcassets/my/file"), in TEST() 19 .source_file = SourceFile( in TEST() 24 .source_file = SourceFile("//my/bundle/my/file"), in TEST() 31 BundleData::GetAssetsCatalogDirectory(test_case.source_file); in TEST()
|
H A D | function_write_file.cc | 66 SourceFile source_file = cur_dir.ResolveRelativeFile( in RunWriteFile() local 71 scope->settings()->build_settings()->build_dir(), source_file.value(), in RunWriteFile() 74 g_scheduler->AddWrittenFile(source_file); // Track that we wrote this file. in RunWriteFile() 82 scope->settings()->build_settings()->GetFullPath(source_file)); in RunWriteFile() 100 scope->settings()->build_settings()->GetFullPath(source_file); in RunWriteFile()
|
H A D | lib_file.cc | 9 LibFile::LibFile(const SourceFile& source_file) : source_file_(source_file) {} in LibFile() argument 20 const SourceFile& LibFile::source_file() const { in source_file() function in LibFile
|
H A D | bundle_data.cc | 70 for (const SourceFile& source_file : target->sources()) { in OnTargetResolved() 71 SourceFile assets_catalog_dir = GetAssetsCatalogDirectory(source_file); in OnTargetResolved() 76 file_rule_sources.push_back(source_file); in OnTargetResolved() 118 for (const SourceFile& source_file : outputs_as_sources) in GetOutputFiles() 119 outputs->push_back(OutputFile(settings->build_settings(), source_file)); in GetOutputFiles()
|
H A D | header_checker_unittest.cc | 78 void PrintTo(const SourceFile& source_file, ::std::ostream* os) { in PrintTo() argument 79 *os << source_file.value(); in PrintTo() 381 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 384 EXPECT_EQ(SourceFile("//lib/header1.h"), source_file); in TEST_F() 391 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 394 EXPECT_EQ(SourceFile("/c/custom_include/header2.h"), source_file); in TEST_F() 404 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 407 EXPECT_EQ(SourceFile("/d/subdir/header3.h"), source_file); in TEST_F() 417 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 419 EXPECT_TRUE(source_file in TEST_F() 436 SourceFile source_file = TEST_F() local [all...] |
H A D | bundle_file_rule.cc | 49 const SourceFile& source_file, in ApplyPatternToSource() 86 target_, target_->settings(), source_file, subrange.type, in ApplyPatternToSource() 98 const SourceFile& source_file, in ApplyPatternToSourceAsOutputFile() 102 if (!ApplyPatternToSource(settings, target, bundle_data, source_file, in ApplyPatternToSourceAsOutputFile() 46 ApplyPatternToSource(const Settings* settings, const Target* target, const BundleData& bundle_data, const SourceFile& source_file, SourceFile* expanded_source_file, Err* err) const ApplyPatternToSource() argument 94 ApplyPatternToSourceAsOutputFile( const Settings* settings, const Target* target, const BundleData& bundle_data, const SourceFile& source_file, OutputFile* expanded_output_file, Err* err) const ApplyPatternToSourceAsOutputFile() argument
|
H A D | function_read_file.cc | 56 SourceFile source_file = cur_dir.ResolveRelativeFile( in RunReadFile() local 60 scope->AddBuildDependencyFile(source_file); in RunReadFile() 62 scope->settings()->build_settings()->GetFullPath(source_file); in RunReadFile()
|
H A D | scope_unittest.cc | 9 #include "gn/source_file.h" 28 const SourceFile& source_file) { in ContainsBuildDependencyFile() 31 build_dependency_files.find(source_file); in ContainsBuildDependencyFile() 38 SourceFile source_file = SourceFile("//a/BUILD.gn"); in TEST() local 39 setup.scope()->AddBuildDependencyFile(source_file); in TEST() 43 EXPECT_TRUE(ContainsBuildDependencyFile(&new_scope, source_file)); in TEST() 217 SourceFile source_file = SourceFile("//a/BUILD.gn"); in TEST() local 218 from_scope.AddBuildDependencyFile(source_file); in TEST() 221 EXPECT_FALSE(ContainsBuildDependencyFile(&to_scope, source_file)); in TEST() 229 EXPECT_TRUE(ContainsBuildDependencyFile(&to_scope, source_file)); in TEST() 27 ContainsBuildDependencyFile(const Scope* scope, const SourceFile& source_file) ContainsBuildDependencyFile() argument [all...] |
H A D | header_checker.cc | 272 const InputFile& source_file, in SourceFileForInclude() 284 const SourceDir& file_dir = source_file.dir(); in SourceFileForInclude() 369 const InputFile& source_file, in CheckInclude() 461 last_error = Err(CreatePersistentRange(source_file, range), in CheckInclude() 466 last_error = Err(CreatePersistentRange(source_file, range), in CheckInclude() 489 Err err = MakeUnreachableError(source_file, range, from_target, targets); in CheckInclude() 605 Err HeaderChecker::MakeUnreachableError(const InputFile& source_file, in MakeUnreachableError() argument 659 return Err(CreatePersistentRange(source_file, range), "Include not allowed.", in MakeUnreachableError() 269 SourceFileForInclude( const IncludeStringWithLocation& include, const std::vector<SourceDir>& include_dirs, const InputFile& source_file, Err* err) const SourceFileForInclude() argument 367 CheckInclude( const Target* from_target, const InputFile& source_file, const SourceFile& include_file, const LocationRange& range, std::set<std::pair<const Target*, const Target*>>* no_dependency_cache, std::vector<Err>* errors) const CheckInclude() argument
|
H A D | ninja_bundle_data_target_writer.cc | 19 for (const SourceFile& source_file : target_->sources()) { in Run() 21 OutputFile(settings_->build_settings(), source_file)); in Run()
|
H A D | header_checker.h | 118 const InputFile& source_file, 135 const InputFile& source_file, 171 static Err MakeUnreachableError(const InputFile& source_file,
|
H A D | bundle_file_rule.h | 10 #include "gn/source_file.h" 33 const SourceFile& source_file, 39 const SourceFile& source_file,
|
H A D | lib_file.h | 14 #include "gn/source_file.h" 23 explicit LibFile(const SourceFile& source_file); 27 // Returns name, or source_file().value() (whichever is set). 29 const SourceFile& source_file() const;
|
H A D | output_file.cc | 8 #include "gn/source_file.h" 15 const SourceFile& source_file) in OutputFile() 16 : value_(RebasePath(source_file.value(), in OutputFile() 14 OutputFile(const BuildSettings* build_settings, const SourceFile& source_file) OutputFile() argument
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/GeneratedCodeInfo/ |
H A D | Annotation.php | 28 * Generated from protobuf field <code>optional string source_file = 2;</code> 30 protected $source_file = null; variable 56 * @type string $source_file 103 * Generated from protobuf field <code>optional string source_file = 2;</code> 108 return isset($this->source_file) ? $this->source_file : ''; 113 return isset($this->source_file); 118 unset($this->source_file); 124 * Generated from protobuf field <code>optional string source_file = 2;</code> 131 $this->source_file variable [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | annotation_test_util.cc | 103 const GeneratedCodeInfo& info, const std::string& source_file, in FindAnnotationsOnPath() 108 if (annotation->source_file() != source_file || in FindAnnotationsOnPath() 125 const GeneratedCodeInfo& info, const std::string& source_file, in FindAnnotationOnPath() 128 FindAnnotationsOnPath(info, source_file, path, &annotations); in FindAnnotationOnPath() 102 FindAnnotationsOnPath( const GeneratedCodeInfo& info, const std::string& source_file, const std::vector<int>& path, std::vector<const GeneratedCodeInfo::Annotation*>* annotations) FindAnnotationsOnPath() argument 124 FindAnnotationOnPath( const GeneratedCodeInfo& info, const std::string& source_file, const std::vector<int>& path) FindAnnotationOnPath() argument
|
H A D | annotation_test_util.h | 84 const GeneratedCodeInfo& info, const std::string& source_file, 94 const GeneratedCodeInfo& info, const std::string& source_file,
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | printer_unittest.cc | 245 EXPECT_EQ("path_1", foo->source_file()); in TEST() 246 EXPECT_EQ("path_2", bar->source_file()); in TEST() 285 EXPECT_EQ("path_1", foo->source_file()); in TEST() 286 EXPECT_EQ("path_2", bar->source_file()); in TEST() 312 EXPECT_EQ("path", foobar->source_file()); in TEST() 337 EXPECT_EQ("path", bazbam->source_file()); in TEST() 361 EXPECT_EQ("path", bar->source_file()); in TEST() 398 EXPECT_EQ("path", foo->source_file()); in TEST() 404 EXPECT_EQ("path", bar->source_file()); in TEST() 410 EXPECT_EQ("path", braces->source_file()); in TEST() [all...] |
/third_party/googletest/googletest/test/ |
H A D | gtest_xml_test_utils.py | 174 source_file = element.getAttributeNode('file') 175 if source_file: 176 source_file.value = re.sub(r'^.*[/\\](.*)', '\\1', source_file.value)
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
H A D | lower_precision_test.py | 2281 with tempfile.NamedTemporaryFile(mode='wt', suffix='.frag') as source_file: 2282 print(source, file=source_file) 2283 source_file.flush() 2288 source_file.name],
|
/third_party/rust/crates/proc-macro2/tests/ |
H A D | test.rs | 442 let source_file = Span::call_site().source_file(); in default_span() 443 assert_eq!(source_file.path().to_string_lossy(), "<unspecified>"); in default_span() 444 assert!(!source_file.is_real()); in default_span() 461 assert!(source1[0].span().source_file() != source2[0].span().source_file()); in span_join() 463 source1[0].span().source_file(), in span_join() 464 source1[1].span().source_file() in span_join() 480 joined1.unwrap().source_file(), in span_join() 481 source1[0].span().source_file() in span_join() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | gen_restricted_traces.py | 326 def gen_source(source_file, format_args): 328 with open(source_file, "w") as out_file: 386 source_file = 'restricted_traces_autogen.cpp' 401 outputs = [gni_file, header_file, source_file, '.gitignore'] 434 if not gen_source(source_file, format_args):
|
/third_party/jsoncpp/ |
H A D | install.py | 58 file_path = os.path.join(args.source_file, patch) 67 tar_file_path = os.path.join(args.source_file, "jsoncpp-1.9.5.tar.gz")
|
/third_party/libxml2/ |
H A D | install.py | 237 file_path = os.path.join(args.source_file, patch) 246 tar_file_path = os.path.join(args.source_file, "libxml2-2.9.14.tar.xz")
|