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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.h89 struct key_value_s *env; member in struct:fpm_worker_pool_config_s
H A Dfpm_log.c229 case 'e': /* fastcgi env */
236 char *env = fcgi_getenv((fcgi_request*) SG(server_context), format, strlen(format)); local
237 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-");
H A Dfastcgi.c366 fcgi_hash env; member in struct:_fcgi_request
539 fcgi_hash_init(&req->env);
546 fcgi_hash_destroy(&req->env);
663 fcgi_hash_set(&req->env, FCGI_HASH_FUNC(p, name_len), (char*)p, name_len, (char*)p + name_len, val_len);
731 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "RESPONDER", sizeof("RESPONDER")-1);
734 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "AUTHORIZER", sizeof("AUTHORIZER")-1);
737 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "FILTER", sizeof("FILTER")-1);
790 q = req->env.list;
892 fcgi_hash_clean(&req->env);
1262 return fcgi_hash_get(&req->env, FCGI_HASH_FUN
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h34 OCIEnv *env; member in struct:__anon177
/PHP_TRUNK/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h129 PDO_ODBC_HENV env; member in struct:__anon182
H A Dpdo_odbc.c96 char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); local
97 if (!env) {
100 strcpy(env, "DB2INSTANCE=");
101 strcat(env, instance);
102 putenv(env);
103 /* after this point, we can't free env without breaking the environment */
/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;
H A Dsoap.c1649 xmlNodePtr env = get_node(doc_request->children,"Envelope"); local
1650 if (env && env->ns) {
1651 if (strcmp((char*)env->ns->href, SOAP_1_1_ENV_NAMESPACE) == 0) {
1653 } else if (strcmp((char*)env->ns->href,SOAP_1_2_ENV_NAMESPACE) == 0) {
3462 xmlNodePtr trav,env,head,body,func; local
3469 env = NULL;
3473 if (env == NULL && node_is_equal_ex(trav,"Envelope",SOAP_1_1_ENV_NAMESPACE)) {
3474 env = trav;
3478 } else if (env
[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...]
H A Dtsrm_win32.c457 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env) argument
542 res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process);
545 res = CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process);
/PHP_TRUNK/ext/standard/
H A Dproc_open.h50 php_process_env_t env; member in struct:php_process_handle
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
431 php_process_env_t env; local
[all...]
H A Dinfo.c614 char **env, *tmp1, *tmp2; local
798 for (env=environ; env!=NULL && *env !=NULL; env++) {
799 tmp1 = estrdup(*env);
H A Dbasic_functions.c1868 ZEND_ARG_INFO(0, env) /* ARRAY_INFO(0, env, 1) */
3420 char **env;
3422 for (env = environ; env != NULL && *env != NULL; env++) {
3423 if (!strncmp(*env, pe->key, pe->key_len) && (*env)[pe->key_len] == '=') { /* found it */
3424 *env
4075 char *p, **env; local
[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
476 public $env = array(); variable
482 $this->env = $_ENV; variable
587 return executeCode($this->conf['TEST_PHP_EXECUTABLE'],$this->ini_overwrites, $script,$removeheaders,$cwd,$this->env);
677 // env var config settings
678 $this->env variable
1108 $env = $this->env; variable
1262 $env = $this->getENVSettings($section_text,$tmp_file); variable
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c242 char **env, *p, *t = buf; local
286 for (env = environ; env != NULL && *env != NULL; env++) {
287 p = strchr(*env, '=');
291 nlen = p - *env;
296 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" );
3077 char **env; local
3079 env = *_NSGetEnviron();
3081 env = environ;
3083 while( env != NULL && *env != NULL )
3085 if (!strncmp(*env, "LSAPI_", 6) || !strncmp( *env, "PHP_LSAPI
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c362 fcgi_hash env; member in struct:_fcgi_request
768 fcgi_hash_init(&req->env);
775 fcgi_hash_destroy(&req->env);
899 fcgi_hash_set(&req->env, FCGI_HASH_FUNC(p, name_len), (char*)p, name_len, (char*)p + name_len, val_len);
962 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "RESPONDER", sizeof("RESPONDER")-1);
965 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "AUTHORIZER", sizeof("AUTHORIZER")-1);
968 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "FILTER", sizeof("FILTER")-1);
1021 q = req->env.list;
1123 fcgi_hash_clean(&req->env);
1497 return fcgi_hash_get(&req->env, FCGI_HASH_FUN
[all...]
H A Dcgi_main.c521 * of a request. So we have to do our own lookup to get env
527 /* if cgi, or fastcgi and not found in fcgi env
551 /* if cgi, or fastcgi and not found in fcgi env
1058 The env var PATH_TRANSLATED **IS DIFFERENT** than the
1562 char **env, *p, *q, *var, *val, *t = buf; local
1566 for (env = environ; env != NULL && *env != NULL; env++) {
1567 val = strchr(*env, '
[all...]
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h124 OCIEnv *env; /* env of this session pool */ member in struct:__anon7
136 OCIEnv *env; /* private env handle */ member in struct:__anon8
520 OCIEnv *env; /* global environment handle */ variable
/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);
/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...]
H A Dregparse.c124 #define BACKREF_REL_TO_ABS(rel_no, env) \
125 ((env)->num_mem + 1 + (rel_no))
719 name_add(regex_t* reg, UChar* name, UChar* name_end, int backref, ScanEnv* env) argument
795 ! IS_SYNTAX_BV(env->syntax, ONIG_SYN_ALLOW_MULTIPLEX_DEFINITION_NAME)) {
796 onig_scan_env_set_error_string(env, ONIGERR_MULTIPLEX_DEFINED_NAME,
924 scan_env_clear(ScanEnv* env) argument
928 BIT_STATUS_CLEAR(env->capture_history);
929 BIT_STATUS_CLEAR(env->bt_mem_start);
930 BIT_STATUS_CLEAR(env->bt_mem_end);
931 BIT_STATUS_CLEAR(env
954 scan_env_add_mem_entry(ScanEnv* env) argument
987 scan_env_set_mem_node(ScanEnv* env, int num, Node* node) argument
1280 node_new_backref(int back_num, int* backrefs, int by_name, int exist_level, int nest_level, ScanEnv* env) argument
1772 add_code_range(BBuf** pbuf, ScanEnv* env, OnigCodePoint from, OnigCodePoint to) argument
2098 conv_backslash_value(int c, ScanEnv* env) argument
2318 fetch_range_quantifier(UChar** src, UChar* end, OnigToken* tok, ScanEnv* env) argument
2409 fetch_escaped_value(UChar** src, UChar* end, ScanEnv* env) argument
2503 fetch_name_with_level(OnigCodePoint start_code, UChar** src, UChar* end, UChar** rname_end, ScanEnv* env, int* rback_num, int* rlevel) argument
2617 fetch_name(OnigCodePoint start_code, UChar** src, UChar* end, UChar** rname_end, ScanEnv* env, int* rback_num, int ref) argument
2734 fetch_name(OnigCodePoint start_code, UChar** src, UChar* end, UChar** rname_end, ScanEnv* env, int* rback_num, int ref) argument
2812 CC_ESC_WARN(ScanEnv* env, UChar *c) argument
2827 CLOSE_BRACKET_WITHOUT_ESC_WARN(ScanEnv* env, UChar* c) argument
2908 fetch_token_in_cc(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
3126 fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
3830 add_ctype_to_cc(CClassNode* cc, int ctype, int not, ScanEnv* env) argument
3915 parse_posix_bracket(CClassNode* cc, UChar** src, UChar* end, ScanEnv* env) argument
3989 fetch_char_property_to_ctype(UChar** src, UChar* end, ScanEnv* env) argument
4020 parse_char_property(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4054 next_state_class(CClassNode* cc, OnigCodePoint* vs, enum CCVALTYPE* type, enum CCSTATE* state, ScanEnv* env) argument
4077 next_state_val(CClassNode* cc, OnigCodePoint *vs, OnigCodePoint v, int* vs_israw, int v_israw, enum CCVALTYPE intype, enum CCVALTYPE* type, enum CCSTATE* state, ScanEnv* env) argument
4152 code_exist_check(OnigCodePoint c, UChar* from, UChar* end, int ignore_escaped, ScanEnv* env) argument
4175 parse_char_class(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4505 parse_enclose(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
4757 set_quantifier(Node* qnode, Node* target, int group, ScanEnv* env) argument
4950 ScanEnv* env; member in struct:__anon45
4961 ScanEnv* env; local
5037 parse_exp(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5428 parse_branch(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5465 parse_subexp(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5509 parse_regexp(Node** top, UChar** src, UChar* end, ScanEnv* env) argument
5522 onig_parse_make_tree(Node** root, const UChar* pattern, const UChar* end, regex_t* reg, ScanEnv* env) argument
5549 onig_scan_env_set_error_string(ScanEnv* env, int ecode ARG_UNUSED, UChar* arg, UChar* arg_end) argument
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c2695 ENVELOPE *env; local
2701 env = mail_newenvelope();
2705 rfc822_parse_adrlist(&env->to, str_copy, defaulthost->val);
2710 addresstmp = env->to;
2729 mail_free_envelope(&env);
3464 ENVELOPE *env; local
3469 (env = mail_fetch_structure (imap_le_struct->imap_stream, i, NIL, NIL))) {
3471 if (env->subject) {
3472 add_property_string(&myoverview, "subject", env->subject);
3474 if (env
3525 ENVELOPE *env; local
[all...]

Completed in 75 milliseconds