Home
last modified time | relevance | path

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

/system/core/adb/
Dline_printer.cpp35 const int kMargin = 3; // Space for "...". in ElideMiddle() local
37 if (result.size() + kMargin > width) { in ElideMiddle()
38 size_t elide_size = (width - kMargin) / 2; in ElideMiddle()
/system/connectivity/shill/net/
Dbyte_string_unittest.cc120 const int kMargin = sizeof(kTest1) - 3; in TEST_F() local
121 ByteString end_fragment(kTest1 + kMargin, sizeof(kTest1) - kMargin); in TEST_F()
122 EXPECT_TRUE(end_fragment.Equals(bs1.GetSubstring(kMargin, sizeof(kTest1)))); in TEST_F()