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

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

Completed in 45 milliseconds