/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | load_system_roots_linux.cc | 104 FileData file_data; in CreateRootCertsBundle() local 105 GetAbsoluteFilePath(certs_directory, file_entry_name, file_data.path); in CreateRootCertsBundle() 106 int stat_return = stat(file_data.path, &dir_entry_stat); in CreateRootCertsBundle() 110 gpr_log(GPR_ERROR, "failed to get status for file: %s", file_data.path); in CreateRootCertsBundle() 114 file_data.size = dir_entry_stat.st_size; in CreateRootCertsBundle() 115 total_bundle_size += file_data.size; in CreateRootCertsBundle() 116 roots_filenames.push_back(file_data); in CreateRootCertsBundle()
|
/external/curl/lib/ |
D | ftplistparser.c | 169 struct fileinfo *file_data; member 192 Curl_fileinfo_cleanup(parser->file_data); in Curl_ftp_parselist_data_free() 322 ftpwc->parser->file_data = NULL; in ftp_pl_insert_finfo() 358 if(!parser->file_data) { /* tmp file data is not allocated yet */ in Curl_ftp_parselist() 359 parser->file_data = Curl_fileinfo_alloc(); in Curl_ftp_parselist() 360 if(!parser->file_data) { in Curl_ftp_parselist() 364 parser->file_data->info.b_data = malloc(FTP_BUFFER_ALLOCSIZE); in Curl_ftp_parselist() 365 if(!parser->file_data->info.b_data) { in Curl_ftp_parselist() 369 parser->file_data->info.b_size = FTP_BUFFER_ALLOCSIZE; in Curl_ftp_parselist() 374 infop = parser->file_data; in Curl_ftp_parselist() [all …]
|
/external/elfutils/libelf/ |
D | elf_getarsym.c | 204 void *file_data; /* unit32_t[n] or uint64_t[n] */ in elf_getarsym() local 216 file_data = temp_data; in elf_getarsym() 233 if ((size_t) pread_retry (elf->fildes, file_data, sz, off) != sz in elf_getarsym() 249 file_data = (void *) (elf->map_address + off); in elf_getarsym() 251 && ((uintptr_t) file_data & -(uintptr_t) n) != 0) in elf_getarsym() 259 file_data = memcpy (temp_data, elf->map_address + off, sz); in elf_getarsym() 266 uint64_t (*u64)[n] = file_data; in elf_getarsym() 267 uint32_t (*u32)[n] = file_data; in elf_getarsym()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | file_utils.cc | 24 string file_data; in LoadTextOrBinaryGraphFile() local 26 ReadFileToString(Env::Default(), file_name, &file_data); in LoadTextOrBinaryGraphFile() 34 if (protobuf::TextFormat::ParseFromString(file_data, graph_def)) { in LoadTextOrBinaryGraphFile()
|
D | freeze_requantization_ranges.cc | 34 string file_data; in ExtractMinMaxRecords() local 36 ReadFileToString(Env::Default(), log_file_name, &file_data)); in ExtractMinMaxRecords() 39 std::vector<string> file_lines = str_util::Split(file_data, '\n'); in ExtractMinMaxRecords()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_shared_code_generator.cc | 122 string file_data; in GenerateDescriptors() local 123 file_proto.SerializeToString(&file_data); in GenerateDescriptors() 131 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateDescriptors() 142 "data", CEscape(file_data.substr(i, kBytesPerLine))); in GenerateDescriptors()
|
D | java_file.cc | 125 const string& file_data) { in CollectExtensions() argument 142 GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data)); in CollectExtensions() 415 string file_data; in GenerateDescriptorInitializationCodeForImmutable() local 416 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForImmutable() 418 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForImmutable() 486 string file_data; in GenerateDescriptorInitializationCodeForMutable() local 487 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForMutable() 489 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForMutable()
|
/external/curl/scripts/ |
D | updatemanpages.pl | 64 tie(my @file_data, 'Tie::File', $filename); 65 foreach my $file_data_line(@file_data) { 215 tie(my @file_data, 'Tie::File', $filename); 216 foreach my $file_data_line (@file_data) {
|
/external/python/cpython3/Lib/test/ |
D | test_gzip.py | 548 file_data = gzip.decompress(f.read()) 549 self.assertEqual(file_data, uncompressed) 557 file_data = gzip.decompress(f.read()) 558 self.assertEqual(file_data, uncompressed * 2) 566 file_data = gzip.decompress(f.read()) 567 self.assertEqual(file_data, uncompressed) 585 file_data = gzip.decompress(f.read()) 586 self.assertEqual(file_data, uncompressed) 594 file_data = gzip.decompress(f.read()) 595 self.assertEqual(file_data, uncompressed * 2) [all …]
|
D | test_bz2.py | 883 file_data = ext_decompress(f.read()) 884 self.assertEqual(file_data, self.TEXT) 890 file_data = ext_decompress(f.read()) 891 self.assertEqual(file_data, self.TEXT * 2) 901 file_data = ext_decompress(f.read()) 902 self.assertEqual(file_data, self.TEXT) 908 file_data = ext_decompress(f.read()) 909 self.assertEqual(file_data, self.TEXT * 2) 920 file_data = ext_decompress(f.read()).decode("ascii") 921 self.assertEqual(file_data, text_native_eol) [all …]
|
/external/u-boot/tools/ |
D | default_image.c | 141 ulong file_data; in image_extract_subimage() local 152 image_multi_getimg(hdr, idx, &file_data, &file_len); in image_extract_subimage() 160 file_data = image_get_data(hdr); in image_extract_subimage() 165 return imagetool_save_subimage(params->outfile, file_data, file_len); in image_extract_subimage()
|
/external/ImageMagick/coders/ |
D | heic.c | 183 *file_data; in ReadHEICImage() local 203 file_data=AcquireMagickMemory(length); in ReadHEICImage() 204 if (file_data == (void *) NULL) in ReadHEICImage() 206 if (ReadBlob(image,length,file_data) != (ssize_t) length) in ReadHEICImage() 208 file_data=RelinquishMagickMemory(file_data); in ReadHEICImage() 215 error=heif_context_read_from_memory(heif_context,file_data,length,NULL); in ReadHEICImage() 216 file_data=RelinquishMagickMemory(file_data); in ReadHEICImage()
|
/external/jdiff/src/jdiff/ |
D | DiffMyers.java | 55 filevec[0] = new file_data(a,h); in DiffMyers() 56 filevec[1] = new file_data(b,h); in DiffMyers() 82 private final file_data[] filevec = new file_data[2]; 510 class file_data { class in DiffMyers 545 void discard_confusing_lines(file_data f) { in discard_confusing_lines() 723 file_data(Object[] data,Hashtable h) { in file_data() method in DiffMyers.file_data 752 void shift_boundaries(file_data f) { in shift_boundaries()
|
/external/tensorflow/tensorflow/python/tools/ |
D | selective_registration_header_lib.py | 53 file_data = gfile.GFile(proto_file, 'rb').read() 55 graph_def = graph_pb2.GraphDef.FromString(file_data) 58 graph_def = text_format.Parse(file_data, graph_pb2.GraphDef())
|
/external/libbrillo/brillo/ |
D | key_value_store.cc | 41 string file_data; in Load() local 42 if (!base::ReadFileToString(path, &file_data)) in Load() 44 return LoadFromString(file_data); in Load()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_file.cc | 603 string file_data; in GenerateBuildDescriptors() local 604 file_proto.SerializeToString(&file_data); in GenerateBuildDescriptors() 614 if (breakdown_large_file && file_data.size() > 65535) { in GenerateBuildDescriptors() 626 for (int i = 0; i < file_data.size();) { in GenerateBuildDescriptors() 627 for (int j = 0; j < kBytesPerLine && i < file_data.size(); ++i, ++j) { in GenerateBuildDescriptors() 630 "char", SimpleItoa(file_data[i])); in GenerateBuildDescriptors() 642 "size", SimpleItoa(file_data.size())); in GenerateBuildDescriptors() 650 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateBuildDescriptors() 654 CEscape(file_data.substr(i, kBytesPerLine)))); in GenerateBuildDescriptors() 658 "size", SimpleItoa(file_data.size())); in GenerateBuildDescriptors()
|
/external/google-breakpad/src/testing/gtest/xcode/Scripts/ |
D | versiongenerate.py | 84 file_data = """// variable 99 version_file.write(file_data)
|
/external/googletest/googletest/xcode/Scripts/ |
D | versiongenerate.py | 84 file_data = """// variable 99 version_file.write(file_data)
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | accuracy_utils_test.cc | 30 string file_data = "a,10\nb,12\n"; in TEST() local 31 TF_ASSERT_OK(WriteStringToFile(Env::Default(), file_name, file_data)); in TEST()
|
/external/v8/gypfiles/ |
D | gyp_environment.py | 27 file_data = eval(file_contents, {'__builtins__': None}, None) 38 val = file_data.get(var)
|
/external/tensorflow/tensorflow/examples/ios/simple/ |
D | ios_image_load.mm | 34 std::vector<uint8> file_data(bytes_in_file); 35 fread(file_data.data(), 1, bytes_in_file, file_handle); 37 CFDataRef file_data_ref = CFDataCreateWithBytesNoCopy(NULL, file_data.data(),
|
/external/tensorflow/tensorflow/lite/examples/ios/simple/ |
D | ios_image_load.mm | 31 std::vector<uint8_t> file_data(bytes_in_file); 32 fread(file_data.data(), 1, bytes_in_file, file_handle); 36 CFDataCreateWithBytesNoCopy(NULL, file_data.data(), bytes_in_file, kCFAllocatorNull);
|
/external/tensorflow/tensorflow/examples/ios/benchmark/ |
D | ios_image_load.mm | 34 std::vector<uint8> file_data(bytes_in_file); 35 fread(file_data.data(), 1, bytes_in_file, file_handle); 37 CFDataRef file_data_ref = CFDataCreateWithBytesNoCopy(NULL, file_data.data(),
|
/external/tensorflow/tensorflow/examples/ios/camera/ |
D | ios_image_load.mm | 34 std::vector<uint8> file_data(bytes_in_file); 35 fread(file_data.data(), 1, bytes_in_file, file_handle); 37 CFDataRef file_data_ref = CFDataCreateWithBytesNoCopy(NULL, file_data.data(),
|
/external/vulkan-validation-layers/scripts/ |
D | layer_dispatch_table_generator.py | 139 file_data = '' 141 file_data += self.OutputLayerInstanceDispatchTable() 142 file_data += self.OutputLayerDeviceDispatchTable() 144 write(file_data, file=self.outFile);
|