ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
struct | _jsstr_t |
struct | jsstr_inline_t |
struct | jsstr_heap_t |
struct | jsstr_rope_t |
Macros | |
#define | JSSTR_LENGTH_SHIFT 4 |
#define | JSSTR_MAX_LENGTH ((1 << (32-JSSTR_LENGTH_SHIFT))-1) |
#define | JSSTR_FLAGS_MASK ((1 << JSSTR_LENGTH_SHIFT)-1) |
#define | JSSTR_FLAG_LBIT 1 |
#define | JSSTR_FLAG_FLAT 2 |
#define | JSSTR_FLAG_TAG_MASK 3 |
Enumerations | |
enum | jsstr_tag_t { JSSTR_INLINE = JSSTR_FLAG_FLAT , JSSTR_HEAP = JSSTR_FLAG_FLAT|JSSTR_FLAG_LBIT , JSSTR_ROPE = JSSTR_FLAG_LBIT } |
#define JSSTR_FLAGS_MASK ((1 << JSSTR_LENGTH_SHIFT)-1) |
#define JSSTR_MAX_LENGTH ((1 << (32-JSSTR_LENGTH_SHIFT))-1) |
Enumerator | |
---|---|
JSSTR_INLINE | |
JSSTR_HEAP | |
JSSTR_ROPE |
Definition at line 52 of file jsstr.h.
Definition at line 37 of file jsstr.c.
Referenced by array_join(), debugstr_jsstr(), debugstr_jsval(), dump_instr_arg(), interp_obj_prop(), interp_regexp(), interp_str(), interp_throw_type(), JSGlobal_decodeURI(), JSGlobal_encodeURI(), String_idx_get(), and String_replace().
Definition at line 303 of file jsstr.c.
Referenced by jsval_to_variant(), and variant_change_type().
Definition at line 116 of file jsstr.h.
Referenced by create_match_array(), create_regexp(), do_regexp_match_next(), get_string_val(), interp_str(), jsstr_concat(), jsstr_empty(), jsstr_nan(), jsstr_null_bstr(), jsstr_undefined(), jsval_copy(), RegExp_get_source(), string_alloc(), String_get_value(), String_replace(), String_trim(), stringobj_to_string(), and to_string().
Definition at line 103 of file jsstr.h.
Referenced by BindFunction_toString(), Bool_toString(), create_utc_string(), date_to_string(), Date_toISOString(), Date_toTimeString(), dateobj_to_date_string(), double_to_string(), Error_toString(), init_error_constr(), init_strings(), int_to_string(), JSGlobal_ScriptEngine(), Number_toString(), Object_get_value(), parse_json_value(), stack_push_string(), throw_error(), and to_string().
Definition at line 69 of file jsstr.c.
Referenced by array_join(), Date_toLocaleDateString(), Date_toLocaleString(), Date_toLocaleTimeString(), do_attribute_tag_format(), do_attributeless_tag_format(), Error_toString(), init_strings(), JSGlobal_decodeURI(), JSGlobal_decodeURIComponent(), JSGlobal_encodeURI(), JSGlobal_encodeURIComponent(), JSGlobal_escape(), JSGlobal_unescape(), jsstr_alloc_len(), jsstr_concat(), jsstr_substr(), NativeFunction_toString(), number_to_exponential(), number_to_fixed(), Object_toString(), RegExp_toString(), String_concat(), String_toLowerCase(), String_toUpperCase(), and StringConstr_fromCharCode().
Definition at line 86 of file jsstr.c.
Referenced by compiler_alloc_string_len(), create_match_array(), interp_forin(), InterpretedFunction_toString(), JSON_stringify(), jsstr_alloc(), rep_call(), String_replace(), String_split(), String_trim(), and variant_to_jsval().
|
inlinestatic |
Definition at line 127 of file jsstr.h.
Referenced by debugstr_jsstr(), jsstr_cmp_str(), jsstr_extract(), jsstr_flatten(), jsstr_flush(), jsstr_free(), jsstr_rope_flatten(), and jsstr_try_flat().
|
inlinestatic |
Definition at line 122 of file jsstr.h.
Referenced by debugstr_jsstr(), jsstr_cmp_str(), jsstr_extract(), jsstr_flatten(), jsstr_flush(), and jsstr_try_flat().
|
inlinestatic |
Definition at line 132 of file jsstr.h.
Referenced by debugstr_jsstr(), jsstr_cmp(), jsstr_cmp_str(), jsstr_concat(), jsstr_extract(), jsstr_flatten(), jsstr_flush(), and jsstr_free().
Definition at line 189 of file jsstr.c.
Referenced by jsstr_eq(), less_eval(), and sort_cmp().
Definition at line 211 of file jsstr.c.
Referenced by add_eval(), and String_concat().
Definition at line 288 of file jsstr.c.
Referenced by array_join(), create_match_array(), create_string_constr(), error_constr(), JScriptParse_InitNew(), RegExp_exec(), rep_call(), run_exec(), String_charAt(), and StringConstr_value().
Definition at line 113 of file jsstr.c.
Referenced by JSON_stringify(), jsstr_rope_extract(), jsstr_substr(), and String_charCodeAt().
Definition at line 139 of file jsstr.h.
Referenced by create_match_array(), create_regexp(), create_regexp_var(), date_parse(), disp_delete_name(), get_string_flat_val(), interp_obj_prop(), interp_throw_type(), JSGlobal_eval(), Object_hasOwnProperty(), regexp_match(), regexp_match_next(), regexp_string_match(), str_to_number(), stringify(), and to_flat_string().
Definition at line 148 of file jsstr.h.
Referenced by array_join(), construct_function(), disp_delete_name(), do_attribute_tag_format(), do_attributeless_tag_format(), Error_toString(), jsstr_concat(), jsstr_flush(), jsstr_rope_flatten(), jsval_to_variant(), Object_hasOwnProperty(), RegExp_toString(), strbuf_append_jsstr(), String_concat(), String_toLowerCase(), String_toUpperCase(), and variant_change_type().
Definition at line 44 of file jsstr.c.
Referenced by jsstr_release().
Definition at line 73 of file jsstr.h.
Referenced by debugstr_jsstr(), jsstr_flatten(), jsstr_flush(), and jsstr_try_flat().
Definition at line 68 of file jsstr.h.
Referenced by debugstr_jsstr(), jsstr_flatten(), jsstr_flush(), and jsstr_try_flat().
Definition at line 78 of file jsstr.h.
Referenced by jsstr_concat().
Definition at line 58 of file jsstr.h.
Referenced by array_join(), Array_join(), construct_function(), create_regexp(), create_regexp_var(), date_parse(), debugstr_jsstr(), disp_delete_name(), do_attribute_tag_format(), do_attributeless_tag_format(), do_regexp_match_next(), Error_toString(), JSON_parse(), JSON_stringify(), jsstr_cmp(), jsstr_cmp_str(), jsstr_concat(), jsstr_eq(), jsstr_flush(), jsstr_rope_extract(), jsstr_rope_flatten(), jsval_to_variant(), Object_hasOwnProperty(), RegExp_toString(), RegExpConstr_get_rightContext(), ropes_cmp(), strbuf_append_jsstr(), String_charAt(), String_charCodeAt(), String_concat(), String_get_length(), String_idx_length(), String_indexOf(), String_lastIndexOf(), String_replace(), String_slice(), String_split(), String_substr(), String_substring(), String_toLowerCase(), String_toUpperCase(), String_trim(), stringify(), to_boolean(), and variant_change_type().
Definition at line 283 of file jsstr.c.
Referenced by create_utc_string(), date_to_string(), Date_toLocaleDateString(), Date_toLocaleString(), Date_toLocaleTimeString(), Date_toTimeString(), dateobj_to_date_string(), and double_to_string().
Definition at line 298 of file jsstr.c.
Referenced by variant_to_jsval().
Definition at line 110 of file jsstr.h.
Referenced by ActiveXObject_value(), add_eval(), array_join(), Array_join(), construct_function(), create_match_array(), DateConstr_parse(), do_attribute_tag_format(), do_attributeless_tag_format(), do_regexp_match_next(), error_constr(), Error_toString(), free_strings(), Function_toString(), get_string_flat_val(), init_error_constr(), interp_array(), interp_delete(), interp_forin(), interp_in(), interp_memberid(), JSGlobal_decodeURI(), JSGlobal_decodeURIComponent(), JSGlobal_encodeURI(), JSGlobal_encodeURIComponent(), JSGlobal_escape(), JSGlobal_parseFloat(), JSGlobal_parseInt(), JSGlobal_unescape(), JSON_parse(), jsstr_free(), jsstr_rope_flatten(), jsval_release(), less_eval(), Number_toExponential(), Number_toFixed(), Number_toPrecision(), Number_toString(), Object_defineProperty(), Object_getOwnPropertyDescriptor(), Object_hasOwnProperty(), Object_propertyIsEnumerable(), RegExp_destructor(), RegExp_exec(), regexp_string_match(), RegExp_test(), release_bytecode(), rep_call(), run_exec(), script_release(), sort_cmp(), String_charAt(), String_charCodeAt(), String_concat(), String_destructor(), String_indexOf(), String_lastIndexOf(), String_match(), String_replace(), String_search(), String_slice(), String_split(), String_substr(), String_substring(), String_toLowerCase(), String_toUpperCase(), String_trim(), StringConstr_fromCharCode(), StringConstr_value(), stringify(), throw_error(), and to_flat_string().
const WCHAR * jsstr_rope_flatten | ( | jsstr_rope_t * | str | ) |
Definition at line 262 of file jsstr.c.
Referenced by jsstr_flatten().
Definition at line 163 of file jsstr.h.
Referenced by create_match_array(), global_idx(), regexp_string_match(), RegExpConstr_get_leftContext(), RegExpConstr_get_rightContext(), rep_call(), String_charAt(), String_idx_get(), String_slice(), String_substr(), and String_substring().
|
inlinestatic |
Definition at line 63 of file jsstr.h.
Referenced by jsstr_cmp_str(), jsstr_extract(), jsstr_free(), jsstr_is_heap(), jsstr_is_inline(), and jsstr_is_rope().
Definition at line 293 of file jsstr.c.
Referenced by do_attribute_tag_format(), interp_typeofid(), interp_typeofident(), JSGlobal_decodeURI(), JSGlobal_decodeURIComponent(), JSGlobal_encodeURI(), JSGlobal_encodeURIComponent(), JSGlobal_escape(), JSGlobal_unescape(), RegExp_test(), and to_string().