Searched refs:slre (Results 1 - 7 of 7) sorted by relevance
/u-boot/include/ |
H A D | slre.h | 13 * http://slre.sourceforge.net/1.0/slre.h 18 * Please refer to http://slre.sourceforge.net for detailed description. 22 * struct slre slre; 26 * slre_compile(&slre,"^(GET|POST) (\S+) HTTP/(\S+?)\r\n"); 28 * if (slre_match(&slre, buf, len, captures)) { 60 struct slre { struct 80 * If error, 0 is returned and slre.err_str points to the error message. 82 int slre_compile(struct slre *, cons [all...] |
/u-boot/lib/ |
H A D | slre.c | 13 * http://slre.sourceforge.net/1.0/slre.c 30 #include <slre.h> 120 slre_dump(const struct slre *r, FILE *fp) 167 set_jump_offset(struct slre *r, int pc, int offset) 178 emit(struct slre *r, int code) 187 store_char_in_data(struct slre *r, int ch) 196 exact(struct slre *r, const char **re) 244 anyof(struct slre *r, const char **re) 281 relocate(struct slre * 670 struct slre slre; local [all...] |
H A D | hashtable.c | 43 #include <slre.h> 558 struct slre *slrep = (struct slre *)priv; 581 struct slre slre; local 583 if (slre_compile(&slre, argv[arg]) == 0) { 584 printf("Error compiling regex: %s\n", slre.err_str); 588 priv = (void *)&slre;
|
H A D | Makefile | 121 obj-$(CONFIG_REGEX) += slre.o
|
/u-boot/cmd/ |
H A D | setexpr.c | 106 #include <slre.h> 187 struct slre slre; local 191 if (slre_compile(&slre, r) == 0) { 192 printf("Error compiling regex: %s\n", slre.err_str); 198 struct cap caps[slre.num_caps + 2]; 205 res = slre_match(&slre, datap, len - (datap - data), caps); 209 for (i = 0; i <= slre.num_caps; i++) { 318 struct slre slre; local [all...] |
/u-boot/env/ |
H A D | attr.c | 13 #include <slre.h> 123 struct slre slre; local 128 if (slre_compile(&slre, regex)) { 129 struct cap caps[slre.num_caps + 2]; 131 if (slre_match(&slre, cbp->searched_for, 158 printf("Error compiling regex: %s\n", slre.err_str);
|
/u-boot/board/xilinx/common/ |
H A D | board.c | 31 #include <slre.h> 525 struct slre slre; local 528 ret = slre_compile(&slre, name); 530 ret = slre_match(&slre, board_name, strlen(board_name),
|
Completed in 59 milliseconds