Searched refs:append_and_increment (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/installd/ |
D | utils.c | 44 if (append_and_increment(&dst, dir->path, &dst_size) < 0 in create_pkg_path_in_dir() 45 || append_and_increment(&dst, pkgname, &dst_size) < 0 in create_pkg_path_in_dir() 46 || append_and_increment(&dst, postfix, &dst_size) < 0) { in create_pkg_path_in_dir() 80 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 in create_pkg_path() 81 || append_and_increment(&dst, userid_prefix, &dst_size) < 0) { in create_pkg_path() 121 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 in create_user_path() 122 || append_and_increment(&dst, userid_prefix, &dst_size) < 0) { in create_user_path() 1010 if (append_and_increment(&dst, path, &dst_size) < 0 in get_path_from_string() 1011 || append_and_increment(&dst, "/", &dst_size)) { in get_path_from_string() 1059 int append_and_increment(char** dst, const char* src, size_t* dst_size) { in append_and_increment() function
|
D | installd.h | 192 int append_and_increment(char** dst, const char* src, size_t* dst_size);
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 454 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) in TEST_F() 460 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) in TEST_F() 473 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) in TEST_F() 479 EXPECT_EQ(-1, append_and_increment(&dstp, src, &dst_size)) in TEST_F()
|