Home
last modified time | relevance | path

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

/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc42 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro
351 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()
368 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()
392 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()
751 if (tag->size < SAFE_SIZEOF(mAB_Layout)) { in read_tag_mab()
797 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()
1008 assert(SAFE_SIZEOF(header_Layout) == 132); in skcms_Parse()
1013 memset(profile, 0, SAFE_SIZEOF(*profile)); in skcms_Parse()
1015 if (len < SAFE_SIZEOF(header_Layout)) { in skcms_Parse()
1034 uint64_t tag_table_size = profile->tag_count * SAFE_SIZEOF(tag_Layout); in skcms_Parse()
[all …]
/dports/graphics/libjxl/libjxl-0.6.1/third_party/skcms/
H A Dskcms.cc40 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro
342 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()
359 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()
383 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()
748 if (tag->size < SAFE_SIZEOF(mAB_Layout)) { in read_tag_mab()
794 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()
1005 assert(SAFE_SIZEOF(header_Layout) == 132); in skcms_Parse()
1010 memset(profile, 0, SAFE_SIZEOF(*profile)); in skcms_Parse()
1012 if (len < SAFE_SIZEOF(header_Layout)) { in skcms_Parse()
1031 uint64_t tag_table_size = profile->tag_count * SAFE_SIZEOF(tag_Layout); in skcms_Parse()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc40 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro
341 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()
358 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()
382 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()
741 if (tag->size < SAFE_SIZEOF(mAB_Layout)) { in read_tag_mab()
787 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()
998 assert(SAFE_SIZEOF(header_Layout) == 132); in skcms_Parse()
1003 memset(profile, 0, SAFE_SIZEOF(*profile)); in skcms_Parse()
1005 if (len < SAFE_SIZEOF(header_Layout)) { in skcms_Parse()
1024 uint64_t tag_table_size = profile->tag_count * SAFE_SIZEOF(tag_Layout); in skcms_Parse()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/third_party/skcms/
H A Dskcms.cc45 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro
358 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()
375 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()
399 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()
764 if (tag->size < SAFE_SIZEOF(mAB_Layout)) { in read_tag_mab()
810 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()
1021 assert(SAFE_SIZEOF(header_Layout) == 132); in skcms_Parse()
1026 memset(profile, 0, SAFE_SIZEOF(*profile)); in skcms_Parse()
1028 if (len < SAFE_SIZEOF(header_Layout)) { in skcms_Parse()
1047 uint64_t tag_table_size = profile->tag_count * SAFE_SIZEOF(tag_Layout); in skcms_Parse()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/third_party/skcms/
H A Dskcms.cc40 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro
355 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()
372 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()
396 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()
761 if (tag->size < SAFE_SIZEOF(mAB_Layout)) { in read_tag_mab()
807 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()
1018 assert(SAFE_SIZEOF(header_Layout) == 132); in skcms_Parse()
1023 memset(profile, 0, SAFE_SIZEOF(*profile)); in skcms_Parse()
1025 if (len < SAFE_SIZEOF(header_Layout)) { in skcms_Parse()
1044 uint64_t tag_table_size = profile->tag_count * SAFE_SIZEOF(tag_Layout); in skcms_Parse()
[all …]
/dports/www/firefox/firefox-99.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc42 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro
351 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()
368 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()
392 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()
751 if (tag->size < SAFE_SIZEOF(mAB_Layout)) { in read_tag_mab()
797 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()
1008 assert(SAFE_SIZEOF(header_Layout) == 132); in skcms_Parse()
1013 memset(profile, 0, SAFE_SIZEOF(*profile)); in skcms_Parse()
1015 if (len < SAFE_SIZEOF(header_Layout)) { in skcms_Parse()
1034 uint64_t tag_table_size = profile->tag_count * SAFE_SIZEOF(tag_Layout); in skcms_Parse()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/third_party/skcms/
H A Dskcms.cc42 #define SAFE_SIZEOF(x) ((uint64_t)sizeof(x)) macro
351 return (const tag_Layout*)(profile->buffer + SAFE_SIZEOF(header_Layout)); in get_tag_table()
368 if (tag.type != skcms_Signature_sf32 || tag.size < SAFE_SIZEOF(sf32_Layout)) { in skcms_GetCHAD()
392 if (tag->type != skcms_Signature_XYZ || tag->size < SAFE_SIZEOF(XYZ_Layout)) { in read_tag_xyz()
751 if (tag->size < SAFE_SIZEOF(mAB_Layout)) { in read_tag_mab()
797 if (tag->size < matrix_offset + 12 * SAFE_SIZEOF(uint32_t)) { in read_tag_mab()
1008 assert(SAFE_SIZEOF(header_Layout) == 132); in skcms_Parse()
1013 memset(profile, 0, SAFE_SIZEOF(*profile)); in skcms_Parse()
1015 if (len < SAFE_SIZEOF(header_Layout)) { in skcms_Parse()
1034 uint64_t tag_table_size = profile->tag_count * SAFE_SIZEOF(tag_Layout); in skcms_Parse()
[all …]