Lines Matching refs:zv

58 ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len,  in ps_fetch_from_1_to_8_bytes()  argument
65 DBG_INF_FMT("zv=%p byte_count=%u", zv, byte_count); in ps_fetch_from_1_to_8_bytes()
88 ZVAL_LONG(zv, (long) uval); /* the cast is safe, we are in the range */ in ps_fetch_from_1_to_8_bytes()
116 ZVAL_LONG(zv, (long) lval); /* the cast is safe, we are in the range */ in ps_fetch_from_1_to_8_bytes()
121 ZVAL_STRINGL(zv, tmp, tmp_len, 1); in ps_fetch_from_1_to_8_bytes()
131 ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row… in ps_fetch_null() argument
133 ZVAL_NULL(zv); in ps_fetch_null()
140 ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** ro… in ps_fetch_int8() argument
142 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 1 TSRMLS_CC); in ps_fetch_int8()
149 ps_fetch_int16(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** r… in ps_fetch_int16() argument
151 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 2 TSRMLS_CC); in ps_fetch_int16()
158 ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** r… in ps_fetch_int32() argument
160 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 4 TSRMLS_CC); in ps_fetch_int32()
167 ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** r… in ps_fetch_int64() argument
169 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 8 TSRMLS_CC); in ps_fetch_int64()
176 ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** r… in ps_fetch_float() argument
191 ZVAL_DOUBLE(zv, dval); in ps_fetch_float()
199 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** … in ps_fetch_double() argument
204 ZVAL_DOUBLE(zv, value); in ps_fetch_double()
214 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** ro… in ps_fetch_time() argument
248 ZVAL_STRINGL(zv, value, length, 1); in ps_fetch_time()
257 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** ro… in ps_fetch_date() argument
285 ZVAL_STRINGL(zv, value, length, 1); in ps_fetch_date()
294 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar *… in ps_fetch_datetime() argument
329 ZVAL_STRINGL(zv, value, length, 1); in ps_fetch_datetime()
338 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** … in ps_fetch_string() argument
348 ZVAL_STRINGL(zv, (char *)*row, length, 1); in ps_fetch_string()
358 ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row… in ps_fetch_bit() argument
361 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, length TSRMLS_CC); in ps_fetch_bit()
582 …if (Z_TYPE_P(stmt->param_bind[i].zv) != IS_NULL && (current_type == MYSQL_TYPE_LONG || current_typ… in mysqlnd_stmt_execute_store_params()
584 if (Z_TYPE_P(stmt->param_bind[i].zv) != IS_LONG && in mysqlnd_stmt_execute_store_params()
585 PASS != mysqlnd_stmt_copy_it(&copies, stmt->param_bind[i].zv, stmt->param_count, i TSRMLS_CC)) in mysqlnd_stmt_execute_store_params()
594 if (Z_TYPE_P(stmt->param_bind[i].zv) != IS_LONG) { in mysqlnd_stmt_execute_store_params()
595 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
656 …if (Z_TYPE_P(stmt->param_bind[i].zv) != IS_NULL && (current_type == MYSQL_TYPE_LONG || current_typ… in mysqlnd_stmt_execute_store_params()
661 if (Z_TYPE_P(stmt->param_bind[i].zv) != IS_LONG) { in mysqlnd_stmt_execute_store_params()
662 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
688 zval *the_var = stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
694 if (stmt->param_bind[j].zv == the_var) { in mysqlnd_stmt_execute_store_params()
720 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
730 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
793 zval *data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
795 if (stmt->param_bind[i].zv && Z_TYPE_P(data) == IS_NULL) { in mysqlnd_stmt_execute_store_params()