Searched refs:dst_size (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 403 size_t dst_size = 10; local 404 char dst[dst_size]; 408 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 414 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 422 size_t dst_size = 5; local 423 char dst[dst_size]; 427 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 433 EXPECT_EQ(-1, append_and_increment(&dstp, src, &dst_size))
|
/frameworks/base/cmds/installd/ |
H A D | utils.c | 42 size_t dst_size = PKG_PATH_MAX; local 44 if (append_and_increment(&dst, dir->path, &dst_size) < 0 45 || append_and_increment(&dst, pkgname, &dst_size) < 0 46 || append_and_increment(&dst, postfix, &dst_size) < 0) { 77 size_t dst_size = sizeof(prefix); local 79 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 80 || append_and_increment(&dst, persona_prefix, &dst_size) < 0) { 86 int ret = snprintf(dst, dst_size, "%d/", persona); 118 size_t dst_size = PKG_PATH_MAX; local 120 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 865 size_t dst_size = path_len + 2; local 952 append_and_increment(char** dst, const char* src, size_t* dst_size) argument [all...] |
H A D | installd.h | 185 int append_and_increment(char** dst, const char* src, size_t* dst_size);
|
Completed in 45 milliseconds