HomeSort by relevance Sort by last modified time
    Searched refs:File (Results 101 - 125 of 3205) sorted by null

1 2 3 45 6 7 8 91011>>

  /art/compiler/
elf_stripper.h 5 * you may not use this file except in compliance with the License.
29 // Strip an ELF file of unneeded debugging information.
31 static bool Strip(File* file, std::string* error_msg);
file_output_stream.h 5 * you may not use this file except in compliance with the License.
28 explicit FileOutputStream(File* file);
37 File* const file_;
  /external/chromium_org/content/child/
blink_glue.h 3 // found in the LICENSE file.
8 #include "base/files/file.h"
17 // File info conversion
18 CONTENT_EXPORT void FileInfoToWebFileInfo(const base::File::Info& file_info,
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
test-webkitperl 36 use File::Spec;
51 my $sourceRootDir = File::Spec->catfile($FindBin::Bin, "../..");
test-webkitruby 28 Dir.chdir File.dirname(__FILE__)
  /external/compiler-rt/test/profile/
instrprof-without-libc.c 41 FILE *File = fopen(argv[1], "w");
42 if (!File)
44 if (fwrite(Buffer, 1, Size, File) != Size)
46 return fclose(File);
  /external/proguard/src/proguard/io/
DirectoryPump.java 27 * This class can read a given file or directory, recursively, applying a given
34 private final File directory;
37 public DirectoryPump(File directory)
50 throw new IOException("No such file or directory");
61 private void readFiles(File file, DataEntryReader dataEntryReader)
64 // Pass the file data entry to the reader.
65 dataEntryReader.read(new FileDataEntry(directory, file));
67 if (file.isDirectory())
70 File[] files = file.listFiles()
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
EntropyMixerTest.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE);
32 File file = File.createTempFile("testInitialWrite", "dat", dir); local
33 file.deleteOnExit();
34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length());
36 // The constructor has the side effect of writing to file
37 new EntropyMixer(getContext(), "/dev/null", file.getCanonicalPath(), "/dev/null")
    [all...]
  /external/chromium_org/base/files/
