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

12

/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 Dinfo.c698 char **env, *tmp1, *tmp2; local
882 for (env=environ; env!=NULL && *env !=NULL; env++) {
883 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 Dbasic_functions.c1864 ZEND_ARG_INFO(0, env) /* ARRAY_INFO(0, env, 1) */
3402 char **env;
3404 for (env = environ; env != NULL && *env != NULL; env++) {
3405 if (!strncmp(*env, pe->key, pe->key_len) && (*env)[pe->key_len] == '=') { /* found it */
3406 *env
4048 char *p, **env; local
[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/sapi/fpm/fpm/
H A Dfastcgi.h112 HashTable *env; member in struct:_fcgi_request
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 : "-");
/PHP_TRUNK/sapi/litespeed/
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...]
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);
/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/ext/imap/
H A Dphp_imap.c2642 ENVELOPE *env; local
2648 env = mail_newenvelope();
2652 rfc822_parse_adrlist(&env->to, str_copy, defaulthost);
2657 addresstmp = env->to;
2676 mail_free_envelope(&env);
3401 ENVELOPE *env; local
3406 (env = mail_fetch_structure (imap_le_struct->imap_stream, i, NIL, NIL))) {
3408 if (env->subject) {
3409 add_property_string(&myoverview, "subject", env->subject);
3411 if (env
3462 ENVELOPE *env; local
[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:__anon138
136 OCIEnv *env; /* private env handle */ member in struct:__anon139
512 OCIEnv *env; /* global environment handle */ variable
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h34 OCIEnv *env; member in struct:__anon166
/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:__anon171
/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/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/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.c572 * of a request. So we have to do our own lookup to get env
578 /* if cgi, or fastcgi and not found in fcgi env
602 /* if cgi, or fastcgi and not found in fcgi env
1106 The env var PATH_TRANSLATED **IS DIFFERENT** than the
1610 char **env, *p, *q, *var, *val, *t = buf; local
1614 for (env = environ; env != NULL && *env != NULL; env++) {
1615 val = strchr(*env, '
[all...]
H A Dfastcgi.c358 fcgi_hash env; member in struct:_fcgi_request
760 fcgi_hash_init(&req->env);
767 fcgi_hash_destroy(&req->env);
873 fcgi_hash_set(&req->env, FCGI_HASH_FUNC(p, name_len), (char*)p, name_len, (char*)p + name_len, val_len);
936 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "RESPONDER", sizeof("RESPONDER")-1);
939 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "AUTHORIZER", sizeof("AUTHORIZER")-1);
942 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "FILTER", sizeof("FILTER")-1);
995 q = req->env.list;
1095 fcgi_hash_clean(&req->env);
1468 return fcgi_hash_get(&req->env, FCGI_HASH_FUN
[all...]

Completed in 49 milliseconds

12