Searched refs:regex (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/env/ |
| H A D | attr.c | 116 char *regex; member 125 char regex[strlen(name) + 3]; in regex_callback() local 128 sprintf(regex, "^%s$", name); in regex_callback() 129 if (slre_compile(&slre, regex)) { in regex_callback() 134 free(cbp->regex); in regex_callback() 139 cbp->regex = malloc(strlen(regex) + 1); in regex_callback() 140 if (cbp->regex) { in regex_callback() 141 strcpy(cbp->regex, regex); in regex_callback() 153 free(cbp->regex); in regex_callback() 154 cbp->regex = NULL; in regex_callback() [all …]
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | proftool.c | 49 regex_t regex; /* Regex to use if name starts with / */ member 301 static int regex_report_error(regex_t *regex, int err, const char *op, in regex_report_error() argument 306 regerror(err, regex, buf, sizeof(buf)); in regex_report_error() 318 err = regexec(&item->regex, func->name, 0, NULL, 0); in check_trace_config_line() 325 regex_report_error(&item->regex, err, "match", in check_trace_config_line() 433 err = regcomp(&line->regex, tok, REG_NOSUB); in read_trace_config() 435 int r = regex_report_error(&line->regex, err, in read_trace_config()
|
| /rk3399_rockchip-uboot/ |
| H A D | MAINTAINERS | 26 N: Files and directories with regex patterns. 40 K: Keyword perl extended regex pattern to match content in a 47 One regex pattern per line. Multiple K: lines acceptable.
|
| H A D | README | 760 which adds regex support to some commands, as for
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | Kconfig | 70 regex support to some commands, for example "env grep" and
|