/third_party/cef/tools/ |
D | gypi_to_gn.py | 116 file_data = eval(file_string, {'__builtins__': None}, None) 123 assert isinstance(file_data, dict), "%s does not eval to a dictionary" % path 126 if 'variables' in file_data: 127 file_data.update(file_data['variables']) 128 del file_data['variables'] 140 if element in file_data: 141 del file_data[element] 143 return file_data
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | imageio_util.c | 74 uint8_t* file_data; in ImgIoUtilReadFile() local 94 file_data = (uint8_t*)WebPMalloc(file_size + 1); in ImgIoUtilReadFile() 95 if (file_data == NULL) { in ImgIoUtilReadFile() 101 ok = (fread(file_data, file_size, 1, in) == 1); in ImgIoUtilReadFile() 107 WebPFree(file_data); in ImgIoUtilReadFile() 110 file_data[file_size] = '\0'; // convenient 0-terminator in ImgIoUtilReadFile() 111 *data = file_data; in ImgIoUtilReadFile()
|
/third_party/elfutils/libelf/ |
D | elf_getarsym.c | 200 void *file_data; /* unit32_t[n] or uint64_t[n] */ in elf_getarsym() local 212 file_data = temp_data; in elf_getarsym() 228 if ((size_t) pread_retry (elf->fildes, file_data, sz, off) != sz in elf_getarsym() 244 file_data = (void *) (elf->map_address + off); in elf_getarsym() 246 && ((uintptr_t) file_data & -(uintptr_t) n) != 0) in elf_getarsym() 254 file_data = memcpy (temp_data, elf->map_address + off, sz); in elf_getarsym() 261 uint64_t (*u64)[n] = file_data; in elf_getarsym() 262 uint32_t (*u32)[n] = file_data; in elf_getarsym()
|
/third_party/curl/lib/ |
D | ftplistparser.c | 171 struct fileinfo *file_data; member 231 Curl_fileinfo_cleanup(parser->file_data); in Curl_ftp_parselist_data_free() 361 ftpwc->parser->file_data = NULL; in ftp_pl_insert_finfo() 399 if(!parser->file_data) { /* tmp file data is not allocated yet */ in Curl_ftp_parselist() 400 parser->file_data = Curl_fileinfo_alloc(); in Curl_ftp_parselist() 401 if(!parser->file_data) { in Curl_ftp_parselist() 407 Curl_dyn_init(&parser->file_data->buf, MAX_FTPLIST_BUFFER); in Curl_ftp_parselist() 410 infop = parser->file_data; in Curl_ftp_parselist() 522 parser->file_data->info.flags |= CURLFINFOFLAG_KNOWN_PERM; in Curl_ftp_parselist() 523 parser->file_data->info.perm = perm; in Curl_ftp_parselist() [all …]
|
/third_party/curl/scripts/ |
D | updatemanpages.pl | 66 tie(my @file_data, 'Tie::File', $filename); 67 foreach my $file_data_line(@file_data) { 217 tie(my @file_data, 'Tie::File', $filename); 218 foreach my $file_data_line (@file_data) {
|
/third_party/python/Lib/test/ |
D | test_gzip.py | 610 file_data = gzip.decompress(f.read()) 611 self.assertEqual(file_data, uncompressed) 619 file_data = gzip.decompress(f.read()) 620 self.assertEqual(file_data, uncompressed * 2) 628 file_data = gzip.decompress(f.read()) 629 self.assertEqual(file_data, uncompressed) 647 file_data = gzip.decompress(f.read()) 648 self.assertEqual(file_data, uncompressed) 656 file_data = gzip.decompress(f.read()) 657 self.assertEqual(file_data, uncompressed * 2) [all …]
|
D | test_bz2.py | 900 file_data = ext_decompress(f.read()) 901 self.assertEqual(file_data, self.TEXT) 907 file_data = ext_decompress(f.read()) 908 self.assertEqual(file_data, self.TEXT * 2) 918 file_data = ext_decompress(f.read()) 919 self.assertEqual(file_data, self.TEXT) 925 file_data = ext_decompress(f.read()) 926 self.assertEqual(file_data, self.TEXT * 2) 937 file_data = ext_decompress(f.read()).decode("ascii") 938 self.assertEqual(file_data, text_native_eol) [all …]
|
D | test_lzma.py | 1250 file_data = lzma.decompress(bio.getvalue()) 1251 self.assertEqual(file_data, INPUT) 1254 file_data = lzma.decompress(bio.getvalue()) 1255 self.assertEqual(file_data, INPUT * 2) 1265 file_data = lzma.decompress(bio.getvalue()).decode("ascii") 1266 self.assertEqual(file_data, uncompressed_raw) 1269 file_data = lzma.decompress(bio.getvalue()).decode("ascii") 1270 self.assertEqual(file_data, uncompressed_raw * 2) 1277 file_data = lzma.decompress(f.read()) 1278 self.assertEqual(file_data, INPUT) [all …]
|
D | test_os.py | 3461 file_data = b"abcdef" 3464 create_file(TESTFN2, file_data)
|
/third_party/vulkan-loader/scripts/ |
D | loader_extension_generator.py | 238 file_data = '' 241 file_data += self.OutputPrototypesInHeader() 242 file_data += self.OutputLoaderTerminators() 243 file_data += self.OutputIcdDispatchTable() 244 file_data += self.OutputIcdExtensionEnableUnion() 247 file_data += self.OutputUtilitiesInSource() 248 file_data += self.OutputIcdDispatchTableInit() 249 file_data += self.OutputLoaderDispatchTables() 250 file_data += self.OutputLoaderLookupFunc() 251 file_data += self.CreateTrampTermFuncs() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_persistent_key.function | 52 uint8_t *file_data = NULL; 64 ASSERT_ALLOC(file_data, file_data_length); 67 file_data); 70 file_data, file_data_length); 73 mbedtls_free(file_data); 78 void parse_storage_data_check(data_t *file_data, 93 status = psa_parse_key_data_from_storage(file_data->x, file_data->len,
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_shared_code_generator.cc | 132 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()
|
D | java_file.cc | 127 const std::string& file_data) { in CollectExtensions() argument 144 GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data)); in CollectExtensions() 447 std::string file_data; in GenerateDescriptorInitializationCodeForImmutable() local 448 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForImmutable() 450 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForImmutable() 516 std::string file_data; in GenerateDescriptorInitializationCodeForMutable() local 517 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForMutable() 519 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForMutable()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | gen_emulated_builtin_function_tables.py | 75 file_data = map_file.read() 77 return json.loads(file_data, object_pairs_hook=reject_duplicate_keys)
|
/third_party/lwip/src/apps/http/makefsdata/ |
D | makefsdata.c | 630 static void process_file_data(FILE *data_file, u8_t *file_data, size_t file_size) in process_file_data() argument 637 sprintf(&file_buffer_c[off], "0x%02x,", file_data[i]); in process_file_data() 655 u16_t hdr_len, u16_t hdr_chksum, const u8_t *file_data, size_t file_size) in write_checksums() argument 677 const void *data = (const void *)&file_data[src_offset]; in write_checksums() 916 u8_t *file_data; in process_file() local 954 file_data = get_file_data(filename, &file_size, can_be_compressed, &is_compressed); in process_file() 966 …chksum_count = write_checksums(struct_file, varname, http_hdr_len, http_hdr_chksum, file_data, fil… in process_file() 1017 process_file_data(data_file, file_data, file_size); in process_file() 1019 free(file_data); in process_file()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_file.cc | 834 std::string file_data; in GenerateReflectionInitializationCode() local 835 file_proto.SerializeToString(&file_data); in GenerateReflectionInitializationCode() 838 if (file_data.size() > 65535) { in GenerateReflectionInitializationCode() 844 for (int i = 0; i < file_data.size();) { in GenerateReflectionInitializationCode() 845 for (int j = 0; j < kBytesPerLine && i < file_data.size(); ++i, ++j) { in GenerateReflectionInitializationCode() 846 format("'$1$', ", CEscape(file_data.substr(i, 1))); in GenerateReflectionInitializationCode() 854 for (int i = 0; i < file_data.size(); i += kBytesPerLine) { in GenerateReflectionInitializationCode() 857 EscapeTrigraphs(CEscape(file_data.substr(i, kBytesPerLine)))); in GenerateReflectionInitializationCode() 910 eager ? "true" : "false", protodef_name, file_data.size(), sccs_.size(), in GenerateReflectionInitializationCode()
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
D | demo_https.c | 690 char file_data[MAGIC_HEADER_SIZE]; in generate_page() local 707 got = read (fd, file_data, sizeof (file_data)); in generate_page() 709 mime = magic_buffer (magic, file_data, got); in generate_page()
|
D | demo.c | 689 char file_data[MAGIC_HEADER_SIZE]; in generate_page() local 706 got = read (fd, file_data, sizeof (file_data)); in generate_page() 708 mime = magic_buffer (magic, file_data, got); in generate_page()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | gen_dxgi_support_tables.py | 318 file_data = dxgi_file.read() 320 json_data = json.loads(file_data)
|
/third_party/gn/src/gn/ |
D | filesystem_utils.cc | 934 std::string file_data; in ContentsEqual() local 935 file_data.resize(file_size); in ContentsEqual() 936 if (!base::ReadFileToString(file_path, &file_data)) in ContentsEqual() 939 return file_data == data; in ContentsEqual()
|
/third_party/mbedtls/library/ |
D | x509_crt.c | 1418 WIN32_FIND_DATAW file_data; in mbedtls_x509_crt_parse_path() local 1438 hFind = FindFirstFileW(szDir, &file_data); in mbedtls_x509_crt_parse_path() 1447 if (file_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { in mbedtls_x509_crt_parse_path() 1451 w_ret = WideCharToMultiByte(CP_ACP, 0, file_data.cFileName, in mbedtls_x509_crt_parse_path() 1466 } while (FindNextFileW(hFind, &file_data) != 0); in mbedtls_x509_crt_parse_path()
|
/third_party/toybox/generated/ |
D | globals.h | 1154 struct file_data { struct 1607 struct file_data file;
|
/third_party/python/Modules/ |
D | posixmodule.c | 13994 WIN32_FIND_DATAW file_data; member 14029 WIN32_FIND_DATAW *file_data = &iterator->file_data; in ScandirIterator_iternext() local 14040 success = FindNextFileW(iterator->handle, file_data); in ScandirIterator_iternext() 14052 if (wcscmp(file_data->cFileName, L".") != 0 && in ScandirIterator_iternext() 14053 wcscmp(file_data->cFileName, L"..") != 0) in ScandirIterator_iternext() 14056 entry = DirEntry_from_find_data(module, &iterator->path, file_data); in ScandirIterator_iternext() 14292 iterator->handle = FindFirstFileW(path_strW, &iterator->file_data); in os_scandir_impl()
|
/third_party/mesa3d/src/imgui/ |
D | imgui.cpp | 1546 void* file_data = ImGui::MemAlloc(file_size + padding_bytes); in ImFileLoadToMemory() local 1547 if (file_data == NULL) in ImFileLoadToMemory() 1552 if (fread(file_data, 1, file_size, f) != file_size) in ImFileLoadToMemory() 1555 ImGui::MemFree(file_data); in ImFileLoadToMemory() 1559 memset((void*)(((char*)file_data) + file_size), 0, (size_t)padding_bytes); in ImFileLoadToMemory() 1565 return file_data; in ImFileLoadToMemory() 8988 char* file_data = (char*)ImFileLoadToMemory(ini_filename, "rb", &file_data_size); in LoadIniSettingsFromDisk() local 8989 if (!file_data) in LoadIniSettingsFromDisk() 8991 LoadIniSettingsFromMemory(file_data, (size_t)file_data_size); in LoadIniSettingsFromDisk() 8992 ImGui::MemFree(file_data); in LoadIniSettingsFromDisk()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui.cpp | 1623 void* file_data = IM_ALLOC(file_size + padding_bytes); in ImFileLoadToMemory() local 1624 if (file_data == NULL) in ImFileLoadToMemory() 1629 if (ImFileRead(file_data, 1, file_size, f) != file_size) in ImFileLoadToMemory() 1632 IM_FREE(file_data); in ImFileLoadToMemory() 1636 memset((void*)(((char*)file_data) + file_size), 0, (size_t)padding_bytes); in ImFileLoadToMemory() 1642 return file_data; in ImFileLoadToMemory() 10774 char* file_data = (char*)ImFileLoadToMemory(ini_filename, "rb", &file_data_size); in LoadIniSettingsFromDisk() local 10775 if (!file_data) in LoadIniSettingsFromDisk() 10777 LoadIniSettingsFromMemory(file_data, (size_t)file_data_size); in LoadIniSettingsFromDisk() 10778 IM_FREE(file_data); in LoadIniSettingsFromDisk()
|