Searched defs:line (Results 26 - 30 of 30) sorted by relevance

12

/system/core/toolbox/
H A Dgetevent.c268 char line[2048]; local
282 while (fgets(line, sizeof(line), file)) {
284 fputs(line, stdout);
H A Dtop.c367 char line[MAX_LINE]; local
369 line[0] = '\0';
372 fgets(line, MAX_LINE, file);
374 if (strlen(line) > 0) {
375 strncpy(proc->name, line, PROC_NAME_LEN);
394 char line[MAX_LINE]; local
399 while (fgets(line, MAX_LINE, file)) {
400 sscanf(line, "Uid: %u", &uid);
401 sscanf(line, "Gid: %u", &gid);
/system/core/toolbox/grep/
H A Dgrep.c73 /* 6*/ "\t[--context[=num]] [--directories=action] [--label] [--line-buffered]\n",
97 /* Command-line flags */
109 bool nflag; /* -n: show line numbers in front of matching lines */
115 bool xflag; /* -x: pattern must match entire line */
116 bool lbflag; /* --line-buffered */
177 {"line-buffered", no_argument, NULL, LINEBUF_OPT},
205 {"line-number", no_argument, NULL, 'n'},
216 {"line-regexp", no_argument, NULL, 'x'},
289 char *line; local
295 line
[all...]
/system/core/sh/
H A Dparser.c92 int needprompt; /* true if interactive and at start of line */
101 int startlinno; /* line # where last token started */
124 * valid parse tree indicating a blank line.)
781 * In all cases, the variable startlinno is set to the number of the line
913 char line[EOFMARKLEN + 1]; local
951 loop: { /* for each line, until end of word */
963 for (;;) { /* until end of line or end of word */
1160 * is called, c is set to the first character of the next input line. If
1171 if (pfgets(line, sizeof line) !
[all...]
/system/vold/
H A DVolumeManager.cpp1121 char line[1024]; local
1135 while(fgets(line, sizeof(line), fp)) {
1136 line[strlen(line)-1] = '\0';
1142 sscanf(line, "%255s %255s %255s\n", device, mount_path, rest);
1246 char line[16]; local
1247 if (fgets(line, sizeof(line), fp) && sscanf(line, "
1457 char line[1024]; local
[all...]

Completed in 672 milliseconds

12