Home
last modified time | relevance | path

Searched refs:file_data (Results 1 – 25 of 46) 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/ImageMagick/coders/
Dheic.c423 *file_data; in ReadHEICImage() local
442 file_data=AcquireMagickMemory(length); in ReadHEICImage()
443 if (file_data == (void *) NULL) in ReadHEICImage()
445 if (ReadBlob(image,length,file_data) != (ssize_t) length) in ReadHEICImage()
447 file_data=RelinquishMagickMemory(file_data); in ReadHEICImage()
454 error=heif_context_read_from_memory_without_copy(heif_context,file_data, in ReadHEICImage()
459 file_data=RelinquishMagickMemory(file_data); in ReadHEICImage()
466 file_data=RelinquishMagickMemory(file_data); in ReadHEICImage()
513 file_data=RelinquishMagickMemory(file_data); in ReadHEICImage()
/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/u-boot/tools/
Ddefault_image.c145 ulong file_data; in image_extract_subimage() local
156 image_multi_getimg(hdr, idx, &file_data, &file_len); in image_extract_subimage()
164 file_data = image_get_data(hdr); in image_extract_subimage()
169 return imagetool_save_subimage(params->outfile, file_data, file_len); in image_extract_subimage()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_shared_code_generator.cc132 std::string file_data; in GenerateDescriptors() local
133 file_proto.SerializeToString(&file_data); in GenerateDescriptors()
145 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateDescriptors()
154 CEscape(file_data.substr(i, kBytesPerLine))); in GenerateDescriptors()
Djava_file.cc123 const std::string& file_data) { in CollectExtensions() argument
140 GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data)); in CollectExtensions()
441 std::string file_data; in GenerateDescriptorInitializationCodeForImmutable() local
442 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForImmutable()
444 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForImmutable()
510 std::string file_data; in GenerateDescriptorInitializationCodeForMutable() local
511 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForMutable()
513 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForMutable()
/external/python/cpython3/Lib/test/
Dtest_gzip.py568 file_data = gzip.decompress(f.read())
569 self.assertEqual(file_data, uncompressed)
577 file_data = gzip.decompress(f.read())
578 self.assertEqual(file_data, uncompressed * 2)
586 file_data = gzip.decompress(f.read())
587 self.assertEqual(file_data, uncompressed)
605 file_data = gzip.decompress(f.read())
606 self.assertEqual(file_data, uncompressed)
614 file_data = gzip.decompress(f.read())
615 self.assertEqual(file_data, uncompressed * 2)
[all …]
Dtest_bz2.py886 file_data = ext_decompress(f.read())
887 self.assertEqual(file_data, self.TEXT)
893 file_data = ext_decompress(f.read())
894 self.assertEqual(file_data, self.TEXT * 2)
904 file_data = ext_decompress(f.read())
905 self.assertEqual(file_data, self.TEXT)
911 file_data = ext_decompress(f.read())
912 self.assertEqual(file_data, self.TEXT * 2)
923 file_data = ext_decompress(f.read()).decode("ascii")
924 self.assertEqual(file_data, text_native_eol)
[all …]
/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/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/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/google-breakpad/src/testing/gtest/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/python/apitools/apitools/base/py/
Dgzip_test.py485 file_data = gzip.decompress(f.read())
486 self.assertEqual(file_data, uncompressed)
494 file_data = gzip.decompress(f.read())
495 self.assertEqual(file_data, uncompressed * 2)
504 file_data = gzip.decompress(f.read())
505 self.assertEqual(file_data, uncompressed)
513 file_data = gzip.decompress(f.read())
514 self.assertEqual(file_data, uncompressed * 2)
/external/tensorflow/tensorflow/lite/tools/
Dstrip_strings.py58 file_data = bytearray(file_handle.read())
59 model_obj = schema_fb.Model.GetRootAsModel(file_data, 0)
Dconvert_image_to_csv.py56 file_data = io_ops.read_file(filepath)
58 image_tensor = image_ops.decode_image(file_data,
/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/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/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/angle/src/compiler/translator/
Dgen_emulated_builtin_function_tables.py76 file_data = map_file.read()
78 return json.loads(file_data, object_pairs_hook=reject_duplicate_keys)

12