/external/toybox/kconfig/ |
util.c | 11 /* file already present in list? If not add it */ 12 struct file *file_lookup(const char *name) 14 struct file *file; local 16 for (file = file_list; file; file = file->next) { 17 if (!strcmp(name, file->name)) 18 return file; 32 struct file *file; local [all...] |
/external/toybox/toys/other/ |
losetup.c | 13 usage: losetup [-cdrs] [-o OFFSET] [-S SIZE] {-d DEVICE...|-j FILE|-af|{DEVICE FILE}} 15 Associate a loopback device with a file, or show current file (if any) 21 -j Iterate through all loopback devices associated with FILE 24 -c Check capacity (file size changed) 29 -o Start assocation at OFFSET into FILE 49 todo: basic /dev file association 50 associate DEV FILE 61 static void loopback_setup(char *device, char *file) 181 char *file = (toys.optflags & (FLAG_d|FLAG_c)) ? NULL : toys.optargs[1]; local [all...] |
/external/v8/tools/ |
shell-utils.h | 42 FILE* file = fopen(name, "rb"); local 44 if (file == NULL) return NULL; 46 fseek(file, 0, SEEK_END); 47 int file_size = ftell(file); 48 rewind(file); 54 int read = static_cast<int>(fread(&chars[i], 1, file_size - i, file)); 57 fclose(file);
|
/external/valgrind/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. 488 HChar file[50]; local 494 VG_(sprintf)(file, "/proc/%d/fd/%d", pid, VG_(cl_exec_fd)); 501 of file[], so the following assertion is generously 508 VG_(memcpy)(bufptr, file, VG_(strlen)(file)); 509 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/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 75 std::string file; local 78 file.assign(pNamespec); 82 SpecToFilename(pNamespec, file); 98 if (file == entry.path()->filename().native()) 106 if (file == entry.path()->stem().native()) { 120 if (file == entry.path()->stem().native() && 140 std::string file; local 143 file.assign(pNamespec); 147 SpecToFilename(pNamespec, file); [all...] |
/frameworks/compile/mclinker/unittests/ |
FactoriesTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 168 MCLDFile* file = m_pFileAlloc->produce(); local 178 sprintf(name, "file %d", counter); 181 MCLDFile* file = m_pFileAlloc->produce( local 185 ASSERT_TRUE(file->isRecognized()); 186 ASSERT_STREQ(name, file->name().data()); 194 sprintf(name, "file %d", counter); 197 MCLDFile* file = m_pFileAlloc->produce( local 204 MCLDFileFactory::iterator file = m_pFileAlloc->begin(); local 207 while (file != fEnd) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
video_reader.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 23 FILE *file; member in struct:VpxVideoReaderStruct 32 FILE *const file = fopen(filename, "rb"); local 33 if (!file) 34 return NULL; // Can't open file 36 if (fread(header, 1, 32, file) != 32 [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/android/support/src/stdio/ |
stdio_impl.h | 2 // crafted FILE object to represent the output/input buffers. However, this 3 // doesn't work when using FILE handle from Bionic. 5 // This header is used to 'cheat' by redefining FILE and a few other macro 13 // A structure that wraps either a real FILE* handle, or an input/output 16 FILE* file; member in struct:__anon27877 22 // Initialize FakeFILE wrapper |file| to use a FILE* handle |f| 23 void fake_file_init_file(FakeFILE* file, FILE* f) __HIDDEN__ [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/apps/Messaging/src/com/android/messaging/datamodel/ |
MmsFileProvider.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 39 * Returns a uri that can be used to access a raw mms file. 41 * @return the URI for an raw mms file 45 final File file = getFile(uri.getPath()); local 46 if (!ensureFileExists(file)) { 47 LogUtil.e(TAG, "Failed to create temp file " + file.getAbsolutePath()); 53 File getFile(final String path, final String extension) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/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. 45 * FILE*'s and POSIX file descriptors. It must be instantiated by the 46 * user with the type of character used in the file stream, e.g., 68 * @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.15-4.8/x86_64-linux/include/c++/4.8/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. 45 * FILE*'s and POSIX file descriptors. It must be instantiated by the 46 * user with the type of character used in the file stream, e.g., 68 * @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-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.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. 45 * FILE*'s and POSIX file descriptors. It must be instantiated by the 46 * user with the type of character used in the file stream, e.g., 68 * @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...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/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. 74 * This constructor associates a file stream buffer with an open 75 * POSIX file descriptor. The file descriptor will be automaticall 120 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |
/prebuilts/ndk/9/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...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/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. 74 * This constructor associates a file stream buffer with an open 75 * POSIX file descriptor. The file descriptor will be automaticall 120 file() { return this->_M_file.file(); } function in class:stdio_filebuf [all...] |