HomeSort by relevance Sort by last modified time
    Searched full:dstfd (Results 1 - 22 of 22) sorted by null

  /prebuilts/go/darwin-x86/src/internal/poll/
sendfile_bsd.go 16 func SendFile(dstFD *FD, src int, pos, remain int64) (int64, error) {
17 if err := dstFD.writeLock(); err != nil {
20 defer dstFD.writeUnlock()
21 dst := int(dstFD.Sysfd)
40 if err1 = dstFD.pd.waitWrite(dstFD.isFile); err1 == nil {
sendfile_linux.go 14 func SendFile(dstFD *FD, src int, remain int64) (int64, error) {
15 if err := dstFD.writeLock(); err != nil {
18 defer dstFD.writeUnlock()
20 dst := int(dstFD.Sysfd)
37 if err1 = dstFD.pd.waitWrite(dstFD.isFile); err1 == nil {
sendfile_solaris.go 18 func SendFile(dstFD *FD, src int, pos, remain int64) (int64, error) {
19 if err := dstFD.writeLock(); err != nil {
22 defer dstFD.writeUnlock()
24 dst := int(dstFD.Sysfd)
47 if err1 = dstFD.pd.waitWrite(dstFD.isFile); err1 == nil {
  /prebuilts/go/linux-x86/src/internal/poll/
sendfile_bsd.go 16 func SendFile(dstFD *FD, src int, pos, remain int64) (int64, error) {
17 if err := dstFD.writeLock(); err != nil {
20 defer dstFD.writeUnlock()
21 dst := int(dstFD.Sysfd)
40 if err1 = dstFD.pd.waitWrite(dstFD.isFile); err1 == nil {
sendfile_linux.go 14 func SendFile(dstFD *FD, src int, remain int64) (int64, error) {
15 if err := dstFD.writeLock(); err != nil {
18 defer dstFD.writeUnlock()
20 dst := int(dstFD.Sysfd)
37 if err1 = dstFD.pd.waitWrite(dstFD.isFile); err1 == nil {
sendfile_solaris.go 18 func SendFile(dstFD *FD, src int, pos, remain int64) (int64, error) {
19 if err := dstFD.writeLock(); err != nil {
22 defer dstFD.writeUnlock()
24 dst := int(dstFD.Sysfd)
47 if err1 = dstFD.pd.waitWrite(dstFD.isFile); err1 == nil {
  /build/make/tools/libhost/
CopyFile.c 116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd)
133 writeCount = write(dstFd, buf, readCount);
212 int srcFd, dstFd, statResult, copyResult;
251 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644);
253 if (dstFd < 0) {
281 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644);
284 if (dstFd < 0) {
291 copyResult = copyFileContents(dst, dstFd, src, srcFd);
294 (void) close(dstFd);
317 dstFd = open(dstRsrcName, O_TRUNC | O_WRONLY, 0)
    [all...]
  /external/ltp/testcases/kernel/io/ltp-aiodio/
aiocp.c 54 static int dstfd = -1; // destination file descriptor variable
152 * We are writing zero's to dstfd
214 if (dstfd > 0)
215 close(dstfd);
269 fd = dstfd;
420 if ((dstfd = open(dstname = *argv, dest_open_flag, 0666)) < 0) {
429 if (fstat(dstfd, &st) < 0) {
512 * We are writing zero's to dstfd
514 io_prep_pwrite(io, dstfd, io->u.c.buf,
582 if (dstfd != -1
    [all...]
  /libcore/ojluni/src/main/native/
FileChannelImpl.c 165 jint dstFD = fdval(env, dstFDO);
169 jlong n = sendfile64(dstFD, srcFD, &offset, (size_t)count);
192 result = sendfilev64(dstFD, &sfv, 1, &numBytes);
218 result = sendfile(srcFD, dstFD, position, &numBytes, NULL, 0);
254 result = send_file(&dstFD, &sf_iobuf, SF_SYNC_CACHE);
  /frameworks/base/core/jni/android/graphics/pdf/
PdfEditor.cpp 67 int dstFd;
90 const bool success = writeAllBytes(writer->dstFd, buffer, size);
101 writer.dstFd = fd;
  /hardware/qcom/media/msm8974/libc2dcolorconvert/
C2DColorConverter.h 107 virtual int convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData) = 0;
C2DColorConverter.cpp 62 virtual int convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData);
193 int C2DColorConverter::convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData)
204 if ((srcFd < 0) || (dstFd < 0) || (srcData == NULL) || (dstData == NULL)) {
225 dstMappedGpuAddr = (uint8_t *)getMappedGPUAddr(dstFd, dstData, mDstSize);
  /hardware/qcom/media/msm8996/libc2dcolorconvert/
C2DColorConverter.h 111 virtual int convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData) = 0;
C2DColorConverter.cpp 63 virtual int convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData);
219 int C2DColorConverter::convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData)
230 if ((srcFd < 0) || (dstFd < 0) || (srcData == NULL) || (dstData == NULL)) {
251 dstMappedGpuAddr = (uint8_t *)getMappedGPUAddr(dstFd, dstData, mDstSize);
  /hardware/qcom/media/msm8998/libc2dcolorconvert/
C2DColorConverter.h 111 virtual int convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData) = 0;
C2DColorConverter.cpp 63 virtual int convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData);
222 int C2DColorConverter::convertC2D(int srcFd, void *srcBase, void * srcData, int dstFd, void *dstBase, void * dstData)
233 if ((srcFd < 0) || (dstFd < 0) || (srcData == NULL) || (dstData == NULL)) {
254 dstMappedGpuAddr = (uint8_t *)getMappedGPUAddr(dstFd, dstData, mDstSize);
  /prebuilts/sdk/tools/linux/bin/
acp 
  /external/honggfuzz/
fuzz.c 168 int dstfd = open(run->fileName, O_CREAT | O_TRUNC | O_RDWR | O_CLOEXEC, 0644); local
169 if (dstfd == -1) {
173 close(dstfd);
  /packages/apps/DocumentsUI/src/com/android/documentsui/services/
CopyJob.java 610 final FileDescriptor dstFd = dstFile.getFileDescriptor();
611 if (srcSize > 0 && sm.isAllocationSupported(dstFd)) {
612 sm.allocateBytes(dstFd, srcSize);
    [all...]
  /frameworks/native/cmds/installd/
utils.cpp 553 static int _copy_owner_permissions(int srcfd, int dstfd)
559 if (fchmod(dstfd, st.st_mode) != 0) {
    [all...]
  /prebuilts/go/linux-x86/pkg/linux_amd64/internal/
poll.a 164 &?8>?&? destroy>?& eofError>?n·3& err·4?&?<>?&&readLock>?&readUnlock> fd·1writeLock>?&writeUnlock>? hook_cloexec.goAccept4FuncF& hook_unix.goCloseFunc&AcceptFuncF&  !sendfile_linux.goSendFile>dstFD·3 src·4
190 dstFD?src? remain?.autotmp_22?.autotmp_23?.autotmp_24?dst?written?fgofile..$GOROOT/src/internal/poll/sendfile_linux.go?"".Accept4Func?"".AcceptFunc?.go.string."setnonblock"?$go.string."accept"?&syscall.CloseOnExec?&go.string."accept4"?ns?Tgclocals·737b6aba7ea2ad2d5437da9c5f1dbf39?Tgclocals·17b4f2269d371dee55799b56eb202e9c?bgofile..$GOROOT/src/internal/poll/sock_cloexec.go?,"".(*FD).SetsockoptInt?*syscall.SetsockoptInt?
    [all...]
  /prebuilts/go/linux-x86/pkg/linux_amd64_race/internal/
poll.a 164 &?8>?&? destroy>?& eofError>?n·3& err·4?&?<>?&&readLock>?&readUnlock> fd·1writeLock>?&writeUnlock>? hook_cloexec.goAccept4FuncF& hook_unix.goCloseFunc&AcceptFuncF&  !sendfile_linux.goSendFile>dstFD·3 src·4
190 dstFD?src? remain?err1.data?err1.itab?.autotmp_27?dst?written?Tgclocals·4040a12c08d172898f0e7cf8bf968e48?fgofile..$GOROOT/src/internal/poll/sendfile_linux.go?"".Accept4Func?&go.string."accept4"?"".AcceptFunc?.go.string."setnonblock"?$go.string."accept"?&syscall.CloseOnExec?ns?Tgclocals·737b6aba7ea2ad2d5437da9c5f1dbf39?Tgclocals·201086df839a9d7861d1a32f8a2b2ec2?bgofile..$GOROOT/src/internal/poll/sock_cloexec.go?,"".(*FD).SetsockoptInt?*syscall.SetsockoptInt?
    [all...]

Completed in 1092 milliseconds