Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 597) sorted by last modified time

12345678910>>...24

/php-src/ext/standard/
H A Dbrowscap.c153 zend_string *res; in browscap_convert_pattern() local
155 res = zend_string_alloc(browscap_compute_regex_len(pattern), persistent); in browscap_convert_pattern()
156 t = ZSTR_VAL(res); in browscap_convert_pattern()
205 ZSTR_LEN(res) = j; in browscap_convert_pattern()
206 return res; in browscap_convert_pattern()
/php-src/ext/ffi/
H A Dffi.c4635 zend_string *res = zend_string_init(buf.start, len, 0); in ZEND_METHOD() local
4636 RETURN_STR(res); in ZEND_METHOD()
/php-src/ext/curl/
H A Dcurl_private.h58 zend_resource *res; member
H A Dinterface.c171 ch->handlers.read->res = NULL; in _php_curl_verify_handlers()
777 if (read_handler->res) { in curl_read()
778 GC_ADDREF(read_handler->res); in curl_read()
779 ZVAL_RES(&argv[1], read_handler->res); in curl_read()
1194 ch->handlers.read->res = source->handlers.read->res; in _php_setup_easy_copy_handlers()
1254 int res; in seek_cb() local
1965 ch->handlers.read->res = NULL; in _php_curl_setopt()
2789 ch->handlers.read->res = NULL; in _php_curl_reset_handlers()
2844 char *res; in PHP_FUNCTION() local
2860 RETVAL_STRING(res); in PHP_FUNCTION()
[all …]
/php-src/ext/odbc/
H A Dphp_odbc.c225 if (res->values) { in odbc_result_free()
227 if (res->values[i].value) { in odbc_result_free()
231 efree(res->values); in odbc_result_free()
232 res->values = NULL; in odbc_result_free()
233 res->numcols = 0; in odbc_result_free()
239 SQLTransact(res->conn_ptr->henv, res->conn_ptr->hdbc, in odbc_result_free()
246 res->stmt = NULL; in odbc_result_free()
248 if (res->param_info) { in odbc_result_free()
249 efree(res->param_info); in odbc_result_free()
250 res->param_info = NULL; in odbc_result_free()
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg_watch.c339 ZEND_ASSERT(res == NULL || res->ptr == watch);
507 phpdbg_btree_result *res; local
520 watch = res->ptr;
671 if (res) {
1018 phpdbg_watch_ht_info *hti = res ? res->ptr : NULL;
1122 phpdbg_btree_result *res; local
1128 if (res) {
1129 watch = res->ptr;
1156 phpdbg_btree_result *res; local
1172 watch = res->ptr;
[all …]
/php-src/ext/libxml/
H A Dlibxml.c758 GC_ADDREF(stream->res); in _php_libxml_external_entity_loader()
/php-src/Zend/
H A Dzend_API.h1094 ZEND_API zend_result zend_try_assign_typed_ref_res(zend_reference *ref, zend_resource *res);
1362 #define _ZEND_TRY_ASSIGN_RES(zv, res, is_ref) do { \ argument
1367 zend_try_assign_typed_ref_res(ref, res); \
1373 ZVAL_RES(_zv, res); \
1376 #define ZEND_TRY_ASSIGN_RES(zv, res) \ argument
1377 _ZEND_TRY_ASSIGN_RES(zv, res, 0)
1379 #define ZEND_TRY_ASSIGN_REF_RES(zv, res) do { \ argument
1381 _ZEND_TRY_ASSIGN_RES(zv, res, 1); \
H A Dzend_API.c4630 ZEND_API zend_result zend_try_assign_typed_ref_res(zend_reference *ref, zend_resource *res) /* {{{ … in zend_try_assign_typed_ref_res() argument
4634 ZVAL_RES(&tmp, res); in zend_try_assign_typed_ref_res()
H A Dzend.c1406 zend_result res; in zend_error_zstr_at() local
1507 res = call_user_function(CG(function_table), NULL, &orig_user_error_handler, &retval, 4, params); in zend_error_zstr_at()
1513 if (res == SUCCESS) { in zend_error_zstr_at()
H A Dzend_execute.c1569 zval rv, res; in zend_binary_assign_op_obj_dim() local
1578 if (zend_binary_op(&res, z, value OPLINE_CC) == SUCCESS) { in zend_binary_assign_op_obj_dim()
1579 obj->handlers->write_dimension(obj, property, &res); in zend_binary_assign_op_obj_dim()
1585 ZVAL_COPY(EX_VAR(opline->result.var), &res); in zend_binary_assign_op_obj_dim()
1587 zval_ptr_dtor(&res); in zend_binary_assign_op_obj_dim()
2136 zval rv, res; in zend_assign_op_overloaded_property() local
2147 if (zend_binary_op(&res, z, value OPLINE_CC) == SUCCESS) { in zend_assign_op_overloaded_property()
2148 object->handlers->write_property(object, name, &res, cache_slot); in zend_assign_op_overloaded_property()
2151 ZVAL_COPY(EX_VAR(opline->result.var), &res); in zend_assign_op_overloaded_property()
2156 zval_ptr_dtor(&res); in zend_assign_op_overloaded_property()
/php-src/ext/openssl/
H A Dopenssl.c857 long res = 0; in php_openssl_conf_get_number() local
859 NCONF_get_number(conf, group, name, &res); in php_openssl_conf_get_number()
861 return res; in php_openssl_conf_get_number()
/php-src/ext/odbc/tests/
H A Dodbc_free_result_001.phpt18 $res = odbc_exec($conn, 'SELECT * FROM free_result');
21 var_dump(odbc_fetch_row($res));
26 var_dump(odbc_result($res, 'test'));
31 var_dump(odbc_free_result($res));
41 var_dump(odbc_fetch_row($res));
46 var_dump(odbc_result($res, 'test'));
H A Dodbc_non_persistent_connection_reuse.phpt42 $res = odbc_fetch_array($stmt);
43 if ($res) {
45 return $res["CONTEXT_INFO"] ? trim($res["CONTEXT_INFO"]) : null;
H A Dodbc_persistent_close_all.phpt42 $res = odbc_fetch_array($stmt);
43 if ($res) {
45 return $res["CONTEXT_INFO"] ? trim($res["CONTEXT_INFO"]) : null;
/php-src/ext/pgsql/
H A Dpgsql.c175 PGresult *res; in pgsql_link_free() local
178 PQclear(res); in pgsql_link_free()
312 PGresult *res; in _close_pgsql_plink() local
315 PQclear(res); in _close_pgsql_plink()
348 PGresult *res; in _rollback_transactions() local
363 PQclear(res); in _rollback_transactions()
369 PQclear(res); in _rollback_transactions()
941 PGresult *res; in PHP_FUNCTION() local
960 PQclear(res); in PHP_FUNCTION()
3527 PGresult *res; in php_pgsql_flush_query() local
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_sccp.c61 IR_MAKE_BOTTOM(res); in ir_sccp_fold()
72 } else if (_values[res].optx == IR_TOP) { in ir_sccp_fold()
74 _values[res].op1 = op1; in ir_sccp_fold()
76 } else if (_values[res].op == IR_COPY && _values[res].op1 == op1) { in ir_sccp_fold()
79 IR_ASSERT(_values[res].optx != IR_BOTTOM); in ir_sccp_fold()
82 _values[res].op1 = op1; in ir_sccp_fold()
86 IR_MAKE_BOTTOM(res); in ir_sccp_fold()
99 if (IR_IS_TOP(res)) { in ir_sccp_fold()
101 _values[res].val.u64 = insn->val.u64; in ir_sccp_fold()
103 …} else if (_values[res].opt != IR_OPT(insn->type, insn->type) || _values[res].val.u64 != insn->val… in ir_sccp_fold()
[all …]
H A Dir_fold.h664 uint64_t res; in IR_FOLD() local
666 res = op1_insn->val.u64 * op2_insn->val.u64; in IR_FOLD()
667 if (op1_insn->val.u64 != 0 && res / op1_insn->val.u64 != op2_insn->val.u64 && res <= max) { in IR_FOLD()
670 IR_FOLD_CONST_U(res); in IR_FOLD()
681 int64_t res; in IR_FOLD() local
683 res = op1_insn->val.i64 * op2_insn->val.i64; in IR_FOLD()
684 …if (op1_insn->val.i64 != 0 && res / op1_insn->val.i64 != op2_insn->val.i64 && res >= min && res <=… in IR_FOLD()
687 IR_FOLD_CONST_U(res); in IR_FOLD()
/php-src/ext/mbstring/
H A Dmbstring.c522 int res; in _php_mb_match_regex() local
530 res = pcre2_match(opaque, (PCRE2_SPTR)str, str_len, 0, 0, match_data, php_pcre_mctx()) >= 0; in _php_mb_match_regex()
533 return res; in _php_mb_match_regex()
589 char *res; in php_mb_rfc1867_getword() local
610 res = estrdup(*line); in php_mb_rfc1867_getword()
612 return res; in php_mb_rfc1867_getword()
615 res = estrndup(*line, pos - *line); in php_mb_rfc1867_getword()
622 return res; in php_mb_rfc1867_getword()
/php-src/ext/gmp/
H A Dgmp.c685 zend_long res; in gmp_cmp() local
697 res = mpz_cmp_si(gmpnum_a, Z_LVAL_P(b_arg)); in gmp_cmp()
699 res = mpz_cmp(gmpnum_a, gmpnum_b); in gmp_cmp()
705 RETURN_LONG(res); in gmp_cmp()
1588 int res; in ZEND_FUNCTION() local
1610 res = mpz_invert(gmpnum_result, gmpnum_a, gmpnum_b); in ZEND_FUNCTION()
1613 if (!res) { in ZEND_FUNCTION()
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c1247 bool res, ins; in lxb_selectors_match_attribute() local
1320 res = lexbor_str_data_ncasecmp(trg->data, in lxb_selectors_match_attribute()
1324 res = lexbor_str_data_ncmp(trg->data, in lxb_selectors_match_attribute()
1328 if (res && trg->data[src->length] == '-') { in lxb_selectors_match_attribute()
/php-src/ext/dom/lexbor/lexbor/core/
H A Dstr.c208 const lxb_char_t *pos, *res, *end; in lexbor_str_append_with_rep_null_chars() local
221 res = lexbor_str_append(str, mraw, buff, (pos - buff)); in lexbor_str_append_with_rep_null_chars()
222 if (res == NULL) { in lexbor_str_append_with_rep_null_chars()
226 res = lexbor_str_append(str, mraw, in lexbor_str_append_with_rep_null_chars()
229 if (res == NULL) { in lexbor_str_append_with_rep_null_chars()
237 res = lexbor_str_append(str, mraw, buff, (end - buff)); in lexbor_str_append_with_rep_null_chars()
238 if (res == NULL) { in lexbor_str_append_with_rep_null_chars()
H A Dutils.c13 size_t res = 1; in lexbor_utils_power() local
17 res *= t; in lexbor_utils_power()
24 return res; in lexbor_utils_power()
/php-src/ext/mysqlnd/
H A Dmysqlnd_vio.c124 zend_hash_index_del(&EG(regular_list), net_stream->res->handle); in mysqlnd_fixup_regular_list()
126 efree(net_stream->res); in mysqlnd_fixup_regular_list()
127 net_stream->res = NULL; in mysqlnd_fixup_regular_list()
588 ZEND_ASSERT(GC_REFCOUNT(context->res) == 2); in MYSQLND_METHOD()
589 GC_DELREF(context->res); in MYSQLND_METHOD()
/php-src/ext/spl/
H A Dphp_spl.c680 char *res; in spl_build_class_list_string() local
682 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_P(entry)); in spl_build_class_list_string()
684 *list = res; in spl_build_class_list_string()

Completed in 193 milliseconds

12345678910>>...24