Lines Matching refs:value
350 // WUFFS_INITIALIZE__ALREADY_ZEROED means that the "self" receiver struct value
356 // value will be set to all zeroes. Internal buffers, which tend to be a large
539 // WUFFS_BASE__RESULT is a result type: either a status (an error) or a value.
545 T value; \
987 // wuffs_base__multiply_u64 returns x*y as a 128-bit value.
1400 // A value with all fields NULL or zero is a valid, empty slice.
1412 // A value with all fields NULL or zero is a valid, empty table.
1693 // It returns a positive FourCC value on success.
1697 // It returns a negative value if prefix_closed is false and a longer prefix is
2793 // A value with all fields zero is a valid, empty buffer.
3067 inline int64_t value() const;
3220 // negative value means an extended token, non-negative means a simple token.
3226 // wuffs_base__token__value_extension returns a negative value if the token was
3233 // wuffs_base__token__value_major returns a negative value if the token was not
3240 // wuffs_base__token__value_base_category returns a negative value if the token
3279 wuffs_base__token::value() const {
3359 // A value with all fields zero is a valid, empty buffer.
3638 // Alpha, Red, Green, Blue color, as a uint32_t value. Its value is always
3645 // value like 0x7F80_0000 is invalid.
3688 // shift by 24, not just by 16, because the return value is 8-bit color, not
4614 // this value be false: a false negative.
5280 // precision numerical value and its IEEE 754 representations:
5295 // the largest finite f16 number. Truncating a f64-typed value d to f32 does
5307 uint16_t value;
5312 uint32_t value;
5387 // Similarly, the returned value may be infinite (and no error returned) even
10593 // Common formats will have a FourCC value in the range [1 ..= 0x7FFF_FFFF],
10594 // such as WUFFS_BASE__FOURCC__JPEG. A zero FourCC value means that Wuffs'
10608 // of the ETC file format is optional (for each value of ETC) and depends on
10848 // wuffs_base__color_u32_argb_premul__is_valid sense. The default value,
10849 // 0x0000_0001, is not valid since its Blue channel value (0x01) is greater
10850 // than its Alpha channel value (0x00). A valid background_color will typically
10999 // Its (non-zero) value is arbitrary, based on md5sum("wuffs").
11005 // Its (non-zero) value is arbitrary, based on md5sum("disabled").
11064 // The return value r satisfies ((0 <= r) && (r <= total_len)).
13111 ret.value = neg | 0x7C00;
13117 // bits of ret.value so that the 10-bit mantissa is non-zero.
13119 ret.value = neg | 0x7DFF | ((uint16_t)(man >> 42));
13125 ret.value = neg | 0x7BFF;
13131 ret.value = neg;
13142 ret.value = neg | ((uint16_t)shifted_man);
13156 ret.value = neg | ((uint16_t)exp) | ((uint16_t)(man >> 42));
13175 ret.value = neg | 0x7F800000;
13181 // bits of ret.value so that the 23-bit mantissa is non-zero.
13183 ret.value = neg | 0x7FBFFFFF | ((uint32_t)(man >> 29));
13189 ret.value = neg | 0x7F7FFFFF;
13195 ret.value = neg;
13206 ret.value = neg | ((uint32_t)shifted_man);
13220 ret.value = neg | ((uint32_t)exp) | ((uint32_t)(man >> 29));
13251 // is the ASCII value 0x37.
13267 // As above, a decimal_point higher than +2047 means that the overall value is
13277 // The "all fields are zero" value is valid, and represents the number +0.
13655 // number (where 'x' is 'l' or 'r' for left or right) by a small shift value.
13954 // This is a state machine with three states. The numerical value for each
14041 // the IEEE 754 double-precision value for an exact mantissa and base-10
14050 // On failure, it returns a negative value.
14083 // Calculate the return value's base-2 exponent. We might tweak it by ±1
14084 // later, but its initial value comes from a linear scaling of exp10,
14094 // Equality of the linearly-scaled value and the actual power-of-2, over the
14324 ret.value = wuffs_base__ieee_754_bit_representation__from_u64_to_f64(
14334 ret.value = 0;
14380 ret.value = wuffs_base__ieee_754_bit_representation__from_u64_to_f64(
14392 // far, ending with a value certainly below 1 and possibly below ½...
14478 ret.value = wuffs_base__ieee_754_bit_representation__from_u64_to_f64(bits);
14488 ret.value = wuffs_base__ieee_754_bit_representation__from_u64_to_f64(bits);
14497 ret.value = 0;
14505 ret.value = wuffs_base__ieee_754_bit_representation__from_u64_to_f64(bits);
14701 ret.value = negative ? -d : +d;
14721 ret.value = wuffs_base__ieee_754_bit_representation__from_u64_to_f64(
15048 // and (0x80 | v) for valid digits, where v is the 4 bit value.
15167 ret.value = 0;
15170 if (r.value < 0x8000000000000000) {
15173 ret.value = -(int64_t)(r.value);
15175 } else if (r.value == 0x8000000000000000) {
15178 ret.value = INT64_MIN;
15182 } else if (r.value > 0x7FFFFFFFFFFFFFFF) {
15187 ret.value = +(int64_t)(r.value);
15196 ret.value = 0;
15204 ret.value = 0;
15300 ret.value = v;
15330 ret.value = v;
15338 ret.value = 0;
15346 ret.value = 0;
15354 ret.value = 0;
16061 // value starts with the length-minus-1 of the 'magic number'.
44001 // round_up rounds min_incl up, returning the smallest value x satisfying
45385 // 2. Otherwise, skip the next dict value.
45474 uint64_t remaining = result_u64.value;
45698 ret_error_message = callbacks.AppendI64(r.value);
45708 ret_error_message = callbacks.AppendF64(r.value);
45744 // after parsing a value is equivalent to having decoded the entire JSON
45745 // value (for an empty json_pointer query) or having decoded the
45746 // pointed-to JSON value (for a non-empty json_pointer query). In the
45751 // the entire JSON value should also consume any trailing filler, in case