Searched defs:dup (Results 1 - 5 of 5) sorted by relevance

/frameworks/compile/libbcc/lib/Support/
H A DOutputFile.cpp127 llvm::raw_fd_ostream *OutputFile::dup() { function in class:OutputFile
131 newfd = ::dup(mFD);
140 // dup() returns ok.
/frameworks/native/libs/ui/
H A DFence.cpp82 int Fence::dup() const { function in class:android::Fence
86 return ::dup(mFenceFd);
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java129 * Create a new ParcelFileDescriptor that is a dup of an existing
134 public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException { method in class:ParcelFileDescriptor
140 * Create a new ParcelFileDescriptor that is a dup of the existing
145 public ParcelFileDescriptor dup() throws IOException { method in class:ParcelFileDescriptor
146 return dup(getFileDescriptor());
151 * ParcelFileDescriptor holds a dup of the original fd passed in here,
154 * @param fd The native fd that the ParcelFileDescriptor should dup.
157 * for a dup of the given fd.
187 * ParcelFileDescriptor holds a dup of the original FileDescriptor in
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp172 sp<ABuffer> dup = new ABuffer(accessUnit->size() + size); local
177 memcpy(dup->data() + offset, csd->data(), csd->size());
181 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size());
183 return dup;
194 sp<ABuffer> dup = new ABuffer(aac_frame_length); local
205 uint8_t *ptr = dup->data();
227 return dup;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp548 acquireFenceFd = acquireFence->dup();
774 virtual HWComposer::HWCLayer* dup() { function in class:android::Iterable

Completed in 352 milliseconds