Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp429 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) in TEST_F()
435 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) in TEST_F()
448 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) in TEST_F()
454 EXPECT_EQ(-1, append_and_increment(&dstp, src, &dst_size)) in TEST_F()
/frameworks/native/cmds/installd/
Dutils.h137 int append_and_increment(char** dst, const char* src, size_t* dst_size);
Dutils.cpp858 if (append_and_increment(&dst, path, &dst_size) < 0 in get_path_from_string()
859 || append_and_increment(&dst, "/", &dst_size)) { in get_path_from_string()
921 int append_and_increment(char** dst, const char* src, size_t* dst_size) { in append_and_increment() function