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

<<11121314151617181920>>

  /external/chromium_org/chrome/browser/media_galleries/fileapi/
itunes_file_util.h 3 // found in the LICENSE file.
42 virtual base::File::Error GetFileInfoSync(
45 base::File::Info* file_info,
47 virtual base::File::Error ReadDirectorySync(
51 virtual base::File::Error DeleteDirectorySync(
54 virtual base::File::Error DeleteFileSync(
57 virtual base::File::Error CreateSnapshotFileSync(
60 base::File::Info* file_info,
63 virtual base::File::Error GetLocalFilePath(
native_media_file_util.h 3 // found in the LICENSE file.
18 // This class handles native file system operations with media type filtering.
19 // To support virtual file systems it implements the AsyncFileUtil interface
26 // Uses the MIME sniffer code, which actually looks into the file,
27 // to determine if it is really a media file (to avoid exposing
28 // non-media files with a media file extension.)
29 static base::File::Error IsMediaFile(const base::FilePath& path);
30 static base::File::Error BufferIsMediaHeader(net::IOBuffer* buf,
39 base::File::Error result,
40 const base::File::Info& file_info
    [all...]
safe_audio_video_checker.h 3 // found in the LICENSE file.
10 #include "base/files/file.h"
19 // Uses a utility process to validate a media file. If the callback returns
20 // File::FILE_OK, then the file appears to be a valid media file. This does
21 // not attempt to decode the entire file, which may take a considerable amount
26 // Takes responsibility for closing |file|.
28 base::File file,
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/linux/
mtp_device_delegate_impl_linux.h 3 // found in the LICENSE file.
24 // (MTP) device to complete file system operations. These operations are
52 // Defer the device initializations until the first file operation request.
91 // Writes data from the device to the snapshot file path based on the
95 // |snapshot_file_info| specifies the metadata details of the snapshot file.
96 void WriteDataIntoSnapshotFile(const base::File::Info& snapshot_file_info);
108 // requested file details. |success_callback| is invoked to notify the caller
109 // about the requested file details.
111 const base::File::Info& file_info);
118 // directory file entries
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/win/
mtp_device_delegate_impl_win.h 3 // found in the LICENSE file.
11 #include "base/files/file.h"
29 // protocol (MTP) device to complete file system operations. These operations
48 // The media file system root path, which is obtained during the
49 // registration of MTP device storage partition as a file system,
75 const base::Callback<base::File::Error(void)>& task,
76 const base::Callback<void(base::File::Error)>& reply);
79 const base::Callback<base::File::Error(void)> task;
80 const base::Callback<void(base::File::Error)> reply;
83 // Defers the device initializations until the first file operation request
    [all...]
  /external/chromium_org/chrome/renderer/spellchecker/
hunspell_engine.h 3 // found in the LICENSE file.
28 virtual void Init(base::File file) OVERRIDE;
43 // We memory-map the BDict file.
49 base::File file_;
  /external/chromium_org/third_party/WebKit/Source/core/clipboard/
DataTransferItemList.h 45 class File;
59 PassRefPtrWillBeRawPtr<DataTransferItem> add(PassRefPtrWillBeRawPtr<File>);
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DOMFileSystemSync.h 41 class File;
61 PassRefPtrWillBeRawPtr<File> createFile(const FileEntrySync*, ExceptionState&);
FileEntrySync.h 41 class File;
53 PassRefPtrWillBeRawPtr<File> file(ExceptionState&);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
clean-header-guards 36 File.open(filename, "r+") do |file|
37 contents = file.read
41 new_guard = File.basename(filename).sub('.', '_')
48 File.open(tmp_filename, "w+") do |new_file|
51 File.rename tmp_filename, filename
  /external/chromium_org/third_party/protobuf/src/google/protobuf/testing/
file.h 32 // emulates google3/file/base/file.h
44 // Protocol buffer code only uses a couple static methods of File, and only
46 class File {
48 // Check if the file exists.
51 // Read an entire file to a string. Return true if successful, false
58 // Create a file and write a string to it.
68 // If "name" is a file, we delete it. If it is a directory, we
69 // call DeleteRecursively() for each file or directory (other than
77 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(File);
    [all...]
  /external/emma/core/java12/com/vladium/emma/instr/
InstrProcessor.java 11 import java.io.File;
92 final File _file = new File (fileName);
95 throw new IllegalArgumentException ("not a file: [" + _file.getAbsolutePath () + "]");
120 final File _outDir = new File (dir);
179 final File canonicalOutDir = Files.canonicalizeFile (m_outDir);
180 final File [] canonicalInstrPath;
186 canonicalInstrPath = new File [m_instrPath.length];
198 for (File dir = canonicalOutDir; dir != null; dir = dir.getParentFile ()) // getParentFile() does no real I/
    [all...]
  /external/lldb/include/lldb/Core/
SourceManager.h 5 // This file is distributed under the University of Illinois Open Source
30 class File
32 friend bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs);
35 File (const FileSpec &file_spec, Target *target);
36 ~File();
78 FileSpec m_file_spec_orig; // The original file spec that was used (can be different from m_file_spec)
79 FileSpec m_file_spec; // The actualy file spec being used (if the target has source mappings, this might be different from m_file_spec_orig)
80 TimeValue m_mod_time; // Keep the modification time that this file data is valid for
81 uint32_t m_source_map_mod_id; // If the target uses path remappings, be sure to clear our notion of a source file if the path modification ID change
    [all...]
  /external/proguard/src/proguard/ant/
ClassPathElement.java 28 import java.io.File;
61 File baseDir = getProject().getBaseDir();
66 // Get the referenced path or file set.
81 // Get the names of the existing input files in the referenced file set.
101 throw new BuildException("The <outjar> element must specify exactly one file or directory ["+fileNames.length+"]");
108 // throw new BuildException("The <injar> element must specify at least one file or directory");
114 // Create a new class path entry, with the proper file name and
117 File file = new File(fileName) local
    [all...]
  /external/proguard/src/proguard/gui/
ExtensionFileFilter.java 24 import java.io.File;
59 public boolean accept(File file)
61 if (file.isDirectory())
66 String fileName = file.getName().toLowerCase();
  /external/protobuf/src/google/protobuf/testing/
file.h 32 // emulates google3/file/base/file.h
44 // Protocol buffer code only uses a couple static methods of File, and only
46 class File {
48 // Check if the file exists.
51 // Read an entire file to a string. Return true if successful, false
58 // Create a file and write a string to it.
68 // If "name" is a file, we delete it. If it is a directory, we
69 // call DeleteRecursively() for each file or directory (other than
77 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(File);
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureLibraries.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
36 return fromFile(new File(path));
39 public static GestureLibrary fromFile(File path) {
52 private final File mPath;
54 public FileGestureLibrary(File path) {
66 final File file = mPath;
68 final File parentFile = file.getParentFile()
92 final File file = mPath; local
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
ScreenshotTest.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
52 File screenshotDir = getScreenshotDir();
57 // unlikely, but check if a new screenshot file was already created
67 File screenshotFile = new File(screenshotDir, observer.getCreatedPath());
69 assertTrue(String.format("Detected new screenshot %s but its not a file",
74 // delete the file to prevent external storage from filing up
92 Log.d(LOG_TAG, String.format("Detected new file added %s", path));
123 private File getScreenshotDir()
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
SizeFileFilter.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;
30 * File dir = new File(".");
49 * Constructs a new size file filter for files equal to or
60 * Constructs a new size file filter for files based on a certain size
78 * Checks to see if the size of the file is favorable.
81 * file <b>IS NOT</b> selected
    [all...]
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerTester.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
36 private final File[] mWavDirs;
42 final public File mFile;
47 public WavFile(File file) {
48 mFile = file;
55 public VoiceDialerTester(File dir) {
61 Vector<File> wavDirs = new Vector<File>();
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
BinaryDictionaryUtilsTests.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
38 private File createEmptyDictionaryAndGetFile(final String dictId,
48 private File createEmptyVer4DictionaryAndGetFile(final String dictId) throws IOException {
49 final File file = getDictFile(dictId); local
50 FileUtils.deleteRecursively(file);
59 if (BinaryDictionaryUtils.createEmptyDictFile(file.getAbsolutePath(), FormatSpec.VERSION4,
61 return file;
63 throw new IOException("Empty dictionary " + file.getAbsolutePath(
    [all...]
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/
UnixFileTest.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
21 import java.io.File;
29 * Please note that this case can only be passed on Linux due to some file
35 private File testFile;
37 private File testDir;
83 private static long getLinuxSpace(int index, File file) throws Exception {
85 String par = file.getAbsolutePath()
403 File file = new File("folder2"); local
    [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
UsageStatsDatabase.java 5 * use this file except in compliance with the License. You may obtain a copy
26 import java.io.File;
44 private final File[] mIntervalDirs;
47 private final File mVersionFile;
49 public UsageStatsDatabase(File dir) {
50 mIntervalDirs = new File[] {
51 new File(dir, "daily"),
52 new File(dir, "weekly"),
53 new File(dir, "monthly"),
54 new File(dir, "yearly")
169 final AtomicFile file = files.valueAt(i); local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/fileapi/
async_file_util.cc 3 // found in the LICENSE file.
28 struct ComposedCallback<void(base::File, T2)> {
31 const base::Callback<void(base::File, T2)>& callback,
32 base::File arg1, T2 arg2) {
65 // Runs CreateOrOpenFile callback based on the given |error| and |file|.
68 base::File file,
72 // It is necessary to make a closure, which runs on file closing here.
76 file.Pass(),
85 base::File::Error error)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaScannerNotificationTest.java 5 * you may not use this file except in compliance with the License.
26 import java.io.File;
41 startedIntentFilter.addDataScheme("file");
43 finshedIntentFilter.addDataScheme("file");
63 // add .nomedia file and scan again
64 File noMedia = new File(tmpPath, ".nomedia");
68 fail("couldn't create .nomedia file");
91 File tmpDir = new File(externalPath, "" + System.nanoTime())
    [all...]

Completed in 2653 milliseconds

<<11121314151617181920>>