/external/rust/crates/grpcio-sys/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 …]
|
/external/tensorflow/third_party/systemlibs/ |
D | grpc.bazel.protobuf.bzl | 60 def get_include_directory(source_file): 61 """Returns the include directory path for the source_file. 63 I.e. all of the include statements within the given source_file 70 source_file: A proto file. 73 The include directory path for the source_file. 75 directory = source_file.path 78 if is_in_virtual_imports(source_file): 79 root, relative = source_file.path.split(_VIRTUAL_IMPORTS, 2) 83 if not source_file.is_source and directory.startswith(source_file.root.path): 84 prefix_len = len(source_file.root.path) + 1 [all …]
|
/external/selinux/checkpolicy/ |
D | policy_scan.l | 45 char source_file[PATH_MAX]; variable 317 if (source_file[0]) 319 source_file, source_lineno); 336 if (source_file[0]) 338 source_file, source_lineno); 352 strncpy(source_file, name, sizeof(source_file)-1); 353 source_file[sizeof(source_file)-1] = '\0'; 354 if (strlen(source_file) && source_file[strlen(source_file)-1] == '"') 355 source_file[strlen(source_file)-1] = '\0';
|
/external/python/bumble/scripts/ |
D | process_android_emulator_protos.sh | 22 for source_file in "${python_files[@]}" "${stub_files[@]}" 24 head -14 $LICENSE_FILE_INPUT > $PROTOC_OUT/${source_file}.lic 25 cat $PROTOC_OUT/$source_file >> $PROTOC_OUT/${source_file}.lic 26 mv $PROTOC_OUT/${source_file}.lic $PROTOC_OUT/$source_file
|
/external/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;
|
/external/cronet/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;
|
/external/golang-protobuf/cmd/protoc-gen-go/testdata/annotations/ |
D | annotations.pb.go.meta | 1 …source_file:"cmd/protoc-gen-go/testdata/annotations/annotations.proto" begin:470 end:489} annotati…
|
/external/AFLplusplus/instrumentation/ |
D | afl-llvm-common.cc | 449 std::string source_file = getSourceName(F); in isInInstrumentList() local 451 if (source_file.empty()) { source_file = Filename; } in isInInstrumentList() 453 if (!source_file.empty()) { in isInInstrumentList() 464 if (source_file.length() >= it->length()) { in isInInstrumentList() 466 if (fnmatch(("*" + *it).c_str(), source_file.c_str(), 0) == 0) { in isInInstrumentList() 531 std::string source_file = getSourceName(F); in isInInstrumentList() local 533 if (source_file.empty()) { source_file = Filename; } in isInInstrumentList() 535 if (!source_file.empty()) { in isInInstrumentList() 546 if (source_file.length() >= it->length()) { in isInInstrumentList() 548 if (fnmatch(("*" + *it).c_str(), source_file.c_str(), 0) == 0) { in isInInstrumentList() [all …]
|
/external/pigweed/pw_toolchain/py/ |
D | clang_tidy_test.py | 31 source_file = ( 40 source_file, 56 source_file = ( 65 source_file,
|
/external/pigweed/pw_toolchain/py/pw_toolchain/ |
D | clang_tidy.py | 141 source_file: Path, 147 command: List[Union[str, Path]] = [clang_tidy, source_file, '--use-color'] 187 source_file: Path, 198 relative_source_file = source_file.relative_to(source_root) 200 relative_source_file = source_file 206 source_file_path = source_file.resolve()
|
/external/google-breakpad/src/processor/ |
D | basic_source_line_resolver_unittest.cc | 571 long source_file; in TEST() local 575 &line_number, &source_file)); in TEST() 579 EXPECT_EQ(4, source_file); in TEST() 584 &line_number, &source_file)); in TEST() 588 EXPECT_EQ(4, source_file); in TEST() 593 &line_number, &source_file)); in TEST() 597 EXPECT_EQ(4, source_file); in TEST() 606 long source_file; in TEST() local 611 &line_number, &source_file)); in TEST() 615 &line_number, &source_file)); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | allocator_registry.cc | 39 void AllocatorFactoryRegistry::Register(const char* source_file, in Register() argument 53 << " priority=" << priority << " at location " << source_file in Register() 56 << existing->source_file << ":" << existing->source_line; in Register() 60 entry.source_file = source_file; in Register()
|
/external/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()
|
/external/cronet/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()
|
/external/tensorflow/tensorflow/core/util/ |
D | debug_events_writer_test.cc | 293 SourceFile actual_source_file_1 = actuals[0].source_file(); in TEST_F() 302 SourceFile actual_source_file_2 = actuals[1].source_file(); in TEST_F() 436 SourceFile* source_file = new SourceFile(); in TEST_F() local 437 source_file->set_file_path(file_path); in TEST_F() 438 source_file->set_host_name("localhost.localdomain"); in TEST_F() 439 TF_ASSERT_OK(writer->WriteSourceFile(source_file)); in TEST_F() 454 file_paths.push_back(actuals[i].source_file().file_path()); in TEST_F() 455 host_names.push_back(actuals[i].source_file().host_name()); in TEST_F() 477 SourceFile* source_file = new SourceFile(); in TEST_F() local 478 source_file->set_file_path(file_path); in TEST_F() [all …]
|
/external/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 …]
|
/external/cronet/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 …]
|
/external/rust/crates/proc-macro2/tests/ |
D | test.rs | 363 let source_file = Span::call_site().source_file(); in default_span() localVariable 364 assert_eq!(source_file.path().to_string_lossy(), "<unspecified>"); in default_span() 365 assert!(!source_file.is_real()); in default_span() 382 assert!(source1[0].span().source_file() != source2[0].span().source_file()); in span_join() 384 source1[0].span().source_file(), in span_join() 385 source1[1].span().source_file() in span_join() 401 joined1.unwrap().source_file(), in span_join() 402 source1[0].span().source_file() in span_join()
|
/external/webrtc/tools_webrtc/sslroots/ |
D | generate_sslroots.py | 61 def _SplitCrt(source_file, options): argument 65 root_dir = os.path.dirname(os.path.abspath(source_file)) + '/' 68 with open(source_file) as f: 146 def _CreateCertSection(root_dir, source_file, label, options): argument 147 command = 'openssl x509 -in %s%s -noout -C' % (root_dir, source_file)
|
/external/webrtc/tools_webrtc/presubmit_checks_lib/ |
D | check_orphan_headers.py | 111 source_file = source_file_match.group('source_file') 112 if source_file.endswith('.h'): 113 source_file_tokens = source_file.split('/')
|
/external/angle/build/android/gyp/ |
D | jacoco_instr.py | 73 return list(set(os.path.dirname(source_file) for source_file in source_files)) 139 for source_file in source_files: 140 if source_file.endswith(
|
/external/cronet/third_party/googletest/src/googletest/test/ |
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)
|
/external/cronet/build/android/gyp/ |
D | jacoco_instr.py | 73 return list(set(os.path.dirname(source_file) for source_file in source_files)) 139 for source_file in source_files: 140 if source_file.endswith(
|
D | compile_java.py | 289 def _ParsePackageAndClassNames(source_file): argument 293 with open(source_file) as f: 317 def _ProcessSourceFileForInfo(source_file): argument 318 package_name, class_names = _ParsePackageAndClassNames(source_file) 319 return source_file, package_name, class_names 355 def _CheckPathMatchesClassName(self, source_file, package_name, class_name): argument 356 if source_file.endswith('.java'): 361 if not source_file.endswith(expected_suffix): 364 (source_file, expected_suffix))
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_events_writer.py | 56 def WriteSourceFile(self, source_file): argument 64 debug_event = debug_event_pb2.DebugEvent(source_file=source_file)
|