Lines Matching refs:new_val
4831 if (!err && Z_TYPE(new_val) == IS_STRING && zend_string_equals_literal(Z_STR(new_val), "NULL")) { \
4834 zval_ptr_dtor(&new_val); \
4850 zval meta, *def, *type, *not_null, *has_default, *is_enum, *val, new_val; in php_pgsql_convert() local
4872 ZVAL_NULL(&new_val); in php_pgsql_convert()
4923 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
4931 ZVAL_STRINGL(&new_val, "'t'", sizeof("'t'")-1); in php_pgsql_convert()
4938 ZVAL_STRINGL(&new_val, "'f'", sizeof("'f'")-1); in php_pgsql_convert()
4949 ZVAL_STRINGL(&new_val, "'t'", sizeof("'t'")-1); in php_pgsql_convert()
4952 ZVAL_STRINGL(&new_val, "'f'", sizeof("'f'")-1); in php_pgsql_convert()
4957 ZVAL_STRINGL(&new_val, "'t'", sizeof("'t'")-1); in php_pgsql_convert()
4961 ZVAL_STRINGL(&new_val, "'f'", sizeof("'f'")-1); in php_pgsql_convert()
4965 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
4984 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
4992 ZVAL_STRINGL(&new_val, Z_STRVAL_P(val), Z_STRLEN_P(val)); in php_pgsql_convert()
4998 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
4999 convert_to_long(&new_val); in php_pgsql_convert()
5003 ZVAL_LONG(&new_val, Z_LVAL_P(val)); in php_pgsql_convert()
5007 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5026 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5034 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5038 ZVAL_STRING(&new_val, Z_STRVAL_P(val)); in php_pgsql_convert()
5044 ZVAL_LONG(&new_val, Z_LVAL_P(val)); in php_pgsql_convert()
5048 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5052 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5087 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5089 ZVAL_STRINGL(&new_val, "''", sizeof("''")-1); in php_pgsql_convert()
5098 ZVAL_STR(&new_val, php_pgsql_add_quotes(str)); in php_pgsql_convert()
5104 ZVAL_STR(&new_val, zend_long_to_str(Z_LVAL_P(val))); in php_pgsql_convert()
5108 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5109 convert_to_string(&new_val); in php_pgsql_convert()
5113 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5131 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5139 ZVAL_STRINGL(&new_val, Z_STRVAL_P(val), Z_STRLEN_P(val)); in php_pgsql_convert()
5140 convert_to_long(&new_val); in php_pgsql_convert()
5146 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5147 convert_to_long(&new_val); in php_pgsql_convert()
5151 ZVAL_LONG(&new_val, Z_LVAL_P(val)); in php_pgsql_convert()
5155 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5172 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5183 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5189 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5211 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5213 ZVAL_STRINGL(&new_val, "NOW()", sizeof("NOW()")-1); in php_pgsql_convert()
5219 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5225 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5241 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5249 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5255 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5271 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5279 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5285 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5301 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5326 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5332 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5347 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5358 ZVAL_STR(&new_val, php_pgsql_add_quotes(tmp_zstr)); in php_pgsql_convert()
5364 ZVAL_STR(&new_val, zend_long_to_str(Z_LVAL_P(val))); in php_pgsql_convert()
5368 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5369 convert_to_string(&new_val); in php_pgsql_convert()
5373 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5389 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5396 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5402 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5422 zval_ptr_dtor(&new_val); in php_pgsql_convert()
5428 zend_hash_update(Z_ARRVAL_P(result), field, &new_val); in php_pgsql_convert()
5431 add_assoc_zval(result, escaped, &new_val); in php_pgsql_convert()