• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/webserver/src/

Lines Matching defs:scope

44 /* scope table */
398 * Init function scope table before transferring control there.
455 //printf("in scope: %p %s [ %s ] with flags %02x\n", i->second, i->second->type == PHP_SCOPE_PARAM ? "param" : "var",
466 * Since by-ref params changes pointers in scope table, we need to restore them
532 php_report_error(PHP_INTERNAL_ERROR, "Stack underrun - no valid scope");
538 void delete_scope_table(PHP_SCOPE_TABLE scope)
540 PHP_SCOPE_TABLE_TYPE *scope_map = (PHP_SCOPE_TABLE_TYPE *)scope;
571 void add_func_2_scope(PHP_SCOPE_TABLE scope, PHP_SYN_NODE *func)
573 PHP_SCOPE_TABLE_TYPE *scope_map = (PHP_SCOPE_TABLE_TYPE *)scope;
580 php_report_error(PHP_ERROR, "Can not add function to scope table - already present");
586 void add_class_2_scope(PHP_SCOPE_TABLE scope, PHP_SYN_NODE *class_node)
588 PHP_SCOPE_TABLE_TYPE *scope_map = (PHP_SCOPE_TABLE_TYPE *)scope;
595 php_report_error(PHP_ERROR, "Can not add function to scope table - already present");
601 PHP_SCOPE_ITEM *make_named_scope_item(PHP_SCOPE_TABLE scope, const char *name)
603 PHP_SCOPE_TABLE_TYPE *scope_map = (PHP_SCOPE_TABLE_TYPE *)scope;
612 PHP_SCOPE_ITEM *add_var_2_scope(PHP_SCOPE_TABLE scope, PHP_VAR_NODE *var, const char *name)
614 PHP_SCOPE_ITEM *it = make_named_scope_item(scope, name);
621 PHP_SCOPE_ITEM_TYPE get_scope_item_type(PHP_SCOPE_TABLE scope, const char *name)
623 PHP_SCOPE_TABLE_TYPE *scope_map = (PHP_SCOPE_TABLE_TYPE *)scope;
632 PHP_SCOPE_ITEM *get_scope_item(PHP_SCOPE_TABLE scope, const char *name)
635 PHP_SCOPE_TABLE_TYPE *scope_map = (PHP_SCOPE_TABLE_TYPE *)scope;
644 const char *get_scope_var_name(PHP_SCOPE_TABLE scope, PHP_VAR_NODE *var)
646 PHP_SCOPE_TABLE_TYPE *scope_map = (PHP_SCOPE_TABLE_TYPE *)scope;
1008 php_report_error(PHP_ERROR, "Can't add scope item: symbol already defined");
1032 decl_node->func_decl->scope = func_scope;
1045 php_report_error(PHP_ERROR, "Can't add scope item: symbol already defined");
1075 /* will be deleted during scope table destruction */
1160 delete_scope_table(tree->func_decl->scope);
1444 // take variable from scope of current object
1477 // take variable (static) from scope of current class
1519 // should take variable from current scope
1522 // take variable from scope of current object
1526 // take variable (static) from scope of current class
1753 (PHP_SCOPE_TABLE_TYPE *)func_decl->scope,
1756 switch_push_scope_table((PHP_SCOPE_TABLE_TYPE *)func_decl->scope);
1769 (PHP_SCOPE_TABLE_TYPE *)func_decl->scope, &r_node->var_node->value, saved_vars);
1771 //scope_reset_nonstatics(func_decl->scope);