Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 39) sorted by relevance

12

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
Dsemaphore.rs220 pub fn close(&self) { in close() method
221 self.inner.close(); in close()
336 pub fn close(&self) { in close() method
337 self.inner.close(); in close()
Doneshot.rs375 pub fn close(&mut self) { in close() method
385 self.close(); in drop()
519 rx.close(); in close_rx()
527 rx.close(); in close_rx()
/commonlibrary/utils_lite/js/builtin/filekit/src/
Dnativeapi_fs_impl.c236 close(fdSrc); in CopyFileImpl()
240 close(fdSrc); in CopyFileImpl()
248 close(fdSrc); in CopyFileImpl()
252 close(fdSrc); in CopyFileImpl()
253 close(fdDest); in CopyFileImpl()
284 close(fileHandle); in WriteTextFile()
317 close(fileHandle); in WriteArrayFile()
322 close(fileHandle); in WriteArrayFile()
347 close(fileHandle); in ReadFileImpl()
351 close(fileHandle); in ReadFileImpl()
[all …]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/mpsc/
Dunbounded.rs188 self.channel.close(); in drop()
352 pub fn close(&mut self) { in close() method
353 self.channel.close(); in close()
359 self.channel.close(); in drop()
Dbounded.rs306 self.channel.close(); in drop()
474 pub fn close(&mut self) { in close() method
475 self.channel.close(); in close()
481 self.channel.close(); in drop()
Dchannel.rs62 pub(crate) fn close(&self) { in close() method
64 self.inner.chan.close(); in close()
Dmod.rs26 fn close(&self); in close() method
/commonlibrary/memory_utils/libpurgeablemem/cpp/src/
Dpurgeable_ashmem.cpp84 close(ashmemFd_); in ~PurgeableAshMem()
117 close(fd); in CreatePurgeableData_()
126 close(ashmemFd_); in CreatePurgeableData_()
196 close(ashmemFd_); in ResizeData()
212 close(ashmemFd_); in ChangeAshmemData()
/commonlibrary/c_utils/base/src/
Dashmem.cpp79 close(fd); in AshmemOpenLocked()
85 close(fd); in AshmemOpenLocked()
118 close(fd); in AshmemCreate()
124 close(fd); in AshmemCreate()
132 close(fd); in AshmemCreate()
197 ::close(memoryFd_); in CloseAshmem()
Dmapped_file.cpp179 if (close(fd) == -1) { in OpenFile()
466 if (fd_ != -1 && close(fd_) == -1) { in Clear()
485 if (fd_ != -1 && close(fd_) == -1) { in ~MappedFile()
559 if (fd_ != -1 && close(fd_) == -1) { in ChangePath()
Dtimer_event_handler.cpp42 close(GetHandle()); in ~TimerEventHandler()
Dio_event_epoll.cpp50 if (close(epollFd_) != 0) { in CleanUp()
Devent_demultiplexer.cpp59 close(epollFd_); in CleanUp()
/commonlibrary/c_utils/base/test/unittest/common/
Dutils_unique_fd_test.cpp45 outfile.close(); in SetUpTestCase()
55 inputfile.close(); in TearDownTestCase()
129 close(fd); in Close()
Dutils_file_test.cpp89 close(fd);
193 close(fd);
210 close(fd);
227 close(fd);
244 close(fd);
260 close(fd);
395 close(fd);
401 close(fd);
417 close(fd);
423 close(fd);
[all …]
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/udp/
Dsocket.rs60 pub(crate) fn close(&self) { in close() method
79 self.close(); in drop()
/commonlibrary/memory_utils/libdmabufheap/src/
Ddmabuf_alloc.c73 return close(fd); in DmabufHeapClose()
100 return close(buffer->fd); in DmabufHeapBufferFree()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
Dsocket.rs76 pub(crate) fn close(&self) { in close() method
83 self.close(); in drop()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dsocket.rs110 pub(crate) fn close(&self) { in close() method
131 self.close(); in drop()
/commonlibrary/ets_utils/js_sys_module/process/
Djs_childprocess.cpp82 close(stdErrFd_[0]); in Spawn()
83 close(stdOutFd_[0]); in Spawn()
110 close(stdErrFd_[1]); in Spawn()
111 close(stdOutFd_[1]); in Spawn()
480 close(stdOutFd_[0]); in ~ChildProcess()
481 close(stdErrFd_[0]); in ~ChildProcess()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/tcp/
Dsocket.rs99 pub(crate) fn close(&self) { in close() method
118 self.close(); in drop()
/commonlibrary/utils_lite/hals/file/
Dhal_file.c29 return close(fd); in HalFileClose()
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/
Dnativeapi_kv_impl.c120 close(fileHandle); in GetValue()
149 close(fd); in SetValue()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/linux/
Depoll.rs131 if let Err(_err) = syscall!(close(self.ep)) { in drop()
/commonlibrary/memory_utils/libmeminfo/src/
Dmeminfo.cpp95 in.close(); in GetPssByPid()

12