Searched refs:scope (Results 1 - 25 of 47) sorted by relevance

12

/PHP_5_4/Zend/
H A Dzend_dtrace.d31 probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* scope);
32 probe function__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
H A Dzend_dtrace.c50 const char *scope, *filename, *funcname, *classname; local
51 scope = filename = funcname = classname = NULL;
61 classname = get_active_class_name(&scope TSRMLS_CC);
70 DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
76 DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
H A Dzend_API.c742 const char *class_name = active_function->common.scope ? active_function->common.scope->name : "";
762 const char *class_name = active_function->common.scope ? active_function->common.scope->name : "";
785 const char *class_name = active_function->common.scope ? active_function->common.scope->name : "";
1012 zend_class_entry *old_scope = EG(scope);
1014 EG(scope) = Z_OBJCE_P(obj);
1016 EG(scope) = old_scope;
1029 zend_class_entry **scope local
1063 zend_class_entry **scope = EG(in_execution)?&EG(scope):&CG(active_class_entry); local
1964 zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) argument
2659 zend_class_entry *scope = EG(active_op_array) ? EG(active_op_array)->scope : NULL; local
3637 zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC) argument
3661 zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC) argument
3673 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3685 zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3697 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC) argument
3709 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC) argument
3721 zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3733 zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC) argument
3770 zend_update_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC) argument
3782 zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3794 zend_update_static_property_long(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3806 zend_update_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value TSRMLS_DC) argument
3818 zend_update_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *value TSRMLS_DC) argument
3830 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3842 zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
3867 zend_read_static_property(zend_class_entry *scope, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
[all...]
H A Dzend_API.h263 ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC);
321 ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC);
322 ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC);
323 ZEND_API void zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC);
324 ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC);
325 ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC);
326 ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC);
327 ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value, int value_length TSRMLS_DC);
329 ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC);
330 ZEND_API int zend_update_static_property_null(zend_class_entry *scope, cons
[all...]
H A Dzend_closures.h33 ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zval *this_ptr TSRMLS_DC);
H A Dzend_constants.c239 if (EG(scope) && EG(scope)->name) {
244 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length;
247 zend_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_length);
251 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length);
252 Z_STRLEN((**c).value) = EG(scope)->name_length;
315 ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC) argument
340 if (!scope) {
[all...]
H A Dzend_constants.h64 ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC);
H A Dzend_execute.h161 ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *scope TSRMLS_DC);
H A Dzend_globals.h199 zend_class_entry *scope; member in struct:_zend_executor_globals
H A Dzend_object_handlers.h150 ((fbc)->common.prototype ? (fbc)->common.prototype->common.scope : (fbc)->common.scope)
170 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope);
H A Dzend_objects.c74 if (object->ce != EG(scope)) {
80 EG(scope) ? EG(scope)->name : "",
87 if (!zend_check_protected(zend_get_function_root_class(destructor), EG(scope))) {
93 EG(scope) ? EG(scope)->name : "",
H A Dzend_object_handlers.c243 return zend_check_protected(property_info->ce, EG(scope));
245 if ((ce==EG(scope) || property_info->ce == EG(scope)) && EG(scope)) {
315 /* Try to look in the scope instead */
320 if (EG(scope) != ce
321 && EG(scope)
322 && is_derived_class(ce, EG(scope))
323 && zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS
923 * 1. The class of our object is the same as the scope, an
959 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
[all...]
H A Dzend_builtin_functions.c398 zend_error(E_WARNING, "func_num_args(): Called from the global scope - no function context");
425 zend_error(E_WARNING, "func_get_arg(): Called from the global scope - no function context");
455 zend_error(E_WARNING, "func_get_args(): Called from the global scope - no function context");
760 if (EG(scope)) {
761 RETURN_STRINGL(EG(scope)->name, EG(scope)->name_length, 1);
785 } else if (!EG(scope)) {
794 Retrieves the parent class name for object or class or current scope. */
807 ce = EG(scope);
918 prop_info->ce != EG(scope)) ||
[all...]
H A Dzend_closures.c79 /* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] )
80 Create a closure from another one and bind to another object and scope */
97 if (scope_arg != NULL) { /* scope argument was given */
121 ce = closure->func.common.scope;
132 } else { /* scope argument not given; do not change the scope by default */
133 ce = closure->func.common.scope;
163 invoke->internal_function.scope = zend_ce_closure;
289 zend_create_closure(&result, &closure->func, closure->func.common.scope, closure->this_ptr TSRMLS_CC);
315 *ce_ptr = closure->func.common.scope;
443 zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zval *this_ptr TSRMLS_DC) argument
[all...]
H A Dzend_vm_def.h2306 if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
2321 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically, assuming $this from incompatible context", EX(fbc)->common.scope->name, EX(fbc)->common.function_name);
2324 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically, assuming $this from incompatible context", EX(fbc)->common.scope->name, EX(fbc)->common.function_name);
2592 EG(scope) = EX(current_scope);
2624 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc->common.function_name);
2630 fbc->common.scope ? fbc->common.scope->name : "",
2631 fbc->common.scope ? "::" : "",
2635 if (fbc->common.scope &&
2641 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", fbc->common.scope
3533 EG(scope) = ce; variable
3535 EG(scope) = old_scope; variable
[all...]
H A Dzend_compile.c1563 op_array.scope = is_method?CG(active_class_entry):NULL;
1852 if (CG(active_op_array)->scope &&
2936 && ((proto->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0
2974 if (!strcasecmp(fe->common.arg_info[i].class_name, "parent") && proto->common.scope) {
2975 fe_class_name = proto->common.scope->name;
2976 fe_class_name_len = proto->common.scope->name_length;
2977 } else if (!strcasecmp(fe->common.arg_info[i].class_name, "self") && fe->common.scope) {
2978 fe_class_name = fe->common.scope->name;
2979 fe_class_name_len = fe->common.scope->name_length;
2985 if (!strcasecmp(proto->common.arg_info[i].class_name, "parent") && proto->common.scope
[all...]
H A Dzend_compile.h259 zend_class_entry *scope; member in struct:_zend_op_array
312 zend_class_entry *scope; member in struct:_zend_internal_function
324 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name : "")
332 zend_class_entry *scope; member in struct:_zend_function::__anon2
H A Dzend_execute_API.c189 EG(scope) = NULL;
354 zend_class_entry *ce = EG(current_execute_data)->function_state.function->common.scope;
492 ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *scope TSRMLS_DC) /* {{{ */
513 if (!zend_get_constant_ex(p->value.str.val, p->value.str.len, &const_value, scope, Z_REAL_TYPE_P(p) TSRMLS_CC)) {
615 if (!zend_get_constant_ex(str_index, str_index_len - 3, &const_value, scope, str_index[str_index_len - 2] TSRMLS_CC)) {
681 zend_hash_apply_with_argument(Z_ARRVAL_P(p), (apply_func_arg_t) zval_update_constant_inline_change, (void *) scope TSRMLS_CC);
688 ZEND_API int zval_update_constant_inline_change(zval **pp, void *scope TSRMLS_DC) /* {{{ */
690 return zval_update_constant_ex(pp, (void*)1, scope TSRMLS_CC);
694 ZEND_API int zval_update_constant_no_inline_change(zval **pp, void *scope TSRMLS_DC) /* {{{ */
696 return zval_update_constant_ex(pp, (void*)0, scope TSRMLS_C
[all...]
/PHP_5_4/ext/intl/transliterator/
H A Dtransliterator_class.c323 if( ( EG( scope ) != Transliterator_ce_ptr ) &&
/PHP_5_4/ext/reflection/
H A Dphp_reflection.c350 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC);
504 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
522 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
605 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
614 || mptr->common.scope == ce
733 zval_update_constant_ex(&zv, (void*)1, fptr->common.scope TSRMLS_CC);
822 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC) argument
838 string_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->common.scope ? "Method [ " : "Function [ "));
847 if (scope && fptr->common.scope) {
[all...]
/PHP_5_4/ext/com_dotnet/
H A Dcom_handlers.c285 f.scope = obj->ce;
413 f.scope = obj->ce; \
/PHP_5_4/ext/spl/
H A Dspl_fixedarray.c277 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) {
280 if (class_type->iterator_funcs.zf_valid->common.scope != parent) {
283 if (class_type->iterator_funcs.zf_key->common.scope != parent) {
286 if (class_type->iterator_funcs.zf_current->common.scope != parent) {
289 if (class_type->iterator_funcs.zf_next->common.scope != parent) {
294 if (intern->fptr_offset_get->common.scope == parent) {
298 if (intern->fptr_offset_set->common.scope == parent) {
302 if (intern->fptr_offset_has->common.scope == parent) {
306 if (intern->fptr_offset_del->common.scope == parent) {
310 if (intern->fptr_count->common.scope
[all...]
H A Dspl_array.c231 if (intern->fptr_offset_get->common.scope == parent) {
235 if (intern->fptr_offset_set->common.scope == parent) {
239 if (intern->fptr_offset_has->common.scope == parent) {
243 if (intern->fptr_offset_del->common.scope == parent) {
247 if (intern->fptr_count->common.scope == parent) {
262 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_REWIND;
263 if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_VALID;
264 if (class_type->iterator_funcs.zf_key->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_KEY;
265 if (class_type->iterator_funcs.zf_current->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_CURRENT;
266 if (class_type->iterator_funcs.zf_next->common.scope !
[all...]
H A Dspl_dllist.c432 if (intern->fptr_offset_get->common.scope == parent) {
436 if (intern->fptr_offset_set->common.scope == parent) {
440 if (intern->fptr_offset_has->common.scope == parent) {
444 if (intern->fptr_offset_del->common.scope == parent) {
448 if (intern->fptr_count->common.scope == parent) {
/PHP_5_4/ext/wddx/
H A Dwddx.c1011 zend_class_entry *old_scope = EG(scope);
1013 EG(scope) = Z_OBJCE_P(ent2->data);
1016 EG(scope) = old_scope;

Completed in 56 milliseconds

12