/frameworks/base/core/jni/ |
android_server_Watchdog.cpp | 31 static void dumpOneStack(int tid, int outFd) { 39 write(outFd, buf, strlen(buf)); 44 write(outFd, buf, nBytes); 48 write(outFd, "\n", 1); 67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT, 69 if (outFd < 0) { 75 write(outFd, buf, strlen(buf)); 86 dumpOneStack(tid, outFd); 93 write(outFd, buf, strlen(buf)); 95 close(outFd); [all...] |
/frameworks/base/native/android/ |
looper.cpp | 44 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { 52 return looper->pollOnce(timeoutMillis, outFd, outEvents, outData); 55 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { 63 return looper->pollAll(timeoutMillis, outFd, outEvents, outData);
|
/dalvik/vm/hprof/ |
Hprof.cpp | 114 int outFd; 116 outFd = dup(headCtx->fd); 117 if (outFd < 0) { 122 outFd = open(tailCtx->fileName, O_WRONLY|O_CREAT|O_TRUNC, 0644); 123 if (outFd < 0) { 128 if (outFd < 0) { 135 result = sysWriteFully(outFd, headCtx->fileDataPtr, 137 result |= sysWriteFully(outFd, tailCtx->fileDataPtr, 139 close(outFd);
|
/development/ndk/platforms/android-9/include/android/ |
looper.h | 180 * In this (and only this) case outFd, outEvents and outData will contain the poll 186 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 193 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
|
/frameworks/base/native/include/android/ |
looper.h | 181 * In this (and only this) case outFd, outEvents and outData will contain the poll 187 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 194 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
|
/prebuilt/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/android/ |
looper.h | 180 * In this (and only this) case outFd, outEvents and outData will contain the poll 186 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 193 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-arm/usr/include/android/ |
looper.h | 180 * In this (and only this) case outFd, outEvents and outData will contain the poll 186 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 193 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/android/ |
looper.h | 180 * In this (and only this) case outFd, outEvents and outData will contain the poll 186 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 193 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
|
/frameworks/base/core/java/com/android/internal/backup/ |
IBackupTransport.aidl | 177 int getRestoreData(in ParcelFileDescriptor outFd);
|
LocalTransport.java | 215 public int getRestoreData(ParcelFileDescriptor outFd) { 230 BackupDataOutput out = new BackupDataOutput(outFd.getFileDescriptor());
|
/dalvik/libdex/ |
SysUtil.h | 120 int sysCopyFileToFile(int outFd, int inFd, size_t count);
|
SysUtil.cpp | 411 int sysCopyFileToFile(int outFd, int inFd, size_t count) 426 if (sysWriteFully(outFd, buf, getSize, "sysCopyFileToFile") != 0)
|
ZipArchive.cpp | 587 static int inflateToFile(int outFd, int inFd, size_t uncompLen, size_t compLen) 662 if (sysWriteFully(outFd, writeBuf, writeSize, "Zip inflate") != 0)
|
/dalvik/dexopt/ |
OptMain.cpp | 337 int outFd = -1; 367 outFd = open(outName, O_RDWR | O_EXCL | O_CREAT, 0666); 368 if (outFd < 0) { 373 result = processZipFile(zipFd, outFd, zipName, dexoptFlags); 380 if (outFd >= 0) { 381 close(outFd);
|
/frameworks/base/include/utils/ |
Looper.h | 138 * In this (and only this) case outFd, outEvents and outData will contain the poll 144 int pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData); 154 int pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
|
/frameworks/base/libs/utils/ |
Looper.cpp | 176 int Looper::pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { 192 if (outFd != NULL) *outFd = fd; 203 if (outFd != NULL) *outFd = 0; 426 int Looper::pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { 430 result = pollOnce(timeoutMillis, outFd, outEvents, outData); 438 int result = pollOnce(timeoutMillis, outFd, outEvents, outData);
|
/system/core/adb/ |
commandline.c | 245 static void copy_to_file(int inFd, int outFd) { 251 D("copy_to_file(%d -> %d)\n", inFd, outFd); 266 adb_write(outFd, buf, len); 583 int fd, outFd; 605 outFd = adb_open_mode(filename, O_WRONLY | O_CREAT | O_TRUNC, 0640); 606 if (outFd < 0) { 621 adb_close(outFd); 625 copy_to_file(fd, outFd); 628 adb_close(outFd); [all...] |
/libcore/luni/src/main/java/java/nio/ |
FileChannelImpl.java | 413 FileDescriptor outFd = ((SocketChannelImpl) target).getFD(); 418 long rc = Libcore.os.sendfile(outFd, fd, offset, count);
|
/libcore/luni/src/main/java/libcore/io/ |
ForwardingOs.java | 102 public long sendfile(FileDescriptor outFd, FileDescriptor inFd, MutableLong inOffset, long byteCount) throws ErrnoException { return os.sendfile(outFd, inFd, inOffset, byteCount); }
|
Os.java | 97 public long sendfile(FileDescriptor outFd, FileDescriptor inFd, MutableLong inOffset, long byteCount) throws ErrnoException;
|
Posix.java | 136 public native long sendfile(FileDescriptor outFd, FileDescriptor inFd, MutableLong inOffset, long byteCount) throws ErrnoException;
|
/libcore/luni/src/main/native/ |
libcore_io_Posix.cpp | [all...] |