/PHP-5.5/ |
H A D | README.STREAMS | 180 PHPAPI int php_stream_cast(php_stream * stream, int castas, void ** ret, int 248 php_stream * ret; 251 ret = php_stream_alloc(&php_stream_stdio_ops, fp, 0, 0, mode); 252 if (ret) 253 return ret;
|
/PHP-5.5/TSRM/ |
H A D | tsrm_virtual_cwd.c | 1158 int ret; in virtual_file_ex() local 1332 ret = 1; in virtual_file_ex() 1335 ret = 0; in virtual_file_ex() 1349 ret = 0; in virtual_file_ex() 1491 int ret; in virtual_access() local 1507 return ret; in virtual_access() 1564 int ret; in virtual_utime() local 1579 return ret; in virtual_utime() 1587 int ret; in virtual_chmod() local 1606 int ret; in virtual_chown() local [all …]
|
H A D | tsrm_win32.c | 718 int ret = GetFullPathName(orig_path, _MAX_PATH, buffer, NULL); in realpath() local 719 if(!ret || ret > _MAX_PATH) { in realpath()
|
/PHP-5.5/Zend/tests/ |
H A D | bug38779.phpt | 15 $ret = substr($this->data, $this->position, $count); 16 $this->position += strlen($ret); 17 return $ret;
|
H A D | bug38779_1.phpt | 15 $ret = substr($this->data, $this->position, $count); 16 $this->position += strlen($ret); 17 return $ret;
|
H A D | try_catch_finally_007.phpt | 7 function foo($ret = FALSE) { 24 if ($ret) return "return";
|
/PHP-5.5/Zend/ |
H A D | zend_API.c | 719 int ret; in zend_parse_parameter() local 726 return ret; in zend_parse_parameter() 2578 int ret; in zend_register_class_alias_ex() local 2590 return ret; in zend_register_class_alias_ex() 2691 ret = 1; in zend_is_callable_check_class() 2706 ret = 1; in zend_is_callable_check_class() 2719 ret = 1; in zend_is_callable_check_class() 2734 ret = 1; in zend_is_callable_check_class() 2739 return ret; in zend_is_callable_check_class() 3365 int ret; in zend_fcall_info_argn() local [all …]
|
H A D | zend_API.h | 350 #define WRONG_PARAM_COUNT_WITH_RETVAL(ret) ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret) argument 354 #define ZEND_WRONG_PARAM_COUNT_WITH_RETVAL(ret) { zend_wrong_param_count(TSRMLS_C); return ret; } argument
|
H A D | zend_alloc.c | 155 zend_mm_segment *ret; in zend_mm_mem_mmap_realloc() local 163 if (ret == MAP_FAILED) { in zend_mm_mem_mmap_realloc() 166 if (ret) { in zend_mm_mem_mmap_realloc() 173 return ret; in zend_mm_mem_mmap_realloc() 188 if (ret == MAP_FAILED) { in zend_mm_mem_mmap_anon_alloc() 189 ret = NULL; in zend_mm_mem_mmap_anon_alloc() 191 return ret; in zend_mm_mem_mmap_anon_alloc() 223 if (ret == MAP_FAILED) { in zend_mm_mem_mmap_zero_alloc() 224 ret = NULL; in zend_mm_mem_mmap_zero_alloc() 226 return ret; in zend_mm_mem_mmap_zero_alloc() [all …]
|
H A D | zend_builtin_functions.c | 1031 int ret = memcmp(lcname, key, name_len) == 0; in same_name() local 1033 return ret; in same_name()
|
H A D | zend_compile.c | 381 int ret; in zend_add_func_name_literal() local 390 ret = op_array->last_literal - 1; in zend_add_func_name_literal() 400 return ret; in zend_add_func_name_literal() 406 int ret; in zend_add_ns_func_name_literal() local 434 return ret; in zend_add_ns_func_name_literal() 440 int ret; in zend_add_class_name_literal() local 466 GET_CACHE_SLOT(ret); in zend_add_class_name_literal() 468 return ret; in zend_add_class_name_literal() 474 int ret, tmp_literal; in zend_add_const_name_literal() local 521 return ret; in zend_add_const_name_literal() [all …]
|
H A D | zend_constants.c | 229 int ret; in zend_get_special_constant() local 277 ret = zend_hash_find(EG(zend_constants), haltname, len+1, (void **) c); in zend_get_special_constant() 279 return (ret == SUCCESS); in zend_get_special_constant() 487 int ret = SUCCESS; in zend_register_constant() local 533 ret = FAILURE; in zend_register_constant() 538 return ret; in zend_register_constant()
|
H A D | zend_execute.h | 227 void *ret; in zend_vm_stack_alloc() local 249 ret = (void*)EG(argument_stack)->top; in zend_vm_stack_alloc() 251 return ret; in zend_vm_stack_alloc()
|
H A D | zend_execute_API.c | 561 int ret; in zval_update_constant_ex() local 634 …ret = zend_symtable_update_current_key(Z_ARRVAL_P(p), Z_STRVAL(const_value), Z_STRLEN(const_value)… in zval_update_constant_ex() 638 …ret = zend_hash_update_current_key_ex(Z_ARRVAL_P(p), HASH_KEY_IS_LONG, NULL, 0, Z_LVAL(const_value… in zval_update_constant_ex() 641 …ret = zend_hash_update_current_key_ex(Z_ARRVAL_P(p), HASH_KEY_IS_LONG, NULL, 0, zend_dval_to_lval(… in zval_update_constant_ex() 644 …ret = zend_hash_update_current_key_ex(Z_ARRVAL_P(p), HASH_KEY_IS_STRING, "", 1, 0, HASH_UPDATE_KEY… in zval_update_constant_ex() 647 ret = SUCCESS; in zval_update_constant_ex() 650 if (ret == SUCCESS) { in zval_update_constant_ex()
|
H A D | zend_operators.c | 1471 int ret; in compare_function() local 1558 ret = compare_function(result, op_free, op2 TSRMLS_CC); in compare_function() 1560 return ret; in compare_function() 1568 ret = compare_function(result, op_free, op2 TSRMLS_CC); in compare_function() 1570 return ret; in compare_function() 1576 ret = compare_function(result, op1, op_free TSRMLS_CC); in compare_function() 1578 return ret; in compare_function() 1586 ret = compare_function(result, op1, op_free TSRMLS_CC); in compare_function() 1588 return ret; in compare_function()
|
H A D | zend_strtod.c | 1906 goto ret; in zend_dtoa() 1911 goto ret; in zend_dtoa() 1944 goto ret; in zend_dtoa() 2009 ret: in zend_dtoa() 2069 goto ret; in zend_strtod() 2076 goto ret; in zend_strtod() 2122 goto ret; in zend_strtod() 2159 goto ret; in zend_strtod() 2181 goto ret; in zend_strtod() 2222 goto ret; in zend_strtod() [all …]
|
H A D | zend_vm_def.h | 1984 ret->var.ptr_ptr = &ret->var.ptr; in ZEND_VM_HELPER() 2009 ret->var.ptr_ptr = &ret->var.ptr; in ZEND_VM_HELPER() 2110 int ret; variable 2124 if (!ret) { 2140 int ret; variable 2154 if (ret) { 2850 zval *ret; variable 2860 zval *ret; variable 2893 zval *ret; variable 2900 zval *ret; variable [all …]
|
H A D | zend_vm_execute.h | 356 int ret; in execute_ex() local 545 ret->var.ptr_ptr = &ret->var.ptr; in zend_do_fcall_common_helper_SPEC() 570 ret->var.ptr_ptr = &ret->var.ptr; in zend_do_fcall_common_helper_SPEC() 1103 int ret; in ZEND_USER_OPCODE_SPEC_HANDLER() local 2164 int ret; in ZEND_JMPZ_SPEC_CONST_HANDLER() local 2194 int ret; in ZEND_JMPNZ_SPEC_CONST_HANDLER() local 2208 if (ret) { in ZEND_JMPNZ_SPEC_CONST_HANDLER() 7484 int ret; in ZEND_JMPZ_SPEC_TMP_HANDLER() local 7514 int ret; in ZEND_JMPNZ_SPEC_TMP_HANDLER() local 12689 int ret; in ZEND_JMPZ_SPEC_VAR_HANDLER() local [all …]
|
/PHP-5.5/ext/bz2/ |
H A D | bz2.c | 165 int ret = EOF; in php_bz2iop_close() local 177 return ret; in php_bz2iop_close()
|
/PHP-5.5/ext/calendar/ |
H A D | calendar.c | 263 static void _php_cal_info(int cal, zval **ret) in _php_cal_info() argument 270 array_init(*ret); in _php_cal_info() 281 add_assoc_zval(*ret, "months", months); in _php_cal_info() 282 add_assoc_zval(*ret, "abbrevmonths", smonths); in _php_cal_info() 283 add_assoc_long(*ret, "maxdaysinmonth", calendar->max_days_in_month); in _php_cal_info() 284 add_assoc_string(*ret, "calname", calendar->name, 1); in _php_cal_info() 285 add_assoc_string(*ret, "calsymbol", calendar->symbol, 1); in _php_cal_info() 507 static char *heb_number_to_chars(int n, int fl, char **ret) in heb_number_to_chars() argument 517 *ret = NULL; in heb_number_to_chars() 590 *ret = estrndup(old, (p - old) + 1); in heb_number_to_chars() [all …]
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_dotnet.c | 196 int ret = FAILURE; in PHP_FUNCTION() local 287 ret = SUCCESS; in PHP_FUNCTION() 297 ret = SUCCESS; in PHP_FUNCTION() 309 if (ret == FAILURE) { in PHP_FUNCTION()
|
H A D | com_handlers.c | 373 int ret = FAILURE; in com_call_method() local 392 ret = SUCCESS; in com_call_method() 400 return ret; in com_call_method() 460 int ret; in com_objects_compare() local 472 ret = -1; in com_objects_compare() 475 ret = 1; in com_objects_compare() 478 ret = 0; in com_objects_compare() 483 ret = -2; in com_objects_compare() 486 return ret; in com_objects_compare()
|
H A D | com_persist.c | 94 ULONG ret; in stm_release() local 97 ret = InterlockedDecrement(&stm->refcount); in stm_release() 98 if (ret == 0) { in stm_release() 103 return ret; in stm_release() 143 int ret; in stm_seek() local 161 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek() 164 plibNewPosition->QuadPart = (ULONGLONG)(ret >= 0 ? ret : 0); in stm_seek() 167 return ret >= 0 ? S_OK : STG_E_INVALIDFUNCTION; in stm_seek() 179 int ret = php_stream_truncate_set_size(stm->stream, (size_t)libNewSize.QuadPart); in stm_set_size() local 181 if (ret == 0) { in stm_set_size()
|
H A D | com_typeinfo.c | 442 int ret = 0; in php_com_process_typeinfo() local 597 ret = 1; in php_com_process_typeinfo() 604 return ret; in php_com_process_typeinfo()
|
H A D | com_variant.c | 177 int ret = SUCCESS; in php_com_zval_from_variant() local 235 ret = FAILURE; in php_com_zval_from_variant() 258 if (ret == FAILURE) { in php_com_zval_from_variant() 259 …rror_docref(NULL TSRMLS_CC, E_WARNING, "variant->zval: conversion from 0x%x ret=%d", V_VT(v), ret); in php_com_zval_from_variant() 262 return ret; in php_com_zval_from_variant() 268 int ret = SUCCESS; in php_com_copy_variant() local 394 ret = FAILURE; in php_com_copy_variant() 396 return ret; in php_com_copy_variant()
|