Searched refs:line_buf (Results 1 – 8 of 8) sorted by relevance
/system/extras/memory_replay/tests/ |
D | LineBufferTest.cpp | 47 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local 51 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F() 55 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F() 66 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local 70 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F() 74 ASSERT_FALSE(line_buf.GetLine(&line, &line_len)); in TEST_F() 87 LineBuffer line_buf(tmp_file_->fd, buffer, sizeof(buffer)); in TEST_F() local 91 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F() 95 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F() 99 ASSERT_TRUE(line_buf.GetLine(&line, &line_len)); in TEST_F() [all …]
|
/system/sepolicy/tools/fc_sort/ |
D | fc_sort.c | 319 char *input_name, *output_name, *line_buf; in main() local 352 line_buf = NULL; in main() 354 while ( getline(&line_buf, &buf_len, in_file) != -1 ){ in main() 355 line_len = strlen(line_buf); in main() 360 if (!isspace(line_buf[i])) in main() 368 if (line_buf[i] == '#') in main() 384 while (i < line_len && (!isspace(line_buf[i]))) in main() 399 temp->path = (char*)strndup(&line_buf[start], regex_len); in main() 410 if (!isspace(line_buf[i])) in main() 422 if (line_buf[i] == '-') { in main() [all …]
|
/system/extras/memory_replay/ |
D | main.cpp | 40 LineBuffer line_buf(fd, g_buffer, sizeof(g_buffer)); in GetMaxAllocs() local 44 while (line_buf.GetLine(&line, &line_len)) { in GetMaxAllocs() 81 LineBuffer line_buf(fd, g_buffer, sizeof(g_buffer)); in ProcessDump() local 85 while (line_buf.GetLine(&line, &line_len)) { in ProcessDump()
|
D | NativeInfo.cpp | 35 LineBuffer line_buf(smaps_fd, map_buffer, sizeof(map_buffer)); in GetNativeInfo() local 41 while (line_buf.GetLine(&line, &line_len)) { in GetNativeInfo()
|
/system/core/libmemunreachable/ |
D | ProcessMappings.cpp | 38 LineBuffer line_buf(fd, map_buffer, sizeof(map_buffer)); in ProcessMappings() local 41 while (line_buf.GetLine(&line, &line_len)) { in ProcessMappings()
|
/system/nfc/src/adaptation/ |
D | android_logmsg.cpp | 56 char line_buf[(MAX_NCI_PACKET_SIZE * 2) + 1]; in ProtoDispAdapterDisplayNciPacket() local 57 ToHex(nciPacket, nciPacketLen, line_buf, sizeof(line_buf)); in ProtoDispAdapterDisplayNciPacket() 59 line_buf); in ProtoDispAdapterDisplayNciPacket()
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
D | android_logmsg.cpp | 55 char line_buf[(MAX_NCI_PACKET_SIZE * 2) + 1]; in ProtoDispAdapterDisplayNciPacket() local 56 ToHex(nciPacket, nciPacketLen, line_buf, sizeof(line_buf)); in ProtoDispAdapterDisplayNciPacket() 58 line_buf); in ProtoDispAdapterDisplayNciPacket()
|
/system/sepolicy/tools/ |
D | check_seapp.c | 1075 char line_buf[BUFSIZ]; in parse_file() local 1078 while (fgets(line_buf, sizeof(line_buf) - 1, in_file->file)) { in parse_file() 1083 len = strlen(line_buf); in parse_file() 1084 if (line_buf[len - 1] == '\n') in parse_file() 1085 line_buf[len - 1] = '\0'; in parse_file() 1086 p = line_buf; in parse_file()
|