Searched defs:dst_size (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/cmds/installd/tests/
H A Dinstalld_utils_test.cpp403 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 Dutils.c42 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...]

Completed in 87 milliseconds