Searched refs:env (Results 1 - 25 of 46) sorted by relevance

12

/PHP_5_3/
H A Drun-tests.php1 #!/usr/bin/env php
1050 function system_with_timeout($commandline, $env = null, $stdin = null)
1057 foreach((array)$env as $key => $value) {
1076 $timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60);
1113 function run_all_tests($test_files, $env, $redir_tested = null)
1131 $result = run_test($php, $name, $env);
1164 function run_test($php, $file, $env)
1175 if (isset($env['TEST_PHP_CGI_EXECUTABLE'])) {
1176 $php_cgi = $env['TEST_PHP_CGI_EXECUTABL
[all...]
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_5_3/sapi/fpm/fpm/
H A Dfpm_conf.h83 struct key_value_s *env; member in struct:fpm_worker_pool_config_s
H A Dfastcgi.c485 zend_hash_update(req->env, tmp, eff_name_len+1, &s, sizeof(char*), NULL);
510 ALLOC_HASHTABLE(req->env);
511 zend_hash_init(req->env, 0, NULL, (void (*)(void *)) fcgi_free_var, 0);
548 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
552 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
556 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
612 zend_hash_internal_pointer_reset_ex(req->env, &pos);
613 while ((key_type = zend_hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_EXISTANT) {
615 zend_hash_move_forward_ex(req->env, &pos);
717 if (destroy && req->env) {
[all...]
H A Dfastcgi.h112 HashTable *env; member in struct:_fcgi_request
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 : "-");
/PHP_5_3/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_5_3/ext/mbstring/oniguruma/
H A Dregcomp.c1872 disable_noname_group_capture(Node** root, regex_t* reg, ScanEnv* env) argument
1878 map = (GroupNumRemap* )xalloca(sizeof(GroupNumRemap) * (env->num_mem + 1));
1880 for (i = 1; i <= env->num_mem; i++) {
1890 for (i = 1, pos = 1; i <= env->num_mem; i++) {
1892 SCANENV_MEM_NODES(env)[pos] = SCANENV_MEM_NODES(env)[i];
1897 loc = env->capture_history;
1898 BIT_STATUS_CLEAR(env->capture_history);
1901 BIT_STATUS_ON_AT_SIMPLE(env->capture_history, map[i].new_val);
1905 env
2002 get_min_match_length(Node* node, OnigDistance *min, ScanEnv* env) argument
2130 get_max_match_length(Node* node, OnigDistance *max, ScanEnv* env) argument
2724 subexp_inf_recursive_check(Node* node, ScanEnv* env, int head) argument
2808 subexp_inf_recursive_check_trav(Node* node, ScanEnv* env) argument
2921 subexp_recursive_check_trav(Node* node, ScanEnv* env) argument
2990 setup_subexp_call(Node* node, ScanEnv* env) argument
3132 setup_look_behind(Node* node, regex_t* reg, ScanEnv* env) argument
3301 setup_comb_exp_check(Node* node, int state, ScanEnv* env) argument
3445 setup_tree(Node* node, regex_t* reg, int state, ScanEnv* env) argument
4038 alt_merge_opt_exact_info(OptExactInfo* to, OptExactInfo* add, OptEnv* env) argument
4319 alt_merge_node_opt_info(NodeOptInfo* to, NodeOptInfo* add, OptEnv* env) argument
4334 optimize_node_left(Node* node, NodeOptInfo* opt, OptEnv* env) argument
4756 OptEnv env; local
[all...]
H A Dregparse.c719 name_add(regex_t* reg, UChar* name, UChar* name_end, int backref, ScanEnv* env) argument
792 ! IS_SYNTAX_BV(env->syntax, ONIG_SYN_ALLOW_MULTIPLEX_DEFINITION_NAME)) {
793 onig_scan_env_set_error_string(env, ONIGERR_MULTIPLEX_DEFINED_NAME,
923 scan_env_clear(ScanEnv* env) argument
927 BIT_STATUS_CLEAR(env->capture_history);
928 BIT_STATUS_CLEAR(env->bt_mem_start);
929 BIT_STATUS_CLEAR(env->bt_mem_end);
930 BIT_STATUS_CLEAR(env->backrefed_mem);
931 env->error = (UChar* )NULL;
932 env
953 scan_env_add_mem_entry(ScanEnv* env) argument
986 scan_env_set_mem_node(ScanEnv* env, int num, Node* node) argument
1254 node_new_backref(int back_num, int* backrefs, int by_name, int exist_level, int nest_level, ScanEnv* env) argument
1739 add_code_range(BBuf** pbuf, ScanEnv* env, OnigCodePoint from, OnigCodePoint to) argument
2065 conv_backslash_value(int c, ScanEnv* env) argument
2282 fetch_range_quantifier(UChar** src, UChar* end, OnigToken* tok, ScanEnv* env) argument
2373 fetch_escaped_value(UChar** src, UChar* end, ScanEnv* env) argument
2453 fetch_name_with_level(UChar** src, UChar* end, UChar** rname_end , ScanEnv* env, int* level) argument
2536 fetch_name(UChar** src, UChar* end, UChar** rname_end, ScanEnv* env, int ref) argument
2612 fetch_name(UChar** src, UChar* end, UChar** rname_end, ScanEnv* env, int ref) argument
2651 CC_ESC_WARN(ScanEnv* env, UChar *c) argument
2666 CCEND_ESC_WARN(ScanEnv* env, UChar* c) argument
2747 fetch_token_in_cc(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
2957 fetch_token(OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
3618 add_ctype_to_cc(CClassNode* cc, int ctype, int not, ScanEnv* env) argument
3753 parse_posix_bracket(CClassNode* cc, UChar** src, UChar* end, ScanEnv* env) argument
3860 fetch_char_property_to_ctype(UChar** src, UChar* end, ScanEnv* env) argument
3906 parse_char_property(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
3940 next_state_class(CClassNode* cc, OnigCodePoint* vs, enum CCVALTYPE* type, enum CCSTATE* state, ScanEnv* env) argument
3963 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
4061 parse_char_class(Node** np, OnigToken* tok, UChar** src, UChar* end, ScanEnv* env) argument
4391 parse_effect(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
4619 set_quantifier(Node* qnode, Node* target, int group, ScanEnv* env) argument
4786 parse_exp(Node** np, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5164 parse_branch(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5201 parse_subexp(Node** top, OnigToken* tok, int term, UChar** src, UChar* end, ScanEnv* env) argument
5245 parse_regexp(Node** top, UChar** src, UChar* end, ScanEnv* env) argument
5258 onig_parse_make_tree(Node** root, const UChar* pattern, const UChar* end, regex_t* reg, ScanEnv* env) argument
5285 onig_scan_env_set_error_string(ScanEnv* env, int ecode, UChar* arg, UChar* arg_end) argument
[all...]
/PHP_5_3/ext/mysqli/tests/
H A Dconnect.inc85 * @param enable_env_flags Enable setting of connection flags through env(MYSQL_TEST_CONNECT_FLAGS)?
106 * @param enable_env_flags Enable setting of connection flags through env(MYSQL_TEST_CONNECT_FLAGS)
/PHP_5_3/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.h98 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
/PHP_5_3/ext/oci8/
H A Doci8.c1076 errstatus = OCIEnvNlsCreate(&OCI_G(env), PHP_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, 0, 0);
1084 if (OCI_G(env)
1085 && OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub4)OCI_HTYPE_ENV) == OCI_SUCCESS
1090 OCI_G(env) = NULL;
1095 errstatus = OCIHandleAlloc (OCI_G(env), (dvoid **)&OCI_G(err), OCI_HTYPE_ERROR, 0, NULL);
1108 PHP_OCI_CALL(OCIHandleAlloc, (OCI_G(env), (dvoid **) &cpoolh, OCI_HTYPE_CPOOL, (size_t) 0, (dvoid **) 0));
1109 PHP_OCI_CALL(OCIConnectionPoolCreate, (OCI_G(env), OCI_G(err), cpoolh, NULL, 0, NULL, 0, 0, 0, 0, NULL, 0, NULL, 0, cpoolmode));
1114 OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub4)OCI_HTYPE_ERROR);
1128 OCIHandleFree((dvoid *) OCI_G(env), OCI_HTYPE_ENV);
1130 OCI_G(env)
[all...]
H A Doci8_collection.c63 connection->env,
83 PHP_OCI_CALL_RETURN(connection->errcode, OCIHandleAlloc, (connection->env, (dvoid **) &dschp1, (ub4) OCI_HTYPE_DESCRIBE, (size_t) 0, (dvoid **) 0));
168 connection->env,
206 connection->env,
245 PHP_OCI_CALL_RETURN(connection->errcode, OCICollSize, (connection->env, connection->err, collection->collection, (sb4 *)size));
261 PHP_OCI_CALL_RETURN(*max, OCICollMax, (connection->env, collection->collection));
273 PHP_OCI_CALL_RETURN(connection->errcode, OCICollTrim, (connection->env, connection->err, trim_size, collection->collection));
291 PHP_OCI_CALL_RETURN(connection->errcode, OCICollAppend, (connection->env, connection->err, (dvoid *)0, &null_index, collection->collection));
321 connection->env,
365 connection->env,
[all...]
/PHP_5_3/ext/pdo_oci/
H A Doci_driver.c233 if (H->charset && H->env) {
234 OCIHandleFree(H->env, OCI_HTYPE_ENV);
235 H->env = NULL;
282 OCIHandleAlloc(H->env, (dvoid*)&S->stmt, OCI_HTYPE_STMT, 0, NULL);
285 OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL);
333 OCIHandleAlloc(H->env, (dvoid*)&stmt, OCI_HTYPE_STMT, 0, NULL);
609 if (OCIEnvNlsCreate(&H->env, PDO_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, H->charset, H->charset) != OCI_SUCCESS) {
616 if (H->env == NULL) {
618 H->env = pdo_oci_Env;
622 OCIHandleAlloc(H->env, (dvoi
[all...]
H A Dphp_pdo_oci_int.h34 OCIEnv *env; member in struct:__anon141
/PHP_5_3/ext/pdo_odbc/
H A Dodbc_driver.c89 eh = H->env;
137 SQLFreeHandle(SQL_HANDLE_ENV, H->env);
138 H->env = NULL;
402 SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &H->env);
403 rc = SQLSetEnvAttr(H->env, SQL_ATTR_ODBC_VERSION, (void*)SQL_OV_ODBC3, 0);
412 rc = SQLSetEnvAttr(H->env, SQL_ATTR_CP_MATCH, (void*)pdo_odbc_pool_mode, 0);
420 rc = SQLAllocHandle(SQL_HANDLE_DBC, H->env, &H->dbc);
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:__anon146
/PHP_5_3/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_5_3/ext/standard/
H A Dproc_open.c79 php_process_env_t env; local
90 memset(&env, 0, sizeof(env));
93 return env;
100 env.envarray = (char **) pecalloc(1, sizeof(char *), is_persistent);
102 env.envp = (char *) pecalloc(4, 1, is_persistent);
103 return env;
108 return env;
135 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
137 p = env
217 _php_free_envp(php_process_env_t env, int is_persistent) argument
500 php_process_env_t env; local
[all...]
H A Dproc_open.h50 php_process_env_t env; member in struct:php_process_handle
/PHP_5_3/sapi/apache/
H A Dphp_apache.c263 table_entry *env; local
273 env = (table_entry *)env_arr->elts;
275 if (env[i].key && (!PG(safe_mode) || (PG(safe_mode) && strncasecmp(env[i].key, "authorization", 13)))) {
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[
[all...]
/PHP_5_3/sapi/cgi/
H A Dfastcgi.c652 zend_hash_update(req->env, tmp, name_len+1, &s, sizeof(char*), NULL);
677 ALLOC_HASHTABLE(req->env);
678 zend_hash_init(req->env, 0, NULL, (void (*)(void *)) fcgi_free_var, 0);
715 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
719 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
723 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
779 zend_hash_internal_pointer_reset_ex(req->env, &pos);
780 while ((key_type = zend_hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_EXISTANT) {
782 zend_hash_move_forward_ex(req->env, &pos);
884 if (destroy && req->env) {
[all...]
H A Dfastcgi.h112 HashTable *env; member in struct:_fcgi_request

Completed in 55 milliseconds

12