Searched defs:scope (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_dtrace.c55 const char *scope, *filename, *funcname, *classname; local
56 scope = filename = funcname = classname = NULL;
66 classname = get_active_class_name(&scope);
75 DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
81 DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
H A Dzend_constants.c238 if (EG(scope) && EG(scope)->name) {
242 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name->len;
245 zend_str_tolower_copy(const_name->val + sizeof("\0__CLASS__")-1, EG(scope)->name->val, EG(scope)->name->len);
249 ZVAL_STR_COPY(&c->value, EG(scope)->name);
326 ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope, zend_ulong flags) argument
354 if (!scope) {
356 scope = EG(scope);
[all...]
H A Dzend_globals.h178 zend_class_entry *scope; member in struct:_zend_executor_globals
H A Dzend_API.c239 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
661 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
681 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
704 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
820 * Z_OBJ(EG(This)) to NULL when calling an internal function with common.scope == NULL.
823 zend_bool is_method = EG(current_execute_data)->func->common.scope !
928 zend_class_entry **scope = EG(current_execute_data) ? &EG(scope) : &CG(active_class_entry); local
992 zend_class_entry **scope = EG(current_execute_data) ? &EG(scope) : &CG(active_class_entry); local
1933 zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type) argument
2684 zend_class_entry *scope; local
3615 zend_update_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zval *value) argument
3633 zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, size_t name_length) argument
3642 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_long value) argument
3651 zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_long value) argument
3660 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, size_t name_length, double value) argument
3669 zend_update_property_str(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_string *value) argument
3678 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value) argument
3688 zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value, size_t value_len) argument
3698 zend_update_static_property(zend_class_entry *scope, const char *name, size_t name_length, zval *value) argument
3737 zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t name_length) argument
3746 zend_update_static_property_bool(zend_class_entry *scope, const char *name, size_t name_length, zend_long value) argument
3755 zend_update_static_property_long(zend_class_entry *scope, const char *name, size_t name_length, zend_long value) argument
3764 zend_update_static_property_double(zend_class_entry *scope, const char *name, size_t name_length, double value) argument
3773 zend_update_static_property_string(zend_class_entry *scope, const char *name, size_t name_length, const char *value) argument
3783 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, size_t name_length, const char *value, size_t value_len) argument
3793 zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv) argument
3813 zend_read_static_property(zend_class_entry *scope, const char *name, size_t name_length, zend_bool silent) argument
[all...]
H A Dzend_ast.c211 ZEND_API void zend_ast_evaluate(zval *result, zend_ast *ast, zend_class_entry *scope) argument
219 zend_ast_evaluate(&op1, ast->child[0], scope);
220 zend_ast_evaluate(&op2, ast->child[1], scope);
232 zend_ast_evaluate(&op1, ast->child[0], scope);
233 zend_ast_evaluate(&op2, ast->child[1], scope);
242 zend_ast_evaluate(&op1, ast->child[0], scope);
250 if (scope) {
253 zval_update_constant_ex(zv, 1, scope);
259 zval_update_constant_ex(result, 1, scope);
265 zend_ast_evaluate(&op1, ast->child[0], scope);
[all...]
H A Dzend_closures.c73 Call closure, binding to a given object with its class as the scope */
99 !instanceof_function(Z_OBJCE_P(newthis), closure->func.common.scope)) {
100 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", closure->func.common.scope->name->val, closure->func.common.function_name->val, Z_OBJCE_P(newthis)->name->val);
117 /* use scope of passed object */
118 my_function.common.scope = Z_OBJCE_P(newthis);
127 /* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] )
128 Create a closure from another one and bind to another object and scope */
145 if (scope_arg != NULL) { /* scope argument was given */
153 ce = closure->func.common.scope;
161 } else { /* scope argumen
478 zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zval *this_ptr) argument
[all...]
H A Dzend_object_handlers.c265 return zend_check_protected(property_info->ce, EG(scope));
267 return (ce == EG(scope) || property_info->ce == EG(scope));
332 /* Try to look in the scope instead */
338 if (EG(scope) != ce
339 && EG(scope)
340 && is_derived_class(ce, EG(scope))
341 && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL
409 /* Try to look in the scope instead */
415 if (EG(scope) !
994 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
[all...]
H A Dzend_compile.h320 zend_class_entry *scope; member in struct:_zend_op_array
370 zend_class_entry *scope; member in struct:_zend_internal_function
381 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name->val : "")
390 zend_class_entry *scope; member in struct:_zend_function::__anon2
H A Dzend_execute_API.c182 EG(scope) = NULL;
405 zend_class_entry *ce = func->common.scope;
510 ZEND_API int zval_update_constant_ex(zval *p, zend_bool inline_change, zend_class_entry *scope) /* {{{ */ argument
523 const_value = zend_get_constant_ex(Z_STR_P(p), scope, Z_CONST_FLAGS_P(p));
601 zend_ast_evaluate(&tmp, Z_ASTVAL_P(p), scope);
612 ZEND_API int zval_update_constant_inline_change(zval *pp, zend_class_entry *scope) /* {{{ */ argument
614 return zval_update_constant_ex(pp, 1, scope);
618 ZEND_API int zval_update_constant_no_inline_change(zval *pp, zend_class_entry *scope) /* {{{ */ argument
620 return zval_update_constant_ex(pp, 0, scope);
682 orig_scope = EG(scope);
[all...]
H A Dzend_vm_def.h1927 EG(scope) = EX(func)->op_array.scope;
2526 if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
2546 fbc->common.scope->name->val, fbc->common.function_name->val,
2553 fbc->common.scope->name->val, fbc->common.function_name->val,
2686 fbc->common.scope->name->val, fbc->common.function_name->val);
2691 fbc->common.scope->name->val, fbc->common.function_name->val);
2752 } else if (func->common.scope &&
2757 func->common.scope->name->val, func->common.function_name->val);
2762 func->common.scope
2898 EG(scope) = NULL; variable
2926 EG(scope) = NULL; variable
2949 EG(scope) = EX(func)->op_array.scope; variable
3045 EG(scope) = fbc->common.scope; variable
3081 EG(scope) = object ? NULL : fbc->common.scope; variable
3083 EG(scope) = fbc->common.scope; variable
3147 EG(scope) = fbc->common.scope; variable
3191 EG(scope) = EX(func)->op_array.scope; variable
4318 EG(scope) = ce; variable
4320 EG(scope) = EX(func)->op_array.scope; variable
[all...]
/PHP_TRUNK/ext/sockets/
H A Dsockaddr_conv.c23 char *scope = strchr(string, '%'); local
63 if (scope++) {
68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) {
73 php_string_to_if_index(scope, &scope_id);
/PHP_TRUNK/ext/ldap/
H A Dldap.c635 static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) argument
759 rcs[i] = ldap_search(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly);
800 errno = ldap_search_s(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly, &ldap_res);
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c295 ZEND_ARG_INFO(0, scope)
3663 /* {{{ proto resource odbc_specialcolumns(resource connection_id, int type, string qualifier, string owner, string table, int scope, int nullable)
3673 SQLUSMALLINT type, scope, nullable; local
3682 scope = (SQLUSMALLINT) vscope;
3709 scope,
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c350 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent);
484 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
498 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
564 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
570 || mptr->common.scope == ce
685 old_scope = EG(scope);
686 EG(scope) = fptr->common.scope;
688 EG(scope) = old_scope;
771 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, cha argument
[all...]

Completed in 37 milliseconds