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

12

/PHP_5_6/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_6/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_6/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 TSRMLS_DC);
/PHP_5_6/ext/oci8/
H A Doci8_collection.c64 connection->env,
84 PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (connection->env, (dvoid **) &dschp1, (ub4) OCI_HTYPE_DESCRIBE, (size_t) 0, (dvoid **) 0));
169 connection->env,
207 connection->env,
249 PHP_OCI_CALL_RETURN(errstatus, OCICollSize, (connection->env, connection->err, collection->collection, (sb4 *)size));
267 PHP_OCI_CALL_RETURN(*max, OCICollMax, (connection->env, collection->collection));
281 PHP_OCI_CALL_RETURN(errstatus, OCICollTrim, (connection->env, connection->err, trim_size, collection->collection));
302 PHP_OCI_CALL_RETURN(errstatus, OCICollAppend, (connection->env, connection->err, (dvoid *)0, &null_index, collection->collection));
335 connection->env,
376 connection->env,
[all...]
H A Doci8.c1089 errstatus = OCIEnvNlsCreate(&OCI_G(env), PHP_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, 0, 0);
1097 if (OCI_G(env)
1098 && OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub4)OCI_HTYPE_ENV) == OCI_SUCCESS
1103 OCI_G(env) = NULL;
1108 errstatus = OCIHandleAlloc (OCI_G(env), (dvoid **)&OCI_G(err), OCI_HTYPE_ERROR, 0, NULL);
1121 PHP_OCI_CALL(OCIHandleAlloc, (OCI_G(env), (dvoid **) &cpoolh, OCI_HTYPE_CPOOL, (size_t) 0, (dvoid **) 0));
1122 PHP_OCI_CALL(OCIConnectionPoolCreate, (OCI_G(env), OCI_G(err), cpoolh, NULL, 0, NULL, 0, 0, 0, 0, NULL, 0, NULL, 0, cpoolmode));
1127 OCIErrorGet(OCI_G(env), (ub4)1, NULL, &ora_error_code, tmp_buf, (ub4)OCI_ERROR_MAXMSG_SIZE, (ub4)OCI_HTYPE_ERROR);
1141 OCIHandleFree((dvoid *) OCI_G(env), OCI_HTYPE_ENV);
1143 OCI_G(env)
[all...]
/PHP_5_6/ext/pdo_oci/
H A Doci_driver.c235 if (H->charset && H->env) {
236 OCIHandleFree(H->env, OCI_HTYPE_ENV);
237 H->env = NULL;
284 OCIHandleAlloc(H->env, (dvoid*)&S->stmt, OCI_HTYPE_STMT, 0, NULL);
287 OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL);
335 OCIHandleAlloc(H->env, (dvoid*)&stmt, OCI_HTYPE_STMT, 0, NULL);
613 if (OCIEnvNlsCreate(&H->env, PDO_OCI_INIT_MODE, 0, NULL, NULL, NULL, 0, NULL, H->charset, H->charset) != OCI_SUCCESS) {
620 if (H->env == NULL) {
622 H->env = pdo_oci_Env;
626 OCIHandleAlloc(H->env, (dvoi
[all...]
H A Dphp_pdo_oci_int.h34 OCIEnv *env; member in struct:__anon170
/PHP_5_6/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:__anon2
/PHP_5_6/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_6/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
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;
144 ep = env.envarray = (char **) pecalloc(cnt + 1, sizeof(char *), is_persistent);
146 p = env
211 _php_free_envp(php_process_env_t env, int is_persistent) argument
460 php_process_env_t env; local
[all...]
/PHP_5_6/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_5_6/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:__anon24
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_5_6/main/
H A Dphp_variables.c498 char **env, *p, *t = buf; local
502 for (env = environ; env != NULL && *env != NULL; env++) {
503 p = strchr(*env, '=');
507 nlen = p - *env;
512 memcpy(t, *env, nlen);
/PHP_5_6/sapi/cgi/
H A Dfastcgi.c359 fcgi_hash env; member in struct:_fcgi_request
755 fcgi_hash_init(&req->env);
762 fcgi_hash_destroy(&req->env);
868 fcgi_hash_set(&req->env, FCGI_HASH_FUNC(p, name_len), (char*)p, name_len, (char*)p + name_len, val_len);
931 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "RESPONDER", sizeof("RESPONDER")-1);
934 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "AUTHORIZER", sizeof("AUTHORIZER")-1);
937 fcgi_hash_set(&req->env, FCGI_HASH_FUNC("FCGI_ROLE", sizeof("FCGI_ROLE")-1), "FCGI_ROLE", sizeof("FCGI_ROLE")-1, "FILTER", sizeof("FILTER")-1);
990 q = req->env.list;
1090 fcgi_hash_clean(&req->env);
1463 return fcgi_hash_get(&req->env, FCGI_HASH_FUN
[all...]
/PHP_5_6/sapi/fpm/fpm/
H A Dfastcgi.h112 HashTable *env; member in struct:_fcgi_request
H A Dfastcgi.c495 zend_hash_update(req->env, tmp, eff_name_len+1, &s, sizeof(char*), NULL);
520 ALLOC_HASHTABLE(req->env);
521 zend_hash_init(req->env, 0, NULL, (void (*)(void *)) fcgi_free_var, 0);
558 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
562 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
566 zend_hash_update(req->env, "FCGI_ROLE", sizeof("FCGI_ROLE"), &val, sizeof(char*), NULL);
622 zend_hash_internal_pointer_reset_ex(req->env, &pos);
623 while ((key_type = zend_hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_EXISTENT) {
625 zend_hash_move_forward_ex(req->env, &pos);
727 if (destroy && req->env) {
[all...]
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 Dfpm_conf.h89 struct key_value_s *env; member in struct:fpm_worker_pool_config_s
/PHP_5_6/
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...]
H A Drun-tests.php1 #!/usr/bin/env php
1070 function system_with_timeout($commandline, $env = null, $stdin = null)
1077 foreach((array)$env as $key => $value) {
1097 $timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60);
1134 function run_all_tests($test_files, $env, $redir_tested = null)
1152 $result = run_test($php, $name, $env);
1185 function run_test($php, $file, $env)
1196 if (isset($env['TEST_PHP_CGI_EXECUTABLE'])) {
1197 $php_cgi = $env['TEST_PHP_CGI_EXECUTABL
[all...]

Completed in 146 milliseconds

12