Home
last modified time | relevance | path

Searched refs:ico_header (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/translators/ico/
H A DICO.cpp45 ico_header::IsValid() const in IsValid()
54 ico_header::SwapToHost() in SwapToHost()
56 swap_data(B_UINT16_TYPE, this, sizeof(ico_header), B_SWAP_LENDIAN_TO_HOST); in SwapToHost()
61 ico_header::SwapFromHost() in SwapFromHost()
63 swap_data(B_UINT16_TYPE, this, sizeof(ico_header), B_SWAP_HOST_TO_LENDIAN); in SwapFromHost()
503 ico_header header; in identify()
504 if (stream.Read(&header, sizeof(ico_header)) != (ssize_t)sizeof(ico_header)) in identify()
574 ico_header header; in convert_ico_to_bits()
575 if (source.Read(&header, sizeof(ico_header)) != (ssize_t)sizeof(ico_header)) in convert_ico_to_bits()
601 if (source.ReadAt(sizeof(ico_header) + sizeof(ico_dir_entry) * iconIndex, in convert_ico_to_bits()
[all …]
H A DICO.h25 struct ico_header { struct