Home
last modified time | relevance | path

Searched refs:jsstr_t (Results 1 – 24 of 24) sorted by relevance

/reactos/dll/win32/jscript/
H A Djsstr.h84 jsstr_t str;
89 jsstr_t str;
94 jsstr_t str;
95 jsstr_t *left;
96 jsstr_t *right;
116 static inline jsstr_t *jsstr_addref(jsstr_t *str) in jsstr_addref()
163 static inline jsstr_t *jsstr_substr(jsstr_t *str, unsigned off, unsigned len) in jsstr_substr()
165 jsstr_t *ret; in jsstr_substr()
174 int jsstr_cmp(jsstr_t*,jsstr_t*) DECLSPEC_HIDDEN;
176 static inline BOOL jsstr_eq(jsstr_t *left, jsstr_t *right) in jsstr_eq()
[all …]
H A Djsstr.c37 const char *debugstr_jsstr(jsstr_t *str) in debugstr_jsstr()
44 void jsstr_free(jsstr_t *str) in jsstr_free()
88 jsstr_t *ret; in jsstr_alloc_len()
189 int jsstr_cmp(jsstr_t *str1, jsstr_t *str2) in jsstr_cmp()
211 jsstr_t *jsstr_concat(jsstr_t *str1, jsstr_t *str2) in jsstr_concat()
214 jsstr_t *ret; in jsstr_concat()
283 jsstr_t *jsstr_nan(void) in jsstr_nan()
288 jsstr_t *jsstr_empty(void) in jsstr_empty()
293 jsstr_t *jsstr_undefined(void) in jsstr_undefined()
298 jsstr_t *jsstr_null_bstr(void) in jsstr_null_bstr()
[all …]
H A Dstring.c31 jsstr_t *str;
220 jsstr_t *ret; in do_attribute_tag_format()
331 jsstr_t *str; in String_charCodeAt()
626 jsstr_t *str; in String_match()
1051 jsstr_t *str; in String_slice()
1309 jsstr_t *str; in String_substring()
1368 jsstr_t *str; in String_substr()
1428 jsstr_t *str; in String_toLowerCase()
1460 jsstr_t *str; in String_toUpperCase()
1580 jsstr_t *ret; in String_idx_get()
[all …]
H A Djsregexp.c32 jsstr_t *str;
328 jsstr_t *ret; in RegExp_toString()
377 jsstr_t *str; in create_match_array()
449 jsstr_t *jsstr; in run_exec()
503 jsstr_t *string; in RegExp_exec()
537 jsstr_t *undef_str; in RegExp_test()
678 jsstr_t *src; in create_regexp_var()
706 jsstr_t *opt_str; in create_regexp_var()
833 jsstr_t *ret; in global_idx()
899 jsstr_t *ret; in RegExpConstr_get_leftContext()
[all …]
H A Djscript.h55 typedef struct _jsstr_t jsstr_t; typedef
300 HRESULT disp_delete_name(script_ctx_t*,IDispatch*,jsstr_t*,BOOL*) DECLSPEC_HIDDEN;
329 HRESULT create_regexp(script_ctx_t*,jsstr_t*,DWORD,jsdisp_t**) DECLSPEC_HIDDEN;
331 HRESULT create_string(script_ctx_t*,jsstr_t*,jsdisp_t**) DECLSPEC_HIDDEN;
349 HRESULT to_string(script_ctx_t*,jsval_t,jsstr_t**) DECLSPEC_HIDDEN;
350 HRESULT to_flat_string(script_ctx_t*,jsval_t,jsstr_t**,const WCHAR**) DECLSPEC_HIDDEN;
359 HRESULT double_to_string(double,jsstr_t**) DECLSPEC_HIDDEN;
436 jsstr_t *last_match;
495 HRESULT regexp_match_next(script_ctx_t*,jsdisp_t*,DWORD,jsstr_t*,struct match_state_t**) DECLSPEC_H…
497 HRESULT regexp_string_match(script_ctx_t*,jsdisp_t*,jsstr_t*,jsval_t*) DECLSPEC_HIDDEN;
H A Djsval.h61 jsstr_t *str;
73 jsstr_t *str;
109 static inline jsval_t jsval_string(jsstr_t *str) in jsval_string()
229 static inline jsstr_t *get_string(jsval_t v) in get_string()
H A Dnumber.c96 static inline jsstr_t *number_to_fixed(double val, int prec) in number_to_fixed()
101 jsstr_t *ret; in number_to_fixed()
160 static inline jsstr_t *number_to_exponential(double val, int prec) in number_to_exponential()
165 jsstr_t *ret; in number_to_exponential()
238 jsstr_t *str; in Number_toString()
365 jsstr_t *str; in Number_toFixed()
406 jsstr_t *str; in Number_toExponential()
448 jsstr_t *str; in Number_toPrecision()
H A Derror.c43 jsstr_t *name = NULL, *msg = NULL, *ret = NULL; in Error_toString()
54 jsstr_t *str; in Error_toString()
189 UINT number, jsstr_t *msg, jsdisp_t **ret) in create_error()
224 jsstr_t *msg = NULL; in error_constr()
350 jsstr_t *str; in init_error_constr()
383 jsstr_t *msg; in throw_error()
H A Djson.c190 jsstr_t *str; in parse_json_value()
284 jsstr_t *str; in JSON_parse()
429 jsstr_t *str; in maybe_to_primitive()
696 jsstr_t *str = get_string(value); in stringify()
708 jsstr_t *str; in stringify()
793 jsstr_t *space_str = get_string(space_val); in JSON_stringify()
808 jsstr_t *ret = jsstr_alloc_len(stringify_ctx.buf, stringify_ctx.buf_len); in JSON_stringify()
H A Djsutils.c280 jsstr_t *str; in variant_to_jsval()
363 jsstr_t *str = get_string(val); in jsval_to_variant()
515 static HRESULT str_to_number(jsstr_t *str, double *ret) in str_to_number()
697 static jsstr_t *int_to_string(int i) in int_to_string()
727 HRESULT double_to_string(double n, jsstr_t **str) in double_to_string()
757 HRESULT to_string(script_ctx_t *ctx, jsval_t val, jsstr_t **str) in to_string()
798 HRESULT to_flat_string(script_ctx_t *ctx, jsval_t val, jsstr_t **str, const WCHAR **ret_str) in to_flat_string()
937 jsstr_t *str; in variant_change_type()
H A Dglobal.c121 jsstr_t *ret_str, *str; in JSGlobal_escape()
291 jsstr_t *str; in JSGlobal_parseInt()
371 jsstr_t *val_str; in JSGlobal_parseFloat()
475 jsstr_t *ret_str, *str; in JSGlobal_unescape()
557 jsstr_t *ret; in JSGlobal_ScriptEngine()
612 jsstr_t *str, *ret; in JSGlobal_encodeURI()
677 jsstr_t *str, *ret_str; in JSGlobal_decodeURI()
762 jsstr_t *str, *ret_str; in JSGlobal_encodeURIComponent()
827 jsstr_t *str, *ret; in JSGlobal_decodeURIComponent()
H A Dparser.h84 jsstr_t *str;
87 jsstr_t *str;
405 jsstr_t *compiler_alloc_string_len(struct _compiler_ctx_t*,const WCHAR *,unsigned) DECLSPEC_HIDDEN;
H A Dobject.c89 jsstr_t *ret; in Object_toString()
131 jsstr_t *name; in Object_hasOwnProperty()
191 jsstr_t *name_str; in Object_propertyIsEnumerable()
229 jsstr_t *ret; in Object_get_value()
469 jsstr_t *name_str; in Object_defineProperty()
533 jsstr_t *name_str; in Object_getOwnPropertyDescriptor()
H A Dfunction.c39 HRESULT (*toString)(FunctionInstance*,jsstr_t**);
288 jsstr_t *str; in Function_toString()
490 jsstr_t *str; in Function_get_value()
615 static HRESULT NativeFunction_toString(FunctionInstance *func, jsstr_t **ret) in NativeFunction_toString()
619 jsstr_t *str; in NativeFunction_toString()
744 static HRESULT InterpretedFunction_toString(FunctionInstance *func, jsstr_t **ret) in InterpretedFunction_toString()
834 static HRESULT BindFunction_toString(FunctionInstance *function, jsstr_t **ret) in BindFunction_toString()
900 jsstr_t **params = NULL; in construct_function()
H A Dengine.h111 jsstr_t *str;
186 jsstr_t **str_pool;
H A Dcompile.c133 jsstr_t *compiler_alloc_string_len(compiler_ctx_t *ctx, const WCHAR *str, unsigned len) in compiler_alloc_string_len()
135 jsstr_t *new_str; in compiler_alloc_string_len()
138 ctx->code->str_pool = heap_alloc(8 * sizeof(jsstr_t*)); in compiler_alloc_string_len()
143 jsstr_t **new_pool; in compiler_alloc_string_len()
161 static jsstr_t *compiler_alloc_string(compiler_ctx_t *ctx, const WCHAR *str) in compiler_alloc_string()
248 static HRESULT push_instr_str(compiler_ctx_t *ctx, jsop_t op, jsstr_t *str) in push_instr_str()
311 jsstr_t *str; in push_instr_uint_str()
488 jsstr_t *jsstr; in compile_memberid_expression()
692 jsstr_t *jsstr; in compile_delete_expression()
851 static HRESULT literal_as_string(compiler_ctx_t *ctx, literal_t *literal, jsstr_t **str) in literal_as_string()
[all …]
H A Dengine.c95 jsstr_t *v; in stack_push_string()
797 jsstr_t *str; in interp_forin()
896 jsstr_t *str = get_op_str(ctx, 1); in interp_throw_type()
1027 jsstr_t *name_str; in interp_array()
1101 jsstr_t *name_str; in interp_memberid()
1378 jsstr_t *str = get_op_str(ctx, 0); in interp_str()
1388 jsstr_t *source = get_op_str(ctx, 0); in interp_regexp()
1660 jsstr_t *jsstr; in interp_in()
1712 jsstr_t *lstr, *rstr = NULL; in add_eval()
1719 jsstr_t *ret_str; in add_eval()
[all …]
H A Ddate.c513 jsstr_t *date_jsstr; in date_to_string()
600 jsstr_t *date_str; in Date_toLocaleString()
677 jsstr_t *ret; in Date_toISOString()
721 jsstr_t *date_str; in create_utc_string()
798 jsstr_t *date_str; in dateobj_to_date_string()
859 jsstr_t *date_str; in Date_toTimeString()
911 jsstr_t *date_str; in Date_toLocaleDateString()
950 jsstr_t *date_str; in Date_toLocaleTimeString()
2035 static inline HRESULT date_parse(jsstr_t *input_str, double *ret) { in date_parse()
2318 jsstr_t *parse_str; in DateConstr_parse()
H A Dbool.c72 jsstr_t *val; in Bool_toString()
H A Dactivex.c144 jsstr_t * progid_str; in ActiveXObject_value()
H A Darray.c249 jsstr_t **str_tab, *ret = NULL; in array_join()
351 jsstr_t *sep_str; in Array_join()
660 jsstr_t *x, *y; in sort_cmp()
H A Dparser.y40 static literal_t *new_string_literal(parser_ctx_t*,jsstr_t*);
150 jsstr_t *str;
924 static literal_t *new_string_literal(parser_ctx_t *ctx, jsstr_t *str) in new_string_literal()
H A Dlex.c340 static int parse_string_literal(parser_ctx_t *ctx, jsstr_t **ret, WCHAR endch) in parse_string_literal()
H A Ddispex.c1574 HRESULT disp_delete_name(script_ctx_t *ctx, IDispatch *disp, jsstr_t *name, BOOL *ret) in disp_delete_name()