/external/perf_data_converter/src/quipper/ |
D | perf_reader_test.cc | 261 testing::ExamplePerfDataFileHeader file_header((0)); in TEST() 262 file_header.WithAttrCount(1).WithDataSize(data_size); in TEST() 263 file_header.WriteTo(&input); in TEST() 266 ASSERT_EQ(file_header.header().attrs.offset, static_cast<u64>(input.tellp())); in TEST() 271 ASSERT_EQ(file_header.header().data.offset, static_cast<u64>(input.tellp())); in TEST() 310 testing::ExamplePerfDataFileHeader file_header(1 << HEADER_TRACING_DATA); in TEST() local 311 file_header.WithAttrCount(1).WithDataSize(data_size); in TEST() 312 file_header.WriteTo(&input); in TEST() 313 const perf_file_header& header = file_header.header(); in TEST() 322 ASSERT_EQ(file_header.data_end(), input.tellp()); in TEST() [all …]
|
D | perf_serializer_test.cc | 403 testing::ExamplePerfDataFileHeader file_header(1 << HEADER_TRACING_DATA); in TEST() local 404 file_header.WithAttrCount(1).WithDataSize(data_size); in TEST() 405 file_header.WriteTo(&input); in TEST() 406 const perf_file_header& header = file_header.header(); in TEST() 412 ASSERT_EQ(input.tellp(), file_header.data_end()); in TEST() 417 file_header.data_end() + metadata_count * sizeof(perf_file_section)); in TEST()
|
/external/piex/src/ |
D | piex.cc | 641 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/epid-sdk/epid/common/1.1/src/ |
D | file_parser.c | 45 EpidFileHeader const* file_header = (EpidFileHeader*)buf; in Epid11ParseRlFile() local 83 if (0 != memcmp(&file_header->epid_version, &kEpidVersionCode[kEpid1x], in Epid11ParseRlFile() 87 if (0 != memcmp(&file_header->file_type, &kEpidFileTypeCode[file_type], in Epid11ParseRlFile() 88 sizeof(file_header->file_type))) { in Epid11ParseRlFile()
|
/external/epid-sdk/epid/common/src/ |
D | file_parser.c | 197 EpidFileHeader const* file_header = (EpidFileHeader*)buf; in EpidParseRlFile() local 232 memcmp(&file_header->epid_version, &kEpidVersion, sizeof(kEpidVersion))) { in EpidParseRlFile() 235 if (0 != memcmp(&file_header->file_type, &kEpidFileTypeCode[file_type], in EpidParseRlFile() 236 sizeof(file_header->file_type))) { in EpidParseRlFile()
|
/external/mesa3d/src/util/ |
D | disk_cache.c | 1056 uint8_t *file_header = NULL; in disk_cache_get() local 1077 file_header = malloc(ck_size); in disk_cache_get() 1078 if (!file_header) in disk_cache_get() 1084 ret = read_all(fd, file_header, ck_size); in disk_cache_get() 1089 if (memcmp(cache->driver_keys_blob, file_header, ck_size) != 0) { in disk_cache_get() 1146 free(file_header); in disk_cache_get() 1161 if (file_header) in disk_cache_get() 1162 free(file_header); in disk_cache_get()
|
/external/toybox/toys/pending/ |
D | tar.c | 58 struct file_header { struct 70 struct file_header file_hdr; argument 311 struct file_header *file_hdr = &tar->file_hdr; in extract_to_stdout() 321 struct file_header *file_hdr = &tar->file_hdr; in extract_to_command() 367 struct file_header *file_hdr = &tar->file_hdr; in extract_to_disk() 581 struct file_header *file_hdr; in unpack_tar() 625 memset(file_hdr, 0, sizeof(struct file_header)); in unpack_tar()
|
/external/pdfium/samples/ |
D | pdfium_test.cc | 514 BITMAPFILEHEADER file_header = {}; in WriteBmp() local 515 file_header.bfType = 0x4d42; in WriteBmp() 516 file_header.bfSize = sizeof(file_header) + bmi.bmiHeader.biSize + out_len; in WriteBmp() 517 file_header.bfOffBits = file_header.bfSize - out_len; in WriteBmp() 519 if (fwrite(&file_header, sizeof(file_header), 1, fp) != 1 || in WriteBmp()
|
/external/libaom/libaom/build/cmake/ |
D | iosbuild.sh | 106 local file_header="/* 124 printf "%s" "${file_header}" > "${config_file}"
|
/external/libvpx/libvpx/build/make/ |
D | iosbuild.sh | 106 local file_header="/* 123 printf "%s" "${file_header}" > "${config_file}"
|
/external/webrtc/talk/media/base/ |
D | rtpdump.cc | 347 RtpDumpFileHeader file_header(rtc::Time(), 0, 0); in WriteFileHeader() local 348 file_header.WriteToByteBuffer(&buf); in WriteFileHeader()
|