file_proxy.h 3 // found in the LICENSE file.
10 #include "base/files/file.h"
24 // This class provides asynchronous access to a File. All methods follow the
25 // same rules of the equivalent File method, as they are implemented by bouncing
26 // the operation to File using a TaskRunner.
28 // This class performs automatic proxying to close the underlying file at
44 typedef Callback<void(File::Error)> StatusCallback;
46 typedef Callback<void(File::Error,
48 typedef Callback<void(File::Error,
49 const File::Info&)> GetFileInfoCallback
    [all...]
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/
ApplicationData.java 3 // found in the LICENSE file.
14 import java.io.File;
57 File cacheDir = new File(appDir, "cache");
86 File[] files = new File(appDir).listFiles();
89 for (File file : files) {
90 if (!file.getAbsolutePath().endsWith("/lib") && !removeFile(file))
    [all...]
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
RootProcessScanner.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
56 List<File> rootProcessDirs = getRootProcessDirs();
64 private static List<File> getRootProcessDirs()
66 File proc = new File("/proc");
71 List<File> rootProcesses = new ArrayList<File>();
72 File[] processDirs = proc.listFiles();
74 for (File processDir : processDirs)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContext.java 13 import java.io.File;
27 public static final File CACHE_DIR = createTempDir("android-cache");
28 public static final File EXTERNAL_CACHE_DIR = createTempDir("android-external-cache");
29 public static final File FILES_DIR = createTempDir("android-tmp");
30 public static final File EXTERNAL_FILES_DIR = createTempDir("android-external-files");
35 public File getDir(String name, int mode) {
37 File file = new File(FILES_DIR, name); local
38 if (!file.exists())
    [all...]
  /external/chromium_org/webkit/browser/fileapi/
local_file_util.cc 3 // found in the LICENSE file.
79 base::File LocalFileUtil::CreateOrOpen(
83 base::File::Error error = GetLocalFilePath(context, url, &file_path);
84 if (error != base::File::FILE_OK)
85 return base::File(error);
88 return base::File(base::File::FILE_ERROR_NOT_FOUND);
93 base::File::Error LocalFileUtil::EnsureFileExists(
98 base::File::Error error = GetLocalFilePath(context, url, &file_path);
99 if (error != base::File::FILE_OK
    [all...]
transient_file_util.h 3 // found in the LICENSE file.
26 base::File::Error* error,
27 base::File::Info* file_info,
  /external/emma/core/java12/com/vladium/util/
IPathEnumerator.java 12 import java.io.File;
42 void handleDirStart (File pathDir, File dir); // not generated for path dirs themselves
43 void handleFile (File pathDir, File file);
44 void handleDirEnd (File pathDir, File dir);
50 void handleArchiveStart (File parentDir, File archive, Manifest manifest)
    [all...]
  /external/smali/util/src/main/java/org/jf/util/
PathUtil.java 31 import java.io.File;
39 public static File getRelativeFile(File baseFile, File fileToRelativize) throws IOException {
44 return new File(getRelativeFileInternal(baseFile.getCanonicalFile(), fileToRelativize.getCanonicalFile()));
48 File baseFile = new File(basePath);
54 new File(pathToRelativize).getCanonicalFile());
57 static String getRelativeFileInternal(File canonicalBaseFile, File canonicalFileToRelativize)
    [all...]
  /development/tools/idegen/src/
IntelliJ.java 5 * you may not use this file except in compliance with the License.
17 import java.io.File;
33 File templatesDirectory = new File(c.toolDirectory, "templates");
34 String ipr = Files.toString(new File(templatesDirectory, IDEA_IPR));
35 Files.toFile(ipr, new File(IDEA_IPR));
37 String iml = Files.toString(new File(templatesDirectory, IDEA_IML));
40 for (File sourceRoot : c.sourceRoots) {
41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/")
53 for (File excludedDir : c.excludesUnderSourceRoots())
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/
FileUtilsTest.java 5 * you may not use this file except in compliance with the License.
32 import java.io.File;
43 private File mDir;
44 private File mTestFile;
45 private File mCopyFile;
51 mTestFile = new File(mDir, "test.file");
52 mCopyFile = new File(mDir, "copy.file");
79 assertTrue(FileUtils.isFilenameSafe(new File("foobar")))
184 final File file = new File(mDir, name); local
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/
ContextCompat.java 5 * you may not use this file except in compliance with the License.
30 import java.io.File;
155 * @see EnvironmentCompat#getStorageState(File)
157 public static File[] getObbDirs(Context context) {
162 final File single;
169 return new File[] { single };
215 * @see EnvironmentCompat#getStorageState(File)
217 public static File[] getExternalFilesDirs(Context context, String type) {
222 final File single;
229 return new File[] { single }
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
ITestResultRepo.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
44 * @return A {@link File} representing the report directory for the given sessionId
46 public File getReportDir(int sessionId);
  /external/chromium_org/chrome/browser/chromeos/file_system_provider/
observer.h 3 // found in the LICENSE file.
10 #include "base/files/file.h"
20 // Called when a file system mounting has been invoked. For success, the
25 base::File::Error error) = 0;
27 // Called when a file system unmounting has been invoked. For success, the
32 base::File::Error error) = 0;
  /external/chromium_org/media/base/
media_file_checker.h 3 // found in the LICENSE file.
9 #include "base/files/file.h"
18 // This class tries to determine if a file is a valid media file. The entire
19 // file is not decoded so a positive result from this class does not make the
20 // file safe to use in the browser process.
23 explicit MediaFileChecker(base::File file);
26 // After opening |file|, up to |check_time| amount of wall-clock time is spent
27 // decoding the file. The amount of audio/video data decoded will depend o
    [all...]
  /external/chromium_org/ppapi/shared_impl/
file_type_conversion.h 3 // found in the LICENSE file.
8 #include "base/files/file.h"
16 PPAPI_SHARED_EXPORT int FileErrorToPepperError(base::File::Error error_code);
25 PPAPI_SHARED_EXPORT void FileInfoToPepperFileInfo(const base::File::Info& info,
  /external/chromium_org/remoting/host/native_messaging/
native_messaging_writer.h 3 // found in the LICENSE file.
8 #include "base/files/file.h"
20 explicit NativeMessagingWriter(base::File file);
28 base::File write_stream_;
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
FileList.idl 30 getter File item(unsigned long index);

Completed in 434 milliseconds

1 2 3 45 6 7 8 91011>>