Home
last modified time | relevance | path

Searched refs:file_data (Results 1 – 25 of 41) sorted by relevance

12

/external/grpc-grpc/src/core/lib/security/security_connector/
Dload_system_roots_linux.cc104 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/
Dftplistparser.c169 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/
Delf_getarsym.c204 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/
Dfile_utils.cc24 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()
Dfreeze_requantization_ranges.cc34 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/
Djava_shared_code_generator.cc122 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()
Djava_file.cc125 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/
Dupdatemanpages.pl64 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/
Dtest_gzip.py548 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 …]
Dtest_bz2.py883 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/
Ddefault_image.c141 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/
Dheic.c183 *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/
DDiffMyers.java55 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/
Dselective_registration_header_lib.py53 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/
Dkey_value_store.cc41 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/
Dcpp_file.cc603 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/
Dversiongenerate.py84 file_data = """// variable
99 version_file.write(file_data)
/external/googletest/googletest/xcode/Scripts/
Dversiongenerate.py84 file_data = """// variable
99 version_file.write(file_data)
/external/tensorflow/tensorflow/examples/speech_commands/
Daccuracy_utils_test.cc30 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/
Dgyp_environment.py27 file_data = eval(file_contents, {'__builtins__': None}, None)
38 val = file_data.get(var)
/external/tensorflow/tensorflow/examples/ios/simple/
Dios_image_load.mm34 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/
Dios_image_load.mm31 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/
Dios_image_load.mm34 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/
Dios_image_load.mm34 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/
Dlayer_dispatch_table_generator.py139 file_data = ''
141 file_data += self.OutputLayerInstanceDispatchTable()
142 file_data += self.OutputLayerDeviceDispatchTable()
144 write(file_data, file=self.outFile);

12