/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 | 43 char source_file[PATH_MAX]; variable 297 if (source_file[0]) 299 source_file, source_lineno); 313 if (source_file[0]) 315 source_file, source_lineno); 329 strncpy(source_file, name, sizeof(source_file)-1); 330 source_file[sizeof(source_file)-1] = '\0'; 331 if (strlen(source_file) && source_file[strlen(source_file)-1] == '"') 332 source_file[strlen(source_file)-1] = '\0';
|
/external/tensorflow/tensorflow/lite/micro/tools/make/ |
D | fix_arduino_subfolders.py | 51 with open(new_person_data_path, 'r') as source_file: 52 file_contents = source_file.read() 57 with open(new_person_data_path, 'w') as source_file: 58 source_file.write(file_contents) 72 with open(new_image_data_path, 'r') as source_file: 73 file_contents = source_file.read() 78 with open(new_image_data_path, 'w') as source_file: 79 source_file.write(file_contents)
|
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/dbgeng/ |
D | probe_process.py | 42 self.source_file, self.line_no = tup 48 self.source_file, self.line_no = sym 50 self.source_file = None 54 if self.source_file is not None: 55 self.basename = os.path.basename(self.source_file)
|
/external/llvm-project/clang/test/AST/ |
D | gen_ast_dump_json_test.py | 97 def process_file(source_file, clang_binary, cmdline_filters, cmdline_opts, argument 107 with open(source_file, "r") as srcf: 121 print("Not updating", source_file, "since it is not autogenerated.", 148 cmd.append(source_file) 184 with open(source_file, "r") as srcf: 206 print("Updating json appended source file to %s." % source_file) 207 copyfile(f.name, source_file) 209 partition = source_file.rpartition('.')
|
/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/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 …]
|
D | basic_source_line_resolver.cc | 379 long source_file; in ParseLine() local 382 &source_file)) { in ParseLine() 383 return new Line(address, size, source_file, line_number); in ParseLine() 573 long *source_file) { in ParseLine() argument 596 *source_file = strtol(tokens[3], &after_number, 10); in ParseLine() 597 if (!IsValidAfterNumber(after_number) || *source_file < 0 || in ParseLine() 598 *source_file == std::numeric_limits<long>::max()) { in ParseLine()
|
/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/rust/crates/proc-macro2/tests/ |
D | test.rs | 262 let source_file = Span::call_site().source_file(); in default_span() localVariable 263 assert_eq!(source_file.path().to_string_lossy(), "<unspecified>"); in default_span() 264 assert!(!source_file.is_real()); in default_span() 281 assert!(source1[0].span().source_file() != source2[0].span().source_file()); in span_join() 283 source1[0].span().source_file(), in span_join() 284 source1[1].span().source_file() in span_join() 300 joined1.unwrap().source_file(), in span_join() 301 source1[0].span().source_file() in span_join()
|
/external/webrtc/tools_webrtc/sslroots/ |
D | generate_sslroots.py | 57 def _SplitCrt(source_file, options): argument 60 root_dir = os.path.dirname(os.path.abspath(source_file)) + '/' 62 f = open(source_file) 131 def _CreateCertSection(root_dir, source_file, label, options): argument 132 command = 'openssl x509 -in %s%s -noout -C' %(root_dir, source_file)
|
/external/angle/src/tests/restricted_traces/ |
D | gen_restricted_traces.py | 263 def gen_source(source_file, format_args): argument 265 with open(source_file, "w") as out_file: 318 source_file = 'restricted_traces_autogen.cpp' 333 outputs = [gni_file, header_file, source_file, '.gitignore'] 366 if not gen_source(source_file, format_args):
|
/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/llvm-project/lldb/unittests/SymbolFile/PDB/ |
D | SymbolFilePDBTests.cpp | 257 FileSpec source_file("test-pdb.cpp"); in TEST_F() local 268 symfile->ResolveSymbolContext(source_file, 0, true, scope, sc_list); in TEST_F() 279 VerifyLineEntry(module, sc, source_file, *lt, 7, 0x401040); in TEST_F() 280 VerifyLineEntry(module, sc, source_file, *lt, 8, 0x401043); in TEST_F() 281 VerifyLineEntry(module, sc, source_file, *lt, 9, 0x401045); in TEST_F() 283 VerifyLineEntry(module, sc, source_file, *lt, 13, 0x401050); in TEST_F() 284 VerifyLineEntry(module, sc, source_file, *lt, 14, 0x401054); in TEST_F() 285 VerifyLineEntry(module, sc, source_file, *lt, 15, 0x401070); in TEST_F() 306 FileSpec source_file("test-pdb.cpp"); in TEST_F() local 318 symfile->ResolveSymbolContext(source_file, 7, true, scope, sc_list); in TEST_F() [all …]
|
/external/webrtc/tools_webrtc/presubmit_checks_lib/ |
D | check_orphan_headers.py | 114 source_file = source_file_match.group('source_file') 115 if source_file.endswith('.h'): 116 source_file_tokens = string.split(source_file, '/')
|
/external/protobuf/php/src/Google/Protobuf/Internal/GeneratedCodeInfo/ |
D | Annotation.php | 31 private $source_file = ''; variable in Google\\Protobuf\\Internal\\GeneratedCodeInfo\\Annotation 118 return $this->source_file; 131 $this->source_file = $var;
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_events_writer.py | 60 def WriteSourceFile(self, source_file): argument 68 debug_event = debug_event_pb2.DebugEvent(source_file=source_file)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | file_utils.py | 20 for source_file in source_files: 21 with open(source_file, 'r') as source_f:
|
/external/mesa3d/src/compiler/glsl/tests/ |
D | lower_precision_test.py | 2282 with tempfile.NamedTemporaryFile(mode='wt', suffix='.frag') as source_file: 2283 print(source, file=source_file) 2284 source_file.flush() 2289 source_file.name],
|
/external/webrtc/modules/video_processing/test/ |
D | denoiser_test.cc | 141 FILE* source_file = fopen(video_file.c_str(), "rb"); in TEST() local 142 ASSERT_TRUE(source_file != nullptr) in TEST() 152 test::ReadI420Buffer(kWidth, kHeight, source_file)); in TEST() 165 ASSERT_NE(0, feof(source_file)) << "Error reading source file"; in TEST()
|
/external/avb/tools/ |
D | at_auth_unlock.py | 101 source_file=None): argument 122 self._source_file = source_file 137 def source_file(self): member in UnlockCredentials 196 source_file=archive) 333 if selected_cred.source_file: 335 selected_cred.source_file))
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_op_metadata.cc | 36 if (!metadata.source_file().empty()) { in OpMetadataToString() 38 absl::CEscape(metadata.source_file()), "\"")); in OpMetadataToString()
|
D | source_map_util.h | 33 if (!op_metadata.source_file().empty()) { in InvalidParameterArgument() 34 absl::StrAppendFormat(&message, " (%s:%d)", op_metadata.source_file(), in InvalidParameterArgument()
|