Lines Matching refs:new_val
4804 if (!err && Z_TYPE(new_val) == IS_STRING && zend_string_equals_literal(Z_STR(new_val), "NULL")) { \
4807 zval_ptr_dtor(&new_val); \
4823 zval meta, *def, *type, *not_null, *has_default, *is_enum, *val, new_val; in php_pgsql_convert() local
4845 ZVAL_NULL(&new_val); in php_pgsql_convert()
4896 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
4904 ZVAL_STRINGL(&new_val, "'t'", sizeof("'t'")-1); in php_pgsql_convert()
4911 ZVAL_STRINGL(&new_val, "'f'", sizeof("'f'")-1); in php_pgsql_convert()
4922 ZVAL_STRINGL(&new_val, "'t'", sizeof("'t'")-1); in php_pgsql_convert()
4925 ZVAL_STRINGL(&new_val, "'f'", sizeof("'f'")-1); in php_pgsql_convert()
4930 ZVAL_STRINGL(&new_val, "'t'", sizeof("'t'")-1); in php_pgsql_convert()
4934 ZVAL_STRINGL(&new_val, "'f'", sizeof("'f'")-1); in php_pgsql_convert()
4938 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
4957 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
4965 ZVAL_STRINGL(&new_val, Z_STRVAL_P(val), Z_STRLEN_P(val)); in php_pgsql_convert()
4971 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
4972 convert_to_long(&new_val); in php_pgsql_convert()
4976 ZVAL_LONG(&new_val, Z_LVAL_P(val)); in php_pgsql_convert()
4980 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
4999 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5007 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5011 ZVAL_STRING(&new_val, Z_STRVAL_P(val)); in php_pgsql_convert()
5017 ZVAL_LONG(&new_val, Z_LVAL_P(val)); in php_pgsql_convert()
5021 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5025 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5060 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5062 ZVAL_STRINGL(&new_val, "''", sizeof("''")-1); in php_pgsql_convert()
5071 ZVAL_STR(&new_val, php_pgsql_add_quotes(str)); in php_pgsql_convert()
5077 ZVAL_STR(&new_val, zend_long_to_str(Z_LVAL_P(val))); in php_pgsql_convert()
5081 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5082 convert_to_string(&new_val); in php_pgsql_convert()
5086 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5104 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5112 ZVAL_STRINGL(&new_val, Z_STRVAL_P(val), Z_STRLEN_P(val)); in php_pgsql_convert()
5113 convert_to_long(&new_val); in php_pgsql_convert()
5119 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5120 convert_to_long(&new_val); in php_pgsql_convert()
5124 ZVAL_LONG(&new_val, Z_LVAL_P(val)); in php_pgsql_convert()
5128 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5145 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5156 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5162 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5184 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5186 ZVAL_STRINGL(&new_val, "NOW()", sizeof("NOW()")-1); in php_pgsql_convert()
5192 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5198 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5214 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5222 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5228 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5244 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5252 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5258 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5274 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5299 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5305 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5320 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5331 ZVAL_STR(&new_val, php_pgsql_add_quotes(tmp_zstr)); in php_pgsql_convert()
5337 ZVAL_STR(&new_val, zend_long_to_str(Z_LVAL_P(val))); in php_pgsql_convert()
5341 ZVAL_DOUBLE(&new_val, Z_DVAL_P(val)); in php_pgsql_convert()
5342 convert_to_string(&new_val); in php_pgsql_convert()
5346 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5362 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5369 ZVAL_STR(&new_val, php_pgsql_add_quotes(Z_STR_P(val))); in php_pgsql_convert()
5375 ZVAL_STR(&new_val, ZSTR_KNOWN(ZEND_STR_NULL)); in php_pgsql_convert()
5395 zval_ptr_dtor(&new_val); in php_pgsql_convert()
5401 zend_hash_update(Z_ARRVAL_P(result), field, &new_val); in php_pgsql_convert()
5404 add_assoc_zval(result, escaped, &new_val); in php_pgsql_convert()