/bionic/libc/bionic/ |
H A D | assert.cpp | 35 void __assert(const char* file, int line, const char* failed_expression) { argument 36 async_safe_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 async_safe_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 | 124 char line[BUFSIZ]; local 125 if (fgets(line, sizeof(line), fp) == nullptr) { 136 const char* end_of_comm = strrchr(line, ')'); 169 char line[BUFSIZ]; local 170 while (fgets(line, sizeof(line), fp) != NULL) { 172 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) {
|
H A D | libc_init_common.cpp | 131 __noreturn static void __early_abort(int line) { argument 136 *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 | 74 char line[BUFSIZ]; local 75 while (fgets(line, sizeof(line), fp) != nullptr) { 80 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %4s %" SCNxPTR " %x:%x %lu %n", 97 record.pathname = line + path_offset;
|
H A D | stdio_test.cpp | 50 char line[1024]; local 51 memset(line, 0xff, sizeof(line)); 52 ASSERT_EQ(line, fgets(line, sizeof(line), fp)); 53 ASSERT_STREQ(expected, line); 57 // extra empty line, but does on every C library I tested... 58 ASSERT_EQ(line, fgets(line, sizeo [all...] |
H A D | unistd_test.cpp | 975 std::string line; local 976 ASSERT_TRUE(android::base::ReadFileToString("/sys/devices/system/cpu/online", &line)); 978 for (const std::string& s : android::base::Split(line, ",")) {
|
/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;
|
H A D | RecordData.cpp | 148 std::string line = entries_[i]->GetString(); local 149 ssize_t bytes = write(dump_fd, line.c_str(), line.length()); 150 if (bytes == -1 || static_cast<size_t>(bytes) != line.length()) {
|
/bionic/tools/versioner/src/ |
H A D | DeclarationDatabase.h | 100 unsigned line; member in struct:FileLocation 104 return std::tie(line, column) < std::tie(rhs.line, rhs.column); 108 return std::tie(line, column) == std::tie(rhs.line, rhs.column); 148 location.start.line, location.start.column);
|
H A D | Preprocessor.cpp | 115 std::string line; local 117 while (std::getline(is, line)) { 118 result.push_back(std::move(line)); 131 for (const std::string& line : lines) { 132 os << line << "\n"; local 252 unsigned current_line = start.line; 259 .line = current_line, 270 errx(1, "failed to find semicolon starting from %u:%u", start.line, start.column); 298 ++current_location.line; 314 const std::string& line local [all...] |
/bionic/linker/ |
H A D | linker_config.cpp | 66 std::string line; local 67 while(NextLine(&line)) { 68 size_t found = line.find('#'); 69 line = android::base::Trim(line.substr(0, found)); 71 if (line.empty()) { 75 if (line[0] == '[' && line[line.size() - 1] == ']') { 76 *name = line 104 NextLine(std::string* line) argument [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | serial.h | 25 int line; member in struct:serial_struct
|
H A D | omapfb.h | 177 __u16 line; member in struct:omapfb_tearsync_info
|
H A D | videodev2.h | 1076 __u32 line; member in struct:v4l2_sliced_vbi_data 1090 struct v4l2_mpeg_vbi_itv0_line line[35]; member in struct:v4l2_mpeg_vbi_itv0 1093 struct v4l2_mpeg_vbi_itv0_line line[36]; member in struct:v4l2_mpeg_vbi_ITV0
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | serial.h | 25 int line; member in struct:serial_struct
|
H A D | omapfb.h | 177 __u16 line; member in struct:omapfb_tearsync_info
|
H A D | videodev2.h | 1076 __u32 line; member in struct:v4l2_sliced_vbi_data 1090 struct v4l2_mpeg_vbi_itv0_line line[35]; member in struct:v4l2_mpeg_vbi_itv0 1093 struct v4l2_mpeg_vbi_itv0_line line[36]; member in struct:v4l2_mpeg_vbi_ITV0
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | serial.h | 25 int line; member in struct:serial_struct
|
H A D | omapfb.h | 177 __u16 line; member in struct:omapfb_tearsync_info
|
H A D | videodev2.h | 1076 __u32 line; member in struct:v4l2_sliced_vbi_data 1090 struct v4l2_mpeg_vbi_itv0_line line[35]; member in struct:v4l2_mpeg_vbi_itv0 1093 struct v4l2_mpeg_vbi_itv0_line line[36]; member in struct:v4l2_mpeg_vbi_ITV0
|
/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 1348 _yp_hostent(char *line, int af, struct getnamaddr *info) argument 1353 char *p = line; 1361 _DIAGASSERT(line != NULL); 1393 /* skip to the next line */
|