Home
last modified time | relevance | path

Searched refs:pattern_p (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string-prototype.c626 ecma_string_t *pattern_p = ecma_regexp_read_pattern_str_helper (regexp_value); in ecma_builtin_string_prototype_object_search() local
627 if (pattern_p == NULL) in ecma_builtin_string_prototype_object_search()
637 ecma_deref_ecma_string (pattern_p); in ecma_builtin_string_prototype_object_search()
642 ecma_make_string_value (pattern_p), in ecma_builtin_string_prototype_object_search()
645 ecma_deref_ecma_string (pattern_p); in ecma_builtin_string_prototype_object_search()
/third_party/jerryscript/jerry-core/api/
Djerry.c1799 jerry_create_regexp (const jerry_char_t *pattern_p, /**< zero-terminated UTF-8 string as RegExp pat… in jerry_create_regexp() argument
1802 return jerry_create_regexp_sz (pattern_p, lit_zt_utf8_string_size (pattern_p), flags); in jerry_create_regexp()
1811 jerry_create_regexp_sz (const jerry_char_t *pattern_p, /**< zero-terminated UTF-8 string as RegExp … in jerry_create_regexp_sz() argument
1818 if (!lit_is_valid_utf8_string (pattern_p, pattern_size)) in jerry_create_regexp_sz()
1830 ecma_string_t *ecma_pattern = ecma_new_ecma_string_from_utf8 (pattern_p, pattern_size); in jerry_create_regexp_sz()
1840 JERRY_UNUSED (pattern_p); in jerry_create_regexp_sz()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md4639 jerry_create_regexp (const jerry_char_t *pattern_p, uint16_t flags);
4642 - `pattern_p` - the RegExp pattern as a zero-terminated UTF-8 string
4652 jerry_char_t pattern_p = "[cgt]gggtaaa|tttaccc[acg]";
4655 jerry_value_t regexp = jerry_create_regexp (pattern_p, pattern_flags);
4678 jerry_create_regexp_sz (const jerry_char_t *pattern_p, jerry_size_t pattern_size, uint16_t flags);
4681 - `pattern_p` - the RegExp pattern as a zero-terminated UTF-8 string
4692 jerry_char_t pattern_p = "[cgt]gggtaaa|tttaccc[acg]";
4693 jerry_size_t pattern_size = sizeof (pattern_p) - 1;
4696 jerry_value_t regexp = jerry_create_regexp_sz (pattern_p, pattern_size, pattern_flags);