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

/bionic/libc/bionic/
H A Dassert.cpp35 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 Derror.cpp76 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 Dsysinfo.cpp68 char* line = nullptr; local
70 if (getline(&line, &len, fp) != -1) {
71 cpu_count = GetCpuCountFromString(line);
72 free(line);
H A Dpthread_attr.cpp123 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 Dlibc_init_common.cpp116 __noreturn static void __early_abort(int line) { argument
121 *reinterpret_cast<int*>(line) = 0;
/bionic/tests/
H A Dlibgen_basename_test.cpp44 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 Dutils.h61 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 Dunistd_test.cpp835 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 Dstdio_test.cpp811 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 DMapData.cpp43 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 Dserial.h26 int line; member in struct:serial_struct
H A Domapfb.h216 __u16 line; member in struct:omapfb_tearsync_info
H A Dvideodev2.h1286 __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 Dgethnamaddr.c1343 _yp_hostent(char *line, int af, struct getnamaddr *info) argument
1348 char *p = line;
1356 _DIAGASSERT(line != NULL);
1388 /* skip to the next line */

Completed in 211 milliseconds