Lines Matching +full:default +full:- +full:trim

4 /*-
85 name = Strnsave(u + 1, s - (u + 1)); in globtilde()
117 * kfk - 17 Jan 1984 - stack hack allows user to get at arbitrary dir names in globequal()
120 if (old[1] == '-' && (old[2] == '\0' || old[2] == '/')) { in globequal()
121 /* =- */ in globequal()
125 !dcwd->di_next->di_name && !dcwd->di_prev->di_name) in globequal()
127 dig = -1; in globequal()
132 dig = old[1] - '0'; in globequal()
134 dig = dig * 10 + (*b - '0'); in globequal()
161 prefix_len = p - s; in globbrace()
170 return (-RBRK); in globbrace()
177 i--; in globbrace()
181 return (-RBRC); in globbrace()
193 return (-RBRK); in globbrace()
201 i--; in globbrace()
210 Strbuf_appendn(&gbuf, pl, pm - pl); in globbrace()
217 default: in globbrace()
248 stderror(ERR_MISSING, -len); in expbrace()
251 *vl-- = *bl; in expbrace()
257 l = &el[len] - &nv[size]; in expbrace()
259 l = vl - nv; in expbrace()
260 e = el - nv; in expbrace()
268 * -.--..-- x-- in expbrace()
272 vp = vl--; in expbrace()
274 len--; in expbrace()
275 for (bp = el; bp != vp; bp--) in expbrace()
280 * -.-x --- -- in expbrace()
322 vl = &(*fnv)[size - GLOBSPACE]; in globexpand()
332 vl = &(*fnv)[size - GLOBSPACE]; in globexpand()
369 default: in globexpand()
411 *strp++ = *p++ & TRIM; in handleone()
414 *--strp = '\0'; in handleone()
421 default: in handleone()
463 default: in libglob()
494 * Expand back-quote, tilde and brace in globone()
548 * Expand back-quote, tilde and brace in globall()
562 trim(vl); in globall()
579 trim(v); in glob_all_or_error()
595 trim(Char **t) in trim() function
604 *p &= TRIM; in trim()
647 p[1] && ISDOTDOT(p) && (p == *(t-1) || *(p-1) == '/') ) in tglob()
672 Strbuf_appendn(&word, cp, lp - cp); in dobackp()
687 ep = Strnsave(lp, rp - lp); in dobackp()
746 if (pfork(&faket, -1) == 0) { in backeval()
758 *cp &= TRIM; in backeval()
805 t->t_dflg = F_BACKQ|F_NOFORK; in backeval()
817 execute(t, -1, NULL, NULL, TRUE); in backeval()
837 --icnt; in backeval()
838 c = (*ip++ & TRIM); in backeval()
861 * Unless at end-of-file, we will form a new word here if there were in backeval()
948 stringc = *nstring++ & TRIM; in t_pmatch()
949 patternc = *pattern++ & TRIM; in t_pmatch()
974 default: in t_pmatch()
977 stringc = *string++ & TRIM; in t_pmatch()
993 while ((rangec = *pattern++ & TRIM) != '\0') { in t_pmatch()
998 if (*pattern == '-' && pattern[1] != ']') { in t_pmatch()
1001 rangec2 = *pattern++ & TRIM; in t_pmatch()
1015 default: in t_pmatch()