Home
last modified time | relevance | path

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

/system/core/toolbox/grep/
Dqueue.c65 item->data.dat = grep_malloc(sizeof(char) * x->len); in enqueue()
69 memcpy(item->data.dat, x->dat, x->len); in enqueue()
76 free(item->data.dat); in enqueue()
102 free(item->data.dat); in printqueue()
113 free(item->data.dat); in clearqueue()
Dutil.c230 if ((ln.dat = grep_fgetln(f, &ln.len)) == NULL || ln.len == 0) in procfile()
232 if (ln.len > 0 && ln.dat[ln.len - 1] == line_sep) in procfile()
307 (unsigned char *)l->dat, in procline()
312 r = regexec(&r_pattern[i], l->dat, 1, in procline()
330 sscanf(&l->dat[pmatch.rm_so - 1], in procline()
334 sscanf(&l->dat[pmatch.rm_eo], in procline()
475 fwrite(line->dat + a, matches[i].rm_so - a, 1, in printline()
480 fwrite(line->dat + matches[i].rm_so, in printline()
491 fwrite(line->dat + a, line->len - a, 1, stdout); in printline()
495 fwrite(line->dat, line->len, 1, stdout); in printline()
Dgrep.h96 char *dat; member