ReactOS 0.4.16-dev-338-g34e76ad
|
Go to the source code of this file.
Classes | |
struct | _dispex_prop_t |
Macros | |
#define | FDEX_VERSION_MASK 0xf0000000 |
#define | GOLDEN_RATIO 0x9E3779B9U |
Enumerations | |
enum | prop_type_t { PROP_JSVAL , PROP_BUILTIN , PROP_PROTREF , PROP_ACCESSOR , PROP_DELETED , PROP_IDX } |
Variables | |
static IDispatchExVtbl | DispatchExVtbl |
static const builtin_info_t | dispex_info |
Enumerator | |
---|---|
PROP_JSVAL | |
PROP_BUILTIN | |
PROP_PROTREF | |
PROP_ACCESSOR | |
PROP_DELETED | |
PROP_IDX |
Definition at line 30 of file dispex.c.
|
inlinestatic |
Definition at line 163 of file dispex.c.
Referenced by alloc_protref(), ensure_prop_name(), find_prop_name(), and jsdisp_define_property().
|
static |
Definition at line 185 of file dispex.c.
Referenced by fill_protrefs(), and find_prop_name_prot().
Definition at line 908 of file dispex.c.
Referenced by interp_obj_prop().
HRESULT builtin_set_const | ( | script_ctx_t * | ctx, |
jsdisp_t * | jsthis, | ||
jsval_t | value | ||
) |
|
static |
Definition at line 342 of file dispex.c.
Referenced by DispatchEx_InvokeEx().
HRESULT create_dispex | ( | script_ctx_t * | ctx, |
const builtin_info_t * | builtin_info, | ||
jsdisp_t * | prototype, | ||
jsdisp_t ** | dispex | ||
) |
Definition at line 957 of file dispex.c.
Referenced by create_object_prototype(), init_global(), interp_enter_catch(), InterpretedFunction_call(), and Object_create().
|
static |
Definition at line 787 of file dispex.c.
Referenced by disp_delete(), disp_delete_name(), DispatchEx_DeleteMemberByDispID(), DispatchEx_DeleteMemberByName(), and jsdisp_delete_idx().
HRESULT disp_call | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
DISPID | id, | ||
WORD | flags, | ||
unsigned | argc, | ||
jsval_t * | argv, | ||
jsval_t * | ret | ||
) |
Definition at line 1136 of file dispex.c.
Referenced by do_icall(), do_mcall(), exprval_call(), and interp_newenum().
HRESULT disp_call_value | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
IDispatch * | jsthis, | ||
WORD | flags, | ||
unsigned | argc, | ||
jsval_t * | argv, | ||
jsval_t * | r | ||
) |
Definition at line 1228 of file dispex.c.
Referenced by Array_forEach(), Array_map(), exprval_call(), Function_apply(), interp_call(), interp_new(), and invoke_prop_func().
Definition at line 1511 of file dispex.c.
Referenced by interp_delete_ident().
HRESULT disp_delete_name | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
jsstr_t * | name, | ||
BOOL * | ret | ||
) |
Definition at line 1574 of file dispex.c.
Referenced by interp_delete().
HRESULT disp_propget | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
DISPID | id, | ||
jsval_t * | val | ||
) |
Definition at line 1458 of file dispex.c.
Referenced by exprval_propget(), interp_array(), interp_member(), and to_primitive().
HRESULT disp_propput | ( | script_ctx_t * | ctx, |
IDispatch * | disp, | ||
DISPID | id, | ||
jsval_t | val | ||
) |
Definition at line 1359 of file dispex.c.
Referenced by assign_ident(), exprval_propput(), interp_assign_member(), and interp_set_member().
|
static |
|
static |
|
static |
|
static |
Definition at line 689 of file dispex.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 870 of file dispex.c.
|
static |
|
static |
|
static |
Definition at line 703 of file dispex.c.
|
static |
|
static |
|
static |
Definition at line 298 of file dispex.c.
Referenced by jsdisp_get_id(), and jsdisp_propput().
Definition at line 561 of file dispex.c.
Referenced by fill_protrefs(), and jsdisp_next_prop().
|
static |
Definition at line 88 of file dispex.c.
Referenced by find_prop_name().
|
static |
Definition at line 197 of file dispex.c.
Referenced by disp_delete_name(), DispatchEx_DeleteMemberByName(), fill_protrefs(), find_prop_name_prot(), jsdisp_define_property(), jsdisp_delete_idx(), and jsdisp_get_own_property().
|
static |
Definition at line 259 of file dispex.c.
Referenced by ensure_prop_name(), find_prop_name_prot(), init_dispex_from_constr(), jsdisp_call_name(), jsdisp_get_id(), jsdisp_get_idx(), and jsdisp_propget_name().
|
static |
|
inlinestatic |
Definition at line 65 of file dispex.c.
Referenced by disp_delete(), disp_propput(), DispatchEx_DeleteMemberByDispID(), DispatchEx_GetMemberName(), DispatchEx_InvokeEx(), get_flags(), jsdisp_call(), and jsdisp_propget().
Definition at line 128 of file dispex.c.
Referenced by alloc_prop(), find_prop_name(), and resize_props().
|
static |
Definition at line 324 of file dispex.c.
Referenced by DispatchEx_InvokeEx().
Definition at line 1060 of file dispex.c.
Referenced by Array_sort(), ArrayConstr_isArray(), concat_obj(), create_regexp_var(), disp_call(), disp_call_value(), disp_delete(), disp_delete_name(), disp_get_id(), disp_propget(), disp_propput(), exec_source(), Function_apply(), init_dispex_from_constr(), interp_carray_set(), interp_instanceof(), interp_obj_prop(), maybe_to_primitive(), RegExpConstr_value(), set_disp(), String_match(), String_replace(), String_search(), String_split(), stringify(), to_primitive(), and typeof_string().
|
inlinestatic |
Definition at line 593 of file dispex.c.
Referenced by as_jsdisp(), DispatchEx_AddRef(), DispatchEx_DeleteMemberByDispID(), DispatchEx_DeleteMemberByName(), DispatchEx_GetDispID(), DispatchEx_GetIDsOfNames(), DispatchEx_GetMemberName(), DispatchEx_GetMemberProperties(), DispatchEx_GetNameSpaceParent(), DispatchEx_GetNextDispID(), DispatchEx_GetTypeInfo(), DispatchEx_GetTypeInfoCount(), DispatchEx_Invoke(), DispatchEx_InvokeEx(), DispatchEx_QueryInterface(), DispatchEx_Release(), iface_to_jsdisp(), and to_jsdisp().
HRESULT init_dispex | ( | jsdisp_t * | dispex, |
script_ctx_t * | ctx, | ||
const builtin_info_t * | builtin_info, | ||
jsdisp_t * | prototype | ||
) |
Definition at line 919 of file dispex.c.
Referenced by alloc_array(), alloc_bool(), alloc_doc_node(), alloc_enumerator(), alloc_error(), alloc_number(), alloc_regexp(), alloc_vbarray(), create_child_collection(), create_date(), create_dispex(), create_dom_implementation(), create_event(), create_func_disp(), create_function(), create_history(), create_html_rect(), create_inner_window(), create_mime_types_collection(), create_parseError(), create_plugins_collection(), create_storage(), HTMLCurrentStyle_Create(), HTMLDocument_Create(), HTMLDOMAttribute_Create(), HTMLDOMTextNode_Create(), HTMLElement_get_attr_col(), HTMLElement_Init(), HTMLElementCollection_Create(), HTMLFiltersCollection_Create(), HTMLImageElementFactory_Create(), HTMLLocation_Create(), HTMLOptionElementFactory_Create(), HTMLScreen_Create(), HTMLSelectionObject_Create(), HTMLStyle_Create(), HTMLStyleSheet_Create(), HTMLStyleSheetRulesCollection_Create(), HTMLStyleSheetsCollection_Create(), HTMLTxtRange_Create(), HTMLXMLHttpRequestFactory_Create(), HTMLXMLHttpRequestFactory_create(), init_dispex_from_constr(), MXNamespaceManager_create(), MXWriter_create(), OmNavigator_Create(), SAXAttributes_create(), string_alloc(), XSLProcessor_create(), and XSLTemplate_create().
HRESULT init_dispex_from_constr | ( | jsdisp_t * | dispex, |
script_ctx_t * | ctx, | ||
const builtin_info_t * | builtin_info, | ||
jsdisp_t * | constr | ||
) |
Definition at line 1030 of file dispex.c.
Referenced by alloc_array(), alloc_bool(), alloc_enumerator(), alloc_error(), alloc_number(), alloc_regexp(), alloc_vbarray(), create_date(), create_function(), create_json(), create_math(), create_object(), setup_arguments_object(), and string_alloc().
|
static |
Definition at line 375 of file dispex.c.
Referenced by DispatchEx_InvokeEx(), invoke_prop_func(), jsdisp_call(), and jsdisp_call_name().
HRESULT jsdisp_call | ( | jsdisp_t * | disp, |
DISPID | id, | ||
WORD | flags, | ||
unsigned | argc, | ||
jsval_t * | argv, | ||
jsval_t * | r | ||
) |
Definition at line 1113 of file dispex.c.
Referenced by disp_call(), and to_primitive().
HRESULT jsdisp_call_name | ( | jsdisp_t * | disp, |
const WCHAR * | name, | ||
WORD | flags, | ||
unsigned | argc, | ||
jsval_t * | argv, | ||
jsval_t * | r | ||
) |
Definition at line 1124 of file dispex.c.
Referenced by Object_toLocaleString().
HRESULT jsdisp_call_value | ( | jsdisp_t * | jsfunc, |
IDispatch * | jsthis, | ||
WORD | flags, | ||
unsigned | argc, | ||
jsval_t * | argv, | ||
jsval_t * | r | ||
) |
Definition at line 1089 of file dispex.c.
Referenced by disp_call_value(), prop_get(), prop_put(), rep_call(), and sort_cmp().
HRESULT jsdisp_define_data_property | ( | jsdisp_t * | obj, |
const WCHAR * | name, | ||
unsigned | flags, | ||
jsval_t | value | ||
) |
Definition at line 1801 of file dispex.c.
Referenced by create_builtin_function(), create_error(), create_math(), create_source_function(), init_constructors(), init_error_constr(), init_function_constr(), init_global(), Object_getOwnPropertyDescriptor(), set_constructor_prop(), and setup_arguments_object().
HRESULT jsdisp_define_property | ( | jsdisp_t * | obj, |
const WCHAR * | name, | ||
property_desc_t * | desc | ||
) |
Definition at line 1677 of file dispex.c.
Referenced by interp_obj_prop(), jsdisp_define_data_property(), jsdisp_define_properties(), and Object_defineProperty().
Definition at line 1494 of file dispex.c.
Referenced by Array_pop(), Array_reverse(), Array_set_length(), Array_shift(), and Array_splice().
Definition at line 976 of file dispex.c.
Referenced by DispatchEx_Release(), and jsdisp_release().
Definition at line 1067 of file dispex.c.
Referenced by Array_unshift(), disp_get_id(), DispatchEx_GetDispID(), exec_source(), identifier_eval(), interp_identifier_ref(), stack_topn_exprval(), stringify(), to_primitive(), and to_property_descriptor().
Definition at line 1425 of file dispex.c.
Referenced by Array_forEach(), Array_indexOf(), array_join(), Array_map(), Array_pop(), Array_reverse(), Array_shift(), Array_slice(), Array_sort(), Array_splice(), array_to_args(), concat_array(), and stringify_array().
HRESULT jsdisp_get_own_property | ( | jsdisp_t * | obj, |
const WCHAR * | name, | ||
BOOL | flags_only, | ||
property_desc_t * | desc | ||
) |
Definition at line 1633 of file dispex.c.
Referenced by Object_getOwnPropertyDescriptor(), Object_hasOwnProperty(), and Object_propertyIsEnumerable().
Definition at line 1546 of file dispex.c.
Referenced by DispatchEx_GetNextDispID(), and jsdisp_define_properties().
Definition at line 1447 of file dispex.c.
Referenced by Array_unshift(), disp_propget(), jsdisp_define_properties(), stringify_object(), and to_property_descriptor().
Definition at line 1408 of file dispex.c.
Referenced by Arguments_idx_get(), array_to_args(), detach_arguments_object(), Error_toString(), get_length(), interp_instanceof(), and unwind_exception().
Definition at line 1332 of file dispex.c.
Referenced by jsdisp_propput_name(), and setup_arguments_object().
Definition at line 1349 of file dispex.c.
Referenced by Array_concat(), Array_map(), Array_push(), Array_reverse(), Array_shift(), Array_slice(), Array_sort(), Array_splice(), Array_unshift(), ArrayConstr_value(), concat_array(), concat_obj(), create_match_array(), interp_carray_set(), parse_json_value(), regexp_string_match(), String_split(), and VBArray_toArray().
Definition at line 1344 of file dispex.c.
Referenced by Arguments_idx_put(), Array_splice(), create_match_array(), detach_arguments_object(), detach_variable_object(), exec_source(), interp_enter_catch(), interp_obj_prop(), jsdisp_propput_idx(), Object_getOwnPropertyDescriptor(), parse_json_value(), regexp_string_match(), and set_length().
|
static |
Definition at line 431 of file dispex.c.
Referenced by DispatchEx_InvokeEx(), init_dispex_from_constr(), jsdisp_get_idx(), jsdisp_get_own_property(), jsdisp_propget(), and jsdisp_propget_name().
|
static |
Definition at line 490 of file dispex.c.
Referenced by disp_propput(), DispatchEx_InvokeEx(), and jsdisp_propput().
|
inlinestatic |
Definition at line 60 of file dispex.c.
Referenced by jsdisp_get_id(), and jsdisp_next_prop().
Definition at line 133 of file dispex.c.
Referenced by alloc_prop().
Definition at line 120 of file dispex.c.
Referenced by alloc_prop(), disp_delete_name(), DispatchEx_DeleteMemberByName(), ensure_prop_name(), init_dispex_from_constr(), jsdisp_call_name(), jsdisp_define_property(), jsdisp_delete_idx(), jsdisp_get_id(), jsdisp_get_idx(), jsdisp_get_own_property(), and jsdisp_propget_name().
Definition at line 914 of file dispex.c.
Referenced by interp_push_scope(), jsdisp_define_properties(), Object_create(), Object_defineProperties(), Object_defineProperty(), Object_getOwnPropertyDescriptor(), Object_getPrototypeOf(), to_property_descriptor(), and unwind_exception().
WINE_DEFAULT_DEBUG_CHANNEL | ( | jscript | ) |
|
static |
Definition at line 890 of file dispex.c.
Referenced by as_jsdisp(), iface_to_jsdisp(), init_dispex(), and to_jsdisp().
|
static |
Definition at line 949 of file dispex.c.
Referenced by create_dispex().