/system/media/wilhelm/src/ |
H A D | assert.c | 22 void __assert(const char *file, int line, const char *failedexpr) argument 24 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line); 28 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument 30 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"", 31 failedexpr, file, line, func);
|
H A D | locks.c | 34 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument 54 SL_LOGE("%s:%d: recursive lock detected", file, line); 57 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); 74 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 94 " %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 98 " state by pthread %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), 105 thiz->mLine = line; 122 void object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument 129 thiz->mLine = line; 150 const char *file, int line) 149 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument 275 object_cond_wait_(IObject *thiz, const char *file, int line) argument [all...] |
/system/core/init/ |
H A D | parser.h | 28 int line; member in struct:parse_state
|
/system/core/nexus/ |
H A D | SupplicantStatus.cpp | 53 char *line; local 54 while((line = strsep(&next, "\n"))) { 55 char *line_next = line;
|
H A D | Controller.cpp | 103 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/wilhelm/tests/examples/ |
H A D | slesTestEffectCapabilities.cpp | 38 void ExitOnErrorFunc( SLresult result , int line) argument 41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
|
H A D | xaVideoDecoderCapabilities.cpp | 35 void ExitOnErrorFunc( XAresult result , int line) argument 38 fprintf(stderr, "Error %u encountered at line %d, exiting\n", result, line);
|
H A D | slesTestBassBoostPath.cpp | 38 void ExitOnErrorFunc( SLresult result , int line) argument 41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
|
H A D | slesTestPlayFdPath.cpp | 38 void ExitOnErrorFunc( SLresult result , int line) argument 41 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
|
H A D | slesTestVirtualizerPath.cpp | 38 void ExitOnErrorFunc( SLresult result , int line) argument 41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
|
/system/core/libctest/ |
H A D | ctest.c | 150 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 D | cat.c | 55 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 D | schedtop.c | 79 static int read_line(char *line, size_t line_size) argument 83 fd = open(line, O_RDONLY); 86 len = read(fd, line, line_size - 1); 90 line[len] = '\0'; 96 char line[1024]; local 108 sprintf(line, "/proc/%d/task/%d/schedstat", pid, tid); 110 sprintf(line, "/proc/%d/schedstat", pid); 111 if (read_line(line, sizeof(line))) 113 if(sscanf(line, " [all...] |
H A D | vmstat.c | 62 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/media/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayStreamType.cpp | 36 void ExitOnErrorFunc( SLresult result , int line) argument 39 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
|
H A D | slesTest_playStates.cpp | 36 void ExitOnErrorFunc( SLresult result , int line) argument 39 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
|
/system/vold/ |
H A D | CommandListener.cpp | 98 char line[1024]; local 99 while (fgets(line, sizeof(line), fp)) { 100 line[strlen(line)-1] = '\0'; 101 cli->sendMsg(0, line, false);;
|
H A D | main.cpp | 164 char line[255]; local 170 while(fgets(line, sizeof(line), fp)) { 177 line[strlen(line)-1] = '\0'; 179 if (line[0] == '#' || line[0] == '\0') 182 if (!(type = strtok_r(line, delim, &save_ptr))) { 247 SLOGE("Syntax error on config line %d", n);
|
/system/core/liblinenoise/ |
H A D | linenoise.c | 1 /* 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 D | input.c | 90 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 D | latencytop.c | 327 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);
|
/system/extras/libpagemap/ |
H A D | pm_process.c | 225 char line[MAX_LINE], name[MAX_LINE], perms[MAX_PERMS]; local 247 while (fgets(line, MAX_LINE, maps_f)) { 264 sscanf(line, "%lx-%lx %s %lx %*s %*d %" S(MAX_LINE) "s",
|
/system/extras/showmap/ |
H A D | showmap.c | 40 static int parse_header(const char* line, const mapinfo* prev, mapinfo** mi) { argument 47 if (sscanf(line, "%lx-%lx %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { 52 while (isspace(line[name_pos])) { 56 if (line[name_pos]) { 57 strlcpy(name, line + name_pos, sizeof(name)); 89 static int parse_field(mapinfo* mi, const char* line) { argument 93 if (sscanf(line, "%63s %d kB", field, &size) != 2) { 167 char line[1024]; local 179 while (fgets(line, sizeof(line), f [all...] |
/system/extras/showslab/ |
H A D | showslab.c | 13 #define SLABINFO_LINE_LEN 512 /* size of longest line */ 18 /* object representing a slab cache (each line of slabinfo) */ 64 char line[SLABINFO_LINE_LEN]; local 73 if (!fgets(line, SLABINFO_LINE_LEN, slabfile)) { 78 if (sscanf(line, "slabinfo - version: %u.%u", &major, &minor) != 2) { 90 while (fgets(line, SLABINFO_LINE_LEN, slabfile)) { 94 if (line[0] == '#') 106 ret = sscanf(line, "%" STRINGIFY(SLABINFO_NAME_LEN) "s" 215 * Sort Routines. Each of these should be associated with a command-line
|
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 147 char line[MAXSTR]; local 151 vsnprintf(line, sizeof(line), fmt, args); 153 LOG(LOG_ERROR, logCatTag, "%s", line); 155 LOG(LOG_INFO, logCatTag, "%s", line); 311 * Each line of output is indented by a number of spaces that 323 char line[MAXSTR]; local 326 char *linep = line; 330 if (linep != line) { 331 testPrintE("%s", line); [all...] |