Searched refs:file (Results 276 - 300 of 2668) sorted by relevance

<<11121314151617181920>>

/external/chromium/chrome/browser/download/
H A Ddownload_file_unittest.cc3 // found in the LICENSE file.
57 virtual void CreateDownloadFile(scoped_ptr<DownloadFile>* file, int offset) { argument
63 file->reset(new DownloadFile(&info, download_manager_));
66 virtual void DestroyDownloadFile(scoped_ptr<DownloadFile>* file, int offset) { argument
67 EXPECT_EQ(kDummyDownloadId + offset, (*file)->id());
68 EXPECT_EQ(download_manager_, (*file)->GetDownloadManager());
69 EXPECT_FALSE((*file)->in_progress());
71 (*file)->bytes_so_far());
75 EXPECT_TRUE(file_util::ReadFileToString((*file)->full_path(),
81 file
84 AppendDataToFile(scoped_ptr<DownloadFile>* file, const std::string& data) argument
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDebugInfoItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
64 public void addContents(DexFile file) { argument
94 * @param file {@code non-null;} the file to use for referencing other sections
98 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { argument
99 encode(file, prefix, null, out, false);
114 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
122 encode(file, null, null, out, true);
131 * @param file {
140 encode(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) argument
171 encode0(DexFile file, String prefix, PrintWriter debugPrint, AnnotatedOutput out, boolean consume) argument
[all...]
H A DEncodedArrayItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
34 * {@code null-ok;} encoded form, ready for writing to a file; set during
86 public void addContents(DexFile file) { argument
87 ValueEncoder.addContents(file, array);
105 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument
116 ValueEncoder encoder = new ValueEncoder(file, out);
H A DTypeIdItem.java5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
26 * Representation of a type reference inside a Dalvik file.
52 public void addContents(DexFile file) { argument
53 file.getStringIds().intern(getDefiningClass().getDescriptor());
58 public void writeTo(DexFile file, AnnotatedOutput out) { argument
61 int idx = file.getStringIds().indexOf(descriptor);
/external/zlib/src/contrib/minizip/
H A Dzip.h105 uLong internal_fa; /* internal file attributes 2 bytes */
106 uLong external_fa; /* external file attributes 4 bytes */
122 if the file pathname exist and append==APPEND_STATUS_CREATEAFTER, the zip
123 will be created at the end of the file.
124 (useful if the file contain a self extractor code)
125 if the file pathname exist and append==APPEND_STATUS_ADDINZIP, we will
126 add files in existing zip (be sure you don't add file that doesn't exist)
133 If you want delete file into a zipfile, you must open a zipfile, and create another
134 Of couse, you can use RAW reading and writing to copy the file you did not want delte
147 extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file,
[all...]
/external/eyes-free/AccessCheck/src/com/android/accessibility/
H A DAccessibilityValidator.java5 * use this file except in compliance with the License. You may obtain a copy of
110 for (File file : directory.listFiles()) {
111 // The file is a directory; recurse on the file.
112 if (file.isDirectory()) {
113 List<InputSource> directoryFiles = findLayoutFiles(file);
118 && file.getName().toLowerCase().endsWith(".xml")) {
121 addition = new InputSource(new FileReader(file));
123 addition.setPublicId(file.toString());
148 for (InputSource file
[all...]
/external/guava/guava/src/com/google/common/io/
H A DFileBackedOutputStream.java5 * you may not use this file except in compliance with the License.
33 * switches to file buffering once the data reaches a configurable size.
49 private File file; field in class:FileBackedOutputStream
62 /** Returns the file holding the data (possibly null). */
64 return file;
68 * Creates a new instance that uses the given file threshold, and does
73 * switch to buffering to a file
80 * Creates a new instance that uses the given file threshold, and
85 * switch to buffering to a file
130 if (file !
[all...]
/external/icu4c/test/intltest/
H A Dtextfile.cpp22 file(0),
60 file = T_FileStream_open(buffer, "rb");
61 if (file == 0) {
68 if (file != 0) T_FileStream_close(file);
77 if (T_FileStream_eof(file)) {
87 int c = T_FileStream_getc(file); // sic: int, not int32_t
91 c = T_FileStream_getc(file);
93 T_FileStream_ungetc(c, file);
/external/okhttp/src/main/java/libcore/net/spdy/
H A DSpdyServer.java5 * you may not use this file except in compliance with the License.
66 File file = new File(baseDirectory + path);
68 if (file.exists() && !file.isDirectory()) {
69 serveFile(stream, file);
87 private void serveFile(SpdyStream stream, File file) throws IOException { argument
88 InputStream in = new FileInputStream(file);
93 "content-type", contentType(file)
102 private String contentType(File file) { argument
103 return file
[all...]
/external/proguard/src/proguard/ant/
H A DClassPathElement.java66 // 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);
120 new ClassPathEntry(file.isAbsolute() ? file : new File(baseDir, fileName),
139 public void setFile(File file) argument
141 setLocation(file);
148 setDir(File file) argument
157 setName(File file) argument
[all...]
/external/icu4c/samples/csdet/
H A Dcsdet.c27 FILE *file; local
38 file = fopen(filename, "rb");
40 if (file == NULL) {
41 printf("Cannot open file \"%s\"\n\n", filename);
47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
49 fclose(file);
/external/kernel-headers/original/linux/
H A Dbinfmts.h29 struct file * file; member in struct:linux_binprm
59 int (*load_shlib)(struct file *);
60 int (*core_dump)(long signr, struct pt_regs * regs, struct file * file);
H A Dcoda_fs_i.h31 * coda fs file private data
36 struct file *cfi_container; /* container file for this cnode */
37 unsigned int cfi_mapcount; /* nr of times this file is mapped */
40 #define CODA_FTOC(file) ((struct coda_file_info *)((file)->private_data))
/external/valgrind/tsan/
H A Dignore.h6 // A triple of patterns to ignore a function, an object file and a source file
11 string file; member in struct:IgnoreTriple
15 file = ConvertToPlatformIndependentPath(ifile);
29 IgnoreFile(string file) : IgnoreTriple("*", "*", file) {} argument
49 const string& file);
/external/chromium/base/third_party/dynamic_annotations/
H A Ddynamic_annotations.h30 /* This file defines dynamic annotations for use with dynamic analysis
46 This file supports the following dynamic analysis tools:
434 const char *file, int line,
437 const char *file, int line,
440 const char *file, int line,
443 const char *file, int line,
446 const char *file, int line, const volatile void *barrier, long count,
449 const char *file, int line,
452 const char *file, int line,
455 const char *file, in
[all...]
/external/v8/tools/
H A Dpresubmit.py160 for file in files:
162 handle = open(file, "r")
164 if not file in self.sums or self.sums[file] != file_sum:
165 changed_or_new.append(file)
166 self.sums[file] = file_sum
171 def RemoveFile(self, file):
172 if file in self.sums:
173 self.sums.pop(file)
184 for file i
[all...]
/external/protobuf/src/google/protobuf/
H A Ddescriptor_database.cc54 const FileDescriptorProto& file,
56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) {
57 GOOGLE_LOG(ERROR) << "File already exists in database: " << file.name();
61 // We must be careful here -- calling file.package() if file.has_package() is
64 string path = file.has_package() ? file.package() : string();
67 for (int i = 0; i < file.message_type_size(); i++) {
68 if (!AddSymbol(path + file.message_type(i).name(), value)) return false;
69 if (!AddNestedExtensions(file
53 AddFile( const FileDescriptorProto& file, Value value) argument
256 Add(const FileDescriptorProto& file) argument
262 AddAndOwn(const FileDescriptorProto* file) argument
292 MaybeCopy(const FileDescriptorProto* file, FileDescriptorProto* output) argument
310 FileDescriptorProto file; local
399 const FileDescriptor* file = pool_.FindFileByName(filename); local
409 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); local
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A DClassFileNameHandler.java39 * This class checks for case-insensitive file systems, and generates file names based on a given class name, that are
140 public final File file; field in class:ClassFileNameHandler.FileSystemEntry
142 public FileSystemEntry(File file) { argument
143 this.file = file;
191 if (existingEntry.file.getName().equals(elementName)) {
193 return existingEntry.file;
198 virtualEntry = existingEntry.makeVirtual(file);
207 ClassNameEntry classNameEntry = new ClassNameEntry(file, elementNam
[all...]
/external/v8/src/
H A Dchecks.h34 extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
65 inline void CheckEqualsHelper(const char* file, int line, argument
69 V8_Fatal(file, line,
78 inline void CheckEqualsHelper(const char* file, int line, argument
86 V8_Fatal(file, line,
100 inline void CheckNonEqualsHelper(const char* file, argument
107 V8_Fatal(file, line, "CHECK_NE(%s, %s) failed\n# Value: %i",
115 inline void CheckEqualsHelper(const char* file, argument
124 V8_Fatal(file, line,
131 inline void CheckNonEqualsHelper(const char* file, argument
147 CheckEqualsHelper(const char* file, int line, const char* expected_source, const void* expected, const char* value_source, const void* value) argument
162 CheckNonEqualsHelper(const char* file, int line, const char* expected_source, const void* expected, const char* value_source, const void* value) argument
177 CheckEqualsHelper(const char* file, int line, const char* expected_source, double expected, const char* value_source, double value) argument
198 CheckNonEqualsHelper(const char* file, int line, const char* expected_source, double expected, const char* value_source, double value) argument
[all...]
/external/opencv/cvaux/src/
H A Dcvlevmarprojbandle.cpp56 /* Note these file may be very large */
535 FILE *file; local
536 file = fopen( TRACK_BUNDLE_FILE_MATRW ,"w");
540 fprintf(file,"\nPoint=%d\n",currPoint);
550 fprintf(file,"%lf ",val);
553 fprintf(file,"\n");
556 fclose(file);
608 FILE *file; local
609 file = fopen( TRACK_BUNDLE_FILE_JACERRPROJ ,"w");
613 fprintf(file,"\nImag
711 FILE *file; local
940 FILE *file; local
962 FILE *file; local
980 FILE *file; local
1278 FILE* file; local
1309 FILE* file; local
1346 FILE *file; local
1377 FILE *file; local
1404 FILE *file; local
1420 FILE *file; local
1527 FILE* file; local
1606 FILE *file; local
1625 FILE* file; local
1694 FILE* file; local
1725 FILE* file; local
[all...]
/external/e2fsprogs/lib/blkid/
H A Dsave.c8 * This file may be redistributed under the terms of the
29 static int save_dev(blkid_dev dev, FILE *file) argument
40 fprintf(file,
44 fprintf(file, " PRI=\"%d\"", dev->bid_pri);
47 fprintf(file, " %s=\"%s\"", tag->bit_name,tag->bit_val);
49 fprintf(file, ">%s</device>\n", dev->bid_name);
55 * Write out the cache struct to the cache file on disk.
63 FILE *file = NULL; local
72 DBG(DEBUG_SAVE, printf("skipping cache file write\n"));
78 /* If we can't write to the cache file, the
[all...]
/external/embunit/inc/
H A DAssertImpl.h42 void addFailure(const char *msg, long line, const char *file); /*TestCase.c*/
44 void assertImplementationInt(int expected,int actual, long line, const char *file);
45 void assertImplementationCStr(const char *expected,const char *actual, long line, const char *file);
/external/openssl/crypto/rand/
H A Drandfile.c106 int RAND_load_file(const char *file, long bytes) argument
109 * if bytes == -1, read complete file. */
118 if (file == NULL) return(0);
129 if (stat(file,&sb) < 0) return(0);
135 in=vms_fopen(file,"rb",VMS_OPEN_ATTRS);
137 in=fopen(file,"rb");
142 /* this file is a device. we don't want read an infinite number
179 int RAND_write_file(const char *file) argument
188 i=stat(file,&sb);
192 /* this file i
[all...]
/external/qemu/android/utils/
H A Dassert.c17 const char* file; member in struct:__anon10892
37 loc->file = fileName;
59 android_panic("ASSERTION FAILURE (%s:%d) in %s\n", loc->file, loc->lineno, loc->function);
/external/srec/portable/src/
H A DpLastError.c7 * you may not use this file except in compliance with the License. *
23 void printGetLastErrorInternal(const LCHAR* text, char* file, int line) argument
48 pfprintf(PSTDERR, L("[%s:%d] %s: %s\n"), file, line, text, msg);
58 pfprintf(PSTDERR, "[%s:%d] %s, errno = %x\n", file, line, text, err);

Completed in 1339 milliseconds

<<11121314151617181920>>