Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Dutils.c63 size_t userid_len; in create_pkg_path() local
67 userid_len = 0; in create_pkg_path()
70 userid_len = snprintf(NULL, 0, "%d", userid); in create_pkg_path()
74 + userid_len + 1 /*slash*/; in create_pkg_path()
88 if (ret < 0 || (size_t) ret != userid_len + 1) { in create_pkg_path()
108 size_t userid_len; in create_user_path() local
112 userid_len = 0; in create_user_path()
115 userid_len = snprintf(NULL, 0, "%d/", userid); in create_user_path()
128 if (dst_size < userid_len + 1) { in create_user_path()
133 if (ret < 0 || (size_t) ret != userid_len) { in create_user_path()