Searched defs:env (Results 1 - 25 of 27) sorted by relevance

12

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c227 case 'e': /* fastcgi env */
234 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); local
235 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-");
H A Dfpm_conf.h88 struct key_value_s *env; member in struct:fpm_worker_pool_config_s
H A Dfastcgi.h112 HashTable *env; member in struct:_fcgi_request
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c1894 disable_noname_group_capture(Node** root, regex_t* reg, ScanEnv* env) argument
1900 map = (GroupNumRemap* )xalloca(sizeof(GroupNumRemap) * (env->num_mem + 1));
1902 for (i = 1; i <= env->num_mem; i++) {
1912 for (i = 1, pos = 1; i <= env->num_mem; i++) {
1914 SCANENV_MEM_NODES(env)[pos] = SCANENV_MEM_NODES(env)[i];
1919 loc = env->capture_history;
1920 BIT_STATUS_CLEAR(env->capture_history);
1923 BIT_STATUS_ON_AT_SIMPLE(env->capture_history, map[i].new_val);
1927 env
2024 get_min_match_length(Node* node, OnigDistance *min, ScanEnv* env) argument
2147 get_max_match_length(Node* node, OnigDistance *max, ScanEnv* env) argument
2714 subexp_inf_recursive_check(Node* node, ScanEnv* env, int head) argument
2798 subexp_inf_recursive_check_trav(Node* node, ScanEnv* env) argument
2909 subexp_recursive_check_trav(Node* node, ScanEnv* env) argument
2978 setup_subexp_call(Node* node, ScanEnv* env) argument
3121 setup_look_behind(Node* node, regex_t* reg, ScanEnv* env) argument
3511 setup_comb_exp_check(Node* node, int state, ScanEnv* env) argument
3655 setup_tree(Node* node, regex_t* reg, int state, ScanEnv* env) argument
4248 alt_merge_opt_exact_info(OptExactInfo* to, OptExactInfo* add, OptEnv* env) argument
4523 alt_merge_node_opt_info(NodeOptInfo* to, NodeOptInfo* add, OptEnv* env) argument
4538 optimize_node_left(Node* node, NodeOptInfo* opt, OptEnv* env) argument
4962 OptEnv env; local
[all...]
/PHP_TRUNK/TSRM/
H A Dtsrm_nw.c55 char *command = NULL, *argv[MAX_ARGS] = {'\0'}, **env = NULL; local
116 env = (char **) NXMemAlloc(sizeof(char *) * envCount, 0);
117 if (!env)
120 err = NXCopyEnv(env, envCount);
122 NXMemFree (env);
132 NXMemFree (env);
144 NXMemFree (env);
165 envSpec.esEnv = (void **) env;
205 if (env)
206 NXMemFree (env);
[all...]
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c758 char *env; local
764 if ((env = getenv("MYSQL_TCP_PORT"))) {
765 MySG(default_port) = (uint)atoi(env);
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h124 OCIEnv *env; /* env of this session pool */ member in struct:__anon137
136 OCIEnv *env; /* private env handle */ member in struct:__anon138
512 OCIEnv *env; /* global environment handle */ variable
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h34 OCIEnv *env; member in struct:__anon169
/PHP_TRUNK/ext/pdo_odbc/
H A Dpdo_odbc.c100 char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); local
101 if (!env) {
104 strcpy(env, "DB2INSTANCE=");
105 strcat(env, instance);
106 putenv(env);
107 /* after this point, we can't free env without breaking the environment */
H A Dphp_pdo_odbc_int.h129 PDO_ODBC_HENV env; member in struct:__anon174
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c29 xmlNodePtr trav, env, head, body, resp, cur, fault; local
56 env = NULL;
60 if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_1_ENV_NAMESPACE)) {
61 env = trav;
64 } else if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_2_ENV_NAMESPACE)) {
65 env = trav;
76 if (env == NULL) {
82 attr = env->properties;
104 trav = env->children;
/PHP_TRUNK/ext/standard/
H A Dinfo.c694 char **env, *tmp1, *tmp2; local
878 for (env=environ; env!=NULL && *env !=NULL; env++) {
879 tmp1 = estrdup(*env);
H A Dproc_open.c79 php_process_env_t env; local
88 memset(&env, 0, sizeof(env));
91 return env;
98 env.envarray = (char **) pecalloc(1, sizeof(char *), is_persistent);
100 env.envp = (char *) pecalloc(4, 1, is_persistent);
101 return env;
106 return env;
130 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
132 p = env
175 _php_free_envp(php_process_env_t env, int is_persistent) argument
425 php_process_env_t env; local
[all...]
H A Dproc_open.h50 php_process_env_t env; member in struct:php_process_handle
H A Dbasic_functions.c1867 ZEND_ARG_INFO(0, env) /* ARRAY_INFO(0, env, 1) */
3405 char **env;
3407 for (env = environ; env != NULL && *env != NULL; env++) {
3408 if (!strncmp(*env, pe->key, pe->key_len) && (*env)[pe->key_len] == '=') { /* found it */
3409 *env
4053 char *p, **env; local
[all...]
/PHP_TRUNK/sapi/apache/
H A Dphp_apache.c263 table_entry *env; local
273 env = (table_entry *)env_arr->elts;
275 if (env[i].key) {
276 php_info_print_table_row(2, env[i].key, env[i].val);
281 env = (table_entry *)env_arr->elts;
283 if (env[i].key) {
284 php_info_print_table_row(2, env[i].key, env[i].val);
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c1672 table_entry *env; local
1682 env = (table_entry *)env_arr->elts;
1684 if (env[i].key) {
1685 php_info_print_table_row(2, env[i].key, env[i].val);
1690 env = (table_entry *)env_arr->elts;
1692 if (env[i].key) {
1693 php_info_print_table_row(2, env[i].key, env[i].val);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c553 * of a request. So we have to do our own lookup to get env
559 /* if cgi, or fastcgi and not found in fcgi env
583 /* if cgi, or fastcgi and not found in fcgi env
1087 The env var PATH_TRANSLATED **IS DIFFERENT** than the
1588 char **env, *p, *q, *var, *val, *t = buf; local
1592 for (env = environ; env != NULL && *env != NULL; env++) {
1593 val = strchr(*env, '
[all...]
H A Dfastcgi.c358 fcgi_hash env; member in struct:_fcgi_request
754 fcgi_hash_init(&req->env);
761 fcgi_hash_destroy(&req->env);
867 fcgi_hash_set(&req->env, FCGI_HASH_FUNC(p, name_len), (char*)p, name_len, (char*)p + name_len, val_len);
930 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "RESPONDER", sizeof("RESPONDER")-1);
933 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "AUTHORIZER", sizeof("AUTHORIZER")-1);
936 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "FILTER", sizeof("FILTER")-1);
989 q = req->env.list;
1089 fcgi_hash_clean(&req->env);
1462 return fcgi_hash_get(&req->env, FCGI_HASH_FUN
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c237 char **env, *p, *t = buf; local
263 for (env = environ; env != NULL && *env != NULL; env++) {
264 p = strchr(*env, '=');
268 nlen = p - *env;
273 memcpy(t, *env, nlen);
H A Dlsapilib.c905 //it should be set at the end of special env
925 fprintf( stderr, "LSAPI: missing SUEXEC_UGID env, use default user!\n" );
942 //fprintf( stderr, "LSAPI: no SUEXEC_AUTH env, use default user!\n" );
3058 char **env; local
3060 env = *_NSGetEnviron();
3062 env = environ;
3064 while( env != NULL && *env != NULL )
3066 if (!strncmp(*env, "LSAPI_", 6) || !strncmp( *env, "PHP_LSAPI
[all...]
/PHP_TRUNK/
H A Dserver-tests.php168 function execute($command, $args=NULL, $input=NULL, $cwd=NULL, $env=NULL)
179 $pipes, $cwd, $env);
218 function executeCode($php, $ini_overwrites, $code, $remove_headers=true, $cwd=NULL, $env=NULL)
226 $out = execute($php, $params, $code, $cwd, $env);
414 #arg env var value default description
477 public $env = array(); variable
483 $this->env = $_ENV; variable
588 return executeCode($this->conf['TEST_PHP_EXECUTABLE'],$this->ini_overwrites, $script,$removeheaders,$cwd,$this->env);
678 // env var config settings
679 $this->env variable
1109 $env = $this->env; variable
1263 $env = $this->getENVSettings($section_text,$tmp_file); variable
[all...]
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp57 TEnvironment env; member in struct:_TIsapiContext
668 context.env.RemoveAll();
669 context.env["PATH_TRANSLATED"]= filename;
670 context.env["SCRIPT_MAP"]= filename;
671 context.env["CONTENT_TYPE"]= "";
672 context.env["CONTENT_LENGTH"]= "";
673 context.env["QUERY_STRING"]= arg;
674 context.env["METHOD"]="GET";
675 context.env["PATH_INFO"] = "";
682 context.env["METHO
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c2644 ENVELOPE *env; local
2650 env = mail_newenvelope();
2654 rfc822_parse_adrlist(&env->to, str_copy, defaulthost);
2659 addresstmp = env->to;
2678 mail_free_envelope(&env);
3403 ENVELOPE *env; local
3408 (env = mail_fetch_structure (imap_le_struct->imap_stream, i, NIL, NIL))) {
3410 if (env->subject) {
3411 add_property_string(&myoverview, "subject", env->subject);
3413 if (env
3464 ENVELOPE *env; local
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c491 char **env, *p, *t = buf; local
495 for (env = environ; env != NULL && *env != NULL; env++) {
496 p = strchr(*env, '=');
500 nlen = p - *env;
505 memcpy(t, *env, nlen);

Completed in 65 milliseconds

12