Searched refs:path_buf (Results 1 – 5 of 5) sorted by relevance
144 let path_buf = PathBuf::from("/data/misc/keystore/user_99"); in keystore2_encrypted_characteristics() localVariable145 if path_buf.as_path().is_dir() { in keystore2_encrypted_characteristics()146 std::fs::remove_dir_all(path_buf.as_path()).unwrap(); in keystore2_encrypted_characteristics()185 let mut path_buf = PathBuf::from("/data/misc/keystore/user_99"); in keystore2_encrypted_characteristics() localVariable186 if !path_buf.as_path().is_dir() { in keystore2_encrypted_characteristics()187 std::fs::create_dir(path_buf.as_path()).unwrap(); in keystore2_encrypted_characteristics()189 path_buf.push(".masterkey"); in keystore2_encrypted_characteristics()190 if !path_buf.as_path().is_file() { in keystore2_encrypted_characteristics()191 std::fs::write(path_buf.as_path(), SUPERKEY).unwrap(); in keystore2_encrypted_characteristics()194 let mut path_buf = PathBuf::from("/data/misc/keystore/user_99"); in keystore2_encrypted_characteristics() localVariable[all …]
246 char path_buf[path_buf_size]; in dump_trace() local254 snprintf(path_buf, path_buf_size, "/data/misc/anrd/dump_of_anrdaemon.%s", time_buf); in dump_trace()255 int output_fd = creat(path_buf, S_IRWXU); in dump_trace()257 ALOGE("Failed to create %s. Dump aborted.", path_buf); in dump_trace()347 ALOGI("Finished dump. Output file stored at: %s", path_buf); in dump_trace()
144 char path_buf[1024]; in ufdt_combine_fixup() local149 if (fixup_len > sizeof(path_buf)) { in ufdt_combine_fixup()153 path = path_buf; in ufdt_combine_fixup()
134 char path_buf[1024]; in ufdt_get_fixup_location() local138 if (fixup_len > sizeof(path_buf)) { in ufdt_get_fixup_location()142 path = path_buf; in ufdt_get_fixup_location()
498 std::unique_ptr<char> path_buf(new char[path_len]); in GetExecutablePath()499 _NSGetExecutablePath(path_buf.get(), &path_len); in GetExecutablePath()500 return path_buf.get(); in GetExecutablePath()