/external/icu4c/tools/toolutil/ |
pkg_icu.cpp | 22 // read a file list -------------------------------------------------------- *** 35 /* check for multiple text file suffixes to see if this list name is a text file name */ 52 * Read a file list. 53 * If the listname ends with ".txt", then read the list file 55 * If the listname ends with ".dat", then read the ICU .dat package file. 56 * Otherwise, read the file itself as a single-item list. 61 FILE *file; local 65 fprintf(stderr, "missing list file\n") [all...] |
/external/iproute2/ip/ |
ipmonitor.c | 40 FILE *fp = (FILE*)arg; 114 char *file = NULL; local 128 if (matches(*argv, "file") == 0) { 130 file = *argv; 179 if (file) { 180 FILE *fp; 181 fp = fopen(file, "r");
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
FileSystemResourceLoader.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 34 private final File rootDir; 36 public FileSystemResourceLoader(File rootDir) { 41 this(new File(rootDir)); 46 File file = new File(rootDir, name); local 47 // Check for non-directory rather than is-file so that reads from 49 if (file.exists() && !file.isDirectory() && file.canRead()) 73 File file = new File(rootDir, filename); local [all...] |
/external/jsilver/src/org/clearsilver/ |
CSUtil.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 74 * Given an ordered list of directories to look in, locate the specified file. 75 * Returns <code>null</code> if file not found. 77 * @param filename the name of the file. 78 * @return a File object corresponding to the file. <code>null</code> if 79 * file not found. 81 public static File locateFile(List<String> loadpaths, String filename) { 89 File file = new File(path, filename) local [all...] |
/external/openssl/crypto/err/ |
err_prn.c | 72 const char *file,*data; local 79 while ((l=ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) 83 file, line, (flags & ERR_TXT_STRING) ? data : ""); 99 void ERR_print_errors_fp(FILE *fp)
|
/external/openssl/crypto/x509/ |
by_file.c | 75 "Load file into cache", 96 char *file; local 103 file = (char *)getenv(X509_get_default_cert_file_env()); 104 if (file) 105 ok = (X509_load_cert_crl_file(ctx,file, 130 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type) 137 if (file == NULL) return(1); 140 if ((in == NULL) || (BIO_read_filename(in,file) <= 0)) 197 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) 204 if (file == NULL) return(1) [all...] |
/external/proguard/src/proguard/ |
FileWordReader.java | 28 * A <code>WordReader</code> that returns words from a file or a URL. 39 * Creates a new FileWordReader for the given file. 41 public FileWordReader(File file) throws IOException 43 super(file.getParentFile()); 45 this.name = file.getPath(); 48 new FileReader(file))); 76 return "line " + reader.getLineNumber() + " of file '" + name + "'";
|
/external/proguard/src/proguard/io/ |
FileDataEntry.java | 28 * This <code>DataEntry</code> represents a file. 34 private final File directory; 35 private final File file; field in class:FileDataEntry 39 public FileDataEntry(File directory, 40 File file) 43 this.file = file; 51 // Chop the directory name from the file name and get the right separators [all...] |
/external/protobuf/src/google/protobuf/ |
message_unittest.cc | 110 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local 113 EXPECT_TRUE(message.ParseFromFileDescriptor(file)); 116 EXPECT_GE(close(file), 0); 123 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local 126 EXPECT_TRUE(message.ParseFromFileDescriptor(file)); 129 EXPECT_GE(close(file), 0); 270 FileDescriptorProto file; local 271 file.set_name("foo.proto"); 272 file.add_message_type()->set_name("Foo"); 273 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0) [all...] |
/external/qemu/android/utils/ |
assert.c | 17 const char* file; member in struct:__anon10516 37 loc->file = fileName; 59 android_panic("ASSERTION FAILURE (%s:%d) in %s\n", loc->file, loc->lineno, loc->function);
|
/external/skia/emoji/ |
GmojiMaker.cpp | 54 FILE* file = fopen(argv[1], "r"); local 55 if (NULL == file) { 64 if (fgets(buffer, sizeof(buffer), file) == 0) { 101 printf("// Input text file \"%s\"\n", argv[1]); 126 fclose(file);
|
/external/skia/src/ports/ |
SkOSFile_brew.cpp | 7 * found in the LICENSE file. 24 IFile* file; local 37 file = IFILEMGR_OpenFile(fileMgr, path, mode); 40 return (SkFILE*)file;
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 18 * As per the Apache license requirements, this file has been modified 27 import java.io.File; 33 * File I/O utilities. 44 * Reads the named file, translating {@link IOException} to a 47 * @param fileName non-null; name of the file to read 48 * @return non-null; contents of the file 52 File file = new File(fileName) local [all...] |
/external/valgrind/main/coregrind/ |
m_debugger.c | 7 This file is part of Valgrind, a dynamic binary instrumentation 28 The GNU General Public License is contained in the file COPYING. 346 Char file[50]; local 352 VG_(sprintf)(file, "/proc/%d/fd/%d", pid, VG_(cl_exec_fd)); 359 of file[], so the following assertion is generously 366 VG_(memcpy)(bufptr, file, VG_(strlen)(file)); 367 bufptr += VG_(strlen)(file);
|
/external/valgrind/tsan/ |
ignore.h | 6 // 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) {} 49 const string& file);
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
scanner.h | 60 unsigned short file, line; member in struct:SourceLoc_Rec
|
/external/webkit/Source/WebCore/fileapi/ |
WebKitBlobBuilder.cpp | 38 #include "File.h" 105 // If the blob is file that is not snapshoted, capture the snapshot now. 106 // FIXME: This involves synchronous file operation. We need to figure out how to make it asynchronous. 107 File* file = static_cast<File*>(blob); local 110 file->captureSnapshot(snapshotSize, snapshotModificationTime); 113 m_items.append(BlobDataItem(file->path(), 0, snapshotSize, snapshotModificationTime));
|
/external/webkit/Source/WebCore/platform/qt/ |
DragDataQt.cpp | 71 QString file = url.toLocalFile(); local 72 if (!file.isEmpty()) 73 result.append(file);
|
/external/zlib/contrib/iostream/ |
zfstream.h | 22 inline int is_open() const { return (file !=NULL); } 35 gzFile file; member in class:gzfilebuf
|
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 5 * you may not use this file except in compliance with the License. 36 FILE* file = NULL; local 37 file = fopen(filePath.string(), "r"); 40 if (NULL != file) { 41 int fd = fileno(file); 52 fclose(file); 58 FILE* file = NULL; local 59 file = fopen(filePath.string(), "r") 79 FILE* file = NULL; local 96 FILE* file = NULL; local [all...] |
/frameworks/base/core/java/com/android/internal/http/multipart/ |
FilePartSource.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 34 import java.io.File; 41 * A PartSource that reads from a File. 51 /** File part file. */ 52 private File file = null; field in class:FilePartSource 54 /** File part file name. * [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 5 * you may not use this file except in compliance with the License. 49 // This will fail if the process runs out of file descriptors before 55 for (MemoryFile file : files) { 57 file.readBytes(testString, 0, 0, testString.length); 73 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 78 file.writeBytes(testString, 0, 2000, testString.length); 79 file.readBytes(buffer, 2000, 0, testString.length); 85 OutputStream os = file.getOutputStream(); 88 InputStream is = file.getInputStream(); 99 file.close() 104 MemoryFile file = new MemoryFile("MemoryFileTest", 10); local 125 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); local 170 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); local 192 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 202 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 217 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 232 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 251 MemoryFile file = new MemoryFile("MemoryFileTest", 5000000); local [all...] |
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
Sha1Helper.cpp | 5 * you may not use this file except in compliance with the license. 53 FileHandle file; local 55 if (file.open(filename, OpenMode::Read) < 0) { 66 ssize_t nread = file.read(buf, sizeof(buf)); 86 FileHandle file; local 87 if (file.open(filename, OpenMode::Read) < 0) { 88 ALOGE("Unable to read binary sha1 file %s\n", filename); 92 file.read((char *)result, result_size);
|
/frameworks/compile/mclinker/lib/MC/ |
SearchDirs.cpp | 5 // This file is distributed under the University of Illinois Open Source 50 std::string file; local 51 SpecToFilename(pNamespec, file); 62 if (file == entry.path()->stem().native() ) { 76 if (file == entry.path()->stem().native() &&
|
/frameworks/compile/mclinker/unittests/ |
FactoriesTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 173 MCLDFile* file = m_pFileAlloc->produce(); local 183 sprintf(name, "file %d", counter); 186 MCLDFile* file = m_pFileAlloc->produce( string(name), local 191 ASSERT_TRUE(file->isRecognized()); 192 ASSERT_STREQ(name, file->name().data()); 200 sprintf(name, "file %d", counter); 203 MCLDFile* file = m_pFileAlloc->produce( string(name), local 211 MCLDFileFactory::iterator file = m_pFileAlloc->begin(); local 214 while (file!=fEnd) [all...] |