Home
last modified time | relevance | path

Searched refs:rval (Results 1 - 3 of 3) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/
H A Dmtpfs_fuse.cpp512 int rval = ::open(tmpPath.c_str(), O_CREAT | O_WRONLY, mode); in MkNod() local
513 if (rval < 0) { in MkNod()
516 rval = ::close(rval); in MkNod()
517 if (rval < 0) { in MkNod()
520 rval = device_.FilePush(tmpPath, std::string(path)); in MkNod()
523 if (rval != 0) { in MkNod()
524 return rval; in MkNod()
555 int rval = device_.FilePull(std::string(path), tmpFile); in ReName() local
556 if (rval ! in ReName()
602 int rval = device_.FilePull(std::string(path), tmpPath); Truncate() local
656 int rval = ::creat(tmpPath.c_str(), mode); Create() local
687 int rval = device_.FilePull(stdPath, tmpPath); Open() local
720 int rval = 0; Read() local
739 int rval = 0; Write() local
763 int rval = ::close(fileInfo->fh); Release() local
811 int rval = -1; FSync() local
[all...]
H A Dmtpfs_mtp_device.cpp163 bool rval = Connect(rawDevice); in ConnectByDevFile() local
165 return rval; in ConnectByDevFile()
318 int rval = LIBMTP_Delete_Object(device_, dirToRemove->Id()); in DirRemove() local
320 if (rval != 0) { in DirRemove()
395 int rval = in ReNameInner() local
398 if (rval != 0) { in ReNameInner()
408 int rval = in ReNameInner() local
411 if (rval != 0) { in ReNameInner()
469 int rval = LIBMTP_GetPartialObject(device_, fileToFetch->Id(), offset, size, &tmpBuf, &tmpSize); in FileRead() local
477 if (rval ! in FileRead()
500 int rval = LIBMTP_SendPartialObject(device_, fileToFetch->Id(), offset, s.data(), s.size()); FileWrite() local
527 int rval = LIBMTP_Get_File_To_File(device_, fileToFetch->Id(), dst.c_str(), nullptr, nullptr); FilePull() local
552 int rval = LIBMTP_Delete_Object(device_, fileToRemove->Id()); FilePush() local
569 int rval = LIBMTP_Send_File_From_File(device_, src.c_str(), f, nullptr, nullptr); FilePush() local
604 int rval = LIBMTP_Delete_Object(device_, fileToRemove->Id()); FileRemove() local
630 int rval = LIBMTP_Set_File_Name(device_, file, tmpNewBaseName.c_str()); FileRename() local
[all...]
/foundation/communication/netmanager_ext/services/networksharemanager/src/
H A Drouter_advertisement_daemon.cpp212 auto rval = in RunRecvRsThread() local
214 if (rval <= 0 && errno != EAGAIN && errno != EINTR) { in RunRecvRsThread()
215 NETMGR_EXT_LOG_E("recvfrom failed, rval[%{public}zd], errno[%{public}d]", rval, errno); in RunRecvRsThread()

Completed in 4 milliseconds