Lines Matching refs:field
86 ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_le… in ps_fetch_from_1_to_8_bytes() argument
93 bool is_bit = field->type == MYSQL_TYPE_BIT; in ps_fetch_from_1_to_8_bytes()
96 if (field->flags & UNSIGNED_FLAG) { in ps_fetch_from_1_to_8_bytes()
110 if (field->flags & ZEROFILL_FLAG) { in ps_fetch_from_1_to_8_bytes()
112 ZVAL_STR(zv, zend_strpprintf(0, "%0*" PRIu64, (int) field->length, uval)); in ps_fetch_from_1_to_8_bytes()
162 ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_… in ps_fetch_null() argument
171 ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend… in ps_fetch_int8() argument
173 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 1); in ps_fetch_int8()
180 ps_fetch_int16(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zen… in ps_fetch_int16() argument
182 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 2); in ps_fetch_int16()
189 ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zen… in ps_fetch_int32() argument
191 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 4); in ps_fetch_int32()
198 ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zen… in ps_fetch_int64() argument
200 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 8); in ps_fetch_int64()
207 ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zen… in ps_fetch_float() argument
225 dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : (int)field->decimals); in ps_fetch_float()
235 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const ze… in ps_fetch_double() argument
255 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend… in ps_fetch_time() argument
290 if (field->decimals > 0 && field->decimals < 7) { in ps_fetch_time()
292 (t.neg ? "-" : ""), t.hour, t.minute, t.second, field->decimals, in ps_fetch_time()
293 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)))); in ps_fetch_time()
305 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend… in ps_fetch_date() argument
342 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const … in ps_fetch_datetime() argument
378 if (field->decimals > 0 && field->decimals < 7) { in ps_fetch_datetime()
380 t.year, t.month, t.day, t.hour, t.minute, t.second, field->decimals, in ps_fetch_datetime()
381 (uint32_t) (t.second_part / pow(10, 6 - field->decimals)))); in ps_fetch_datetime()
393 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const ze… in ps_fetch_string() argument
413 ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_… in ps_fetch_bit() argument
420 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, length); in ps_fetch_bit()