Home
last modified time | relevance | path

Searched refs:as_environment (Results 1 – 25 of 84) sorted by relevance

1234

/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libcore/
H A Das_environment.h50 class as_environment
57 DSOTEXPORT as_environment(VM& vm);
167 void setVariable(const as_environment& ctx, const std::string& path,
168 const as_value& val, const as_environment::ScopeStack& scope);
176 const as_environment::ScopeStack& scope);
209 const as_environment::ScopeStack* scope = nullptr);
222 getVM(const as_environment& env) in getVM()
227 movie_root& getRoot(const as_environment& env);
228 string_table& getStringTable(const as_environment& env);
229 int getSWFVersion(const as_environment& env);
[all …]
H A Das_environment.cpp90 const as_environment::ScopeStack& scope,
104 as_value as_environment::undefVal;
106 as_environment::as_environment(VM& vm) in as_environment() function in gnash::as_environment
117 const as_environment::ScopeStack* scope) in findObject()
276 as_environment::get_version() const in get_version()
282 as_environment::markReachableResources() const in markReachableResources()
358 const as_environment::ScopeStack& scope) in delVariable()
639 getStringTable(const as_environment& env) in getStringTable()
645 getRoot(const as_environment& env) in getRoot()
651 getGlobal(const as_environment& env) in getGlobal()
[all …]
H A DFunction.h45 TargetGuard(as_environment& e, DisplayObject* ch, DisplayObject* och);
50 as_environment& env;
74 Function(const action_buffer& ab, as_environment& env, size_t start,
141 as_environment& _env;
H A Das_function.h103 as_object* construct(as_object& newobj, const as_environment& env,
128 as_object* constructInstance(as_function& ctor, const as_environment& env,
H A Das_function.cpp47 constructInstance(as_function& ctor, const as_environment& env, in constructInstance()
64 as_function::construct(as_object& newobj, const as_environment& env, in construct()
H A DProperty.cpp108 const as_environment env(getVM(this_ptr)); in getValue()
157 const as_environment env(getVM(this_ptr)); in setValue()
H A DFunction.cpp36 Function::Function(const action_buffer& ab, as_environment& env, in Function()
50 TargetGuard::TargetGuard(as_environment& e, DisplayObject* ch, in TargetGuard()
H A DFunction2.h76 Function2(const action_buffer& ab, as_environment& env, size_t start,
H A DMovieClip.h509 virtual as_environment& get_environment() { in get_environment()
747 as_environment _environment;
/dports/devel/R-cran-rlang/rlang/man/
H A Das_environment.Rd3 \name{as_environment}
4 \alias{as_environment}
7 as_environment(x, parent = NULL)
18 \code{as_environment()} coerces named vectors (including lists) to an
31 \code{as_env()} was soft-deprecated and renamed to \code{as_environment()} in
38 env <- as_environment(mtcars)
45 as_environment("base")
46 as_environment("rlang")
49 as_environment(NULL)
H A Das_env.Rd12 This function is deprecated as it was renamed to \code{\link[=as_environment]{as_environment()}}
H A Dwith_env.Rd61 # Since env is passed to as_environment(), it can be any object with an
62 # as_environment() method. For strings, the pkg_env() is returned:
H A Denv.Rd21 supported by \code{\link[=as_environment]{as_environment()}}.}
109 # `parent` is passed to as_environment() to provide handy
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libcore/vm/
H A DASHandlers.cpp211 as_environment& _env;
457 as_environment& env = thread.env; in ActionNextFrame()
475 as_environment& env = thread.env; in ActionPrevFrame()
490 as_environment& env = thread.env; in ActionPlay()
505 as_environment& env = thread.env; in ActionStop()
545 as_environment& env = thread.env; in ActionGotoFrame()
568 as_environment& env = thread.env; in ActionGetUrl()
603 as_environment& env = thread.env; in ActionWaitForFrame()
671 as_environment& env = thread.env; in ActionGotoLabel()
689 as_environment& env = thread.env; in ActionAdd()
[all …]
H A DActionExec.h121 typedef as_environment::ScopeStack ScopeStack;
132 ActionExec(const action_buffer& abuf, as_environment& newEnv,
141 ActionExec(const Function& func, as_environment& newEnv,
156 as_environment& env;
H A Dfn_call.h131 fn_call(as_object* this_in, const as_environment& env_in,
144 fn_call(as_object* this_in, const as_environment& env_in) in fn_call()
209 const as_environment& env() const { in env()
235 const as_environment& _env;
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Style/Environment/
H A Dstd_environment.cpp26 inline friend environment as_environment (const std_environment& env) { in as_environment() function
112 env= as_environment (primitive_environment (h)); in primitive()
151 return as_environment (out); } in get_environment()
193 return as_environment (out); } in get_environment()
241 return as_environment (out); } in get_environment()
285 return as_environment (out); } in get_environment()
297 h (weak_hash (env) ^ weak_hash (as_environment (ch))) {} in macro_redown_memorizer_rep()
305 weak_equal (as_environment (local), as_environment (rep->local)); } in equal()
311 return as_environment (out); } in get_environment()
373 return as_environment (out); } in get_environment()
H A Dlist_environment.hpp25 inline friend environment as_environment (const list_environment& env) { in as_environment() function
H A Dassoc_environment.hpp62 inline friend environment as_environment (const assoc_environment& env) { in as_environment() function
/dports/devel/R-cran-rlang/rlang/tests/testthat/
H A Dtest-env.R55 expect_identical(as_environment("base"), base_env())
56 expect_false(env_has(as_environment(set_names(letters)), "map"))
58 expect_identical(as_environment(NULL), empty_env())
60 expect_true(all(env_has(as_environment(mtcars), names(mtcars))))
61 expect_identical(env_parent(as_environment(mtcars)), empty_env())
62 expect_identical(env_parent(as_environment(mtcars, base_env())), base_env())
150 env <- as_environment(c(foo = "bar"))
156 env <- as_environment(set_names(letters))
/dports/devel/R-cran-rlang/rlang/R/
H A Dparse.R111 new_quosure(parse_expr(x), as_environment(env))
119 out <- map(parse_exprs(x), new_quosure, env = as_environment(env))
H A Deval.R157 .External2(rlang_ext2_eval, substitute(expr), as_environment(env, caller_env()))
/dports/devel/R-cran-Rcpp/Rcpp/inst/include/Rcpp/api/meat/
H A DEnvironment.h36 Shield<SEXP> env(as_environment(wrapped)); in Environment_Impl()
43 Shield<SEXP> env(as_environment(wrapped)); in Environment_Impl()
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libcore/asobj/
H A DGlobal_as.h166 invoke(const as_value& method, const as_environment& env, as_object* this_ptr,
225 return invoke(func, as_environment(getVM(*obj)), obj, args); in callMethod()
/dports/devel/R-cran-Rcpp/Rcpp/inst/include/Rcpp/
H A DEnvironment.h32 inline SEXP as_environment(SEXP x){ in RCPP_API_CLASS()
58 Shield<SEXP> env(as_environment(x)); in RCPP_API_CLASS()

1234