Lines Matching refs:name_end
724 name_find(regex_t* reg, const UChar* name, const UChar* name_end) in name_find() argument
731 onig_st_lookup_strend(t, name, name_end, (HashDataType* )((void* )(&e))); in name_find()
905 name_find(regex_t* reg, UChar* name, UChar* name_end) in name_find() argument
912 len = name_end - name; in name_find()
956 name_add(regex_t* reg, UChar* name, UChar* name_end, int backref, ScanEnv* env) in name_add() argument
963 if (name_end - name <= 0) in name_add()
966 e = name_find(reg, name, name_end); in name_add()
977 e->name = onigenc_strdup(reg->enc, name, name_end); in name_add()
981 r = onig_st_insert_strend(t, e->name, (e->name + (name_end - name)), in name_add()
985 e->name_len = (int )(name_end - name); in name_add()
1028 e->name = onigenc_strdup(reg->enc, name, name_end); in name_add()
1030 e->name_len = name_end - name; in name_add()
1037 name, name_end); in name_add()
1070 const UChar* name_end, int** nums) in onig_name_to_group_numbers() argument
1072 NameEntry* e = name_find(reg, name, name_end); in onig_name_to_group_numbers()
1090 name_to_group_numbers(ScanEnv* env, const UChar* name, const UChar* name_end, in name_to_group_numbers() argument
1097 e = name_find(reg, name, name_end); in name_to_group_numbers()
1101 (UChar* )name, (UChar* )name_end); in name_to_group_numbers()
1120 const UChar* name_end, OnigRegion *region) in onig_name_to_backref_number() argument
1124 n = onig_name_to_group_numbers(reg, name, name_end, &nums); in onig_name_to_backref_number()
1305 const UChar* name, const UChar* name_end) in callout_name_find() argument
1313 r = onig_st_lookup_callout_name_table(t, enc, is_not_single, name, name_end, in callout_name_find()
1319 onig_st_lookup_callout_name_table(t, enc, is_not_single, name, name_end, in callout_name_find()
1370 callout_name_find(UChar* name, UChar* name_end) in callout_name_find() argument
1377 len = name_end - name; in callout_name_find()
1392 int is_not_single, UChar* name, UChar* name_end) in callout_name_entry() argument
1399 if (name_end - name <= 0) in callout_name_entry()
1402 e = callout_name_find(enc, is_not_single, name, name_end); in callout_name_entry()
1413 e->name = onigenc_strdup(enc, name, name_end); in callout_name_entry()
1419 e->name, (e->name + (name_end - name)), in callout_name_entry()
1461 e->name = onigenc_strdup(enc, name, name_end); in callout_name_entry()
1467 e->name_len = (int )(name_end - name); in callout_name_entry()
1475 is_allowed_callout_name(OnigEncoding enc, UChar* name, UChar* name_end) in is_allowed_callout_name() argument
1480 if (name >= name_end) return 0; in is_allowed_callout_name()
1483 while (p < name_end) { in is_allowed_callout_name()
1484 c = ONIGENC_MBC_TO_CODE(enc, p, name_end); in is_allowed_callout_name()
1499 is_allowed_callout_tag_name(OnigEncoding enc, UChar* name, UChar* name_end) in is_allowed_callout_tag_name() argument
1504 if (name >= name_end) return 0; in is_allowed_callout_tag_name()
1507 while (p < name_end) { in is_allowed_callout_tag_name()
1508 c = ONIGENC_MBC_TO_CODE(enc, p, name_end); in is_allowed_callout_tag_name()
1524 UChar* name, UChar* name_end, int in, in onig_set_callout_of_name() argument
1573 if (! is_allowed_callout_name(enc, name, name_end)) { in onig_set_callout_of_name()
1578 id = callout_name_entry(&e, enc, is_not_single, name, name_end); in onig_set_callout_of_name()
1630 UChar* name, UChar* name_end, int* rid) in get_callout_name_id_by_name() argument
1635 if (! is_allowed_callout_name(enc, name, name_end)) { in get_callout_name_id_by_name()
1639 e = callout_name_find(enc, is_not_single, name, name_end); in get_callout_name_id_by_name()
1869 callout_tag_find(CalloutTagTable* t, const UChar* name, const UChar* name_end) in callout_tag_find() argument
1875 onig_st_lookup_strend(t, name, name_end, (HashDataType* )((void* )(&e))); in callout_tag_find()
1895 UChar* name_end, CalloutTagVal entry_val) in callout_tag_entry_raw() argument
1900 if (name_end - name <= 0) in callout_tag_entry_raw()
1903 val = callout_tag_find(t, name, name_end); in callout_tag_entry_raw()
1906 name, name_end); in callout_tag_entry_raw()
1910 r = onig_st_insert_strend(t, name, name_end, (HashDataType )entry_val); in callout_tag_entry_raw()
1937 callout_tag_entry(ScanEnv* env, regex_t* reg, UChar* name, UChar* name_end, in callout_tag_entry() argument
1949 r = callout_tag_entry_raw(env, ext->tag_table, name, name_end, entry_val); in callout_tag_entry()
1954 e->tag_end = name_end; in callout_tag_entry()
2381 node_new_call(UChar* name, UChar* name_end, int gnum, int by_number) in node_new_call() argument
2389 CALL_(node)->name_end = name_end; in node_new_call()
4104 UChar* name_end; member
4329 UChar *name_end; in fetch_name_with_level() local
4343 name_end = end; in fetch_name_with_level()
4373 name_end = p; in fetch_name_with_level()
4420 name_end = end; in fetch_name_with_level()
4428 *rback_num = scan_number(&pnum_head, name_end, enc); in fetch_name_with_level()
4438 *rname_end = name_end; in fetch_name_with_level()
4443 onig_scan_env_set_error_string(env, r, *src, name_end); in fetch_name_with_level()
4463 UChar *name_end; in fetch_name() local
4472 name_end = end; in fetch_name()
4520 name_end = p; in fetch_name()
4554 *rback_num = scan_number(&pnum_head, name_end, enc); in fetch_name()
4566 *rname_end = name_end; in fetch_name()
4572 name_end = p; in fetch_name()
4578 name_end = end; in fetch_name()
4581 onig_scan_env_set_error_string(env, r, *src, name_end); in fetch_name()
5326 UChar* name_end; in fetch_token() local
5334 name_end = NULL_UCHARP; /* no need. escape gcc warning. */ in fetch_token()
5335 r = fetch_name_with_level((OnigCodePoint )c, &p, end, &name_end, in fetch_token()
5340 r = fetch_name(c, &p, end, &name_end, env, &back_num, &num_type, TRUE); in fetch_token()
5362 int num = name_to_group_numbers(env, prev, name_end, &backs); in fetch_token()
5398 UChar* name_end; in fetch_token() local
5402 r = fetch_name((OnigCodePoint )c, &p, end, &name_end, env, in fetch_token()
5411 prev, name_end); in fetch_token()
5425 tok->u.call.name_end = name_end; in fetch_token()
5583 UChar* name_end; in fetch_token() local
5591 r = fetch_name((OnigCodePoint )'(', &p, end, &name_end, env, in fetch_token()
5599 tok->u.call.name_end = name_end; in fetch_token()
5610 tok->u.call.name_end = p; in fetch_token()
5623 r = fetch_name((OnigCodePoint )'(', &p, end, &name_end, env, in fetch_token()
5635 ONIGERR_UNDEFINED_NAME_REFERENCE, name, name_end); in fetch_token()
5645 tok->u.call.name_end = name_end; in fetch_token()
6925 UChar* name_end; in parse_callout_of_name() local
6943 name_end = p; in parse_callout_of_name()
6948 if (! is_allowed_callout_name(enc, name_start, name_end)) in parse_callout_of_name()
6982 r = get_callout_name_id_by_name(enc, is_not_single, name_start, name_end, in parse_callout_of_name()
7001 r = get_callout_name_id_by_name(enc, is_not_single, name_start, name_end, in parse_callout_of_name()
7125 UChar *name_end; in parse_bag() local
7136 r = fetch_name((OnigCodePoint )c, &p, end, &name_end, env, &num, in parse_bag()
7145 r = name_add(env->reg, name, name_end, num, env); in parse_bag()
7252 UChar* name_end; in parse_bag() local
7265 name_end = NULL_UCHARP; /* no need. escape gcc warning. */ in parse_bag()
7268 &p, end, &name_end, in parse_bag()
7273 &p, end, &name_end, env, &back_num, &num_type, TRUE); in parse_bag()
7307 num = name_to_group_numbers(env, prev, name_end, &backs); in parse_bag()
8170 *np = node_new_call(tok->u.call.name, tok->u.call.name_end, in parse_exp()