Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
DUK_LOCAL void duk__to_regexp_helper | ( | duk_context * | ctx, |
duk_idx_t | index, | ||
duk_bool_t | force_new ) |
Definition at line 1092 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_BIDX_REGEXP_CONSTRUCTOR, duk_dup(), duk_get_hobject_with_class(), DUK_HOBJECT_CLASS_REGEXP, duk_new(), duk_push_hobject_bidx(), duk_replace(), and index.
Referenced by duk_bi_string_prototype_match(), and duk_bi_string_prototype_search().
DUK_INTERNAL duk_ret_t duk_bi_string_constructor | ( | duk_context * | ctx | ) |
Definition at line 20 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_BIDX_STRING_PROTOTYPE, duk_dup(), duk_get_top(), DUK_HOBJECT_CLASS_AS_FLAGS, DUK_HOBJECT_CLASS_STRING, DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ, DUK_HOBJECT_FLAG_EXTENSIBLE, duk_is_constructor_call(), duk_is_string(), DUK_PROPDESC_FLAGS_NONE, duk_push_hstring_stridx(), duk_push_object_helper(), duk_set_top(), DUK_STRIDX_EMPTY_STRING, DUK_STRIDX_INT_VALUE, duk_to_string(), and duk_xdef_prop_stridx().
DUK_INTERNAL duk_ret_t duk_bi_string_constructor_from_char_code | ( | duk_context * | ctx | ) |
Definition at line 49 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_BW_COMPACT, DUK_BW_INIT_PUSHBUF, DUK_BW_WRITE_ENSURE_CESU8, DUK_BW_WRITE_ENSURE_XUTF8, duk_get_top(), duk_to_string(), duk_to_uint16(), and duk_to_uint32().
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_caseconv_shared | ( | duk_context * | ctx | ) |
Definition at line 301 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References duk_get_current_magic(), duk_push_this_coercible_to_string(), and duk_unicode_case_convert_string().
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_char_at | ( | duk_context * | ctx | ) |
Definition at line 133 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References duk_push_this_coercible_to_string(), duk_substring(), and duk_to_int().
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_char_code_at | ( | duk_context * | ctx | ) |
Definition at line 144 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_DOUBLE_NAN, duk_get_tval(), duk_hstring_char_code_at_raw(), DUK_HSTRING_GET_CHARLEN, duk_push_number(), duk_push_this_coercible_to_string(), duk_push_u32, duk_to_int_clamped_raw(), and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_concat | ( | duk_context * | ctx | ) |
Definition at line 1242 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References duk_concat(), duk_get_top(), duk_insert(), and duk_push_this_coercible_to_string().
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_indexof_shared | ( | duk_context * | ctx | ) |
Definition at line 314 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, duk_get_current_magic(), duk_heap_strcache_offset_char2byte(), DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_CHARLEN, DUK_HSTRING_GET_DATA, duk_is_nan(), DUK_MEMCMP, duk_push_int(), duk_push_this_coercible_to_string(), duk_to_hstring(), duk_to_int_clamped(), duk_to_number(), and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_locale_compare | ( | duk_context * | ctx | ) |
Definition at line 1258 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_DATA, DUK_MEMCMP, duk_push_int(), duk_push_this_coercible_to_string(), duk_to_hstring(), and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_match | ( | duk_context * | ctx | ) |
Definition at line 1164 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References duk__to_regexp_helper(), DUK_ASSERT, DUK_ASSERT_TOP, duk_dup(), duk_get_int(), duk_get_prop_index(), duk_get_prop_stridx(), duk_get_prop_stridx_boolean(), duk_is_number(), duk_is_object(), duk_pop(), duk_push_array(), duk_push_int(), duk_push_null(), duk_push_this_coercible_to_string(), duk_put_prop_index(), duk_put_prop_stridx(), duk_regexp_match(), DUK_STRIDX_GLOBAL, DUK_STRIDX_LAST_INDEX, and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_replace | ( | duk_context * | ctx | ) |
Definition at line 427 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASC_0, DUK_ASC_9, DUK_ASC_AMP, DUK_ASC_DOLLAR, DUK_ASC_GRAVE, DUK_ASC_SINGLEQUOTE, DUK_ASSERT, DUK_ASSERT_TOP, DUK_BW_COMPACT, DUK_BW_INIT_PUSHBUF, DUK_BW_WRITE_ENSURE_BYTES, DUK_BW_WRITE_ENSURE_HSTRING, DUK_BW_WRITE_ENSURE_U8, duk_call(), DUK_DDD, DUK_DDDPRINT, duk_dup(), duk_get_hobject_with_class(), duk_get_hstring(), duk_get_int(), duk_get_length(), duk_get_prop_index(), duk_get_prop_stridx(), duk_get_prop_stridx_boolean(), duk_get_top(), duk_get_uint(), duk_heap_strcache_offset_char2byte(), DUK_HOBJECT_CLASS_REGEXP, DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_CHARLEN, DUK_HSTRING_GET_DATA, DUK_INT_MAX, duk_is_function(), duk_is_number(), duk_is_object(), duk_is_string(), DUK_MEMCMP, duk_pop(), duk_push_int(), duk_push_this_coercible_to_string(), duk_put_prop_stridx(), duk_regexp_match(), duk_require_stack(), DUK_RET_UNSUPPORTED_ERROR, DUK_STRIDX_GLOBAL, DUK_STRIDX_INDEX, DUK_STRIDX_LAST_INDEX, duk_to_hstring(), duk_to_string(), left, and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_search | ( | duk_context * | ctx | ) |
Definition at line 1118 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References duk__to_regexp_helper(), DUK_ASSERT, DUK_ASSERT_TOP, duk_dup(), duk_get_prop_stridx(), duk_is_number(), duk_is_object(), duk_push_int(), duk_push_this_coercible_to_string(), duk_regexp_match(), and DUK_STRIDX_INDEX.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_slice | ( | duk_context * | ctx | ) |
Definition at line 261 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_HSTRING_GET_CHARLEN, duk_is_undefined(), duk_push_this_coercible_to_string(), duk_substring(), duk_to_int_clamped(), and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_split | ( | duk_context * | ctx | ) |
Definition at line 809 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_ASSERT_TOP, DUK_BIDX_REGEXP_CONSTRUCTOR, DUK_DDD, DUK_DDDPRINT, duk_dup(), duk_get_hobject_with_class(), duk_get_hstring(), duk_get_int(), duk_get_length(), duk_get_prop_index(), duk_get_prop_stridx(), duk_heap_strcache_offset_char2byte(), DUK_HOBJECT_CLASS_REGEXP, DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_CHARLEN, DUK_HSTRING_GET_DATA, duk_is_number(), duk_is_object(), duk_is_undefined(), DUK_MEMCMP, duk_new(), duk_pop(), duk_push_array(), duk_push_hobject_bidx(), duk_push_int(), duk_push_lstring(), duk_push_this_coercible_to_string(), duk_put_prop_index(), duk_put_prop_stridx(), duk_regexp_match_force_global(), duk_replace(), DUK_RET_UNSUPPORTED_ERROR, DUK_STRIDX_INDEX, DUK_STRIDX_LAST_INDEX, duk_to_string(), duk_to_uint32(), DUK_UARRIDX_MAX, DUK_UNREF, and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_substr | ( | duk_context * | ctx | ) |
Definition at line 212 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_HSTRING_GET_CHARLEN, duk_is_undefined(), duk_push_this(), duk_substring(), duk_to_hstring(), duk_to_int_clamped(), and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_substring | ( | duk_context * | ctx | ) |
Definition at line 179 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, DUK_HSTRING_GET_CHARLEN, duk_is_undefined(), duk_push_this_coercible_to_string(), duk_substring(), duk_to_int_clamped(), and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_to_string | ( | duk_context * | ctx | ) |
Definition at line 96 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT, duk_get_prop_stridx(), DUK_HOBJECT_CLASS_STRING, DUK_HOBJECT_GET_CLASS_NUMBER, duk_is_string(), duk_push_this(), duk_require_tval(), DUK_RET_TYPE_ERROR, DUK_STRIDX_INT_VALUE, DUK_TVAL_GET_OBJECT, DUK_TVAL_IS_OBJECT, DUK_TVAL_IS_STRING, and NULL.
DUK_INTERNAL duk_ret_t duk_bi_string_prototype_trim | ( | duk_context * | ctx | ) |
Definition at line 1250 of file duktape-1.5.2/src-separate/duk_bi_string.c.
References DUK_ASSERT_TOP, duk_push_this_coercible_to_string(), and duk_trim().