Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 567) sorted by path

12345678910>>...23

/PHP-7.4/
H A D.gdbinit246 printf "resource: #%d", $zvalue->value.res->handle
/PHP-7.4/TSRM/
H A Dtsrm_win32.c457 BOOL res; in popen_ex() local
563res = CreateProcessAsUserW(token_user, NULL, cmdw, &security, &security, security.bInheritHandle, … in popen_ex()
566res = CreateProcessW(NULL, cmdw, &security, &security, security.bInheritHandle, dwCreateFlags, env… in popen_ex()
573 if (!res) { in popen_ex()
/PHP-7.4/Zend/tests/
H A Dbug26698.phpt26 $res = new ObjectOne();
27 $this->three($res->getNone());
39 $res = new ObjectOne();
40 $this->three(1, $res->getNone());
52 $res = new ObjectOne();
53 $this->three(1, 2, $res->getNone());
H A Dlive_range_phi_leak.phpt10 $res[$k ? $k : 0] = doThrow();
/PHP-7.4/Zend/
H A Dzend_API.c3908 ZEND_API int zend_try_assign_typed_ref_res(zend_reference *ref, zend_resource *res) /* {{{ */ in zend_try_assign_typed_ref_res() argument
3912 ZVAL_RES(&tmp, res); in zend_try_assign_typed_ref_res()
H A Dzend_API.h692 ZEND_API int zend_try_assign_typed_ref_res(zend_reference *ref, zend_resource *res);
960 #define _ZEND_TRY_ASSIGN_RES(zv, res, is_ref) do { \ argument
965 zend_try_assign_typed_ref_res(ref, res); \
971 ZVAL_RES(_zv, res); \
974 #define ZEND_TRY_ASSIGN_RES(zv, res) \ argument
975 _ZEND_TRY_ASSIGN_RES(zv, res, 0)
977 #define ZEND_TRY_ASSIGN_REF_RES(zv, res) do { \ argument
979 _ZEND_TRY_ASSIGN_RES(zv, res, 1); \
H A Dzend_builtin_functions.c211 ZEND_ARG_INFO(0, res)
H A Dzend_closures.c687 ZEND_API void zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zend_cla… in zend_create_closure() argument
691 object_init_ex(res, zend_ce_closure); in zend_create_closure()
693 closure = (zend_closure *)Z_OBJ_P(res); in zend_create_closure()
781 ZEND_API void zend_create_fake_closure(zval *res, zend_function *func, zend_class_entry *scope, zen… in zend_create_fake_closure() argument
785 zend_create_closure(res, func, scope, called_scope, this_ptr); in zend_create_fake_closure()
787 closure = (zend_closure *)Z_OBJ_P(res); in zend_create_fake_closure()
H A Dzend_closures.h35 ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zend…
36 ZEND_API void zend_create_fake_closure(zval *res, zend_function *op_array, zend_class_entry *scope,…
H A Dzend_compile.c791 zend_string *res = zend_string_alloc(len, 0); in zend_concat3() local
793 memcpy(ZSTR_VAL(res), str1, str1_len); in zend_concat3()
794 memcpy(ZSTR_VAL(res) + str1_len, str2, str2_len); in zend_concat3()
795 memcpy(ZSTR_VAL(res) + str1_len + str2_len, str3, str3_len); in zend_concat3()
796 ZSTR_VAL(res)[len] = '\0'; in zend_concat3() local
798 return res; in zend_concat3()
H A Dzend_dtrace.c46 zend_op_array *res; in dtrace_compile_file() local
48 res = compile_file(file_handle, type); in dtrace_compile_file()
51 return res; in dtrace_compile_file()
H A Dzend_execute.c1318 zval rv, res; in zend_binary_assign_op_obj_dim() local
1332 if (zend_binary_op(&res, z, value OPLINE_CC) == SUCCESS) { in zend_binary_assign_op_obj_dim()
1333 Z_OBJ_HT_P(object)->write_dimension(object, property, &res); in zend_binary_assign_op_obj_dim()
1339 ZVAL_COPY(EX_VAR(opline->result.var), &res); in zend_binary_assign_op_obj_dim()
1341 zval_ptr_dtor(&res); in zend_binary_assign_op_obj_dim()
1897 zval rv, obj, res; in zend_assign_op_overloaded_property() local
1918 if (zend_binary_op(&res, z, value OPLINE_CC) == SUCCESS) { in zend_assign_op_overloaded_property()
1919 Z_OBJ_HT(obj)->write_property(&obj, property, &res, cache_slot); in zend_assign_op_overloaded_property()
1922 ZVAL_COPY(EX_VAR(opline->result.var), &res); in zend_assign_op_overloaded_property()
1925 zval_ptr_dtor(&res); in zend_assign_op_overloaded_property()
H A Dzend_hash.c578 HashPosition res = ht->nNumUsed; in zend_hash_iterators_lower_pos() local
582 if (iter->pos >= start && iter->pos < res) { in zend_hash_iterators_lower_pos()
583 res = iter->pos; in zend_hash_iterators_lower_pos()
588 return res; in zend_hash_iterators_lower_pos()
2651 Bucket *p, *res; in zend_hash_minmax() local
2667 res = ht->arData + idx; in zend_hash_minmax()
2673 if (compar(res, p) < 0) { /* max */ in zend_hash_minmax()
2674 res = p; in zend_hash_minmax()
2677 if (compar(res, p) > 0) { /* min */ in zend_hash_minmax()
2678 res = p; in zend_hash_minmax()
[all …]
H A Dzend_list.c70 res->type = -1; in zend_resource_dtor()
71 res->ptr = NULL; in zend_resource_dtor()
105 if (res) { in zend_fetch_resource2()
107 return res->ptr; in zend_fetch_resource2()
111 return res->ptr; in zend_fetch_resource2()
127 return res->ptr; in zend_fetch_resource()
142 if (res == NULL) { in zend_fetch_resource_ex()
163 if (res == NULL) { in zend_fetch_resource2_ex()
186 if (res->type >= 0) { in list_entry_destructor()
208 free(res); in plist_entry_destructor()
[all …]
H A Dzend_list.h28 typedef void (*rsrc_dtor_func_t)(zend_resource *res);
29 #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res)
56 ZEND_API int ZEND_FASTCALL zend_list_free(zend_resource *res);
57 ZEND_API int ZEND_FASTCALL zend_list_delete(zend_resource *res);
58 ZEND_API int ZEND_FASTCALL zend_list_close(zend_resource *res);
61 ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource…
62 ZEND_API void *zend_fetch_resource2(zend_resource *res, const char *resource_type_name, int resourc…
63 ZEND_API void *zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type);
64 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type…
66 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
H A Dzend_multiply.h165 : "%0"(res), in zend_safe_address()
170 : "%0"(res), in zend_safe_address()
180 return res; in zend_safe_address()
200 : "%0"(res), in zend_safe_address()
207 : "%0"(res), in zend_safe_address()
217 return res; in zend_safe_address()
224 size_t res; in zend_safe_address() local
239 return res; in zend_safe_address()
246 size_t res; in zend_safe_address() local
260 return res; in zend_safe_address()
[all …]
H A Dzend_operators.c2508 int res; in increment_function() local
2513 return res; in increment_function()
2575 int res; in decrement_function() local
2580 return res; in decrement_function()
2672 char *res = (char*)emalloc(length + 1); in zend_str_tolower_dup_ex() local
2676 memcpy(res, source, p - (const unsigned char*)source); in zend_str_tolower_dup_ex()
2678 r = (unsigned char*)p + (res - source); in zend_str_tolower_dup_ex()
2685 return res; in zend_str_tolower_dup_ex()
2706 r = p + (ZSTR_VAL(res) - ZSTR_VAL(str)); in zend_string_tolower_ex()
2713 return res; in zend_string_tolower_ex()
[all …]
H A Dzend_smart_str.c79 char *res; in smart_str_append_escaped() local
89 *res++ = '\\'; in smart_str_append_escaped()
91 case '\n': *res++ = 'n'; break; in smart_str_append_escaped()
92 case '\r': *res++ = 'r'; break; in smart_str_append_escaped()
93 case '\t': *res++ = 't'; break; in smart_str_append_escaped()
94 case '\f': *res++ = 'f'; break; in smart_str_append_escaped()
95 case '\v': *res++ = 'v'; break; in smart_str_append_escaped()
99 *res++ = 'x'; in smart_str_append_escaped()
101 *res++ = (c >> 4) + '0'; in smart_str_append_escaped()
106 *res++ = (c & 0xf) + '0'; in smart_str_append_escaped()
[all …]
H A Dzend_smart_str.h103 zend_string *res; in smart_str_extract() local
105 res = str->s; in smart_str_extract()
107 return res; in smart_str_extract()
H A Dzend_types.h183 zend_resource *res; member
719 #define Z_RES(zval) (zval).value.res
H A Dzend_vm_def.h6601 zval *res = EX_VAR(opline->op2.var); variable
6604 ZVAL_COPY_VALUE_EX(res, value, gc, value_type);
H A Dzend_vm_execute.h21652 zval *res = EX_VAR(opline->op2.var); in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER() local
21655 ZVAL_COPY_VALUE_EX(res, value, gc, value_type); in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER()
/PHP-7.4/ext/bz2/
H A Dbz2.c239 GC_ADDREF(innerstream->res); in _php_stream_bz2open_from_BZFILE()
/PHP-7.4/ext/bz2/tests/
H A Dbug72613.phpt13 $res = bzread($fp);
14 if ($res === FALSE) {
17 $data .= $res;
/PHP-7.4/ext/calendar/
H A Deaster.c38 struct tm b, *res; in _cal_easter() local
40 res = php_localtime_r(&a, &b); in _cal_easter()
41 if (!res) { in _cal_easter()

Completed in 299 milliseconds

12345678910>>...23