/external/smack/src/org/xbill/DNS/tests/ |
primary.java | 12 System.out.println("usage: primary [-t] [-a | -i] origin file"); 37 String file = args[arg++]; local 40 Zone zone = new Zone(origin, 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. 383 Char file[50]; local 389 VG_(sprintf)(file, "/proc/%d/fd/%d", pid, VG_(cl_exec_fd)); 396 of file[], so the following assertion is generously 403 VG_(memcpy)(bufptr, file, VG_(strlen)(file)); 404 bufptr += VG_(strlen)(file);
|
/external/zlib/src/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/mclinker/lib/MC/ |
SearchDirs.cpp | 5 // This file is distributed under the University of Illinois Open Source 80 std::string file; local 81 SpecToFilename(pNamespec, file); 92 if (file == entry.path()->stem().native() ) { 105 if (file == entry.path()->stem().native() && 124 std::string file; local 125 SpecToFilename(pNamespec, file); 136 if (file == entry.path()->stem().native() ) { 149 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...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselViewUtilities.java | 3 import java.io.File; 16 * Debug utility to write the given bitmap to a file. 20 * @param filename the name of the file to write 24 File path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); 25 File file = new File(path, filename); local 29 OutputStream os = new FileOutputStream(file); 30 MediaScannerConnection.scanFile(context, new String[] { file.toString() }, null, null); 34 Log.w("ExternalStorage", "Error writing " + file, e) [all...] |
/libcore/dex/src/main/java/com/android/dex/util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 24 * File I/O utilities. 31 * Reads the named file, translating {@link IOException} to a 34 * @param fileName {@code non-null;} name of the file to read 35 * @return {@code non-null;} contents of the file 38 File file = new File(fileName); local 39 return readFile(file); [all...] |
/ndk/sources/host-tools/make-3.81/ |
dep.h | 5 This file is part of GNU Make. 16 GNU Make; see the file COPYING. If not, write to the Free Software 26 #define RM_NO_TILDE (1 << 3) /* Don't expand ~ in file name. */ 29 /* Structure representing one dependency of a file. 30 Each struct file's `deps' points to a chain of these, 41 struct file *file; member in struct:dep 71 #define dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name)
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
dict_file_writing_utils.cpp | 5 * you may not use this file except in compliance with the License. 60 // Name of a temporary file used for writing that is a connected string of original name and 65 FILE *const file = fopen(tmpFileName, "wb"); local 66 if (!file) { 67 AKLOGE("Dictionary file %s cannnot be opened.", tmpFileName); 72 if (!writeBufferToFile(file, dictHeader)) { 79 if (!writeBufferToFile(file, dictBody)) { 85 fclose(file); 90 // This closes file pointer when an error is caused and returns whether the writing was succeede [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
input.h | 1 /* Declarations for variables relating to reading the source file. 6 This file is part of GCC. 19 along with GCC; see the file COPYING3. If not see 42 /* The name of the source file involved. */ 43 const char *file; member in struct:__anon33790 45 /* The line-location in the source file. */ 67 #define LOCATION_FILE(LOC) ((expand_location (LOC)).file)
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
input.h | 1 /* Declarations for variables relating to reading the source file. 6 This file is part of GCC. 19 along with GCC; see the file COPYING3. If not see 42 /* The name of the source file involved. */ 43 const char *file; member in struct:__anon34519 45 /* The line-location in the source file. */ 67 #define LOCATION_FILE(LOC) ((expand_location (LOC)).file)
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
input.h | 1 /* Declarations for variables relating to reading the source file. 6 This file is part of GCC. 19 along with GCC; see the file COPYING3. If not see 42 /* The name of the source file involved. */ 43 const char *file; member in struct:__anon35350 45 /* The line-location in the source file. */ 67 #define LOCATION_FILE(LOC) ((expand_location (LOC)).file)
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
input.h | 1 /* Declarations for variables relating to reading the source file. 6 This file is part of GCC. 19 along with GCC; see the file COPYING3. If not see 42 /* The name of the source file involved. */ 43 const char *file; member in struct:__anon36079 45 /* The line-location in the source file. */ 67 #define LOCATION_FILE(LOC) ((expand_location (LOC)).file)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 5 // This file is part of the GNU ISO C++ Library. This library is free 25 /** @file ext/stdio_filebuf.h 26 * This file is a GNU extension to the Standard C++ Library. 42 * FILE*'s and POSIX file descriptors. It must be instantiated by the 43 * user with the type of character used in the file stream, e.g., 65 * @param fd An open file descriptor. 69 * This constructor associates a file stream buffer with an open 70 * POSIX file descriptor. The file descriptor will be automaticall 115 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 6 // This file is part of the GNU ISO C++ Library. This library is free 26 /** @file ext/stdio_filebuf.h 27 * This file is a GNU extension to the Standard C++ Library. 46 * FILE*'s and POSIX file descriptors. It must be instantiated by the 47 * user with the type of character used in the file stream, e.g., 69 * @param fd An open file descriptor. 73 * This constructor associates a file stream buffer with an open 74 * POSIX file descriptor. The file descriptor will be automaticall 119 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 6 // This file is part of the GNU ISO C++ Library. This library is free 26 /** @file ext/stdio_filebuf.h 27 * This file is a GNU extension to the Standard C++ Library. 46 * FILE*'s and POSIX file descriptors. It must be instantiated by the 47 * user with the type of character used in the file stream, e.g., 69 * @param fd An open file descriptor. 73 * This constructor associates a file stream buffer with an open 74 * POSIX file descriptor. The file descriptor will be automaticall 119 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 5 // This file is part of the GNU ISO C++ Library. This library is free 25 /** @file ext/stdio_filebuf.h 26 * This file is a GNU extension to the Standard C++ Library. 42 * FILE*'s and POSIX file descriptors. It must be instantiated by the 43 * user with the type of character used in the file stream, e.g., 65 * @param fd An open file descriptor. 69 * This constructor associates a file stream buffer with an open 70 * POSIX file descriptor. The file descriptor will be automaticall 115 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 5 // This file is part of the GNU ISO C++ Library. This library is free 25 /** @file ext/stdio_filebuf.h 26 * This file is a GNU extension to the Standard C++ Library. 42 * FILE*'s and POSIX file descriptors. It must be instantiated by the 43 * user with the type of character used in the file stream, e.g., 65 * @param fd An open file descriptor. 69 * This constructor associates a file stream buffer with an open 70 * POSIX file descriptor. The file descriptor will be automaticall 115 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 5 // This file is part of the GNU ISO C++ Library. This library is free 25 /** @file ext/stdio_filebuf.h 26 * This file is a GNU extension to the Standard C++ Library. 42 * FILE*'s and POSIX file descriptors. It must be instantiated by the 43 * user with the type of character used in the file stream, e.g., 65 * @param fd An open file descriptor. 69 * This constructor associates a file stream buffer with an open 70 * POSIX file descriptor. The file descriptor will be automaticall 115 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 5 // This file is part of the GNU ISO C++ Library. This library is free 25 /** @file ext/stdio_filebuf.h 26 * This file is a GNU extension to the Standard C++ Library. 42 * FILE*'s and POSIX file descriptors. It must be instantiated by the 43 * user with the type of character used in the file stream, e.g., 65 * @param fd An open file descriptor. 69 * This constructor associates a file stream buffer with an open 70 * POSIX file descriptor. The file descriptor will be automaticall 115 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
stdio_filebuf.h | 0 // File descriptor layer for filebuf -*- C++ -*- 6 // This file is part of the GNU ISO C++ Library. This library is free 26 /** @file ext/stdio_filebuf.h 27 * This file is a GNU extension to the Standard C++ Library. 46 * FILE*'s and POSIX file descriptors. It must be instantiated by the 47 * user with the type of character used in the file stream, e.g., 69 * @param fd An open file descriptor. 73 * This constructor associates a file stream buffer with an open 74 * POSIX file descriptor. The file descriptor will be automaticall 119 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |