Searched refs:match_at_left (Results 1 - 9 of 9) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/shell/
H A Dmatch.h10 typedef char *(*scan_t)(char *string, char *match, bool match_at_left);
12 char *scanleft(char *string, char *match, bool match_at_left);
13 char *scanright(char *string, char *match, bool match_at_left);
15 static inline scan_t pick_scan(char op1, char op2, bool *match_at_left) argument
23 *match_at_left = true;
26 *match_at_left = false;
H A Dmatch.c29 char *scanleft(char *string, char *pattern, bool match_at_left) argument
39 if (match_at_left) {
56 char *scanright(char *string, char *pattern, bool match_at_left) argument
66 if (match_at_left) {
89 bool match_at_left; local
118 scan = pick_scan(op[0], op[1], &match_at_left);
124 loc = scan(string, pattern, match_at_left);
126 if (match_at_left) {
H A Dhush.c2665 bool match_at_left; local
2667 scan_t scan = pick_scan(exp_op, *exp_word, &match_at_left);
2675 loc = scan(to_be_freed, exp_word, match_at_left);
2681 if (match_at_left) /* # or ## */
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/shell/
H A Dmatch.h10 typedef char *(*scan_t)(char *string, char *match, bool match_at_left);
12 char *scanleft(char *string, char *match, bool match_at_left);
13 char *scanright(char *string, char *match, bool match_at_left);
15 static inline scan_t pick_scan(char op1, char op2, bool *match_at_left) argument
23 *match_at_left = true;
26 *match_at_left = false;
H A Dmatch.c29 char *scanleft(char *string, char *pattern, bool match_at_left) argument
39 if (match_at_left) {
56 char *scanright(char *string, char *pattern, bool match_at_left) argument
66 if (match_at_left) {
89 bool match_at_left; local
118 scan = pick_scan(op[0], op[1], &match_at_left);
124 loc = scan(string, pattern, match_at_left);
126 if (match_at_left) {
H A Dhush.c2665 bool match_at_left; local
2667 scan_t scan = pick_scan(exp_op, *exp_word, &match_at_left);
2675 loc = scan(to_be_freed, exp_word, match_at_left);
2681 if (match_at_left) /* # or ## */
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/shell/
H A Dmatch.h10 typedef char *(*scan_t)(char *string, char *match, bool match_at_left);
12 char *scanleft(char *string, char *match, bool match_at_left);
13 char *scanright(char *string, char *match, bool match_at_left);
15 static inline scan_t pick_scan(char op1, char op2, bool *match_at_left) argument
23 *match_at_left = true;
26 *match_at_left = false;
H A Dmatch.c29 char *scanleft(char *string, char *pattern, bool match_at_left) argument
39 if (match_at_left) {
56 char *scanright(char *string, char *pattern, bool match_at_left) argument
66 if (match_at_left) {
89 bool match_at_left; local
118 scan = pick_scan(op[0], op[1], &match_at_left);
124 loc = scan(string, pattern, match_at_left);
126 if (match_at_left) {
H A Dhush.c2665 bool match_at_left; local
2667 scan_t scan = pick_scan(exp_op, *exp_word, &match_at_left);
2675 loc = scan(to_be_freed, exp_word, match_at_left);
2681 if (match_at_left) /* # or ## */

Completed in 229 milliseconds