/third_party/alsa-utils/topology/ |
D | topology.c | 80 static int load(const char *source_file, void **dst, size_t *dst_size) in load() argument 87 if (strcmp(source_file, "-") == 0) { in load() 90 fd = open(source_file, O_RDONLY); in load() 93 source_file, strerror(-errno)); in load() 213 static int dump(const char *source_file, const char *output_file, int cflags, int sflags) in dump() argument 220 err = load(source_file, (void **)&config, &size); in dump() 249 static int pre_process_conf(const char *source_file, const char *output_file, in pre_process_conf() argument 257 err = load(source_file, (void **)&config, &config_size); in pre_process_conf() 270 inc_path = get_inc_path(source_file); in pre_process_conf() 280 static int compile(const char *source_file, const char *output_file, int cflags, in compile() argument [all …]
|
/third_party/grpc/bazel/ |
D | protobuf.bzl | 62 def get_include_directory(source_file): 63 """Returns the include directory path for the source_file. I.e. all of the 64 include statements within the given source_file are calculated relative to 71 source_file: A proto file. 74 The include directory path for the source_file. 76 directory = source_file.path 79 if is_in_virtual_imports(source_file): 80 root, relative = source_file.path.split(_VIRTUAL_IMPORTS, 2) 84 if not source_file.is_source and directory.startswith(source_file.root.path): 85 prefix_len = len(source_file.root.path) + 1 [all …]
|
/third_party/selinux/checkpolicy/ |
D | policy_scan.l | 45 char source_file[PATH_MAX]; variable 310 if (source_file[0]) 312 source_file, source_lineno); 329 if (source_file[0]) 331 source_file, source_lineno); 345 strncpy(source_file, name, sizeof(source_file)-1); 346 source_file[sizeof(source_file)-1] = '\0'; 347 if (strlen(source_file) && source_file[strlen(source_file)-1] == '"') 348 source_file[strlen(source_file)-1] = '\0';
|
/third_party/boost/libs/pfr/test/ |
D | Jamfile.v2 | 99 for local source_file in [ glob ./run/*.cpp ] [ glob ../example/*.cpp ] 101 local target_name = $(source_file[1]:B) ; 102 pfr_tests += [ run $(source_file) : : : $(STRUCTURED_BINDING_ENGINE) : $(target_name)_sb ] ; 106 pfr_tests += [ run $(source_file) : : : $(LOOPHOLE_ENGINE) : $(target_name)_lh ] ; 110 pfr_tests += [ compile-fail $(source_file) : $(LOOPHOLE_ENGINE) : $(target_name)_lh ] ; 115 pfr_tests += [ run $(source_file) : : : $(CLASSIC_ENGINE) : $(target_name)_classic ] ; 119 pfr_tests += [ compile-fail $(source_file) : $(CLASSIC_ENGINE) : $(target_name)_classic ] ; 123 for local source_file in [ glob ./compile-fail/*.cpp ] 125 local target_name = $(source_file[1]:B) ; 126 … pfr_tests += [ compile-fail $(source_file) : $(STRUCTURED_BINDING_ENGINE) : $(target_name)_sb ] ; [all …]
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/GeneratedCodeInfo/ |
D | Annotation.php | 30 protected $source_file = null; variable in Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation 108 return isset($this->source_file) ? $this->source_file : ''; 113 return isset($this->source_file); 118 unset($this->source_file); 131 $this->source_file = $var;
|
/third_party/gn/src/gn/ |
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()
|
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
|
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() 333 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 336 EXPECT_EQ(SourceFile("//lib/header1.h"), source_file); in TEST_F() 343 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 346 EXPECT_EQ(SourceFile("/c/custom_include/header2.h"), source_file); in TEST_F() 356 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 359 EXPECT_EQ(SourceFile("/d/subdir/header3.h"), source_file); in TEST_F() 369 SourceFile source_file = checker->SourceFileForInclude( in TEST_F() local 371 EXPECT_TRUE(source_file.is_null()); in TEST_F() [all …]
|
D | scope_unittest.cc | 28 const SourceFile& source_file) { in ContainsBuildDependencyFile() argument 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()
|
D | bundle_file_rule.cc | 49 const SourceFile& source_file, in ApplyPatternToSource() argument 86 target_, target_->settings(), source_file, subrange.type, in ApplyPatternToSource() 98 const SourceFile& source_file, in ApplyPatternToSourceAsOutputFile() argument 102 if (!ApplyPatternToSource(settings, target, bundle_data, source_file, in ApplyPatternToSourceAsOutputFile()
|
D | bundle_data.cc | 85 for (const SourceFile& source_file : target->sources()) { in OnTargetResolved() local 87 if (IsSourceFileFromAssetsCatalog(source_file.value(), &assets_catalog)) { in OnTargetResolved() 91 file_rule_sources.push_back(source_file); in OnTargetResolved() 133 for (const SourceFile& source_file : outputs_as_sources) in GetOutputFiles() local 134 outputs->push_back(OutputFile(settings->build_settings(), source_file)); in GetOutputFiles()
|
D | header_checker.cc | 250 const InputFile& source_file, in SourceFileForInclude() argument 262 const SourceDir& file_dir = source_file.dir(); in SourceFileForInclude() 349 const InputFile& source_file, in CheckInclude() argument 441 last_error = Err(CreatePersistentRange(source_file, range), in CheckInclude() 446 last_error = Err(CreatePersistentRange(source_file, range), in CheckInclude() 469 Err err = MakeUnreachableError(source_file, range, from_target, targets); in CheckInclude() 585 Err HeaderChecker::MakeUnreachableError(const InputFile& source_file, in MakeUnreachableError() argument 639 return Err(CreatePersistentRange(source_file, range), "Include not allowed.", in MakeUnreachableError()
|
D | ninja_bundle_data_target_writer.cc | 19 for (const SourceFile& source_file : target_->sources()) { in Run() local 21 OutputFile(settings_->build_settings(), source_file)); in Run()
|
D | lib_file.h | 23 explicit LibFile(const SourceFile& source_file); 29 const SourceFile& source_file() const;
|
D | loader_unittest.cc | 25 const SourceFile& source_file) { in ItemContainsBuildDependencyFile() argument 28 build_dependency_files.find(source_file); in ItemContainsBuildDependencyFile() 63 void AddCannedResponse(const SourceFile& source_file, 124 void MockInputFileManager::AddCannedResponse(const SourceFile& source_file, in AddCannedResponse() argument 127 canned->input_file = std::make_unique<InputFile>(source_file); in AddCannedResponse() 141 canned_responses_[source_file] = std::move(canned); in AddCannedResponse()
|
D | bundle_file_rule.h | 33 const SourceFile& source_file, 39 const SourceFile& source_file,
|
/third_party/mindspore/mindspore/profiler/parser/ |
D | step_trace_parser.py | 392 def record_point_info(self, source_file, output_path): argument 407 with open(source_file, 'r') as f_obj: 442 def _parse(self, source_file): argument 450 source_file = validate_and_normalize_path(source_file) 452 with open(source_file, 'r') as f: 531 def _parse_async_launch(self, source_file): argument 534 source_file = validate_and_normalize_path(source_file) 537 with open(source_file, 'r') as f_obj: 633 for source_file in source_files: 634 source_file = validate_and_normalize_path(source_file) [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | annotation_test_util.cc | 103 const GeneratedCodeInfo& info, const std::string& source_file, in FindAnnotationsOnPath() argument 108 if (annotation->source_file() != source_file || in FindAnnotationsOnPath() 125 const GeneratedCodeInfo& info, const std::string& source_file, in FindAnnotationOnPath() argument 128 FindAnnotationsOnPath(info, source_file, path, &annotations); in FindAnnotationOnPath()
|
/third_party/boost/tools/litre/ |
D | cplusplus.py | 365 , source_file = None argument 433 cpp = self._source_file_path(source_file, source_suffix) 436 built_file = self._output_file_path(source_file, extension) 562 , source_file = 'example.cpp' argument 590 cpp = os.path.join(dir, source_file) 685 py = self._source_file_path(source_file = None, source_suffix = 'py') 721 def _source_file_path(self, source_file, source_suffix): argument 722 if source_file is None: 725 cpp = os.path.join(tempfile.gettempdir(), source_file) 728 def _output_file_path(self, source_file, extension): argument [all …]
|
/third_party/boost/tools/quickbook/src/ |
D | code_snippet.cpp | 37 , source_file(source_file_) in code_snippet_actions() 41 source_file->is_code_snippets = true; in code_snippet_actions() 42 content.start(source_file); in code_snippet_actions() 92 file_ptr source_file; member 350 string_iterator first(a.source_file->source().begin()); in load_snippets() 351 string_iterator last(a.source_file->source().end()); in load_snippets() 460 detail::outerr(source_file, first) in end_snippet() 465 detail::outwarn(source_file, first) in end_snippet() 481 detail::outerr(source_file->path) in end_file() 487 detail::outwarn(source_file->path) in end_file() [all …]
|
/third_party/protobuf/src/google/protobuf/io/ |
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/flutter/engine/flutter/web_sdk/ |
D | BUILD.gn | 56 foreach(source_file, web_ui_sources) { 57 path = rebase_path(source_file) 78 foreach(source_file, web_engine_sources) { 79 path = rebase_path(source_file)
|
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
D | gen_restricted_traces.py | 326 def gen_source(source_file, format_args): argument 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/mesa3d/src/compiler/glsl/tests/ |
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/libpsl/fuzz/ |
D | meson.build | 16 source_file = 'libpsl_@0@.c'.format(test_case) variable 17 exe = executable(test_name, source_file, 'main.c',
|