Home
last modified time | relevance | path

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

12345678910>>...24

/PHP-7.2/main/
H A Dphp_variables.c397 char *res = NULL, *var, *val, *separator = NULL; in SAPI_TREAT_DATA_FUNC() local
438 res = (char *) estrdup(c_var); in SAPI_TREAT_DATA_FUNC()
446 res = (char *) estrdup(c_var); in SAPI_TREAT_DATA_FUNC()
452 res = str; in SAPI_TREAT_DATA_FUNC()
456 if (!res) { in SAPI_TREAT_DATA_FUNC()
470 var = php_strtok_r(res, separator, &strtok_buf); in SAPI_TREAT_DATA_FUNC()
523 efree(res); in SAPI_TREAT_DATA_FUNC()
H A Drfc1867.c494 char *res; in php_ap_getword() local
512 res = estrdup(*line); in php_ap_getword()
514 return res; in php_ap_getword()
517 res = estrndup(*line, pos - *line); in php_ap_getword()
524 return res; in php_ap_getword()
H A Dphp_streams.h215 zend_resource *res; /* used for auto-cleanup */ member
254 #define php_stream_get_resource_id(stream) ((php_stream *)(stream))->res->handle
260 #define php_stream_to_zval(stream, zval) { ZVAL_RES(zval, (stream)->res); (stream)->__exposed = 1; }
268 #define php_stream_from_res(xstr, res) do { \ argument
269 if (((xstr) = (php_stream*)zend_fetch_resource2((res), \
274 #define php_stream_from_res_no_verify(xstr, pzval) (xstr) = (php_stream*)zend_fetch_resource2((res)…
/PHP-7.2/ext/openssl/
H A Dopenssl.c1682 *resourceval = res; in php_openssl_x509_from_zval()
2670 zend_resource *res; in PHP_FUNCTION() local
2676 ZVAL_RES(return_value, res); in PHP_FUNCTION()
3234 *resourceval = res; in php_openssl_csr_from_zval()
3783 *resourceval = res; in php_openssl_evp_from_zval()
3786 if (res->type == le_x509) { in php_openssl_evp_from_zval()
3790 } else if (res->type == le_key) { in php_openssl_evp_from_zval()
4678 zend_resource *res; in PHP_FUNCTION() local
4687 ZVAL_RES(return_value, res); in PHP_FUNCTION()
4717 zend_resource *res; in PHP_FUNCTION() local
[all …]
/PHP-7.2/main/streams/
H A Dstreams.c84 stream->res = NULL; in forget_persistent_resource_id_numbers()
125 (*stream)->res = regentry; in php_stream_from_persistent_id()
446 zend_list_close(stream->res); in _php_stream_free()
449 zend_list_delete(stream->res); in _php_stream_free()
450 stream->res = NULL; in _php_stream_free()
480 if (stream->readfilters.head->res != NULL) { in _php_stream_free()
486 if (stream->writefilters.head->res != NULL) { in _php_stream_free()
521 zend_list_delete(context->res); in _php_stream_free()
2141 stream->ctx = context->res;
2142 GC_REFCOUNT(context->res)++;
[all …]
H A Duserspace.c298 add_property_resource(object, "context", context->res); in user_stream_create_object()
299 GC_REFCOUNT(context->res)++; in user_stream_create_object()
H A Dphp_stream_context.h41 …m_context_to_zval(context, zval) { ZVAL_RES(zval, (context)->res); GC_REFCOUNT((context)->res)++; }
56 zend_resource *res; /* used for auto-cleanup */ member
H A Dphp_stream_filter_api.h122 zend_resource *res; member
H A Dfilter.c492 if (filter->res) { in php_stream_filter_remove()
493 zend_list_delete(filter->res); in php_stream_filter_remove()
/PHP-7.2/ext/session/
H A Dsession.c1120 struct tm tm, *res; in strcpy_gmt() local
1123 res = php_gmtime_r(when, &tm); in strcpy_gmt()
1125 if (!res) { in strcpy_gmt()
/PHP-7.2/ext/standard/
H A Dstring.c1434 zend_string *res = zend_string_alloc(ZSTR_LEN(s), 0); in php_string_toupper() local
1439 r = c + (ZSTR_VAL(res) - ZSTR_VAL(s)); in php_string_toupper()
1446 return res; in php_string_toupper()
1497 zend_string *res = zend_string_alloc(ZSTR_LEN(s), 0); in php_string_tolower() local
1502 r = c + (ZSTR_VAL(res) - ZSTR_VAL(s)); in php_string_tolower()
1509 return res; in php_string_tolower()
4587 char *res = NULL; local
4596 res = estrndup(arg, arglen);
4602 efree(res);
4610 sapi_module.treat_data(PARSE_STRING, res, &tmp);
[all …]
/PHP-7.2/ext/spl/
H A Dspl_directory.c327 ZVAL_RES(&intern->u.file.zresource, intern->u.file.stream->res); in spl_filesystem_file_open()
/PHP-7.2/win32/
H A Dsendmail.c374 int res; in SendText() local
414 return (res); in SendText()
420 return (res); in SendText()
585 return (res); in SendText()
592 return (res); in SendText()
605 return (res); in SendText()
635 return(res); in SendText()
643 return (res); in SendText()
646 return (res); in SendText()
675 int res; in PostHeader() local
[all …]
/PHP-7.2/win32/build/
H A DMakefile101 PHPDLL_RES=$(BUILD_DIR)\$(PHPDLL).res
151 …-@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.manifest $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUI…
163 …-@del /f /q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DI…
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_watch.c284 phpdbg_btree_result *res; local
451 phpdbg_btree_result *res; local
464 watch = res->ptr;
621 if (res) {
967 phpdbg_watch_ht_info *hti = res ? res->ptr : NULL;
1070 phpdbg_btree_result *res; local
1076 if (res) {
1077 watch = res->ptr;
1090 phpdbg_btree_result *res; local
1106 watch = res->ptr;
[all …]
H A Dphpdbg_io.c239 struct addrinfo res; local
240 int fd = phpdbg_create_listenable_socket(interface, port, &res);
246 if (bind(fd, res.ai_addr, res.ai_addrlen) == -1) {
261 struct addrinfo hints, *res = NULL; local
295 rc = getaddrinfo(addr, port_buf, &hints, &res);
297 rc = getaddrinfo(NULL, port_buf, &hints, &res);
325 if ((sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol)) == -1) {
341 *addr_res = *res;
H A Dphpdbg_io.h36 …I int phpdbg_create_listenable_socket(const char *addr, unsigned short port, struct addrinfo *res);
H A Dphpdbg_prompt.c412 char *res = phpdbg_resolve_path(param->str); in PHPDBG_COMMAND() local
413 size_t res_len = strlen(res); in PHPDBG_COMMAND()
415 if ((res_len != PHPDBG_G(exec_len)) || (memcmp(res, PHPDBG_G(exec), res_len) != SUCCESS)) { in PHPDBG_COMMAND()
434 PHPDBG_G(exec) = res; in PHPDBG_COMMAND()
437 VCWD_CHDIR_FILE(res); in PHPDBG_COMMAND()
/PHP-7.2/sapi/fpm/tests/
H A Dlogtool.inc177 } elseif (($res = preg_match($this->pattern, $line, $matches)) > 0) {
/PHP-7.2/sapi/litespeed/
H A Dlsapilib.c2615 struct addrinfo *res, hints; in LSAPI_ParseSockAddr() local
2690 if ( getaddrinfo(p, NULL, &hints, &res) ) in LSAPI_ParseSockAddr()
2695 memcpy(pAddr, res->ai_addr, res->ai_addrlen); in LSAPI_ParseSockAddr()
2696 freeaddrinfo(res); in LSAPI_ParseSockAddr()
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_process_ctl.c154 int res = kill(child->pid, signo); in fpm_pctl_kill_all() local
160 if (res == 0) { in fpm_pctl_kill_all()
H A Dfpm_stdio.c120 int res; local
135 res = read(fd, buf + in_buf, max_buf_size - 1 - in_buf);
136 if (res <= 0) { /* no data */
138 if (res < 0 && (errno == EAGAIN || errno == EWOULDBLOCK)) {
142 if (res < 0) { /* error */
158 in_buf += res;
H A Dfpm_atomic.h44 unsigned char res; in atomic_cmp_set() local
47 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); in atomic_cmp_set()
49 return res; in atomic_cmp_set()
70 unsigned char res; in atomic_cmp_set() local
73 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); in atomic_cmp_set()
75 return res; in atomic_cmp_set()
H A Dfpm_events.c58 int res, ret; in fpm_got_signal() local
63 res = read(fd, &c, 1); in fpm_got_signal()
64 } while (res == -1 && errno == EINTR); in fpm_got_signal()
66 if (res <= 0) { in fpm_got_signal()
67 if (res < 0 && errno != EAGAIN && errno != EWOULDBLOCK) { in fpm_got_signal()
/PHP-7.2/
H A Drun-tests.php1811 if (empty($env['CONTENT_TYPE']) && preg_match('/^Content-Type:(.*)/i', $line, $res)) {
1812 $env['CONTENT_TYPE'] = trim(str_replace("\r", '', $res[1]));
1845 if (empty($env['CONTENT_TYPE']) && preg_match('/^Content-Type:(.*)/i', $line, $res)) {
1846 $env['CONTENT_TYPE'] = trim(str_replace("\r", '', $res[1]));

Completed in 132 milliseconds

12345678910>>...24