Lines Matching refs:name
755 duk_hstring *name, in duk__getid_open_decl_env_regs() argument
767 DUK_ASSERT(name != NULL); in duk__getid_open_decl_env_regs()
796 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_open_decl_env_regs()
840 duk_hstring *name, in duk__getid_activation_regs() argument
850 DUK_ASSERT(name != NULL); in duk__getid_activation_regs()
870 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_activation_regs()
897 duk_hstring *name, in duk__get_identifier_reference() argument
908 DUK_ASSERT(name != NULL); in duk__get_identifier_reference()
940 if (duk__getid_activation_regs(thr, name, act, out)) { in duk__get_identifier_reference()
944 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
1002 (duk_heaphdr *) name, in duk__get_identifier_reference()
1030 if (duk__getid_open_decl_env_regs(thr, name, env, out)) { in duk__get_identifier_reference()
1034 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
1041 tv = duk_hobject_find_existing_entry_tval_ptr_and_attrs(thr->heap, env, name, &attrs); in duk__get_identifier_reference()
1054 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
1093 DUK_ASSERT(name != NULL); in duk__get_identifier_reference()
1094 DUK_TVAL_SET_STRING(&tv_name, name); in duk__get_identifier_reference()
1103 found = duk_hobject_hasprop_raw(thr, target, name); in duk__get_identifier_reference()
1117 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
1163 duk_hstring *name) {
1169 (void *) thr, (void *) env, (duk_heaphdr *) name,
1174 DUK_ASSERT(name != NULL);
1177 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name);
1184 return duk__get_identifier_reference(thr, env, name, NULL, parents, &ref);
1218 duk_hstring *name, in duk__getvar_helper() argument
1229 (duk_heaphdr *) name, (duk_heaphdr *) env)); in duk__getvar_helper()
1232 DUK_ASSERT(name != NULL); in duk__getvar_helper()
1236 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name); in duk__getvar_helper()
1239 if (duk__get_identifier_reference(thr, env, name, act, parents, &ref)) { in duk__getvar_helper()
1258 DUK_TVAL_SET_STRING(&tv_tmp_key, name); in duk__getvar_helper()
1271 (const char *) DUK_HSTRING_GET_DATA(name)); in duk__getvar_helper()
1281 duk_hstring *name, in duk_js_getvar_envrec() argument
1283 return duk__getvar_helper(thr, env, NULL, name, throw_flag); in duk_js_getvar_envrec()
1289 duk_hstring *name, in duk_js_getvar_activation() argument
1292 return duk__getvar_helper(thr, act->lex_env, act, name, throw_flag); in duk_js_getvar_activation()
1314 duk_hstring *name, in duk__putvar_helper() argument
1325 (duk_heaphdr *) name, (void *) val, (long) strict, in duk__putvar_helper()
1329 DUK_ASSERT(name != NULL); in duk__putvar_helper()
1334 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name); in duk__putvar_helper()
1348 (name != DUK_HTHREAD_STRING_EVAL(thr) && in duk__putvar_helper()
1349 name != DUK_HTHREAD_STRING_LC_ARGUMENTS(thr))); in duk__putvar_helper()
1357 if (duk__get_identifier_reference(thr, env, name, act, parents, &ref)) { in duk__putvar_helper()
1377 DUK_TVAL_SET_STRING(&tv_tmp_key, name); in duk__putvar_helper()
1399 DUK_TVAL_SET_STRING(&tv_tmp_key, name); in duk__putvar_helper()
1410 duk_hstring *name, in duk_js_putvar_envrec() argument
1413 duk__putvar_helper(thr, env, NULL, name, val, strict); in duk_js_putvar_envrec()
1419 duk_hstring *name, in duk_js_putvar_activation() argument
1423 duk__putvar_helper(thr, act->lex_env, act, name, val, strict); in duk_js_putvar_activation()
1449 duk_hstring *name) { in duk__delvar_helper() argument
1456 (duk_heaphdr *) name, (duk_heaphdr *) env)); in duk__delvar_helper()
1459 DUK_ASSERT(name != NULL); in duk__delvar_helper()
1462 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name); in duk__delvar_helper()
1466 if (duk__get_identifier_reference(thr, env, name, act, parents, &ref)) { in duk__delvar_helper()
1475 return duk_hobject_delprop_raw(thr, ref.holder, name, 0); in duk__delvar_helper()
1488 (duk_heaphdr *) name)); in duk__delvar_helper()
1496 duk_hstring *name) {
1497 return duk__delvar_helper(thr, env, NULL, name);
1504 duk_hstring *name) { in duk_js_delvar_activation() argument
1506 return duk__delvar_helper(thr, act->lex_env, act, name); in duk_js_delvar_activation()
1562 duk_hstring *name, in duk__declvar_helper() argument
1574 (void *) thr, (void *) env, (duk_heaphdr *) name, in duk__declvar_helper()
1580 DUK_ASSERT(name != NULL); in duk__declvar_helper()
1604 if (duk__get_identifier_reference(thr, env, name, NULL, parents, &ref)) { in duk__declvar_helper()
1654 duk_hobject_find_existing_entry(thr->heap, holder, name, &e_idx, &h_idx); in duk__declvar_helper()
1735 duk_hobject_define_property_internal(thr, ref.holder, name, prop_flags); in duk__declvar_helper()
1778 duk_push_hstring(ctx, name); in duk__declvar_helper()
1794 duk_hstring *name, in duk_js_declvar_activation() argument
1829 return duk__declvar_helper(thr, env, name, val, prop_flags, is_func_decl); in duk_js_declvar_activation()