Home
last modified time | relevance | path

Searched refs:nmatch (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregposix.c168 regexec(regex_t* reg, const char* str, size_t nmatch, in regexec() argument
180 if (nmatch == 0 || (reg->comp_options & REG_NOSUB) != 0) { in regexec()
182 nmatch = 0; in regexec()
184 else if ((int )nmatch < ONIG_C(reg)->num_mem + 1) { in regexec()
202 xmemcpy(pmatch, pm, sizeof(regmatch_t) * nmatch); in regexec()
207 for (i = 0; i < (int )nmatch; i++) in regexec()
218 if (reg->re_nsub > nmatch - 1) in regexec()
219 reg->re_nsub = (nmatch <= 1 ? 0 : nmatch - 1); in regexec()
Donigposix.h155 ONIG_EXTERN int regexec P_((regex_t* reg, const char* str, size_t nmatch, regmatch_t* matches, i…