/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRFileStream.cs | 36 using File = System.IO.File; 39 * This is a char buffer stream that is loaded from a file 72 text = File.ReadAllText(fileName); 74 text = File.ReadAllText(fileName, encoding);
|
/external/chromium_org/base/android/ |
content_uri_utils.h | 3 // found in the LICENSE file. 12 #include "base/files/file.h" 19 // Opens a content uri for read and returns the file descriptor to the caller. 21 BASE_EXPORT File OpenContentUriForRead(const FilePath& content_uri);
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_process_launcher.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 38 base::File read_file, 39 base::File write_file)> LaunchedCallback; 62 // Finds manifest file for the native messaging host |native_host_name|. 72 base::File* read_file, 73 base::File* write_file);
|
/external/chromium_org/chrome/common/safe_browsing/ |
zip_analyzer.h | 3 // found in the LICENSE file. 5 // This file contains the zip file analysis implementation for download 11 #include "base/files/file.h" 24 void AnalyzeZipFile(base::File zip_file, Results* results);
|
/external/chromium_org/ipc/ |
ipc_platform_file.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 42 inline base::File PlatformFileForTransitToFile( 45 return base::File(transit); 47 return base::File(transit.fd); 51 // Returns a file handle equivalent to |file| that can be used in |process|. 53 base::PlatformFile file, 57 // Returns a file handle equivalent to |file| that can be used in |process| [all...] |
/external/chromium_org/webkit/browser/blob/ |
file_stream_reader.cc | 3 // found in the LICENSE file. 11 // Verify if the underlying file has not been modified. 14 const base::File::Info& file_info) {
|
/external/chromium_org/webkit/browser/fileapi/ |
remove_operation_delegate.h | 3 // found in the LICENSE file. 32 void DidTryRemoveFile(base::File::Error error); 33 void DidTryRemoveDirectory(base::File::Error remove_file_error, 34 base::File::Error remove_directory_error); 36 base::File::Error error);
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
JarJarMojo.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 28 private File fromJar; 29 private File toJar; 30 private File rulesFile;
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
EntryStruct.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File;
|
/external/robolectric/ |
update-downloads.rb | 6 unless File.exists?(DOWNLOADS_FILE) 16 sha1 = Digest::SHA1.hexdigest File.read(f) 26 download_html += " <td class=\"size\">#{File.size(f) / 1024}k</td>\n" 27 download_html += " <td class=\"date\">#{File.mtime(f).strftime("%Y/%m/%d %H:%M:%S %Z")}</td>\n" 33 downloads_page = File.read(DOWNLOADS_FILE) 36 File.open(DOWNLOADS_FILE, 'w') {|f| f.write(downloads_page)}
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
FilePartSource.java | 9 * contributor license agreements. See the NOTICE file distributed with 11 * The ASF licenses this file to You under the Apache License, Version 2.0 12 * (the "License"); you may not use this file except in compliance with 34 import java.io.File; 41 * A PartSource that reads from a File. 51 /** File part file. */ 52 private File file = null; field in class:FilePartSource 54 /** File part file name. * [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
FileUtil.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 24 * Common file operations. 34 public static boolean deleteDirectoryRecursively(File directory) { 39 for (File entry : directory.listFiles()) { 51 * Reads the content of a {@code File} as a byte array. 53 * @param file The file to read 54 * @return The content of the file 55 * @throws java.io.IOException if the content of the {@code File} could not be rea [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityTest.java | 5 * you may not use this file except in compliance with the License. 27 import java.io.File; 88 public boolean createNewFile(File f) throws IOException { 97 public boolean createNewFile(File f) throws IOException { 105 final File directory = 108 final File created1 = 109 Utility.createUniqueFileInternal(getCountdownFileCreator(), directory, "file"); 111 assertFalse(TextUtils.equals(created1.getName(), "file")); 113 final File created2 = 114 Utility.createUniqueFileInternal(getTrueFileCreator(), directory, "file"); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
AgeFileFilter.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 19 import java.io.File; 33 * File dir = new File("."); 54 * Constructs a new age file filter for files equal to or older than 64 * Constructs a new age file filter for files on any one side 77 * Constructs a new age file filter for files older than (at or before) 87 * Constructs a new age file filter for files on any one sid [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
MonitorPlugin.java | 5 * you may not use this file except in compliance with the License. 25 import java.io.File; 31 private File mSdkFolder; 58 public void setSdkFolder(File sdkFolder) { 62 public File getSdkFolder() {
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustedCertificateStore.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 61 * efficient lookup operations for CAs again based on the file naming 75 * configuration in the system/core/rootdir/init.rc file. The 93 private static File defaultCaCertsSystemDir; 94 private static File defaultCaCertsAddedDir; 95 private static File defaultCaCertsDeletedDir; 100 defaultCaCertsSystemDir = new File(ANDROID_ROOT + "/etc/security/cacerts"); 101 setDefaultUserDirectory(new File(ANDROID_DATA + "/misc/keychain")); 110 public static void setDefaultUserDirectory(File root) 135 File file = fileForAlias(alias); local 153 File file; local 217 File file = fileForAlias(alias); local 455 File file = file(dir, hash, index); local 497 private File file(File dir, String hash, int index) { method in class:TrustedCertificateStore 546 File file = fileForAlias(alias); local 591 File file = file(addedDir, hash, lastTombstoneIndex); local [all...] |
/external/guava/guava/src/com/google/common/io/ |
Files.java | 5 * you may not use this file except in compliance with the License. 29 import java.io.File; 65 * Returns a buffered reader that reads from a file using the given 68 * @param file the file to read from 69 * @param charset the character set used when writing the file 72 public static BufferedReader newReader(File file, Charset charset) 75 new InputStreamReader(new FileInputStream(file), charset)); 79 * Returns a buffered writer that writes to a file using the give [all...] |
/external/lldb/source/Host/common/ |
File.cpp | 5 // This file is distributed under the University of Illinois Open Source 11 #include "lldb/Host/File.h" 30 if (options & File::eOpenOptionAppend) 32 if (options & File::eOpenOptionRead) 34 if (options & File::eOpenOptionCanCreateNewOnly) 39 else if (options & File::eOpenOptionWrite) 41 if (options & File::eOpenOptionCanCreateNewOnly) 47 else if (options & File::eOpenOptionRead && options & File::eOpenOptionWrite) 49 if (options & File::eOpenOptionCanCreate [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
ContactPhotoUtils.java | 5 * you may not use this file except in compliance with the License. 28 import java.io.File; 48 * Generate a new, unique file to be used as an out-of-band communication 50 * This file will be passed to other activities (such as the gallery/camera/cropper/etc.), 53 public static File generateTempPhotoFile(Context context) { 54 return new File(pathForCroppedPhoto(context, generateTempPhotoFileName())); 58 final File dir = new File(context.getExternalCacheDir() + "/tmp"); 60 final File f = new File(dir, fileName) [all...] |
/external/chromium_org/base/files/ |
file_proxy.cc | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 18 void FileDeleter(base::File file) { 27 FileHelper(FileProxy* proxy, File file) 28 : file_(file.Pass()), 29 error_(File::FILE_ERROR_FAILED), 42 File file_; 43 File::Error error_ [all...] |
/external/chromium_org/chrome/browser/local_discovery/storage/ |
privet_filesystem_attribute_cache.h | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 20 // Get File info for a path in the filesystem. Returns NULL if not found. 21 const base::File::Info* GetFileInfo(const base::FilePath& full_path); 23 // Add file info from the result of a /privet/storage/list request. 28 typedef std::map<base::FilePath, base::File::Info> FileInfoMap;
|
/external/chromium_org/content/browser/fileapi/ |
copy_or_move_file_validator_unittest.cc | 3 // found in the LICENSE file. 39 base::File::Error error) { 40 ASSERT_EQ(base::File::FILE_OK, error); 75 ASSERT_EQ(base::File::FILE_OK, CreateDirectory(SourceURL(""))); 79 ASSERT_EQ(base::File::FILE_OK, CreateDirectory(DestURL(""))); 86 ASSERT_EQ(base::File::FILE_OK, CreateFile(copy_src_, 10)); 87 ASSERT_EQ(base::File::FILE_OK, CreateFile(move_src_, 10)); 102 void CopyTest(base::File::Error expected) { 111 if (expected == base::File::FILE_OK) 117 void MoveTest(base::File::Error expected) [all...] |
/external/chromium_org/courgette/ |
memory_allocator.cc | 3 // found in the LICENSE file. 16 // The file is created in the %TEMP% folder. 17 // NOTE: Since the file will be used as backing for a memory allocation, 19 base::File CreateTempFile() { 22 return base::File(); 24 int flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ | 25 base::File::FLAG_WRITE | base::File::FLAG_DELETE_ON_CLOSE | 26 base::File::FLAG_TEMPORARY [all...] |
/external/chromium_org/remoting/host/ |
ipc_util.h | 3 // found in the LICENSE file. 21 class File; 40 base::File* client_out,
|
/external/chromium_org/webkit/browser/database/ |
vfs_backend.h | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 21 static base::File OpenFile(const base::FilePath& file_path, 24 static base::File OpenTempFileInDirectory(const base::FilePath& dir_path,
|