Home
last modified time | relevance | path

Searched refs:patbuf (Results 1 – 3 of 3) sorted by relevance

/external/libedit/src/
Dsearch.c70 el->el_search.patbuf = el_malloc(EL_BUFSIZ * in search_init()
71 sizeof(*el->el_search.patbuf)); in search_init()
72 if (el->el_search.patbuf == NULL) in search_init()
90 el_free(el->el_search.patbuf); in search_end()
91 el->el_search.patbuf = NULL; in search_end()
164 el->el_search.patbuf, str); in c_hmatch()
167 return el_match(str, el->el_search.patbuf); in c_hmatch()
184 (void) Strncpy(el->el_search.patbuf, el->el_line.buffer, in c_setpat()
186 el->el_search.patbuf[el->el_search.patlen] = '\0'; in c_setpat()
188 el->el_search.patlen = Strlen(el->el_search.patbuf); in c_setpat()
[all …]
Dsearch.h46 Char *patbuf; /* The pattern buffer */ member
/external/avahi/avahi-daemon/
Dglob.c176 Char *bufnext, *bufend, patbuf[MAXPATHLEN], prot; in glob() local
198 bufnext = patbuf; in glob()
235 return globexp1(patbuf, pglob, &limit); in glob()
237 return glob0(patbuf, pglob, &limit); in glob()
274 Char patbuf[MAXPATHLEN]; in globexp2() local
277 for (lm = patbuf, pm = pattern; pm != ptr; *lm++ = *pm++) in globexp2()
306 *rv = glob0(patbuf, pglob, limit); in globexp2()
351 qprintf("globexp2:", patbuf); in globexp2()
353 *rv = globexp1(patbuf, pglob, limit); in globexp2()
373 globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) in globtilde() argument
[all …]