Lines Matching refs:val

921 					zval val;  in do_fetch()  local
929 fetch_value(stmt, &val, i++, NULL); in do_fetch()
930 if (Z_TYPE(val) != IS_NULL) { in do_fetch()
931 convert_to_string(&val); in do_fetch()
932 if ((cep = zend_lookup_class(Z_STR(val))) == NULL) { in do_fetch()
940 zval_dtor(&val); in do_fetch()
1021 zval val; in do_fetch() local
1022 fetch_value(stmt, &val, i, NULL); in do_fetch()
1026 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1034 if (Z_TYPE(val) == IS_LONG) { in do_fetch()
1035 …_index_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_LVAL(val), &tmp); in do_fetch()
1037 convert_to_string(&val); in do_fetch()
1038 …ymtable_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_STR(val), &tmp); in do_fetch()
1040 zval_ptr_dtor(&val); in do_fetch()
1047 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1048 if (Z_REFCOUNTED(val)) { in do_fetch()
1049 Z_ADDREF(val); in do_fetch()
1051 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &val); in do_fetch()
1081 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &val); in do_fetch()
1083 zend_hash_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1089 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &val); in do_fetch()
1096 &val); in do_fetch()
1097 zval_ptr_dtor(&val); in do_fetch()
1104 &val); in do_fetch()
1105 zval_ptr_dtor(&val); in do_fetch()
1111 …_unserialize(return_value, (const unsigned char**)&Z_STRVAL(val), Z_STRVAL(val)+Z_STRLEN(val), NUL… in do_fetch()
1119 zval_ptr_dtor(&val); in do_fetch()
1122 …value, ce, (unsigned char *)(Z_TYPE(val) == IS_STRING ? Z_STRVAL(val) : ""), Z_TYPE(val) == IS_STR… in do_fetch()
1123 zval_ptr_dtor(&val); in do_fetch()
1129 zval_ptr_dtor(&val); in do_fetch()
1135 ZVAL_COPY_VALUE(&stmt->fetch.func.values[idx], &val); in do_fetch()
1140 zval_ptr_dtor(&val); in do_fetch()
2572 zval val; in row_prop_exists() local
2574 fetch_value(stmt, &val, colno, NULL); in row_prop_exists()
2575 res = check_empty ? i_zend_is_true(&val) : Z_TYPE(val) != IS_NULL; in row_prop_exists()
2576 zval_dtor(&val); in row_prop_exists()
2615 zval val; in row_get_properties() local
2616 fetch_value(stmt, &val, i, NULL); in row_get_properties()
2618 zend_hash_update(stmt->std.properties, stmt->columns[i].name, &val); in row_get_properties()