/php-src/ext/standard/ |
H A D | string.c | 3950 if (res) { 3978 if (res) { 3993 res = res >> (n + 1); 3994 } while (res); 4008 if (res) { 4022 res = res >> (n + 1); 4023 } while (res); 4126 if (res.dw[0] | res.dw[1]) 4156 if (res.dw[0] | res.dw[1]) { 4163 if (res.dw[0] | res.dw[1]) { [all …]
|
H A D | basic_functions.c | 728 zend_string *res = php_getenv(str, str_len); in PHP_FUNCTION() local 729 if (res) { in PHP_FUNCTION() 730 RETURN_STR(res); in PHP_FUNCTION()
|
H A D | dns.c | 353 static void _php_dns_free_res(struct __res_state *res) { /* {{{ */ in _php_dns_free_res() argument 356 if (res->_u._ext.nsaddrs[ns] != NULL) { in _php_dns_free_res() 357 free (res->_u._ext.nsaddrs[ns]); in _php_dns_free_res() 358 res->_u._ext.nsaddrs[ns] = NULL; in _php_dns_free_res()
|
H A D | html.c | 470 *res = code; in map_from_unicode() 475 *res = code; in map_from_unicode() 483 *res = code - 0x360; in map_from_unicode() 491 *res = code; in map_from_unicode() 496 *res = found; in map_from_unicode() 504 *res = code; in map_from_unicode() 509 *res = found; in map_from_unicode() 535 *res = code; in map_from_unicode() 539 *res = found; in map_from_unicode() 555 *res = code; in map_from_unicode() [all …]
|
H A D | file.c | 767 zval *res; in PHP_FUNCTION() local 847 zval *res; in PHP_FUNCTION() local 866 zval *res; in PHP_FUNCTION() local 886 zval *res; in PHP_FUNCTION() local 937 zval *res; in PHP_FUNCTION() local 1000 zval *res; in PHP_FUNCTION() local 1042 zval *res; in PHP_FUNCTION() local 1063 zval *res; in PHP_FUNCTION() local 1082 zval *res; in PHP_FUNCTION() local 1580 int res; in php_copy_file_ctx() local [all …]
|
/php-src/ext/pdo/ |
H A D | pdo_stmt.c | 2366 int res = check_empty ? i_zend_is_true(retval) : Z_TYPE(tmp_val) != IS_NULL; in row_prop_exists() local 2368 return res; in row_prop_exists() 2389 int res = check_empty ? i_zend_is_true(retval) : Z_TYPE(tmp_val) != IS_NULL; in row_dim_exists() local 2391 return res; in row_dim_exists()
|
/php-src/ext/sockets/ |
H A D | sendrecvmsg.c | 52 if (res != 0) { in recvmsg() 187 ssize_t res; in PHP_FUNCTION() local 209 if (res != -1) { in PHP_FUNCTION() 210 RETVAL_LONG((zend_long)res); in PHP_FUNCTION() 225 ssize_t res; in PHP_FUNCTION() local 250 if (res != -1) { in PHP_FUNCTION() 273 RETVAL_LONG((zend_long)res); in PHP_FUNCTION() 386 int res; in php_do_getsockopt_ipv6_rfc3542() local 404 if (res != 0) { in php_do_getsockopt_ipv6_rfc3542() 412 res = -1; in php_do_getsockopt_ipv6_rfc3542() [all …]
|
H A D | conversions.c | 553 int res; in from_zval_write_sin_addr() local 558 res = php_set_inet_addr(&saddr, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin_addr() 559 if (res) { in from_zval_write_sin_addr() 603 int res; in from_zval_write_sin6_addr() local 608 res = php_set_inet6_addr(&saddr6, ZSTR_VAL(addr_str), ctx->sock); in from_zval_write_sin6_addr() 609 if (res) { in from_zval_write_sin6_addr()
|
/php-src/ext/com_dotnet/ |
H A D | com_handlers.c | 32 HRESULT res; in com_property_read() local 44 if (res == SUCCESS) { in com_property_read() 47 } else if (res == DISP_E_BADPARAMCOUNT) { in com_property_read() 121 HRESULT res; in com_write_dimension() local 160 res = SafeArrayPutElement(V_ARRAY(&obj->v), &indices, &v); in com_write_dimension() 167 if (FAILED(res)) { in com_write_dimension() 168 php_com_throw_exception(res, NULL); in com_write_dimension() 438 HRESULT res = S_OK; in com_object_cast() local 478 res = VariantChangeType(&v, &v, 0, vt); in com_object_cast() 481 if (SUCCEEDED(res)) { in com_object_cast() [all …]
|
/php-src/win32/ |
H A D | sendmail.c | 388 int res; in SendText() local 429 return (res); in SendText() 435 return (res); in SendText() 625 return (res); in SendText() 632 return (res); in SendText() 645 return (res); in SendText() 675 return(res); in SendText() 683 return (res); in SendText() 686 return (res); in SendText() 715 int res; in PostHeader() local [all …]
|
/php-src/ext/intl/timezone/ |
H A D | timezone_methods.cpp | 334 const char *res = TimeZone::getTZDataVersion(status); in PHP_FUNCTION() local 337 RETURN_STRING(res); in PHP_FUNCTION()
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 2638 struct addrinfo *res, hints; in LSAPI_ParseSockAddr() local 2713 if ( getaddrinfo(p, NULL, &hints, &res) ) in LSAPI_ParseSockAddr() 2718 memcpy(pAddr, res->ai_addr, res->ai_addrlen); in LSAPI_ParseSockAddr() 2719 freeaddrinfo(res); in LSAPI_ParseSockAddr()
|
/php-src/docs/source/core/data-structures/ |
H A D | zval.rst | 51 zend_resource *res;
|
/php-src/ext/ldap/ |
H A D | ldap.c | 90 zval res; member 217 zval_ptr_dtor(&entry->res); in ldap_result_entry_free_obj() 1793 ZVAL_COPY(&resultentry->res, result); in PHP_FUNCTION() 1822 ZVAL_COPY(&resultentry_next->res, &resultentry->res); in PHP_FUNCTION() 3486 ZVAL_COPY(&resultentry->res, result); in PHP_FUNCTION() 3515 ZVAL_COPY(&resultentry_next->res, &resultentry->res); in PHP_FUNCTION()
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 2079 + zend_string *res; 2093 + res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); 2096 + if (NULL == res) { 2111 + memcpy(ms->o.buf, ZSTR_VAL(res), ZSTR_LEN(res)); 2112 + ms->o.buf[ZSTR_LEN(res)] = '\0'; 2137 + zend_string_release_ex(res, 0);
|
/php-src/ext/fileinfo/libmagic/ |
H A D | funcs.c | 660 zend_string *res; in file_replace() local 674 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); in file_replace() 677 if (NULL == res) { in file_replace() 682 memcpy(ms->o.buf, ZSTR_VAL(res), ZSTR_LEN(res)); in file_replace() 683 ms->o.buf[ZSTR_LEN(res)] = '\0'; in file_replace() 685 zend_string_release_ex(res, 0); in file_replace()
|
/php-src/ext/standard/tests/mail/ |
H A D | bug72964.phpt | 28 $res = mail($to, $subject, $message, $headers); 30 if ($res !== true) {
|
H A D | bug80706.phpt | 28 $res = mail($to, $subject, $message, $headers); 30 if ($res !== true) {
|
H A D | bug80751.phpt | 34 $res = mail($toLine, $subject, $message, $headers); 36 if ($res !== true) {
|
H A D | mail_basic_win.phpt | 60 $res = $premise($from, $to, $subject, $message); 62 if ($res !== true) {
|
H A D | mail_util.inc | 145 $res = $this->mailConnecter->getResponse(self::SEARCH); 146 preg_match('/SEARCH ([0-9 ]+)/is', $res, $matches); 161 $res = $this->mailConnecter->getResponse(self::FETCH_HEADERS, true); 164 foreach ($res as $line) {
|
H A D | mail_variation_win.phpt | 55 $res = mail($to, $subject, $message); 57 if ($res === true) {
|
/php-src/ext/pgsql/tests/ |
H A D | gh13354.phpt | 25 pg_free_result($res); 29 pg_free_result($res); 35 pg_free_result($res); 39 pg_free_result($res); 45 $res = pg_get_result($db); 47 pg_free_result($res); 51 $res = pg_get_result($db); 53 pg_free_result($res); 59 $res = pg_get_result($db); 61 pg_free_result($res); [all …]
|
/php-src/main/ |
H A D | rfc1867.c | 454 char *res; in php_ap_getword() local 472 res = estrdup(*line); in php_ap_getword() 474 return res; in php_ap_getword() 477 res = estrndup(*line, pos - *line); in php_ap_getword() 484 return res; in php_ap_getword()
|
/php-src/ext/mbstring/ |
H A D | mb_gpc.c | 45 char *res = NULL, *separator=NULL; in ZEND_EXTERN_MODULE_GLOBALS() local 86 res = (char *) estrdup(c_var); in ZEND_EXTERN_MODULE_GLOBALS() 93 res = (char *) estrdup(c_var); in ZEND_EXTERN_MODULE_GLOBALS() 98 res = str; in ZEND_EXTERN_MODULE_GLOBALS() 103 if (!res) { in ZEND_EXTERN_MODULE_GLOBALS() 142 detected = _php_mb_encoding_handler_ex(&info, &v_array, res); in ZEND_EXTERN_MODULE_GLOBALS() 167 efree(res); in ZEND_EXTERN_MODULE_GLOBALS() 173 …_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *array_ptr, char *res) in _php_mb_encoding_handler_ex() argument 181 if (!res || *res == '\0') { in _php_mb_encoding_handler_ex() 187 for (char *s1 = res; *s1; s1++) { in _php_mb_encoding_handler_ex() [all …]
|