Lines Matching refs:line_overhead
384 size_t line_overhead = 20; in bswrite_test() local
385 if (pid > 99999) ++line_overhead; in bswrite_test()
386 if (pid > 999999) ++line_overhead; in bswrite_test()
389 EXPECT_GT((int)((line_overhead * num_lines) + size), in bswrite_test()
392 EXPECT_EQ((int)((line_overhead * num_lines) + size), in bswrite_test()
467 size_t line_overhead = 11; in buf_write_test() local
468 if (pid > 99999) ++line_overhead; in buf_write_test()
469 if (pid > 999999) ++line_overhead; in buf_write_test()
471 EXPECT_EQ((int)(((line_overhead + sizeof(tag)) * num_lines) + size), in buf_write_test()
2492 int line_overhead = 20; in create_android_logger() local
2493 if (pid > 99999) ++line_overhead; in create_android_logger()
2494 if (pid > 999999) ++line_overhead; in create_android_logger()
2499 EXPECT_EQ(line_overhead + (int)strlen(expected_string), printLogLine); in create_android_logger()