Home
last modified time | relevance | path

Searched refs:num_mem (Results 1 – 7 of 7) sorted by relevance

/PHP-5.3/ext/mbstring/oniguruma/
H A Dregposix.c161 reg->re_nsub = ONIG_C(reg)->num_mem; in regcomp()
182 else if ((int )nmatch < ONIG_C(reg)->num_mem + 1) { in regexec()
184 * (ONIG_C(reg)->num_mem + 1)); in regexec()
H A Dregexec.c1428 int i, n, num_mem, best_len, pop_level; in match_at() local
1448 n = reg->num_repeat + reg->num_mem * 2; in match_at()
1452 num_mem = reg->num_mem; in match_at()
1456 mem_end_stk = mem_start_stk + num_mem; in match_at()
1461 for (i = 1; i <= num_mem; i++) { in match_at()
1521 for (i = 1; i <= num_mem; i++) { in match_at()
1541 for (i = 1; i <= num_mem; i++) { in match_at()
2329 if (mem > num_mem) goto fail; in match_at()
2361 if (mem > num_mem) goto fail; in match_at()
3282 r = onig_region_resize_clear(region, reg->num_mem + 1); in onig_match()
[all …]
H A Dregparse.h277 int num_mem; member
H A Dregparse.c934 env->num_mem = 0; in scan_env_clear()
958 need = env->num_mem + 1; in scan_env_add_mem_entry()
973 for (i = env->num_mem + 1; i < alloc; i++) in scan_env_add_mem_entry()
981 env->num_mem++; in scan_env_add_mem_entry()
982 return env->num_mem; in scan_env_add_mem_entry()
988 if (env->num_mem >= num) in scan_env_set_mem_node()
1279 if (backrefs[i] <= env->num_mem && in node_new_backref()
3233 (num <= env->num_mem || num <= 9)) { /* This spec. from GNU regex */ in fetch_token()
3235 if (num > env->num_mem || IS_NULL(SCANENV_MEM_NODES(env)[num])) in fetch_token()
3304 if (backs[i] > env->num_mem || in fetch_token()
[all …]
H A Dregcomp.c1880 for (i = 1; i <= env->num_mem; i++) { in disable_noname_group_capture()
1890 for (i = 1, pos = 1; i <= env->num_mem; i++) { in disable_noname_group_capture()
1905 env->num_mem = env->num_named; in disable_noname_group_capture()
1906 reg->num_mem = env->num_named; in disable_noname_group_capture()
2018 if (backs[0] > env->num_mem) return ONIGERR_INVALID_BACKREF; in get_min_match_length()
2022 if (backs[i] > env->num_mem) return ONIGERR_INVALID_BACKREF; in get_min_match_length()
2188 if (backs[i] > env->num_mem) return ONIGERR_INVALID_BACKREF; in get_max_match_length()
3044 if (num > env->num_mem) { in setup_subexp_call()
3497 if (p[i] > env->num_mem) return ONIGERR_INVALID_BACKREF; in setup_tree()
5159 reg->num_mem = 0; in onig_compile()
[all …]
H A Doniguruma.h746 int num_mem; /* used memory(...) num counted from 1 */ member
H A DHISTORY791 reg->num_mem + 1 case. (POSIX API)
1544 2003/02/12: [impl] rename 'max_mem' to 'num_mem' in regex_t.

Completed in 87 milliseconds