Searched refs:var (Results 1 - 25 of 59) sorted by relevance

123

/PHP_5_4/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc8 * @var string
14 * @var stream
H A Dmake.dangerous.tar.php.inc9 * @var string
15 * @var stream
H A Dtarmaker.php.inc8 * @var string
14 * @var stream
/PHP_5_4/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc8 * @var string
12 * @var ZIPArchive
/PHP_5_4/ext/standard/
H A Dtype.c24 /* {{{ proto string gettype(mixed var)
89 /* {{{ proto bool settype(mixed var, string type)
93 zval **var; local
97 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &var, &type, &type_len) == FAILURE) {
102 convert_to_long(*var);
104 convert_to_long(*var);
106 convert_to_double(*var);
108 convert_to_double(*var);
110 convert_to_string(*var);
112 convert_to_array(*var);
358 zval *var, **callable_name = NULL; local
[all...]
/PHP_5_4/ext/wddx/
H A Dphp_wddx_api.h48 #define WDDX_VAR_S "<var name='%s'>"
49 #define WDDX_VAR_E "</var>"
63 void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC);
H A Dwddx.c58 #define EL_VAR "var"
107 ZEND_ARG_INFO(0, var)
402 static void php_wddx_serialize_string(wddx_packet *packet, zval *var TSRMLS_DC)
406 if (Z_STRLEN_P(var) > 0) {
410 buf = php_escape_html_entities(Z_STRVAL_P(var), Z_STRLEN_P(var), &buf_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
422 static void php_wddx_serialize_number(wddx_packet *packet, zval *var) argument
427 tmp = *var;
439 static void php_wddx_serialize_boolean(wddx_packet *packet, zval *var) argument
441 php_wddx_add_chunk(packet, Z_LVAL_P(var)
627 php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC) argument
1161 zval *var; local
[all...]
/PHP_5_4/main/
H A Drfc1867.c56 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC);
161 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
163 if (override_protection || !is_protected_variable(var TSRMLS_CC)) {
164 php_register_variable_safe(var, strval, val_len, track_vars_array TSRMLS_CC);
169 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
171 if (override_protection || !is_protected_variable(var TSRMLS_CC)) {
172 php_register_variable_ex(var, val, track_vars_array TSRMLS_CC);
183 static void register_http_post_files_variable_ex(char *var, zval *val, zval *http_post_files, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
185 safe_php_register_variable_ex(var, val, http_post_files, override_protection TSRMLS_CC);
H A Dphp_variables.c37 PHPAPI void php_register_variable(char *var, char *strval, zval *track_vars_array TSRMLS_DC) argument
39 php_register_variable_safe(var, strval, strlen(strval), track_vars_array TSRMLS_CC);
43 PHPAPI void php_register_variable_safe(char *var, char *strval, int str_len, zval *track_vars_array TSRMLS_DC) argument
53 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC);
61 char *var, *var_orig; local
90 var = var_orig = do_alloca(var_len + 1, use_heap);
94 for (p = var; *p; p++) {
104 var_len = p - var;
115 !memcmp(var, "GLOBALS", sizeof("GLOBALS")-1)) {
121 index = var;
234 char *var, *val, *e, *s, *p; local
282 char *res = NULL, *var, *val, *separator = NULL; local
[all...]
H A Dphp_variables.h39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC);
41 PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, zval *track_vars_array TSRMLS_DC);
42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c616 static void cgi_php_load_env_var(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) argument
622 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len TSRMLS_CC)) {
623 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC);
1090 The env var PATH_TRANSLATED **IS DIFFERENT** than the
1531 static void add_request_header(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC) /* {{{ */ argument
1539 var[0] == 'H' &&
1540 var[1] == 'T' &&
1541 var[2] == 'T' &&
1542 var[3] == 'P' &&
1543 var[
1591 char **env, *p, *q, *var, *val, *t = buf; local
[all...]
H A Dfastcgi.c153 char *var; member in struct:_fcgi_hash_bucket
254 static char* fcgi_hash_set(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len, char *val, unsigned int val_len) argument
262 memcmp(p->var, var, var_len) == 0) {
285 p->var = fcgi_hash_strndup(h, var, var_len);
291 static void fcgi_hash_del(fcgi_hash *h, unsigned int hash_value, char *var, unsigned int var_len) argument
299 memcmp((*p)->var, var, var_len) == 0) {
310 static char *fcgi_hash_get(fcgi_hash *h, unsigned int hash_value, char *var, unsigne argument
1457 fcgi_getenv(fcgi_request *req, const char* var, int var_len) argument
1466 fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value) argument
1473 fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val) argument
1484 fcgi_quick_putenv(fcgi_request *req, char* var, int var_len, unsigned int hash_value, char* val) argument
1523 zval ** var = (zval **)ptr; local
[all...]
H A Dfastcgi.h33 #define FCGI_HASH_FUNC(var, var_len) \
35 (((unsigned int)var[3]) << 2) + \
36 (((unsigned int)var[var_len-2]) << 4) + \
37 (((unsigned int)var[var_len-1]) << 2) + \
111 typedef void (*fcgi_apply_func)(char *var, unsigned int var_len, char *val, unsigned int val_len, void *arg TSRMLS_DC);
126 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
127 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
128 char* fcgi_quick_getenv(fcgi_request *req, const char* var, int var_len, unsigned int hash_value);
129 char* fcgi_quick_putenv(fcgi_request *req, char* var, int var_len, unsigned int hash_value, char* val);
/PHP_5_4/sapi/fpm/fpm/
H A Dfastcgi.h125 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
126 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
H A Dfpm_env.c48 char *var = alloca(name_len + 1 + value_len + 1); local
50 memcpy(var, name, name_len);
52 var[name_len] = '=';
54 memcpy(var + name_len + 1, value, value_len);
56 var[name_len + 1 + value_len] = '\0';
58 return putenv(var);
/PHP_5_4/Zend/
H A Dzend_API.h639 zval *var; \
640 ALLOC_ZVAL(var); \
641 ZVAL_STRING(var, v, 0); \
642 ZEND_SET_GLOBAL_VAR(n, var); \
648 zval *var; \
649 ALLOC_ZVAL(var); \
650 ZVAL_STRINGL(var, v, l, 0); \
651 ZEND_SET_GLOBAL_VAR(n, var); \
657 zval *var; \
658 ALLOC_ZVAL(var); \
[all...]
H A Dzend_execute.c65 #define CV(var) CVs[var]
74 should_free->var = z;
77 should_free->var = 0;
107 if (__t->var.ptr_ptr) { \
108 __t->var.ptr = *__t->var.ptr_ptr; \
109 __t->var.ptr_ptr = &__t->var.ptr; \
110 if (!PZVAL_IS_REF(__t->var
170 zend_get_compiled_variable_value(const zend_execute_data *execute_data_ptr, zend_uint var) argument
175 _get_zval_ptr_tmp(zend_uint var, const temp_variable *Ts, zend_free_op *should_free TSRMLS_DC) argument
180 _get_zval_ptr_var(zend_uint var, const temp_variable *Ts, zend_free_op *should_free TSRMLS_DC) argument
188 _get_zval_cv_lookup(zval ***ptr, zend_uint var, int type TSRMLS_DC) argument
286 _get_zval_ptr_cv(zend_uint var, int type TSRMLS_DC) argument
374 _get_zval_ptr_ptr_var(zend_uint var, const temp_variable *Ts, zend_free_op *should_free TSRMLS_DC) argument
387 _get_zval_ptr_ptr_cv(zend_uint var, int type TSRMLS_DC) argument
[all...]
H A Dzend_vm_def.h34 fast_add_function(&EX_T(opline->result.var).tmp_var,
49 fast_sub_function(&EX_T(opline->result.var).tmp_var,
64 fast_mul_function(&EX_T(opline->result.var).tmp_var,
79 fast_div_function(&EX_T(opline->result.var).tmp_var,
94 fast_mod_function(&EX_T(opline->result.var).tmp_var,
109 shift_left_function(&EX_T(opline->result.var).tmp_var,
124 shift_right_function(&EX_T(opline->result.var).tmp_var,
139 concat_function(&EX_T(opline->result.var).tmp_var,
154 is_identical_function(&EX_T(opline->result.var).tmp_var,
167 zval *result = &EX_T(opline->result.var)
2072 zval *var; variable
2098 zval_dtor(var); variable
[all...]
H A Dzend_vm_execute.h333 #define EX_CV(var) EX(CVs)[var]
443 zval *tmp = &EX_T(opline->result.var).tmp_var;
505 if (!EX_T(opline->result.var).var.ptr) { /* there was no return statement */
511 EX_T(opline->result.var).var.ptr = retval;
560 if (RETURN_VALUE_USED(opline) && EX_T(opline->result.var).var.ptr) {
561 zval_ptr_dtor(&EX_T(opline->result.var)
8577 zval *var; local
9251 zval *var; local
10351 zval *var; local
23586 zval *var; local
24745 zval *var; local
26172 zval *var; local
[all...]
/PHP_5_4/ext/oci8/
H A Doci8_statement.c985 int php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long maxlength, ub2 type TSRMLS_DC) argument
1003 if (Z_TYPE_P(var) != IS_OBJECT || zend_hash_find(Z_OBJPROP_P(var), "collection", sizeof("collection"), (void **)&tmp) == FAILURE) {
1025 if (Z_TYPE_P(var) != IS_OBJECT || zend_hash_find(Z_OBJPROP_P(var), "descriptor", sizeof("descriptor"), (void **)&tmp) == FAILURE) {
1044 if (Z_TYPE_P(var) == IS_RESOURCE || Z_TYPE_P(var) == IS_OBJECT) {
1048 convert_to_long(var);
1049 bind_data = (ub4 *)&Z_LVAL_P(var);
1059 if (Z_TYPE_P(var)
1407 php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long max_table_length, long maxlength, long type TSRMLS_DC) argument
1506 php_oci_bind_array_helper_string(zval* var, long max_table_length, long maxlength TSRMLS_DC) argument
1575 php_oci_bind_array_helper_number(zval* var, long max_table_length TSRMLS_DC) argument
1613 php_oci_bind_array_helper_double(zval* var, long max_table_length TSRMLS_DC) argument
1651 php_oci_bind_array_helper_date(zval* var, long max_table_length, php_oci_connection *connection TSRMLS_DC) argument
[all...]
H A Dphp_oci8_int.h224 ub4 dummy_len; /* a dummy var to store alenpp value in bind OUT callback */
344 #define PHP_OCI_FETCH_RESOURCE_EX(zval, var, type, name, resource_type) \
346 var = (type) zend_fetch_resource(&zval TSRMLS_CC, -1, name, NULL, 1, resource_type); \
347 if (!var) { \
465 int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long max_table_length, long maxlength, long type TSRMLS_DC);
466 php_oci_bind *php_oci_bind_array_helper_number(zval* var, long max_table_length TSRMLS_DC);
467 php_oci_bind *php_oci_bind_array_helper_double(zval* var, long max_table_length TSRMLS_DC);
468 php_oci_bind *php_oci_bind_array_helper_string(zval* var, long max_table_length, long maxlength TSRMLS_DC);
469 php_oci_bind *php_oci_bind_array_helper_date(zval* var, long max_table_length, php_oci_connection *connection TSRMLS_DC);
/PHP_5_4/ext/interbase/
H A Dibase_query.c102 XSQLVAR *var; local
107 var = sqlda->sqlvar;
108 for (i = 0; i < sqlda->sqld; i++, var++) {
109 efree(var->sqldata);
110 if (var->sqlind) {
111 efree(var->sqlind);
223 XSQLVAR *var = &sqlda->sqlvar[i]; local
225 if ((var->sqltype & ~1) == SQL_ARRAY) {
229 if (isc_array_lookup_bounds(IB_STATUS, &link, &trans, var->relname,
230 var
645 XSQLVAR *var = &sqlda->sqlvar[i]; local
814 XSQLVAR *var = &sqlda->sqlvar[i]; local
1507 XSQLVAR *var = &ib_result->out_sqlda->sqlvar[i]; local
1912 _php_ibase_field_info(zval *return_value, XSQLVAR *var) argument
[all...]
/PHP_5_4/ext/pdo_firebird/
H A Dfirebird_statement.c41 XSQLVAR const *var = &sqlda->sqlvar[i]; local
43 if (var->sqlind) {
44 efree(var->sqlind);
187 XSQLVAR *var = &S->out_sqlda.sqlvar[colno]; local
192 var->sqlind = (void*)ecalloc(1, var->sqllen + 2*sizeof(short));
193 var->sqldata = &((char*)var->sqlind)[sizeof(short)];
195 colname_len = (S->H->fetch_table_names && var->relname_length)
196 ? (var
302 XSQLVAR const *var = &S->out_sqlda.sqlvar[colno]; local
455 XSQLVAR *var; local
477 XSQLVAR *var = &sqlda->sqlvar[i]; local
[all...]
/PHP_5_4/win32/build/
H A Dphpize.js.in22 var STDOUT = WScript.StdOut;
24 var FSO = WScript.CreateObject("Scripting.FileSystemObject");
25 var C = FSO.CreateTextFile("configure.js", true);
26 var B = FSO.CreateTextFile("configure.bat", true);
27 var DSP = false;
29 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
31 var modules = "";
32 var MODULES = WScript.CreateObject("Scripting.Dictionary");
33 var module_dirs = new Array();
43 var
[all...]
/PHP_5_4/ext/mbstring/
H A Dmb_gpc.c197 char *var, *val; local
235 var = php_strtok_r(res, info->separator, &strtok_buf);
236 while (var) {
237 val = strchr(var, '=');
239 len_list[n] = php_url_decode(var, val-var);
240 val_list[n] = var;
247 len_list[n] = php_url_decode(var, strlen(var));
248 val_list[n] = var;
[all...]

Completed in 78 milliseconds

123