Searched refs:LocalStorage (Results 1 – 5 of 5) sorted by relevance
39 public static final Storage LocalStorage = Storage.getLocalStorageIfSupported(); field in File164 return LocalStorage.getItem(getCanonicalPath()) != null; in exists()168 String s = LocalStorage.getItem(getCanonicalPath()); in isDirectory()173 String s = LocalStorage.getItem(getCanonicalPath()); in isFile()203 LocalStorage.setItem(getCanonicalPath(), RandomAccessFile.btoa("")); in createNewFile()211 LocalStorage.removeItem(getCanonicalPath()); in delete()238 int cnt = LocalStorage.getLength(); in listFiles()240 String key = LocalStorage.key(i); in listFiles()263 LocalStorage.setItem(getCanonicalPath(), "{}"); in mkdir()
53 data = atob(File.LocalStorage.getItem(name)); in RandomAccessFile()176 File.LocalStorage.setItem(name, btoa(data)); in flush()
34 for (int i = 0; i < GwtFiles.LocalStorage.getLength(); i++) { in GwtPreferences()35 String key = GwtFiles.LocalStorage.key(i); in GwtPreferences()37 String value = GwtFiles.LocalStorage.getItem(key); in GwtPreferences()66 for (int i = 0; i < GwtFiles.LocalStorage.getLength(); i++) { in flush()67 String key = GwtFiles.LocalStorage.key(i); in flush()68 if (key.startsWith(prefix)) GwtFiles.LocalStorage.removeItem(key); in flush()75 GwtFiles.LocalStorage.setItem(storageKey, storageValue); in flush()
27 public static final Storage LocalStorage = Storage.getLocalStorageIfSupported(); field in GwtFiles
484 unsigned LoadedStorage = 2, unsigned LocalStorage = 4>487 SmallVector<T, LocalStorage> Local;