/external/chromium_org/third_party/leveldatabase/ |
env_chromium.cc | 3 // found in the LICENSE file. See the AUTHORS file for names of contributors. 35 ::base::File file_; 49 last_error_(base::File::FILE_OK), 54 if (last_error_ != base::File::FILE_OK) { 60 bool ShouldKeepTrying(base::File::Error last_error) { 61 DCHECK_NE(last_error, base::File::FILE_OK); 79 base::File::Error last_error_; 184 base::File::Error error) { 246 "CURRENT file does not end with newline" 570 ::base::File file; local 825 base::FilePath file = base::FilePath::FromUTF8Unsafe(filename); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
LibraryClasspathContainerInitializer.java | 5 * you may not use this file except in compliance with the License. 52 import java.io.File; 172 Set<File> jarFiles = new HashSet<File>(); 202 Set<File> jarFiles) { 214 List<File> sanitizedList = sanitizer.sanitize(jarFiles); 216 for (File jarFile : sanitizedList) { 234 File jarProperties = new File(jarPath + DOT_PROPERTIES); 243 File srcPath = getFile(jarFile, value) 448 File file = new File(value); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_program_tex.c | 40 reg.File = RC_FILE_NONE; 51 reg.File = RC_FILE_NONE; 68 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; 71 inst_mov->U.I.SrcReg[1].File = RC_FILE_CONSTANT; 77 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; 90 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; 101 inst_mul->U.I.DstReg.File = RC_FILE_TEMPORARY; 104 inst_mul->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; 110 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; 171 inst->U.I.DstReg.File = RC_FILE_TEMPORARY [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_program_tex.c | 40 reg.File = RC_FILE_NONE; 51 reg.File = RC_FILE_NONE; 68 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; 71 inst_mov->U.I.SrcReg[1].File = RC_FILE_CONSTANT; 77 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; 90 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; 101 inst_mul->U.I.DstReg.File = RC_FILE_TEMPORARY; 104 inst_mul->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; 110 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; 171 inst->U.I.DstReg.File = RC_FILE_TEMPORARY [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 5 * you may not use this file except in compliance with the License. 38 import java.io.File; 108 * Helper method that downloads a file using http connection from a test server and reports the 118 File tmpSaveFile = new File(BASE_DIR + File.separator + TMP_FILENAME); 160 * Helper method that downloads a test file to upload. The stats reported to instrumentation out 164 // Download a file from the server. 168 File tmpSaveFile = new File(BASE_DIR + File.separator + TMP_FILENAME) [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.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 28 import java.io.File; 105 * Returns golden file for an object being tested. 109 * @return corresponding golden file 111 protected File getDataFile(int index) { 114 String path = name.substring(0, dot).replace('.', File.separatorChar); 116 path = outputPath + File.separator + path; 119 return new File(path, name.substring(dot + 1) + "." + index + ".dat") [all...] |
/external/chromium_org/content/browser/fileapi/ |
dragged_file_util_unittest.cc | 3 // found in the LICENSE file. 42 // Random root paths in which we create each file/directory of the 59 EXPECT_EQ(base::File::FILE_OK, 164 // Get the file info and the platform path for url1. 165 base::File::Info info1; 166 ASSERT_EQ(base::File::FILE_OK, 170 ASSERT_EQ(base::File::FILE_OK, 174 // Get the file info and the platform path for url2. 175 base::File::Info info2; 176 ASSERT_EQ(base::File::FILE_OK [all...] |
sandbox_database_test_helper.cc | 3 // found in the LICENSE file. 12 #include "base/files/file.h" 47 base::File file(picked_file_path, 48 base::File::FLAG_OPEN | base::File::FLAG_READ | 49 base::File::FLAG_WRITE); 50 ASSERT_TRUE(file.IsValid()); 51 EXPECT_FALSE(file.created()); 53 base::File::Info file_info [all...] |
transient_file_util_unittest.cc | 3 // found in the LICENSE file. 86 base::File::Error error; 87 base::File::Info file_info; 90 // Make sure the file is there. 95 // Create a snapshot file. 103 ASSERT_EQ(base::File::FILE_OK, error); 107 // The file should be still there. 109 ASSERT_EQ(base::File::FILE_OK, 116 // The file's now scoped out. 119 // Now the temporary file and the transient filesystem must be gone too [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 65 File reportPath = new File(Environment.getExternalStorageDirectory(), "ctsVerifierReports"); 69 File reportFile = new File(reportPath, baseName + ".zip");
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
Interp.java | 29 import java.io.File; 35 * Read a gUnit script, run unit tests or generate a junit file. 45 /** If the input source is a testsuite file, where is it? */ 53 File f = new File(gunitFile); 68 File f = new File(gunitFile); 95 else gunitFile = args[i]; // Must be the gunit file
|
/external/chromium_org/chrome/browser/media_galleries/mac/ |
mtp_device_delegate_impl_mac.h | 3 // found in the LICENSE file. 13 #include "base/files/file.h" 33 // IO thread by the async filesystem file util. They forward to 63 const base::File::Info& info); 66 base::File::Error error); 80 base::File::Info* file_info, 81 base::File::Error* error); 113 // Stores a map from filename to file metadata received from the camera. 115 base::File::Info> file_info_; 120 // Set to true when all file metadata has been received from the camera [all...] |
/external/chromium_org/chrome/common/media_galleries/ |
picasa_types.cc | 3 // found in the LICENSE file. 14 base::File OpenFile(const base::FilePath& directory_path, 18 return base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ); 21 base::File OpenColumnFile(const base::FilePath& directory_path,
|
/external/chromium_org/chrome/installer/util/ |
logging_installer.cc | 3 // found in the LICENSE file. 11 #include "base/files/file.h" 39 // Cause the old log file to be deleted when we are done with it. 40 uint32 file_flags = base::File::FLAG_OPEN | 41 base::File::FLAG_READ | 42 base::File::FLAG_SHARE_DELETE | 43 base::File::FLAG_DELETE_ON_CLOSE; 44 base::File old_log_file(log_file, file_flags); 64 // Couldn't get sufficient access to the log file, optimistically try to
|
/external/chromium_org/content/browser/download/ |
drag_download_util.cc | 3 // found in the LICENSE file. 10 #include "base/files/file.h" 57 base::File CreateFileForDrop(base::FilePath* file_path) { 78 base::File file( 79 new_file_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE); 80 if (file.IsValid()) { 82 return file.Pass(); 86 return base::File(); [all...] |
/external/chromium_org/net/base/ |
file_stream_context.h | 3 // found in the LICENSE file. 5 // This file defines FileStream::Context class. 12 // instance is deleted. So FileStream's destructor can schedule file 18 // header file contains the complete definition of Context class including all 30 #include "base/files/file.h" 62 Context(base::File file, const scoped_refptr<base::TaskRunner>& task_runner); 81 const base::File& file() const { return file_; } function in class:net::FileStream::Context 89 // deferred if some asynchronous operation is now in progress or if file i 128 base::File file; member in struct:net::FileStream::Context::OpenResult [all...] |
/external/proguard/src/proguard/ |
UpToDateChecker.java | 23 import java.io.File; 122 * Updates the input modification time based on the given file or 125 public void updateInputModificationTime(File file) 127 if (file != null) 129 updateModificationTime(file, false); 135 * Updates the input modification time based on the given file or 138 public void updateOutputModificationTime(File file) 140 if (file != null && file.getName().length() > 0 [all...] |
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
AnalysisTest.java | 46 import java.io.File; 85 String dexFilePath = String.format("%s%sclasses.dex", test, File.separatorChar); 103 String smaliPath = String.format("%s%s%s.smali", test, File.separatorChar, 114 private File findResource(String resource) throws URISyntaxException { 116 return new File(resUrl.toURI());
|
/external/svox/pico/src/com/svox/pico/ |
CheckVoiceData.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 114 File tempFile = new File(PICO_LINGWARE_PATH + filename); 115 File tempFileSys = new File(PICO_SYSTEM_LINGWARE_PATH + filename);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
FilePart.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 33 import java.io.File; 44 * consists of a file. 59 /** Default content encoding of file attachments. */ 62 /** Default charset of file attachments. */ 65 /** Default transfer encoding of file attachments. */ 71 /** Attachment's file name */ 74 /** Attachment's file name as a byte array * [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 13 import java.io.File; 46 final File externalAndroidRoot = new File(Environment.getExternalStorageDirectory(), 53 // shared/N/path/to/file 62 * Full restore of one file to shared storage 70 File outFile = null; 72 // The file path must be in the semantic form [number]/path/to/file... 78 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1));
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptC.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 88 * Name of the file that holds the object cache. 127 File f = new File(rs.mCacheDir, CACHE_PATH); 138 File f = new File(rs.mCacheDir, CACHE_PATH);
|
/frameworks/base/services/core/java/com/android/server/ |
DiskStatsService.java | 5 * you may not use this file except in compliance with the License. 25 import java.io.File; 52 File tmp = new File(Environment.getDataDirectory(), "system/perftest.tmp"); 80 reportFreeSpace(new File("/system"), "System", pw); 86 private void reportFreeSpace(File path, String name, PrintWriter pw) {
|
SamplingProfilerService.java | 5 * you may not use this file except in compliance with the License. 31 import java.io.File; 59 File[] snapshotFiles = new File(SNAPSHOT_DIR).listFiles(); 71 handleSnapshotFile(new File(SNAPSHOT_DIR, path), dropbox); 79 private void handleSnapshotFile(File file, DropBoxManager dropbox) { 81 dropbox.addFile(TAG, file, 0); 82 if (LOCAL_LOGV) Slog.v(TAG, file.getPath() + " added to dropbox"); 84 Slog.e(TAG, "Can't add " + file.getPath() + " to dropbox", e) [all...] |
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarEntryTest.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 20 import java.io.File; 35 private File resources; 41 jarFile = new JarFile(new File(resources, jarName)); 72 assertNotNull("Jar file is null", jarFile); 88 File file = null; local 92 attrJar = new JarFile(new File(resources, "Broken_manifest.jar")) [all...] |