Home
last modified time | relevance | path

Searched refs:file_header (Results 1 – 13 of 13) sorted by relevance

/external/cpuinfo/scripts/
Dandroid-device-dump.py338 with open(os.path.join("test", "mock", options.prefix + ".h"), "w") as file_header:
339 file_header.write("struct cpuinfo_mock_file filesystem[] = {\n")
349 content = dump_device_file(file_header, path, prefix_line=arm64_prefix)
364 file_header.write("#elif CPUINFO_ARCH_ARM\n")
365 add_mock_file(file_header, "/proc/cpuinfo", proc_cpuinfo_content32)
366 file_header.write("#endif\n")
371 dump_device_file(file_header, path)
375 dump_device_file(file_header, path)
376 file_header.write("\t{ NULL },\n")
377 file_header.write("};\n")
[all …]
Darm-linux-filesystem-dump.py89 with open(os.path.join("test", options.prefix + ".h"), "w") as file_header:
90 file_header.write("struct cpuinfo_mock_file filesystem[] = {\n")
92 dump_system_file(file_header, path)
96 dump_system_file(file_header, path)
100 dump_system_file(file_header, path)
101 file_header.write("\t{ NULL },\n")
102 file_header.write("};\n")
/external/u-boot/net/
Dpcap.c41 static struct pcap_header file_header = { variable
60 memcpy(buf, &file_header, sizeof(file_header)); in pcap_init()
61 pos = sizeof(file_header); in pcap_init()
90 pos = sizeof(file_header); in pcap_clear()
/external/piex/src/
Dpiex.cc641 std::vector<std::uint8_t> file_header(bytes); in IsRaw() local
642 if (data->GetData(0, file_header.size(), file_header.data()) != kOk) { in IsRaw()
646 RangeCheckedBytePtr data_buffer(file_header.data(), file_header.size()); in IsRaw()
658 std::vector<std::uint8_t> file_header(bytes); in GetPreviewImageData() local
659 Error error = data->GetData(0, file_header.size(), file_header.data()); in GetPreviewImageData()
663 RangeCheckedBytePtr header_buffer(file_header.data(), file_header.size()); in GetPreviewImageData()
706 std::vector<std::uint8_t> file_header( in GetOrientation() local
708 if (data->GetData(0, file_header.size(), file_header.data()) != kOk) { in GetOrientation()
714 if (IsOfType(RangeCheckedBytePtr(file_header.data(), file_header.size()), in GetOrientation()
/external/ImageMagick/coders/
Dtim2.c632 file_header; in ReadTIM2Image() local
655 file_header.magic_num=ReadBlobMSBLong(image); in ReadTIM2Image()
656 if (file_header.magic_num != 0x54494D32) /* "TIM2" */ in ReadTIM2Image()
661 file_header.format_vers=ReadBlobByte(image); in ReadTIM2Image()
662 if (file_header.format_vers != 0x04) in ReadTIM2Image()
664 file_header.format_type=ReadBlobByte(image); in ReadTIM2Image()
665 file_header.image_count=ReadBlobLSBShort(image); in ReadTIM2Image()
666 ReadBlobStream(image,8,&(file_header.reserved),&str_read); in ReadTIM2Image()
670 switch(file_header.format_type) in ReadTIM2Image()
686 if (file_header.image_count != 1) in ReadTIM2Image()
[all …]
/external/u-boot/fs/cbfs/
Dcbfs.c91 const struct cbfs_fileheader *file_header = in file_cbfs_next_file() local
97 if (memcmp(good_file_magic, &file_header->magic, in file_cbfs_next_file()
98 sizeof(file_header->magic))) { in file_cbfs_next_file()
105 swap_file_header(&header, file_header); in file_cbfs_next_file()
115 new_node->name = (char *)file_header + in file_cbfs_next_file()
/external/mesa3d/src/util/
Ddisk_cache_os.c528 uint8_t *file_header = NULL; in disk_cache_load_item() local
542 file_header = malloc(ck_size); in disk_cache_load_item()
543 if (!file_header) in disk_cache_load_item()
549 ret = read_all(fd, file_header, ck_size); in disk_cache_load_item()
554 if (memcmp(cache->driver_keys_blob, file_header, ck_size) != 0) { in disk_cache_load_item()
611 free(file_header); in disk_cache_load_item()
626 if (file_header) in disk_cache_load_item()
627 free(file_header); in disk_cache_load_item()
/external/pdfium/samples/
Dpdfium_test_write_helper.cc448 BITMAPFILEHEADER file_header = {}; in WriteBmp() local
449 file_header.bfType = 0x4d42; in WriteBmp()
450 file_header.bfSize = sizeof(file_header) + bmi.bmiHeader.biSize + out_len; in WriteBmp()
451 file_header.bfOffBits = file_header.bfSize - out_len; in WriteBmp()
453 if (fwrite(&file_header, sizeof(file_header), 1, fp) != 1 || in WriteBmp()
/external/arm-trusted-firmware/plat/marvell/common/mss/
Dmss_scp_bl2_format.h19 typedef struct file_header { struct
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dmethod_dump.sh96 file_header=$(cat <<'END_HEADER'
148 echo "$file_header" | sed -e "s|%DATE%|$(date)|" -e "s|%MACOS%|$(basename $macos_sdk)|" \
/external/libaom/libaom/build/cmake/
Diosbuild.sh106 local file_header="/*
124 printf "%s" "${file_header}" > "${config_file}"
/external/libvpx/libvpx/build/make/
Diosbuild.sh106 local file_header="/*
123 printf "%s" "${file_header}" > "${config_file}"
/external/webrtc/talk/media/base/
Drtpdump.cc347 RtpDumpFileHeader file_header(rtc::Time(), 0, 0); in WriteFileHeader() local
348 file_header.WriteToByteBuffer(&buf); in WriteFileHeader()