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

/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp449 size_t dst_size = 10; local
450 char dst[dst_size];
454 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size))
460 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size))
468 size_t dst_size = 5; local
469 char dst[dst_size];
473 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size))
479 EXPECT_EQ(-1, append_and_increment(&dstp, src, &dst_size))
/frameworks/native/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) {
78 size_t dst_size = sizeof(prefix); local
80 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0
81 || append_and_increment(&dst, userid_prefix, &dst_size) < 0) {
87 int ret = snprintf(dst, dst_size, "%d/", userid);
119 size_t dst_size = PKG_PATH_MAX; local
121 if (append_and_increment(&dst, android_data_dir.path, &dst_size) <
1001 size_t dst_size = path_len + 2; local
1059 append_and_increment(char** dst, const char* src, size_t* dst_size) argument
[all...]

Completed in 40 milliseconds