Home
last modified time | relevance | path

Searched refs:second_last_line (Results 1 – 1 of 1) sorted by relevance

/system/core/logcat/tests/
Dlogcat_test.cpp696 char *second_last_line = NULL; in TEST() local
699 free(second_last_line); in TEST()
700 second_last_line = last_line; in TEST()
706 if (second_last_line == NULL) { in TEST()
708 second_last_line = last_line; in TEST()
712 EXPECT_TRUE(NULL != second_last_line); in TEST()
713 if (!second_last_line) { in TEST()
750 if (!strcmp(line, second_last_line)) { in TEST()
761 char *brk = strpbrk(second_last_line, "\r\n"); in TEST()
763 brk = second_last_line + strlen(second_last_line); in TEST()
[all …]