Home
last modified time | relevance | path

Searched refs:value (Results 101 – 125 of 2100) sorted by last modified time

12345678910>>...84

/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c99 char *value; member
405 symbol_table = track_vars_array->value.ht; in sapi_apache_register_server_variables()
619 …zend_alter_ini_entry(per_dir_entry->key, per_dir_entry->key_length+1, per_dir_entry->value, per_di… in php_apache_alter_ini_entries()
769 free(per_dir_entry->value); in destroy_per_dir_entry()
783 per_dir_entry->value = (char *) malloc(tmp.value_length+1); in copy_per_dir_entry()
784 memcpy(per_dir_entry->value, tmp.value, tmp.value_length); in copy_per_dir_entry()
785 per_dir_entry->value[per_dir_entry->value_length] = 0; in copy_per_dir_entry()
920 per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); in php_apache_value_handler_ex()
921 memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length); in php_apache_value_handler_ex()
922 per_dir_entry.value[per_dir_entry.value_length] = 0; in php_apache_value_handler_ex()
H A Dphp_apache.c68 ZEND_ARG_INFO(0, value)
581 zval **entry, **value; in add_header_to_table() local
601 … if (zend_hash_find(Z_ARRVAL_P(first), string_key, string_key_len, (void **)&value) == FAILURE) { in add_header_to_table()
605 if (!value) { in add_header_to_table()
610 convert_to_string_ex(value); in add_header_to_table()
612 ap_table_set(t, string_key, Z_STRVAL_PP(value)); in add_header_to_table()
614 ap_table_merge(t, string_key, Z_STRVAL_PP(value)); in add_header_to_table()
1922 …if(!(rr = ap_sub_req_lookup_uri((*filename)->value.str.val, ((request_rec *) SG(server_context))))…
1923 php_error(E_WARNING, "URI lookup failed", (*filename)->value.str.val);
/PHP-5.5/sapi/caudium/
H A Dcaudium.c167 struct svalue *headers, *value; in lookup_header() local
175 value = low_mapping_string_lookup(headers->u.mapping, sind); in lookup_header()
177 if(!value) return NULL; in lookup_header()
178 return value; in lookup_header()
282 php_caudium_set_header(char *header_name, char *value, char *p) in php_caudium_set_header() argument
304 hval = make_shared_string(value); in php_caudium_set_header()
308 vallen = strlen(value); in php_caudium_set_header()
316 MEMCPY(hval->str+soldval->u.string->len+1, value, vallen); in php_caudium_set_header()
319 hval = make_shared_string(value); in php_caudium_set_header()
/PHP-5.5/sapi/cgi/
H A DREADME.FastCGI129 PHP_FCGI_CHILDREN (default value: 0)
146 PHP_FCGI_MAX_REQUESTS (default value: 500)
H A Dcgi_main.c559 static char *_sapi_cgi_putenv(char *name, int name_len, char *value) in _sapi_cgi_putenv() argument
567 if (value) { in _sapi_cgi_putenv()
568 setenv(name, value, 1); in _sapi_cgi_putenv()
572 if (!value) { in _sapi_cgi_putenv()
583 len = name_len + (value ? strlen(value) : 0) + sizeof("=") + 2; in _sapi_cgi_putenv()
590 if (value) { in _sapi_cgi_putenv()
591 len = slprintf(buf, len - 1, "%s=%s", name, value); in _sapi_cgi_putenv()
596 if (!value) { in _sapi_cgi_putenv()
1067 #define CGI_PUTENV(name, value) \ argument
1069 FCGI_PUTENV(request, name, value) : \
[all …]
H A Dfastcgi.c984 zval ** value; in fcgi_read_request() local
1000 if (zend_hash_find(&fcgi_mgmt_vars, q->var, q->var_len, (void**) &value) != SUCCESS) { in fcgi_read_request()
1004 zlen = Z_STRLEN_PP(value); in fcgi_read_request()
1026 memcpy(p, Z_STRVAL_PP(value), zlen); in fcgi_read_request()
1522 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len) argument
1527 Z_STRVAL_P(zvalue) = pestrndup(value, value_len, 1);
H A Dfastcgi.h43 #define FCGI_PUTENV(request, name, value) \ argument
44 fcgi_quick_putenv(request, name, sizeof(name)-1, FCGI_HASH_FUNC(name, sizeof(name)-1), value)
141 void fcgi_set_mgmt_var(const char * name, size_t name_len, const char * value, size_t value_len);
/PHP-5.5/sapi/apache/
H A Dmod_php5.c75 char *value; member
280 symbol_table = track_vars_array->value.ht; in sapi_apache_register_server_variables()
569 …zend_alter_ini_entry(per_dir_entry->key, per_dir_entry->key_length+1, per_dir_entry->value, per_di… in php_apache_alter_ini_entries()
716 free(per_dir_entry->value); in destroy_per_dir_entry()
730 per_dir_entry->value = (char *) malloc(tmp.value_length+1); in copy_per_dir_entry()
731 memcpy(per_dir_entry->value, tmp.value, tmp.value_length); in copy_per_dir_entry()
732 per_dir_entry->value[per_dir_entry->value_length] = 0; in copy_per_dir_entry()
822 per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); in php_apache_value_handler_ex()
823 memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length); in php_apache_value_handler_ex()
824 per_dir_entry.value[per_dir_entry.value_length] = 0; in php_apache_value_handler_ex()
H A Dphp_apache.c79 ZEND_ARG_INFO(0, value)
/PHP-5.5/sapi/apache2filter/
H A Dapache_config.c51 char *value; member
64 if (!strncasecmp(value, "none", sizeof("none"))) { in real_value_hnd()
65 value = ""; in real_value_hnd()
68 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd()
69 e.value_len = strlen(value); in real_value_hnd()
79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_value_handler()
84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_value_handler()
103 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_flag_handler()
108 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_flag_handler()
156 return pe->value; in get_php_config()
[all …]
H A Dphp_functions.c375 ZEND_ARG_INFO(0, value)
/PHP-5.5/sapi/apache2handler/
H A Dapache_config.c51 char *value; member
64 if (!strncasecmp(value, "none", sizeof("none"))) { in real_value_hnd()
65 value = ""; in real_value_hnd()
68 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd()
69 e.value_len = strlen(value); in real_value_hnd()
79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_value_handler()
84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_value_handler()
103 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_flag_handler()
108 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_flag_handler()
178 return pe->value; in get_php_config()
[all …]
H A Dphp_functions.c500 ZEND_ARG_INFO(0, value)
/PHP-5.5/
H A Drun-tests.php1078 $bin_env[$key] = $value;
2277 $value = trim($setting[1]);
2288 $ini_settings[$name] = $value;
2300 if (is_array($value)) {
2301 foreach($value as $val) {
2306 if (substr(PHP_OS, 0, 3) == "WIN" && !empty($value) && $value{0} == '"') {
2307 $len = strlen($value);
2310 $value{0} = "'";
2311 $value{$len - 1} = "'";
2314 $value = addslashes($value);
[all …]
H A Dphp.ini-development37 ; directive = value
65 ; If you use constants in your value, and these constants belong to a
114 ; Production value: On
177 ; To disable this feature set this option to empty value
334 ; value.
536 ; Production value: On
577 ; Default value: 0
578 ; Development value: 0
579 ; Production value: 0
615 ; Leaving this value empty will cause PHP to use the value set in the
[all …]
H A Dphp.ini-production37 ; directive = value
65 ; If you use constants in your value, and these constants belong to a
114 ; Production value: On
177 ; To disable this feature set this option to empty value
334 ; value.
536 ; Production value: On
577 ; Default value: 0
578 ; Development value: 0
579 ; Production value: 0
615 ; Leaving this value empty will cause PHP to use the value set in the
[all …]
/PHP-5.5/sapi/aolserver/
H A DREADME53 the value val (can be used multiple times). Example:
H A Daolserver.c274 char *value = Ns_SetValue(NSG(conn->headers), i); in PHP_FUNCTION() local
276 add_assoc_string(return_value, key, value, 1); in PHP_FUNCTION()
312 char *value = Ns_SetValue(NSG(conn->headers), i); in php_ns_sapi_register_variables() local
326 ADD_STRINGX(buf, value); in php_ns_sapi_register_variables()
530 char *value = Ns_SetValue(set, i); in php_ns_config() local
533 Ns_Log(Notice, "Registering PHP for \"%s\"", value); in php_ns_config()
534 Ns_RegisterRequest(ctx->ns_server, "GET", value, php_ns_request_handler, NULL, ctx, 0); in php_ns_config()
535 Ns_RegisterRequest(ctx->ns_server, "POST", value, php_ns_request_handler, NULL, ctx, 0); in php_ns_config()
536 Ns_RegisterRequest(ctx->ns_server, "HEAD", value, php_ns_request_handler, NULL, ctx, 0); in php_ns_config()
549 val = strchr(value, ' '); in php_ns_config()
[all …]
/PHP-5.5/main/streams/
H A Dstreams.c1352 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_… in _php_stream_set_option() argument
1357 ret = stream->ops->set_option(stream, option, value, ptrparam TSRMLS_CC); in _php_stream_set_option()
1364 stream->chunk_size = value; in _php_stream_set_option()
1369 if (value == PHP_STREAM_BUFFER_NONE) { in _php_stream_set_option()
H A Duserspace.c968 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam TS… in php_userstreamop_set_option() argument
995 if (value & LOCK_NB) { in php_userstreamop_set_option()
998 switch(value & ~LOCK_NB) { in php_userstreamop_set_option()
1024 if (value == 0) { in php_userstreamop_set_option()
1039 switch (value) { in php_userstreamop_set_option()
1103 ZVAL_LONG(zvalue, value); in php_userstreamop_set_option()
1117 ZVAL_LONG(zvalue, value); in php_userstreamop_set_option()
1387 if(value) { in user_wrapper_metadata()
1388 struct utimbuf *newtime = (struct utimbuf *)value; in user_wrapper_metadata()
1396 ZVAL_LONG(zvalue, *(long *)value); in user_wrapper_metadata()
[all …]
H A Dxp_socket.c51 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRM…
268 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_D… in php_sockop_set_option() argument
281 if (value == -1) { in php_sockop_set_option()
289 tv.tv_sec = value; in php_sockop_set_option()
305 if (SUCCESS == php_set_sock_blocking(sock->socket, value TSRMLS_CC)) { in php_sockop_set_option()
306 sock->is_blocked = value; in php_sockop_set_option()
746 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRM… in php_tcp_sockop_set_option() argument
774 return php_sockop_set_option(stream, option, value, ptrparam TSRMLS_CC); in php_tcp_sockop_set_option()
H A Dmemory.c247 static int php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam T… in php_stream_memory_set_option() argument
254 switch (value) { in php_stream_memory_set_option()
527 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam TSR… in php_stream_temp_set_option() argument
539 return php_stream_set_option(ts->innerstream, option, value, ptrparam); in php_stream_temp_set_option()
H A Dplain_wrapper.c602 if (value) in php_stdiop_set_option()
625 switch(value) { in php_stdiop_set_option()
649 if (!flock(fd, value)) { in php_stdiop_set_option()
650 data->lock_flag = value; in php_stdiop_set_option()
663 switch (value) { in php_stdiop_set_option()
725 switch (value) { in php_stdiop_set_option()
815 switch (value) { in php_stdiop_set_option()
1313 newtime = (struct utimbuf *)value; in php_plain_files_metadata()
1334 uid = (uid_t)*(long *)value; in php_plain_files_metadata()
1346 gid = (gid_t)*(long *)value; in php_plain_files_metadata()
[all …]
/PHP-5.5/main/
H A Dsnprintf.c71 static char * __cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) /* {{{ */ in __cvt() argument
84 if (value == 0.0) { in __cvt()
96 p = zend_dtoa(value, fmode + 2, ndigit, decpt, sign, &rve); in __cvt()
130 static inline char *php_ecvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ in php_ecvt() argument
132 return(__cvt(value, ndigit, decpt, sign, 0, 1)); in php_ecvt()
136 static inline char *php_fcvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ in php_fcvt() argument
138 return(__cvt(value, ndigit, decpt, sign, 1, 1)); in php_fcvt()
142 PHPAPI char *php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf) /* {{{ */ in php_gcvt() argument
147 digits = zend_dtoa(value, 2, ndigit, &decpt, &sign, NULL); in php_gcvt()
H A Dsnprintf.h88 PHPAPI char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf);

Completed in 116 milliseconds

12345678910>>...84