Home
last modified time | relevance | path

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

/system/core/toolbox/upstream-netbsd/usr.bin/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.c231 if ((ln.dat = grep_fgetln(f, &ln.len)) == NULL || ln.len == 0) in procfile()
233 if (ln.len > 0 && ln.dat[ln.len - 1] == line_sep) in procfile()
308 (unsigned char *)l->dat, in procline()
313 r = regexec(&r_pattern[i], l->dat, 1, in procline()
331 sscanf(&l->dat[pmatch.rm_so - 1], in procline()
335 sscanf(&l->dat[pmatch.rm_eo], in procline()
476 fwrite(line->dat + a, matches[i].rm_so - a, 1, in printline()
481 fwrite(line->dat + matches[i].rm_so, in printline()
492 fwrite(line->dat + a, line->len - a, 1, stdout); in printline()
496 fwrite(line->dat, line->len, 1, stdout); in printline()
Dgrep.h92 char *dat; member
/system/core/rootdir/
Dinit.rc239 copy /data/system/entropy.dat /dev/urandom