Searched refs:array_ptr (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_iterators.c87 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr TSRMLS_DC)
89 if (Z_TYPE_P(array_ptr) &&
90 Z_OBJ_HT_P(array_ptr) == &iterator_object_handlers) {
91 return (zend_object_iterator *)Z_OBJ_P(array_ptr);
H A Dzend_iterators.h76 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr TSRMLS_DC);
H A Dzend_vm_def.h4355 zval *array_ptr, *array_ref, iterator, tmp; variable
4365 array_ptr = array_ref = GET_OP1_ZVAL_PTR_PTR(BP_VAR_R);
4366 ZVAL_DEREF(array_ptr); variable
4367 if (Z_TYPE_P(array_ptr) == IS_ARRAY) {
4368 SEPARATE_ARRAY(array_ptr); variable
4371 array_ptr = Z_REFVAL_P(array_ref);
4374 } else if (Z_TYPE_P(array_ptr) == IS_OBJECT) {
4375 if(Z_OBJ_HT_P(array_ptr)->get_class_entry == NULL) {
4380 ce = Z_OBJCE_P(array_ptr);
4382 Z_ADDREF_P(array_ptr); variable
4390 ZVAL_DEREF(array_ptr); variable
4438 zval_copy_ctor_func(array_ptr); variable
4442 Z_DELREF_P(array_ptr); variable
4443 zval_copy_ctor_func(array_ptr); variable
[all...]
H A Dzend_vm_execute.h3032 zval *array_ptr, *array_ref, iterator, tmp; local
3042 array_ptr = array_ref = NULL;
3043 ZVAL_DEREF(array_ptr);
3044 if (Z_TYPE_P(array_ptr) == IS_ARRAY) {
3045 SEPARATE_ARRAY(array_ptr);
3048 array_ptr = Z_REFVAL_P(array_ref);
3051 } else if (Z_TYPE_P(array_ptr) == IS_OBJECT) {
3052 if(Z_OBJ_HT_P(array_ptr)->get_class_entry == NULL) {
3057 ce = Z_OBJCE_P(array_ptr);
3059 Z_ADDREF_P(array_ptr);
9770 zval *array_ptr, *array_ref, iterator, tmp; local
16358 zval *array_ptr, *array_ref, iterator, tmp; local
33639 zval *array_ptr, *array_ref, iterator, tmp; local
[all...]
/PHP_TRUNK/ext/filter/
H A Dfilter.c408 zval *array_ptr = NULL, *orig_array_ptr = NULL; local
418 array_ptr = &IF_G(a); \
445 if (array_ptr) {
448 php_register_variable_ex(var, &raw_var, array_ptr TSRMLS_CC);
512 zval *array_ptr = NULL; local
516 array_ptr = &IF_G(get_array);
519 array_ptr = &IF_G(post_array);
522 array_ptr = &IF_G(cookie_array);
530 array_ptr = &IF_G(server_array);
538 array_ptr
561 zval *array_ptr = NULL; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c198 zval *array_ptr = (zval *) arg; local
334 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC);
/PHP_TRUNK/main/
H A Dphp_variables.h38 extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr TSRMLS_DC);
H A Dphp_variables.c37 void _php_import_environment_variables(zval *array_ptr TSRMLS_DC);
38 PHPAPI void (*php_import_environment_variables)(zval *array_ptr TSRMLS_DC) = _php_import_environment_variables;
488 void _php_import_environment_variables(zval *array_ptr TSRMLS_DC)
507 php_register_variable(t, p + 1, array_ptr TSRMLS_CC);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c100 static void (*php_php_import_environment_variables)(zval *array_ptr TSRMLS_DC);
623 zval *array_ptr = (zval*)arg; local
624 int filter_arg = (Z_ARR_P(array_ptr) == Z_ARR(PG(http_globals)[TRACK_VARS_ENV]))?PARSE_ENV:PARSE_SERVER;
628 php_register_variable_safe(var, val, new_val_len, array_ptr TSRMLS_CC);
632 static void cgi_php_import_environment_variables(zval *array_ptr TSRMLS_DC)
635 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) &&
638 zval_dtor(array_ptr);
639 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_ENV]);
642 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) &&
645 zval_dtor(array_ptr);
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c116 static void (*php_php_import_environment_variables)(zval *array_ptr TSRMLS_DC);
570 void cgi_php_import_environment_variables(zval *array_ptr TSRMLS_DC)
578 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_ENV]) &&
581 zval_dtor(array_ptr);
582 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_ENV]);
585 Z_ARR_P(array_ptr) != Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]) &&
588 zval_dtor(array_ptr);
589 ZVAL_DUP(array_ptr, &PG(http_globals)[TRACK_VARS_SERVER]);
594 php_php_import_environment_variables(array_ptr TSRMLS_CC);
597 filter_arg = Z_ARR_P(array_ptr)
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c234 static void litespeed_php_import_environment_variables(zval *array_ptr TSRMLS_DC)
242 array_ptr != PG(http_globals)[TRACK_VARS_ENV] &&
246 zval_dtor(array_ptr);
247 *array_ptr = *PG(http_globals)[TRACK_VARS_ENV];
248 INIT_PZVAL(array_ptr);
249 zval_copy_ctor(array_ptr);
252 array_ptr != PG(http_globals)[TRACK_VARS_SERVER] &&
256 zval_dtor(array_ptr);
257 *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER];
258 INIT_PZVAL(array_ptr);
[all...]

Completed in 72 milliseconds