Lines Matching refs:PKG_PATH_MAX
36 char pkgdir[PKG_PATH_MAX]; in install()
37 char libsymlink[PKG_PATH_MAX]; in install()
38 char applibdir[PKG_PATH_MAX]; in install()
116 char pkgdir[PKG_PATH_MAX]; in uninstall()
129 char oldpkgdir[PKG_PATH_MAX]; in renamepkg()
130 char newpkgdir[PKG_PATH_MAX]; in renamepkg()
146 char pkgdir[PKG_PATH_MAX]; in fix_uid()
183 char pkgdir[PKG_PATH_MAX]; in delete_user_data()
193 char pkgdir[PKG_PATH_MAX]; in make_user_data()
194 char applibdir[PKG_PATH_MAX]; in make_user_data()
195 char libsymlink[PKG_PATH_MAX]; in make_user_data()
282 char data_path[PKG_PATH_MAX]; in delete_user()
305 char cachedir[PKG_PATH_MAX]; in delete_cache()
316 char codecachedir[PKG_PATH_MAX]; in delete_code_cache()
423 char src_dex[PKG_PATH_MAX]; in move_dex()
424 char dst_dex[PKG_PATH_MAX]; in move_dex()
449 char dex_path[PKG_PATH_MAX]; in rm_dex()
478 char path[PKG_PATH_MAX]; in get_size()
588 int create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) in create_cache_path() argument
601 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? in create_cache_path()
609 if (dstlen > PKG_PATH_MAX) { in create_cache_path()
739 char zip_location_arg[strlen("--zip-location=") + PKG_PATH_MAX]; in run_dex2oat()
741 char oat_location_arg[strlen("--oat-location=") + PKG_PATH_MAX]; in run_dex2oat()
744 char profile_file_arg[strlen("--profile-file=") + PKG_PATH_MAX]; in run_dex2oat()
766 char profile_file[PKG_PATH_MAX]; in run_dex2oat()
897 char out_path[PKG_PATH_MAX]; in dexopt()
899 char swap_file_name[PKG_PATH_MAX]; in dexopt()
902 char in_odex_path[PKG_PATH_MAX]; in dexopt()
908 if (strlen(apk_path) >= (PKG_PATH_MAX - 8)) { in dexopt()
995 if (out_len + strlen(".swap") + 1 <= PKG_PATH_MAX) { in dexopt()
1098 char boot_marker_path[PKG_PATH_MAX]; in mark_boot_complete()
1181 if ((srcend+strlen(name)) >= (PKG_PATH_MAX-2)) { in movefileordir()
1186 if ((dstend+strlen(name)) >= (PKG_PATH_MAX-2)) { in movefileordir()
1216 char buf[PKG_PATH_MAX+1]; in movefiles()
1221 char srcpath[PKG_PATH_MAX]; in movefiles()
1222 char dstpath[PKG_PATH_MAX]; in movefiles()
1250 buf[PKG_PATH_MAX] = 0; in movefiles()
1350 readlen = read(subfd, buf+bufe, PKG_PATH_MAX-bufe); in movefiles()
1373 char pkgdir[PKG_PATH_MAX]; in linklib()
1374 char libsymlink[PKG_PATH_MAX]; in linklib()