/frameworks/compile/libbcc/lib/Support/ |
OutputFile.cpp | 31 if ((mFD < 0) || hasError()) { 42 ssize_t write_size = ::write(mFD, pBuf, count); 60 if (mFD < 0) { 65 if (::ftruncate(mFD, 0) == 0) { 78 newfd = ::dup(mFD);
|
FileBase.cpp | 48 : mFD(-1), 85 mFD = ::open(mName.c_str(), mOpenFlags, 0644); 86 if (mFD > 0) { 101 // Check the file integrity by examining whether the inode referring to the mFD 105 // Get the file status of file descriptor mFD. 107 if (::fstat(mFD, &fd_stat) == 0) { 142 if ((mFD < 0) || hasError()) { 166 if (::flock(mFD, lock_operation) == 0) { 168 // Here we got a lock but we need to check whether the mFD still 170 // check may failed when another process deleted the original file mFD [all...] |
InputFile.cpp | 27 if ((mFD < 0) || hasError()) { 38 ssize_t read_size = ::read(mFD, pBuf, count);
|
/frameworks/native/libs/binder/ |
MemoryHeapBase.cpp | 39 : mFD(-1), mSize(0), mBase(MAP_FAILED), 45 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 62 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 81 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), 91 if (mFD != -1) { 94 mFD = fd; 128 mFD = fd; 141 int fd = android_atomic_or(-1, &mFD); 154 return mFD;
|
Static.cpp | 51 FdTextOutput(int fd) : BufferedTextOutput(MULTITHREADED), mFD(fd) { } 57 writev(mFD, &vec, N); 62 int mFD;
|
/frameworks/av/media/mtp/ |
MtpServer.h | 38 int mFD; 79 int mFD; 83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { 87 close(mFD);
|
MtpServer.cpp | 102 : mFD(fd), 156 int fd = mFD; 243 mFD = -1; 276 int ret = mEvent.write(mFD); 789 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); 811 mData.writeData(mFD, thumb, thumbSize); 865 int ret = ioctl(mFD, MTP_SEND_FILE_WITH_HEADER, (unsigned long)&mfr); [all...] |
/frameworks/base/core/java/android/os/ |
MemoryFile.java | 57 private FileDescriptor mFD; // ashmem file descriptor 72 mFD = native_open(name, length); 78 mAddress = native_mmap(mFD, length, PROT_READ | PROT_WRITE); 91 native_close(mFD); 124 return !mFD.valid(); 163 native_pin(mFD, !allowPurging); 209 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); 233 native_write(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); 246 return mFD;
|
/frameworks/compile/libbcc/include/bcc/Support/ |
FileBase.h | 66 int mFD; 85 // Return true if mFD is the corresponded file descriptor to the file named
|
/frameworks/native/include/binder/ |
MemoryHeapBase.h | 91 int mFD;
|
/hardware/qcom/display/msm8084/liboverlay/ |
overlayUtils.h | 782 int mFD; 797 inline OvFD::OvFD() : mFD (INVAL) { 807 mFD = ::open(dev, flags, 0); 808 if (mFD < 0) { 826 ret = ::close(mFD); 827 mFD = INVAL; 834 return (mFD != INVAL); 837 inline int OvFD::getFD() const { return mFD; } 840 mFD = fd; 846 mFD, mPath) [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
overlayUtils.h | 621 int mFD; 636 inline OvFD::OvFD() : mFD (INVAL) { 646 mFD = ::open(dev, flags, 0); 647 if (mFD < 0) { 665 ret = ::close(mFD); 666 mFD = INVAL; 673 return (mFD != INVAL); 676 inline int OvFD::getFD() const { return mFD; } 679 mFD = fd; 685 mFD, mPath) [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
overlayUtils.h | 784 int mFD; 799 inline OvFD::OvFD() : mFD (INVAL) { 809 mFD = ::open(dev, flags, 0); 810 if (mFD < 0) { 828 ret = ::close(mFD); 829 mFD = INVAL; 836 return (mFD != INVAL); 839 inline int OvFD::getFD() const { return mFD; } 842 mFD = fd; 848 mFD, mPath) [all...] |
/hardware/qcom/display/msm8974/liboverlay/ |
overlayUtils.h | 762 int mFD; 777 inline OvFD::OvFD() : mFD (INVAL) { 787 mFD = ::open(dev, flags, 0); 788 if (mFD < 0) { 806 ret = ::close(mFD); 807 mFD = INVAL; 814 return (mFD != INVAL); 817 inline int OvFD::getFD() const { return mFD; } 820 mFD = fd; 826 mFD, mPath) [all...] |
/frameworks/base/media/java/android/media/ |
FaceDetector.java | 194 private long mFD;
|
/frameworks/wilhelm/src/ |
data.h | 29 SLDataLocator_AndroidFD mFD;
|
data.c | 215 pDataLocator->mFD = *(SLDataLocator_AndroidFD *)pLocator; 216 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd, 217 pDataLocator->mFD.offset, pDataLocator->mFD.length); 219 if (0 > pDataLocator->mFD.fd) { 220 SL_LOGE("%s: fd=%d\n", name, pDataLocator->mFD.fd); [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
copybit.cpp | 60 int mFD; 229 int err = ioctl(dev->mFD, MSMFB_BLIT, 519 close(ctx->mFD); 545 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 546 if (ctx->mFD < 0) { 553 if (ioctl(ctx->mFD, FBIOGET_FSCREENINFO, &finfo) == 0) {
|
/hardware/ti/omap4-aah/camera/inc/ |
ANativeWindowDisplayAdapter.h | 161 int mFD;
|
/hardware/ti/omap4xxx/camera/inc/ |
ANativeWindowDisplayAdapter.h | 161 int mFD;
|
/hardware/qcom/display/msm8974/libcopybit/ |
copybit.cpp | 58 int mFD; 232 int err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 563 close(ctx->mFD); 616 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 617 if (ctx->mFD < 0) {
|
/hardware/ti/omap4-aah/camera/ |
ANativeWindowDisplayAdapter.cpp | 114 mFD = -1; 751 if(mFD == -1) 758 mFD = dup(img->fd[0]); 763 return mFD; 846 if( mFD != -1) 848 close(mFD); // close duped handle 849 mFD = -1; [all...] |
/hardware/ti/omap4xxx/camera/ |
ANativeWindowDisplayAdapter.cpp | 184 mFD = -1; 793 if(mFD == -1) 798 mFD = dup(handle->fd[0]); 803 return mFD; 880 if( mFD != -1) 882 close(mFD); // close duped handle 883 mFD = -1; [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
copybit.cpp | 58 int mFD; 238 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 678 close(ctx->mFD); 741 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 742 if (ctx->mFD < 0) {
|
/hardware/qcom/display/msm8226/libcopybit/ |
copybit.cpp | 58 int mFD; 238 err = ioctl(dev->mFD, MSMFB_ASYNC_BLIT, 678 close(ctx->mFD); 741 ctx->mFD = open("/dev/graphics/fb0", O_RDWR, 0); 742 if (ctx->mFD < 0) {
|