Lines Matching refs:name
751 duk_hstring *name, in duk__getid_open_decl_env_regs() argument
763 DUK_ASSERT(name != NULL); in duk__getid_open_decl_env_regs()
792 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_open_decl_env_regs()
836 duk_hstring *name, in duk__getid_activation_regs() argument
846 DUK_ASSERT(name != NULL); in duk__getid_activation_regs()
866 tv = duk_hobject_find_existing_entry_tval_ptr(thr->heap, varmap, name); in duk__getid_activation_regs()
893 duk_hstring *name, in duk__get_identifier_reference() argument
904 DUK_ASSERT(name != NULL); in duk__get_identifier_reference()
936 if (duk__getid_activation_regs(thr, name, act, out)) { in duk__get_identifier_reference()
940 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
998 (duk_heaphdr *) name, in duk__get_identifier_reference()
1026 if (duk__getid_open_decl_env_regs(thr, name, env, out)) { in duk__get_identifier_reference()
1030 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
1037 tv = duk_hobject_find_existing_entry_tval_ptr_and_attrs(thr->heap, env, name, &attrs); in duk__get_identifier_reference()
1050 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
1089 DUK_ASSERT(name != NULL); in duk__get_identifier_reference()
1090 DUK_TVAL_SET_STRING(&tv_name, name); in duk__get_identifier_reference()
1099 found = duk_hobject_hasprop_raw(thr, target, name); in duk__get_identifier_reference()
1113 (duk_heaphdr *) name, (duk_tval *) out->value, in duk__get_identifier_reference()
1159 duk_hstring *name) {
1165 (void *) thr, (void *) env, (duk_heaphdr *) name,
1170 DUK_ASSERT(name != NULL);
1173 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name);
1180 return duk__get_identifier_reference(thr, env, name, NULL, parents, &ref);
1214 duk_hstring *name, in duk__getvar_helper() argument
1225 (duk_heaphdr *) name, (duk_heaphdr *) env)); in duk__getvar_helper()
1228 DUK_ASSERT(name != NULL); in duk__getvar_helper()
1232 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name); in duk__getvar_helper()
1235 if (duk__get_identifier_reference(thr, env, name, act, parents, &ref)) { in duk__getvar_helper()
1254 DUK_TVAL_SET_STRING(&tv_tmp_key, name); in duk__getvar_helper()
1267 (const char *) DUK_HSTRING_GET_DATA(name)); in duk__getvar_helper()
1277 duk_hstring *name, in duk_js_getvar_envrec() argument
1279 return duk__getvar_helper(thr, env, NULL, name, throw_flag); in duk_js_getvar_envrec()
1285 duk_hstring *name, in duk_js_getvar_activation() argument
1288 return duk__getvar_helper(thr, act->lex_env, act, name, throw_flag); in duk_js_getvar_activation()
1310 duk_hstring *name, in duk__putvar_helper() argument
1321 (duk_heaphdr *) name, (void *) val, (long) strict, in duk__putvar_helper()
1325 DUK_ASSERT(name != NULL); in duk__putvar_helper()
1330 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name); in duk__putvar_helper()
1344 (name != DUK_HTHREAD_STRING_EVAL(thr) && in duk__putvar_helper()
1345 name != DUK_HTHREAD_STRING_LC_ARGUMENTS(thr))); in duk__putvar_helper()
1353 if (duk__get_identifier_reference(thr, env, name, act, parents, &ref)) { in duk__putvar_helper()
1373 DUK_TVAL_SET_STRING(&tv_tmp_key, name); in duk__putvar_helper()
1395 DUK_TVAL_SET_STRING(&tv_tmp_key, name); in duk__putvar_helper()
1406 duk_hstring *name, in duk_js_putvar_envrec() argument
1409 duk__putvar_helper(thr, env, NULL, name, val, strict); in duk_js_putvar_envrec()
1415 duk_hstring *name, in duk_js_putvar_activation() argument
1419 duk__putvar_helper(thr, act->lex_env, act, name, val, strict); in duk_js_putvar_activation()
1445 duk_hstring *name) { in duk__delvar_helper() argument
1452 (duk_heaphdr *) name, (duk_heaphdr *) env)); in duk__delvar_helper()
1455 DUK_ASSERT(name != NULL); in duk__delvar_helper()
1458 DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(name); in duk__delvar_helper()
1462 if (duk__get_identifier_reference(thr, env, name, act, parents, &ref)) { in duk__delvar_helper()
1471 return duk_hobject_delprop_raw(thr, ref.holder, name, 0); in duk__delvar_helper()
1484 (duk_heaphdr *) name)); in duk__delvar_helper()
1492 duk_hstring *name) {
1493 return duk__delvar_helper(thr, env, NULL, name);
1500 duk_hstring *name) { in duk_js_delvar_activation() argument
1502 return duk__delvar_helper(thr, act->lex_env, act, name); in duk_js_delvar_activation()
1558 duk_hstring *name, in duk__declvar_helper() argument
1570 (void *) thr, (void *) env, (duk_heaphdr *) name, in duk__declvar_helper()
1576 DUK_ASSERT(name != NULL); in duk__declvar_helper()
1600 if (duk__get_identifier_reference(thr, env, name, NULL, parents, &ref)) { in duk__declvar_helper()
1650 duk_hobject_find_existing_entry(thr->heap, holder, name, &e_idx, &h_idx); in duk__declvar_helper()
1731 duk_hobject_define_property_internal(thr, ref.holder, name, prop_flags); in duk__declvar_helper()
1774 duk_push_hstring(ctx, name); in duk__declvar_helper()
1790 duk_hstring *name, in duk_js_declvar_activation() argument
1820 return duk__declvar_helper(thr, env, name, val, prop_flags, is_func_decl); in duk_js_declvar_activation()