Lines Matching refs:val

913 					zval val;  in do_fetch()  local
921 fetch_value(stmt, &val, i++, NULL); in do_fetch()
922 if (Z_TYPE(val) != IS_NULL) { in do_fetch()
923 convert_to_string(&val); in do_fetch()
924 if ((cep = zend_lookup_class(Z_STR(val))) == NULL) { in do_fetch()
932 zval_dtor(&val); in do_fetch()
1013 zval val; in do_fetch() local
1014 fetch_value(stmt, &val, i, NULL); in do_fetch()
1018 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1026 if (Z_TYPE(val) == IS_LONG) { in do_fetch()
1027 …_index_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_LVAL(val), &tmp); in do_fetch()
1029 convert_to_string(&val); in do_fetch()
1030 …ymtable_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_STR(val), &tmp); in do_fetch()
1032 zval_ptr_dtor(&val); in do_fetch()
1039 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1040 if (Z_REFCOUNTED(val)) { in do_fetch()
1041 Z_ADDREF(val); in do_fetch()
1043 zend_hash_next_index_insert(Z_ARRVAL_P(return_value), &val); in do_fetch()
1073 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &val); in do_fetch()
1075 zend_hash_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1081 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &val); in do_fetch()
1088 &val); in do_fetch()
1089 zval_ptr_dtor(&val); in do_fetch()
1096 &val); in do_fetch()
1097 zval_ptr_dtor(&val); in do_fetch()
1103 …_unserialize(return_value, (const unsigned char**)&Z_STRVAL(val), Z_STRVAL(val)+Z_STRLEN(val), NUL… in do_fetch()
1111 zval_ptr_dtor(&val); in do_fetch()
1114 …value, ce, (unsigned char *)(Z_TYPE(val) == IS_STRING ? Z_STRVAL(val) : ""), Z_TYPE(val) == IS_STR… in do_fetch()
1115 zval_ptr_dtor(&val); in do_fetch()
1121 zval_ptr_dtor(&val); in do_fetch()
1127 ZVAL_COPY_VALUE(&stmt->fetch.func.values[idx], &val); in do_fetch()
1132 zval_ptr_dtor(&val); in do_fetch()
2567 zval val; in row_prop_exists() local
2569 fetch_value(stmt, &val, colno, NULL); in row_prop_exists()
2570 res = check_empty ? i_zend_is_true(&val) : Z_TYPE(val) != IS_NULL; in row_prop_exists()
2571 zval_dtor(&val); in row_prop_exists()
2610 zval val; in row_get_properties() local
2611 fetch_value(stmt, &val, i, NULL); in row_get_properties()
2613 zend_hash_update(stmt->std.properties, stmt->columns[i].name, &val); in row_get_properties()