/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | bug79664.phpt | 2 Bug #79664 (PDOStatement::getColumnMeta fails on empty result set)
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 224 …phpdbg_btree_result *result = phpdbg_btree_find_closest(&PHPDBG_G(watchpoint_tree), (zend_ulong) p… in phpdbg_check_for_watchpoint() local 226 if (result == NULL) { in phpdbg_check_for_watchpoint() 230 watch = result->ptr; in phpdbg_check_for_watchpoint() 1137 phpdbg_btree_result *result; local 1141 if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong) ptr))) { 1142 phpdbg_watchpoint_t *watch = result->ptr; 1161 …if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), HT_WATCH_OFFSET + (zend_ulong) ptr))) { 1162 phpdbg_watchpoint_t *watch = result->ptr;
|
H A D | phpdbg.c | 305 zend_bool result = 1; in PHP_FUNCTION() local 312 result = 0; in PHP_FUNCTION() 318 if (result) { in PHP_FUNCTION()
|
H A D | phpdbg_cmd.c | 732 int result; in phpdbg_stack_execute() local 733 if ((result = phpdbg_internal_stack_execute(top, allow_async_unsafe)) != SUCCESS) { in phpdbg_stack_execute() 734 return result; in phpdbg_stack_execute()
|
H A D | phpdbg_bp.c | 1161 goto result; in phpdbg_find_breakpoint() 1165 goto result; in phpdbg_find_breakpoint() 1173 goto result; in phpdbg_find_breakpoint() 1179 goto result; in phpdbg_find_breakpoint() 1183 goto result; in phpdbg_find_breakpoint() 1188 result: in phpdbg_find_breakpoint()
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | parse_ini_string_error.phpt | 2 Ini parsing errors should not result in memory leaks
|
/PHP-7.4/Zend/ |
H A D | zend_ini_parser.y | 67 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument 99 ZVAL_NEW_STR(result, zend_string_init(str_result, str_len, ZEND_SYSTEM_INI)); in zend_ini_do_op() 105 static void zend_ini_init_string(zval *result) in zend_ini_init_string() argument 108 ZVAL_EMPTY_PSTRING(result); in zend_ini_init_string() 110 ZVAL_EMPTY_STRING(result); in zend_ini_init_string() 117 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument 140 memcpy(Z_STRVAL_P(result) + op1_len, Z_STRVAL_P(op2), Z_STRLEN_P(op2) + 1); in zend_ini_add_string() 146 static void zend_ini_get_constant(zval *result, zval *name) in zend_ini_get_constant() argument 167 *result = *name; in zend_ini_get_constant() 174 static void zend_ini_get_var(zval *result, zval *name) in zend_ini_get_var() argument [all …]
|
H A D | zend_operators.h | 347 result = 1; in i_zend_is_true() 351 result = 1; in i_zend_is_true() 356 result = 1; in i_zend_is_true() 361 result = 1; in i_zend_is_true() 366 result = 1; in i_zend_is_true() 371 result = 1; in i_zend_is_true() 378 result = 1; in i_zend_is_true() 388 return result; in i_zend_is_true() 845 zval result; in fast_equal_check_function() local 869 zval result; in fast_equal_check_long() local [all …]
|
H A D | zend_opcode.c | 784 uint32_t var_num = EX_VAR_TO_NUM(opline->result.var) - var_offset; in zend_calc_live_ranges() 1036 …opline->result.var = (uint32_t)(zend_intptr_t)ZEND_CALL_VAR_NUM(NULL, op_array->last_var + opline-… in pass_two()
|
H A D | zend_ast.c | 515 ret = op(result, &op1); in zend_ast_evaluate() 523 ZVAL_COPY(result, zv); in zend_ast_evaluate() 532 ZVAL_UNDEF(result); in zend_ast_evaluate() 536 ZVAL_COPY_OR_DUP(result, zv); in zend_ast_evaluate() 543 ZVAL_EMPTY_STRING(result); in zend_ast_evaluate() 578 ZVAL_FALSE(result); in zend_ast_evaluate() 588 ZVAL_TRUE(result); in zend_ast_evaluate() 607 *result = op1; in zend_ast_evaluate() 631 *result = op1; in zend_ast_evaluate() 665 ZVAL_EMPTY_ARRAY(result); in zend_ast_evaluate() [all …]
|
/PHP-7.4/ext/pgsql/ |
H A D | php_pgsql.h | 213 …convert(PGconn *pg_link, const char *table_name, const zval *values, zval *result, zend_ulong opt); 289 PGresult *result; member
|
/PHP-7.4/ext/spl/ |
H A D | spl_observer.c | 347 zval result; in spl_object_storage_compare_info() local 349 if (compare_function(&result, &s1->inf, &s2->inf) == FAILURE) { in spl_object_storage_compare_info() 353 return ZEND_NORMALIZE_BOOL(Z_LVAL(result)); in spl_object_storage_compare_info()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | dfa_pass.c | 288 opline_num = &op_array->opcodes[*opline_num].result.opline_num; in zend_ssa_remove_nops() 1209 op_array->opcodes[op_2].result.var = opline->op1.var; in zend_dfa_optimize_op_array() 1237 opline->result.var = opline->op1.var; in zend_dfa_optimize_op_array() 1293 opline->result.var = opline->op1.var; in zend_dfa_optimize_op_array()
|
/PHP-7.4/ext/iconv/ |
H A D | iconv.c | 542 size_t result; in php_iconv_string() local 570 if (result == (size_t)(-1)) { in php_iconv_string() 584 result = iconv(cd, NULL, NULL, &out_p, &out_left); in php_iconv_string() 586 if (result == (size_t)(-1)) { in php_iconv_string() 606 size_t bsz, result = 0; in php_iconv_string() 632 if (result == (size_t)(-1)) { in php_iconv_string() 635 result = 0; in php_iconv_string() 658 if (result != (size_t)(-1)) { in php_iconv_string() 661 result = iconv(cd, NULL, NULL, (char **) &out_p, &out_left); in php_iconv_string() 664 if (result != (size_t)(-1)) { in php_iconv_string() [all …]
|
/PHP-7.4/ext/mbstring/ |
H A D | php_unicode.c | 96 int result = 0; in php_unicode_is_prop() local 107 result = 1; in php_unicode_is_prop() 113 return result; in php_unicode_is_prop() 389 mbfl_string result, *result_ptr; in php_unicode_convert_case() local 436 result_ptr = mbfl_memory_device_result(&device, &result); in php_unicode_convert_case() 444 *ret_len = result.len; in php_unicode_convert_case() 445 return (char *) result.val; in php_unicode_convert_case()
|
/PHP-7.4/win32/ |
H A D | ioutil.c | 265 int result = -1; in php_win32_ioutil_close() local 269 return result; in php_win32_ioutil_close() 273 result = _close(fd); in php_win32_ioutil_close() 275 result = 0; in php_win32_ioutil_close() 281 if (result == -1) { in php_win32_ioutil_close() 285 return result; in php_win32_ioutil_close()
|
/PHP-7.4/ext/xsl/ |
H A D | xsltprocessor.c | 182 int result, i; in xsl_ext_function_php() local 336 result = zend_call_function(&fci, NULL); in xsl_ext_function_php() 337 if (result == FAILURE) { in xsl_ext_function_php()
|
/PHP-7.4/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 246 int32_t result = (co->ucal->*func)( in _php_intlcal_field_uec_ret_in32t_method() local 250 RETURN_LONG((zend_long)result); in _php_intlcal_field_uec_ret_in32t_method() 276 RETURN_DOUBLE((double)result); in PHP_FUNCTION() 581 int32_t result = co->ucal->fieldDifference((UDate)when, in PHP_FUNCTION() local 586 RETURN_LONG((zend_long)result); in PHP_FUNCTION() 621 int32_t result = co->ucal->getDayOfWeekType( in PHP_FUNCTION() local 626 RETURN_LONG((zend_long)result); in PHP_FUNCTION() 646 RETURN_LONG((zend_long)result); in PHP_FUNCTION() 678 RETURN_LONG((zend_long)result); in _php_intlcal_field_ret_in32t_method() 744 RETURN_LONG((zend_long)result); in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | head.c | 83 int result; in php_setcookie() local 184 result = sapi_header_op(SAPI_HEADER_ADD, &ctr); in php_setcookie() 186 return result; in php_setcookie()
|
H A D | password.c | 259 zend_string *result, *hash, *salt; in php_password_bcrypt_hash() local 285 …result = php_crypt(ZSTR_VAL(password), (int)ZSTR_LEN(password), ZSTR_VAL(hash), (int)ZSTR_LEN(hash… in php_password_bcrypt_hash() 288 if (!result) { in php_password_bcrypt_hash() 292 if (ZSTR_LEN(result) < 13) { in php_password_bcrypt_hash() 293 zend_string_free(result); in php_password_bcrypt_hash() 297 return result; in php_password_bcrypt_hash()
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli_warning.c | 76 MYSQL_RES *result; in php_get_warnings() local 83 result = mysql_store_result(mysql); in php_get_warnings() 85 while ((row = mysql_fetch_row(result))) { in php_get_warnings() 95 mysql_free_result(result); in php_get_warnings() 123 MYSQL_RES *result; in php_get_warnings() local 130 result = mysql->m->use_result(mysql, 0); in php_get_warnings() 136 mysqlnd_fetch_into(result, MYSQLND_FETCH_NUM, &row, MYSQLND_MYSQLI); in php_get_warnings() 170 mysql_free_result(result); in php_get_warnings()
|
/PHP-7.4/ext/curl/ |
H A D | multi.c | 361 add_assoc_long(return_value, "result", tmp_msg->data.result); in PHP_FUNCTION() 378 SAVE_CURL_ERROR(ch, tmp_msg->data.result); in PHP_FUNCTION()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_structs.h | 296 typedef enum_func_status (*mysqlnd_fetch_row_func)(MYSQLND_RES *result, 649 typedef MYSQLND_ROW_C (*func_mysqlnd_res__fetch_row_c)(MYSQLND_RES *result); 652 typedef uint64_t (*func_mysqlnd_res__num_rows)(const MYSQLND_RES * const result); 653 typedef unsigned int (*func_mysqlnd_res__num_fields)(const MYSQLND_RES * const result); 654 typedef enum_func_status (*func_mysqlnd_res__skip_result)(MYSQLND_RES * const result); 658 typedef const MYSQLND_FIELD *(*func_mysqlnd_res__fetch_field)(MYSQLND_RES * const result); 668 typedef void (*func_mysqlnd_res__free_result_internal)(MYSQLND_RES *result); 669 typedef void (*func_mysqlnd_res__free_result_contents)(MYSQLND_RES *result); 670 typedef void (*func_mysqlnd_res__free_buffered_data)(MYSQLND_RES *result); 671 typedef void (*func_mysqlnd_res__unbuffered_free_last_data)(MYSQLND_RES *result); [all …]
|
H A D | mysqlnd_wireprotocol.h | 287 uint8_t result; member
|
/PHP-7.4/Zend/tests/ |
H A D | assign_ref_func_leak.phpt | 2 Assigning the result of a non-reference function by-reference should not leak
|