Lines Matching defs:repr

415   const char* repr;
461 wuffs_base__make_status(const char* repr) {
463 z.repr = repr;
469 return (z->repr == NULL) || ((*z->repr != '$') && (*z->repr != '#'));
474 return z->repr && (*z->repr == '#');
479 return z->repr && (*z->repr != '$') && (*z->repr != '#');
484 return z->repr == NULL;
489 return z->repr && (*z->repr == '$');
495 if (z->repr) {
496 if ((*z->repr == '$') || (*z->repr == '#') || (*z->repr == '@')) {
497 return z->repr + 1;
500 return z->repr;
3064 uint64_t repr;
3081 wuffs_base__make_token(uint64_t repr) {
3083 ret.repr = repr;
3223 return ((int64_t)(t->repr)) >> WUFFS_BASE__TOKEN__VALUE__SHIFT;
3230 return (~(int64_t)(t->repr)) >> WUFFS_BASE__TOKEN__VALUE_EXTENSION__SHIFT;
3237 return ((int64_t)(t->repr)) >> WUFFS_BASE__TOKEN__VALUE_MAJOR__SHIFT;
3244 return ((int64_t)(t->repr)) >> WUFFS_BASE__TOKEN__VALUE_BASE_CATEGORY__SHIFT;
3249 return (t->repr >> WUFFS_BASE__TOKEN__VALUE_MINOR__SHIFT) & 0x1FFFFFF;
3254 return (t->repr >> WUFFS_BASE__TOKEN__VALUE_BASE_DETAIL__SHIFT) & 0x1FFFFF;
3260 // The VBD is 21 bits in the middle of t->repr. Left shift the high (64 - 21
3262 uint64_t u = t->repr << (43 - WUFFS_BASE__TOKEN__VALUE_BASE_DETAIL__SHIFT);
3268 return t->repr & 0x10000;
3273 return (t->repr >> WUFFS_BASE__TOKEN__LENGTH__SHIFT) & 0xFFFF;
3868 uint32_t repr;
3884 wuffs_base__make_pixel_format(uint32_t repr) {
3886 f.repr = repr;
3939 return f->repr != 0;
3946 if (((f->repr >> 16) & 0x03) != 0) {
3949 return wuffs_base__pixel_format__bits_per_channel[0x0F & (f->repr >> 0)] +
3950 wuffs_base__pixel_format__bits_per_channel[0x0F & (f->repr >> 4)] +
3951 wuffs_base__pixel_format__bits_per_channel[0x0F & (f->repr >> 8)] +
3952 wuffs_base__pixel_format__bits_per_channel[0x0F & (f->repr >> 12)];
3957 return ((f->repr >> 18) & 0x01) == 0;
3962 return ((f->repr >> 18) & 0x01) != 0;
3967 return ((f->repr >> 16) & 0x03) == 0;
3972 return ((f->repr >> 16) & 0x03) != 0;
3977 return ((f->repr >> 16) & 0x03) + 1;
3982 return (wuffs_base__pixel_alpha_transparency)((f->repr >> 24) & 0x03);
4039 uint32_t repr;
4051 wuffs_base__make_pixel_subsampling(uint32_t repr) {
4053 s.repr = repr;
4070 return (s->repr >> shift) & 0x03;
4078 return ((s->repr >> shift) & 0x03) + 1;
4085 return (s->repr >> shift) & 0x03;
4093 return ((s->repr >> shift) & 0x03) + 1;
4152 ret.private_impl.pixfmt.repr = 0;
4153 ret.private_impl.pixsub.repr = 0;
4173 c->private_impl.pixfmt.repr = pixfmt_repr;
4174 c->private_impl.pixsub.repr = pixsub_repr;
4181 c->private_impl.pixfmt.repr = 0;
4182 c->private_impl.pixsub.repr = 0;
4190 c->private_impl.pixfmt.repr = 0;
4191 c->private_impl.pixsub.repr = 0;
4199 return c && c->private_impl.pixfmt.repr;
4380 c->pixcfg.private_impl.pixfmt.repr = pixfmt_repr;
4381 c->pixcfg.private_impl.pixsub.repr = pixsub_repr;
4389 c->pixcfg.private_impl.pixfmt.repr = 0;
4390 c->pixcfg.private_impl.pixsub.repr = 0;
4400 c->pixcfg.private_impl.pixfmt.repr = 0;
4401 c->pixcfg.private_impl.pixsub.repr = 0;
10520 wuffs_base__slice_u32 repr;
10730 wuffs_base__slice_u32 repr;
10769 uint64_t repr;
10779 wuffs_base__pixel_blend repr;
10790 wuffs_base__color_u32_argb_premul repr;
10800 uint32_t repr;
10811 uint64_t repr;
10948 wuffs_base__slice_u32 repr;
10958 std::string repr;
11021 if (!status.repr) { \
11023 } else if (*status.repr != '$') { \
11049 if (z.repr && (*z.repr == '$')) {
11050 z.repr = wuffs_base__error__cannot_return_a_suspension;
14323 ret.status.repr = NULL;
14333 ret.status.repr = wuffs_base__error__bad_argument;
14379 ret.status.repr = NULL;
14477 ret.status.repr = NULL;
14487 ret.status.repr = NULL;
14496 ret.status.repr = wuffs_base__error__bad_argument;
14504 ret.status.repr = NULL;
14700 ret.status.repr = NULL;
14720 ret.status.repr = NULL;
14732 if (status.repr) {
15164 if (r.status.repr != NULL) {
15166 ret.status.repr = r.status.repr;
15172 ret.status.repr = NULL;
15177 ret.status.repr = NULL;
15186 ret.status.repr = NULL;
15195 ret.status.repr = wuffs_base__error__bad_argument;
15203 ret.status.repr = wuffs_base__error__out_of_bounds;
15299 ret.status.repr = NULL;
15329 ret.status.repr = NULL;
15337 ret.status.repr = NULL;
15345 ret.status.repr = wuffs_base__error__bad_argument;
15353 ret.status.repr = wuffs_base__error__out_of_bounds;
15468 o.status.repr = wuffs_base__suspension__short_write;
15472 o.status.repr = wuffs_base__suspension__short_read;
15474 o.status.repr = wuffs_base__error__bad_data;
15476 o.status.repr = NULL;
15506 o.status.repr = wuffs_base__suspension__short_write;
15510 o.status.repr = wuffs_base__suspension__short_read;
15512 o.status.repr = wuffs_base__error__bad_data;
15514 o.status.repr = NULL;
15544 o.status.repr = wuffs_base__suspension__short_write;
15548 o.status.repr = wuffs_base__suspension__short_read;
15550 o.status.repr = NULL;
15581 o.status.repr = wuffs_base__suspension__short_write;
15585 o.status.repr = wuffs_base__suspension__short_read;
15587 o.status.repr = NULL;
15752 o.status.repr = wuffs_base__error__bad_data;
15755 o.status.repr = wuffs_base__suspension__short_read;
15765 o.status.repr = wuffs_base__error__bad_data;
15770 o.status.repr = wuffs_base__suspension__short_write;
15784 o.status.repr = wuffs_base__suspension__short_read;
15789 o.status.repr = NULL;
15792 o.status.repr = wuffs_base__error__bad_data;
15805 o.status.repr = wuffs_base__error__bad_data;
15809 o.status.repr = wuffs_base__suspension__short_write;
15816 o.status.repr = NULL;
15826 o.status.repr = wuffs_base__error__bad_data;
15830 o.status.repr = wuffs_base__suspension__short_write;
15836 o.status.repr = NULL;
15863 o.status.repr = wuffs_base__suspension__short_write;
15877 o.status.repr = wuffs_base__suspension__short_read;
15884 o.status.repr = wuffs_base__suspension__short_write;
15896 o.status.repr = NULL;
15902 o.status.repr = wuffs_base__suspension__short_write;
15914 o.status.repr = NULL;
15918 o.status.repr = NULL;
16227 switch (pb->pixcfg.private_impl.pixfmt.repr) {
16321 switch (pb->pixcfg.private_impl.pixfmt.repr) {
16546 switch (pb->pixcfg.private_impl.pixfmt.repr) {
16622 switch (palette_format.repr) {
16626 bool nonpremul = palette_format.repr ==
20348 switch (dst_pixfmt.repr) {
20389 switch (dst_pixfmt.repr) {
20432 switch (dst_pixfmt.repr) {
20581 switch (dst_pixfmt.repr) {
20694 switch (dst_pixfmt.repr) {
20726 switch (dst_pixfmt.repr) {
20767 switch (dst_pixfmt.repr) {
20860 switch (dst_pixfmt.repr) {
20948 switch (dst_pixfmt.repr) {
21026 switch (dst_pixfmt.repr) {
21063 switch (dst_pixfmt.repr) {
21103 switch (dst_pixfmt.repr) {
21196 switch (dst_pixfmt.repr) {
21319 switch (src_pixfmt.repr) {
21796 x, sizeof(wuffs_adler32__hasher), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
22302 x, sizeof(wuffs_bmp__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
23093 if (status.repr) {
23122 if (status.repr) {
23141 if (status.repr) {
23302 if (status.repr) {
23418 if (status.repr) {
23496 } else if (v_status.repr != wuffs_bmp__note__internal_note_short_read) {
24678 x, sizeof(wuffs_cbor__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
25992 x, sizeof(wuffs_crc32__ieee_hasher), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
26689 x, sizeof(wuffs_deflate__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
26934 if (status.repr) {
26959 if (status.repr) {
27000 if (status.repr) {
28839 x, sizeof(wuffs_lzw__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
28960 if (status.repr) {
29479 if (z.repr) {
29499 x, sizeof(wuffs_gif__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
29573 if (status.repr) {
29578 if (status.repr) {
29587 if (status.repr) {
29982 if (status.repr) {
29995 if (status.repr) {
30007 if (status.repr) {
30139 if (status.repr) {
30207 if (status.repr) {
30217 if (status.repr) {
30222 if (status.repr) {
30314 if (status.repr) {
30330 if (status.repr) {
30682 if (status.repr) {
30696 if (status.repr) {
30710 if (status.repr) {
30996 if (status.repr) {
31649 if (status.repr) {
31654 } else if (v_lzw_status.repr == wuffs_base__suspension__short_read) {
31656 } else if (v_lzw_status.repr == wuffs_base__suspension__short_write) {
31677 if (status.repr) {
31922 if (z.repr) {
31929 if (z.repr) {
31949 x, sizeof(wuffs_gzip__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
32705 x, sizeof(wuffs_json__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
32873 if (status.repr) {
33523 if (status.repr) {
33706 if (status.repr) {
33727 if (status.repr) {
33760 if (status.repr) {
34526 if (status.repr) {
34690 x, sizeof(wuffs_nie__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
34994 if (status.repr) {
35090 if (status.repr) {
35120 } else if (v_status.repr != wuffs_nie__note__internal_note_short_read) {
35485 if (z.repr) {
35492 if (z.repr) {
35499 if (z.repr) {
35519 x, sizeof(wuffs_zlib__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
36283 if (z.repr) {
36290 if (z.repr) {
36310 x, sizeof(wuffs_png__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
38469 if (status.repr) {
38496 if (status.repr) {
38514 if (status.repr) {
38533 if (status.repr) {
38551 if (status.repr) {
38569 if (status.repr) {
38588 if (status.repr) {
38607 if (status.repr) {
38625 if (status.repr) {
40031 if (status.repr) {
40048 if (status.repr) {
40138 if (status.repr) {
40425 if (status.repr) {
40561 if (status.repr) {
40758 } else if (v_zlib_status.repr == wuffs_base__suspension__short_write) {
40764 } else if (v_zlib_status.repr != wuffs_base__suspension__short_read) {
41403 } else if (v_zlib_status.repr != wuffs_base__suspension__short_write) {
42103 x, sizeof(wuffs_tga__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
42654 if (status.repr) {
42796 if (status.repr) {
43335 x, sizeof(wuffs_wbmp__decoder), WUFFS_VERSION, WUFFS_INITIALIZE__ALREADY_ZEROED).repr) {
43554 if (status.repr) {
43684 if (status.repr) {
44239 if (status.repr == nullptr) {
44241 } else if (status.repr != wuffs_base__suspension__even_more_information) {
44242 if (status.repr != wuffs_base__suspension__short_write) {
44289 : repr(repr0) {}
44292 : repr(wuffs_base__make_slice_u32(ptr0, len0)) {}
44325 for (size_t i = 0; i < quirks.repr.len; i++) {
44326 dec->set_quirk_enabled(quirks.repr.ptr[i], true);
44353 if (tok_status.repr == nullptr) {
44355 } else if (tok_status.repr == wuffs_base__suspension__short_write) {
44357 } else if (tok_status.repr == wuffs_base__suspension__short_read) {
44805 : repr(repr0) {}
44808 : repr(wuffs_base__make_slice_u32(ptr0, len0)) {}
44815 DecodeImageArgFlags::DecodeImageArgFlags(uint64_t repr0) : repr(repr0) {}
44824 : repr(repr0) {}
44833 : repr(repr0) {}
44841 : repr(repr0) {}
44850 : repr(repr0) {}
44961 if (tmm_status.repr != nullptr) {
45025 if (id_dic_status.repr == nullptr) {
45027 } else if (id_dic_status.repr == wuffs_base__note__i_o_redirect) {
45033 } else if (id_dic_status.repr == wuffs_base__note__metadata_reported) {
45039 } else if (id_dic_status.repr != wuffs_base__suspension__short_read) {
45060 if (pixel_format.repr != image_config.pixcfg.pixel_format().repr) {
45061 switch (pixel_format.repr) {
45073 image_config.pixcfg.set(pixel_format.repr,
45089 if (pb_scufr_status.repr != nullptr) {
45110 if (id_dfc_status.repr == nullptr) {
45112 } else if (id_dfc_status.repr != wuffs_base__suspension__short_read) {
45137 if (id_df_status.repr == nullptr) {
45139 } else if (id_df_status.repr != wuffs_base__suspension__short_read) {
45180 DecodeImage0(image_decoder, callbacks, input, *io_buf, quirks.repr,
45181 flags.repr, pixel_blend.repr, background_color.repr,
45182 max_incl_dimension.repr, max_incl_metadata_length.repr);
45218 : repr(repr0) {}
45221 : repr(wuffs_base__make_slice_u32(ptr0, len0)) {}
45229 : repr(repr0) {}
45240 if (tok_status.repr == nullptr) { \
45242 } else if (tok_status.repr == wuffs_base__suspension__short_write) { \
45244 } else if (tok_status.repr == wuffs_base__suspension__short_read) { \
45570 for (size_t i = 0; i < quirks.repr.len; i++) {
45571 dec->set_quirk_enabled(quirks.repr.ptr[i], true);
45572 if (quirks.repr.ptr[i] ==
45591 for (size_t i = 0; i < json_pointer.repr.size();) {
45592 if (json_pointer.repr[i] != '/') {
45597 json_pointer.repr, i + 1, allow_tilde_n_tilde_r_tilde_t);
45758 ((depth == 0) && !json_pointer.repr.empty())) {