Lines Matching refs:uval
62 uint64_t uval = 0; in ps_fetch_from_1_to_8_bytes() local
65 case 8:uval = is_bit? (uint64_t) bit_uint8korr(*row):(uint64_t) uint8korr(*row);break; in ps_fetch_from_1_to_8_bytes()
66 case 7:uval = bit_uint7korr(*row);break; in ps_fetch_from_1_to_8_bytes()
67 case 6:uval = bit_uint6korr(*row);break; in ps_fetch_from_1_to_8_bytes()
68 case 5:uval = bit_uint5korr(*row);break; in ps_fetch_from_1_to_8_bytes()
69 case 4:uval = is_bit? (uint64_t) bit_uint4korr(*row):(uint64_t) uint4korr(*row);break; in ps_fetch_from_1_to_8_bytes()
70 case 3:uval = is_bit? (uint64_t) bit_uint3korr(*row):(uint64_t) uint3korr(*row);break; in ps_fetch_from_1_to_8_bytes()
71 case 2:uval = is_bit? (uint64_t) bit_uint2korr(*row):(uint64_t) uint2korr(*row);break; in ps_fetch_from_1_to_8_bytes()
72 case 1:uval = (uint64_t) uint1korr(*row);break; in ps_fetch_from_1_to_8_bytes()
77 ZVAL_STR(zv, zend_strpprintf(0, "%0*" PRIu64, (int) field->length, uval)); in ps_fetch_from_1_to_8_bytes()
80 if (uval > INT_MAX) { in ps_fetch_from_1_to_8_bytes()
82 ZVAL_STR(zv, zend_u64_to_str(uval)); in ps_fetch_from_1_to_8_bytes()
86 if (byte_count < 8 || uval <= L64(9223372036854775807)) { in ps_fetch_from_1_to_8_bytes()
87 ZVAL_LONG(zv, (zend_long) uval); /* the cast is safe, we are in the range */ in ps_fetch_from_1_to_8_bytes()
90 ZVAL_STR(zv, zend_u64_to_str(uval)); in ps_fetch_from_1_to_8_bytes()