Searched defs:two (Results 1 - 3 of 3) sorted by relevance

/system/core/libunwindstack/tests/
H A DMemoryTest.cpp49 bool two; member in struct:unwindstack::FakeStruct
63 ASSERT_TRUE(memory.ReadField(0, &data, &data.two, sizeof(data.two)));
64 ASSERT_FALSE(data.two);
84 ASSERT_FALSE(memory.ReadField(100, &data.two, &data, sizeof(data.two)));
85 ASSERT_FALSE(memory.ReadField(0, &data.two, &data, sizeof(data.two)));
/system/core/libbacktrace/
H A Dbacktrace_testlib.cpp32 int test_level_four(int one, int two, int three, int four, void (*callback_func)(void*), argument
40 return one + two + three + four;
43 int test_level_three(int one, int two, int three, int four, void (*callback_func)(void*), argument
45 return test_level_four(one + 3, two + 6, three + 9, four + 12, callback_func, data) + 3;
48 int test_level_two(int one, int two, int three, int four, void (*callback_func)(void*), void* data) { argument
49 return test_level_three(one + 2, two + 4, three + 6, four + 8, callback_func, data) + 2;
52 int test_level_one(int one, int two, int three, int four, void (*callback_func)(void*), void* data) { argument
53 return test_level_two(one + 1, two + 2, three + 3, four + 4, callback_func, data) + 1;
/system/libhidl/
H A Dtest_main.cpp400 hidl_string two = "2"; local
403 EXPECT_EQ(one, Return<hidl_string>(one).withDefault(two));
404 EXPECT_EQ(two, ret.withDefault(two));
406 hidl_string&& moved = ret.withDefault(std::move(two));

Completed in 1209 milliseconds