/bionic/libc/bionic/ |
H A D | assert.cpp | 35 void __assert(const char* file, int line, const char* failed_expression) { argument 36 __libc_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression); 39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument 40 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
|
H A D | error.cpp | 76 void error_at_line(int status, int error, const char* file, unsigned int line, const char* fmt, ...) { argument 80 if (last_line == line && last_file != NULL && strcmp(last_file, file) == 0) { 84 last_line = line; 88 fprintf(stderr, "%s:%d: ", file, line);
|
H A D | sysinfo.cpp | 68 char* line = nullptr; local 70 if (getline(&line, &len, fp) != -1) { 71 cpu_count = GetCpuCountFromString(line); 72 free(line);
|
H A D | pthread_attr.cpp | 123 char line[BUFSIZ]; local 124 if (fgets(line, sizeof(line), fp) == nullptr) { 135 const char* end_of_comm = strrchr(line, ')'); 168 char line[BUFSIZ]; local 169 while (fgets(line, sizeof(line), fp) != NULL) { 171 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) {
|
H A D | libc_init_common.cpp | 116 __noreturn static void __early_abort(int line) { argument 121 *reinterpret_cast<int*>(line) = 0;
|
/bionic/tests/ |
H A D | libgen_basename_test.cpp | 44 static void __TestGnuBasename(const char* in, const char* expected_out, int line) { argument 47 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; 48 ASSERT_EQ(0, errno) << "(" << line << "): " << in << std::endl; 51 static void __TestPosixBasename(const char* in, const char* expected_out, int line) { argument 55 ASSERT_STREQ(expected_out, out) << "(" << line << "): " << in << std::endl; 56 ASSERT_EQ(0, errno) << "(" << line << "): " << in << std::endl;
|
H A D | utils.h | 61 char line[BUFSIZ]; local 62 while (fgets(line, sizeof(line), fp) != nullptr) { 67 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %4s %" SCNxPTR " %x:%x %lu %n", 84 record.pathname = line + path_offset;
|
H A D | unistd_test.cpp | 835 std::string line; local 836 ASSERT_TRUE(android::base::ReadFileToString("/sys/devices/system/cpu/online", &line)); 838 for (const std::string& s : android::base::Split(line, ",")) {
|
H A D | stdio_test.cpp | 811 char line[16]; local 812 char* s = fgets(line, sizeof(line), fp); 825 char line[16]; local 826 char* s = fgets(line, sizeof(line), fp);
|
/bionic/libc/malloc_debug/ |
H A D | MapData.cpp | 43 static MapEntry* parse_line(char* line) { argument 49 if (sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %4s %" PRIxPTR " %*x:%*x %*d %n", &start, 54 const char* name = line + name_pos;
|
/bionic/libc/kernel/uapi/linux/ |
H A D | serial.h | 26 int line; member in struct:serial_struct
|
H A D | omapfb.h | 216 __u16 line; member in struct:omapfb_tearsync_info
|
H A D | videodev2.h | 1286 __u32 line; member in struct:v4l2_sliced_vbi_data 1304 struct v4l2_mpeg_vbi_itv0_line line[35]; member in struct:v4l2_mpeg_vbi_itv0 1307 struct v4l2_mpeg_vbi_itv0_line line[36]; member in struct:v4l2_mpeg_vbi_ITV0
|
/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 1342 _yp_hostent(char *line, int af, struct getnamaddr *info) argument 1347 char *p = line; 1355 _DIAGASSERT(line != NULL); 1387 /* skip to the next line */
|