Searched refs:file (Results 226 - 250 of 2668) sorted by relevance

1234567891011>>

/external/chromium/base/test/
H A Dtest_file_util.h3 // found in the LICENSE file.
18 // of failure to workaround Windows file locking semantics. Returns true on
20 bool DieFileDie(const FilePath& file, bool recurse);
22 // Clear a specific file from the system cache. After this call, trying
23 // to access this file will result in a cold load from the hard drive.
24 bool EvictFileFromSystemCache(const FilePath& file);
/external/chromium/net/disk_cache/
H A Dmapped_file_unittest.cc3 // found in the LICENSE file.
43 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
45 ASSERT_TRUE(file->Init(filename, 8192));
51 EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 8192));
52 EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 8192));
58 scoped_refptr<disk_cache::MappedFile> file(new disk_cache::MappedFile);
60 ASSERT_TRUE(file->Init(filename, 8192));
74 EXPECT_TRUE(file->Write(buffer1, sizeof(buffer1), 1024 * 1024, &callback,
81 EXPECT_TRUE(file->Read(buffer2, sizeof(buffer2), 1024 * 1024, &callback,
/external/chromium/third_party/libjingle/source/talk/base/
H A Dcommon.cc64 void LogAssert(const char * function, const char * file, int line, argument
67 LOG(LS_ERROR) << file << "(" << line << ")" << ": ASSERT FAILED: "
/external/grub/util/
H A Dgrub-set-default6 # This file is free software; you can redistribute it and/or modify it
91 file=${grubdir}/default
92 if test -f ${file}; then
93 chmod 0600 ${file}
94 rm -f ${file}
96 cat <<EOF > $file
108 # WARNING: If you want to edit this file directly, do not remove any line
109 # from this file, including this warning. Using \`grub-set-default\' is
H A Dgrub-set-default.in6 # This file is free software; you can redistribute it and/or modify it
91 file=${grubdir}/default
92 if test -f ${file}; then
93 chmod 0600 ${file}
94 rm -f ${file}
96 cat <<EOF > $file
108 # WARNING: If you want to edit this file directly, do not remove any line
109 # from this file, including this warning. Using \`grub-set-default\' is
/external/libsepol/tests/policies/test-deps/
H A Dmodreq-obj-opt.conf4 class file { read };
H A Dmodreq-perm-opt.conf4 class file { read write };
/external/libsepol/tests/policies/test-hooks/
H A Dmodule_add_role_allow_trans.conf3 require { class file { read }; }
H A Dmodule_add_symbols.conf3 require { class file { read write }; }
/external/llvm/test/MC/AsmParser/
H A Ddirective_loc.s4 .file 1 "hello"
/external/qemu/distrib/sdl-1.2.15/build-scripts/
H A Dmkinstalldirs29 for file
31 if test -d "$file"; then
55 for file
57 set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
/external/valgrind/main/drd/tests/
H A Drun_openmp_test12 if /usr/bin/file "$1" | grep -q 'statically linked'; then
/external/webkit/Source/WebCore/fileapi/
H A DFileEntrySync.idl38 File file() raises (FileException);
/external/compiler-rt/lib/interception/mach_override/
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
13 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
/external/compiler-rt/lib/profile/
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
13 Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
/external/compiler-rt/lib/sanitizer_common/
H A DMakefile.mk5 # This file is distributed under the University of Illinois Open Source
13 Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DAppDataDirGuesser.java5 * you may not use this file except in compliance with the License.
74 File file = new File("/data/data/" + potential.substring(start, end) + "/cache");
75 if (isWriteableDirectory(file)) {
76 results.add(file);
82 boolean isWriteableDirectory(File file) { argument
83 return file.isDirectory() && file.canWrite();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
H A DRSSFeedGetPropertyTask.java25 * file - path to the XML file that will be read - eg., /path/to/file.to.read.xml
36 private File file; field in class:RSSFeedGetPropertyTask
44 public void setFile(String file) { argument
45 if (isNullString(file))
48 { this.file = new File(file); }
60 updater.setFile(file.toString());
/external/libmtp/examples/
H A Demptyfolders.c2 * \file emptyfolders.c
31 // therefore, check every file for this parent_id
33 LIBMTP_file_t *file; local
34 file = files;
35 while (file != NULL) {
36 if(file->parent_id == folderlist->folder_id) { // folder has a child
40 file = file->next;
93 // Get file listing.
/external/llvm/utils/
H A DUpdateCMakeLists.pl22 my $file = $_;
24 # Record if a CMake file was found.
25 if ($file eq "CMakeLists.txt") {
29 # Grab the extension of the file.
30 $file =~ /\.([^.]+)$/;
38 push @$files, $file;
53 foreach my $file (sort @$files) {
55 print OUT $file;
/external/valgrind/main/none/tests/
H A Dmmap_fcntl_bug.c3 * mmap. Feed it a r/w file, such as its own source code. */
19 const char *file = /* argv[1]; */ local
23 if (!file)
24 errx(1, "Usage: %s <normal-file>", argv[0]);
26 fd = open(file, O_RDWR);
28 err(1, "Opening %s", file);
37 err(1, "Locking %s", file);
39 /* If under valgrind, mmap re-opens and closes file, screwing us */
41 err(1, "mmap of %s", file);
/external/webkit/Source/WebKit/qt/tests/MIMESniffing/
H A Dtst_MIMESniffing.cpp15 along with this library; see the file COPYING.LIB. If not, write to
45 return QString("file: %1, advertised: %2, image: %3. sniffed mime type was expected to be \"%4\" but instead was \"%5\"").arg(data.file).arg(data.advertisedType).arg(data.isImage).arg(data.sniffedType).arg(sniffedType).toLatin1();
52 QFile file(testList[i].file);
53 QVERIFY2(file.open(QIODevice::ReadOnly), QString("unable to open file %1").arg(file.fileName()).toLatin1());
56 QByteArray data = file.peek(sniffer.dataSize());
/external/qemu/distrib/zlib-1.2.3/
H A Dgzio.c5 * Compile this file with -DNO_GZCOMPRESS to avoid the compression code.
49 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */
52 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */
53 #define COMMENT 0x10 /* bit 4 set: file comment present */
59 int z_eof; /* set if end of input file */
60 FILE *file; /* .gz file */ member in struct:gz_stream
66 int transparent; /* 1 if input file is not a .gz file */
68 z_off_t start; /* start of compressed data in file (heade
603 gzprintf(gzFile file, const char *format, ...) argument
[all...]
/external/zlib/src/
H A Dgzlib.c74 /* Reset gzip file state */
80 state->eof = 0; /* not at end of file */
90 /* Open a gzip file either by name or file descriptor. */
185 state->direct = 1; /* for empty file */
234 /* open the file with the appropriate flags (or just use fd) */
304 int ZEXPORT gzbuffer(file, size)
305 gzFile file;
311 if (file == NULL)
313 state = (gz_statep)file;
[all...]
/external/zlib/src/test/
H A Dminigzip.c9 * full-featured gzip. No attempt is made to deal with file systems
12 * real thing. On MSDOS, use only on file names without extension
38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
40 # define SET_BINARY_MODE(file)
50 # define fileno(file) file->__file
167 FILE *file; member in struct:gzFile_s
218 gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") :
220 if (gz->file
546 gzFile file; local
[all...]

Completed in 687 milliseconds

1234567891011>>