Home
last modified time | relevance | path

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

/system/core/adb/
Dtypes_test.cpp22 static std::unique_ptr<IOVector::block_type> create_block(const std::string& string) { in create_block() function
26 static std::unique_ptr<IOVector::block_type> create_block(char value, size_t len) { in create_block() function
48 auto block = create_block('x', 100); in TEST()
59 bc.append(create_block("foobar")); in TEST()
63 ASSERT_EQ(*create_block("foo"), foo.coalesce()); in TEST()
64 ASSERT_EQ(*create_block("bar"), bc.coalesce()); in TEST()
69 bc.append(create_block("foo")); in TEST()
70 bc.append(create_block("bar")); in TEST()
71 bc.append(create_block("baz")); in TEST()
76 ASSERT_EQ(*create_block("foo"), foo.coalesce()); in TEST()
[all …]