Searched defs:line (Results 1 - 25 of 37) sorted by relevance

12

/system/core/init/
H A Dparser.h28 int line; member in struct:parse_state
/system/core/nexus/
H A DSupplicantStatus.cpp53 char *line; local
54 while((line = strsep(&next, "\n"))) {
55 char *line_next = line;
H A DController.cpp103 char line[255]; local
104 while(fgets(line, sizeof(line), fp)) {
105 char *endTag = strchr(line, ' ');
108 LOGW("Unable to find tag for line '%s'", line);
111 if (!strncmp(line, modtag, (endTag - line))) {
/system/media/opensles/libopensles/
H A Dlocks.c23 void object_lock_exclusive_(IObject *this, const char *file, int line) argument
38 file, line, this, *(void **)&this->mOwner, this->mFile, this->mLine);
51 file, line, this, *(void **)&this->mOwner, this->mFile, this->mLine);
54 file, line, this, *(void **)&this->mOwner, this->mFile, this->mLine);
60 this->mLine = line;
75 void object_unlock_exclusive_(IObject *this, const char *file, int line) argument
82 this->mLine = line;
103 const char *file, int line)
210 this->mLine = line;
232 void object_cond_wait_(IObject *this, const char *file, int line) argument
102 object_unlock_exclusive_attributes_(IObject *this, unsigned attributes, const char *file, int line) argument
[all...]
/system/media/opensles/tests/examples/
H A DslesTestEffectCapabilities.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestBassBoostPath.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestEqFdPath.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestEqOutputPath.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestPlayFdPath.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stdout, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestSendToPresetReverb.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestVirtualizerPath.cpp38 void ExitOnErrorFunc( SLresult result , int line) argument
41 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
/system/vold/
H A Dmain.cpp147 char line[255]; local
153 while(fgets(line, sizeof(line), fp)) {
154 char *next = line;
158 line[strlen(line)-1] = '\0';
160 if (line[0] == '#' || line[0] == '\0')
214 SLOGE("Syntax error on config line %d", n);
H A DCommandListener.cpp95 char line[1024]; local
96 while (fgets(line, sizeof(line), fp)) {
97 line[strlen(line)-1] = '\0';
98 cli->sendMsg(0, line, false);;
/system/core/libctest/
H A Dctest.c150 void assertTrueWithSource(int value, const char* file, int line, char* message) { argument
154 fprintf(suite->out, "Assertion failed: [%s:%d] %s: %s\n", file, line,
/system/core/toolbox/
H A Dcat.c55 int ch, gobble, line, prev; local
58 line = gobble = 0;
71 "%6d\t", ++line) < 0) {
84 if (fprintf(stdout, "%6d\t", ++line) < 0) {
H A Dschedtop.c77 static int read_line(char *line, size_t line_size) argument
81 fd = open(line, O_RDONLY);
84 len = read(fd, line, line_size - 1);
88 line[len] = '\0';
94 char line[1024]; local
106 sprintf(line, "/proc/%d/task/%d/schedstat", pid, tid);
108 sprintf(line, "/proc/%d/schedstat", pid);
109 if (read_line(line, sizeof(line)))
111 if(sscanf(line, "
[all...]
H A Dvmstat.c62 char line[MAX_LINE]; variable
165 while (fgets(line, MAX_LINE, f)) {
166 sscanf(line, "MemFree: %ld kB", &s->mem_free);
167 sscanf(line, "AnonPages: %ld kB", &s->mem_anon);
168 sscanf(line, "Mapped: %ld kB", &s->mem_mapped);
169 sscanf(line, "Slab: %ld kB", &s->mem_slab);
183 while (fgets(line, MAX_LINE, f)) {
184 if (!strncmp(line, "cpu ", 4)) {
185 sscanf(line, "cpu %ld %ld %ld %ld %ld %ld %ld",
189 sscanf(line, "int
[all...]
/system/extras/showmap/
H A Dshowmap.c34 char line[1024]; local
42 if(fgets(line, 1024, fp) == 0) return 0;
44 len = strlen(line);
46 line[--len] = 0;
51 mi->start = strtoul(line, 0, 16);
52 mi->end = strtoul(line + 9, 0, 16);
63 strcpy(mi->name, line + 49);
66 if(fgets(line, 1024, fp) == 0) goto oops;
67 if(sscanf(line, "Size: %d kB", &mi->size) != 1) goto oops;
68 if(fgets(line, 102
[all...]
/system/media/opensles/tests/mimeUri/
H A DslesTestLoopUri.cpp34 void ExitOnErrorFunc( SLresult result , int line) argument
37 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestPlayStreamType.cpp37 void ExitOnErrorFunc( SLresult result , int line) argument
40 fprintf(stdout, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTestPlayUri.cpp58 void ExitOnErrorFunc( SLresult result , int line) argument
61 fprintf(stderr, "%lu error code encountered at line %d, exiting\n", result, line);
H A DslesTest_playStates.cpp36 void ExitOnErrorFunc( SLresult result , int line) argument
39 fprintf(stdout, "%lu error code encountered at line %d, exiting\n", result, line);
/system/core/liblinenoise/
H A Dlinenoise.c1 /* linenoise.c -- guerrilla line editing library against the idea that a
2 * line editing lib needs to be 20,000 lines of C code.
62 * Effect: if n is 0 or missing, clear from cursor to end of line
63 * Effect: if n is 1, clear from beginning of line to cursor
64 * Effect: if n is 2, clear entire line
94 int linenoiseHistoryAdd(const char *line);
237 case 10: /* line feed. */
325 /* Avoid a full update of the line in the
341 case 21: /* Ctrl+u, delete the whole line. */
346 case 11: /* Ctrl+k, delete from current to end of line
411 linenoiseHistoryAdd(const char *line) argument
[all...]
/system/core/sh/
H A Dinput.c90 int linno; /* current line */
92 int nleft; /* number of chars left in this line */
101 int plinno = 1; /* input line number */
140 * Read a line from the script.
144 pfgets(char *line, int len) argument
146 char *p = line;
153 if (p == line)
162 return line;
/system/extras/latencytop/
H A Dlatencytop.c327 char line[MAX_LINE]; local
333 if (!fgets(line, MAX_LINE, f)) {
338 if (strcmp(line, EXPECTED_VERSION) != 0) {
340 fprintf(stderr, "But got version: %s", line);
344 while (fgets(line, MAX_LINE, f)) {
345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason);

Completed in 237 milliseconds

12