Searched refs:SAFE_SIZEOF (Results 1 – 1 of 1) sorted by relevance
45 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro369 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()386 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()410 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()528 if (size < SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t)) { in read_curve_curv()533 *curve_size = SAFE_FIXED_SIZE(curv_Layout) + value_count * SAFE_SIZEOF(uint16_t); in read_curve_curv()803 if (tag->size < SAFE_SIZEOF(mAB_or_mBA_Layout)) { in read_tag_mab()849 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()930 if (tag->size < SAFE_SIZEOF(mAB_or_mBA_Layout)) { in read_tag_mba()975 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mba()[all …]