Home
last modified time | relevance | path

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

/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmControl/src/
Dbitmap.c54 create_file_header(struct BITMAPFILEHEADER *file_header, int32_t image_size) in create_file_header() argument
56 file_header->bfType[0] = 'B'; in create_file_header()
57 file_header->bfType[1] = 'M'; in create_file_header()
58 file_header->bfSize = htole32(sizeof(struct BITMAPFILEHEADER) + in create_file_header()
61 file_header->bfOffBits = htole32(sizeof(struct BITMAPFILEHEADER) + in create_file_header()
78 const struct BITMAPFILEHEADER *file_header, in write_bitmap() argument
87 fwrite(file_header, sizeof(struct BITMAPFILEHEADER), 1, fp); in write_bitmap()
169 struct BITMAPFILEHEADER file_header = {}; in save_as_bitmap() local
172 create_file_header(&file_header, image_size); in save_as_bitmap()
174 if (write_bitmap(filename, &file_header, &info_header, image_buffer) != 0) { in save_as_bitmap()
/third_party/flutter/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/glib/gmodule/
Dgmodule-ar.c51 struct fl_hdr file_header; in _g_module_get_member() local
61 if (read(fd, (void*)&file_header, FL_HSZ) != FL_HSZ) in _g_module_get_member()
64 if (strncmp(file_header.fl_magic, AIAMAGBIG, SAIAMAG) != 0) in _g_module_get_member()
69 first_member = atol(file_header.fl_fstmoff); in _g_module_get_member()
/third_party/ffmpeg/libavformat/
Ddsicin.c55 CinFileHeader file_header; member
77 CinFileHeader *hdr = &cin->file_header; in cin_read_file_header()
100 CinFileHeader *hdr = &cin->file_header; in cin_read_header()
/third_party/grpc/src/compiler/
Dobjective_c_plugin.cc158 ::std::string file_header = in Generate()
239 file_header + SystemImport("Foundation/Foundation.h") + "\n" + in Generate()
295 file_header + in Generate()
/third_party/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)|" \