Home | History | Annotate | Download | only in installd

Lines Matching defs:dst_size

885             size_t dst_size = path_len + 2;
887 rec->path = (char*) malloc(dst_size);
894 if (append_and_increment(&dst, path, &dst_size) < 0
895 || append_and_increment(&dst, "/", &dst_size)) {
957 int append_and_increment(char** dst, const char* src, size_t* dst_size) {
958 ssize_t ret = strlcpy(*dst, src, *dst_size);
959 if (ret < 0 || (size_t) ret >= *dst_size) {
963 *dst_size -= ret;