Home
last modified time | relevance | path

Searched refs:fd_ptr (Results 1 – 5 of 5) sorted by relevance

/third_party/glib/gio/
Dgsubprocesslauncher.c383 assign_fd (gint *fd_ptr, gint fd) in assign_fd() argument
387 if (*fd_ptr != -1) in assign_fd()
388 close (*fd_ptr); in assign_fd()
390 *fd_ptr = fd; in assign_fd()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_writer.cc454 Status ShardWriter::LockWriter(bool parallel_writer, std::unique_ptr<int> *fd_ptr) { in LockWriter() argument
456 *fd_ptr = std::make_unique<int>(0); in LockWriter()
495 *fd_ptr = std::make_unique<int>(fd); in LockWriter()
589 std::unique_ptr<int> fd_ptr; in WriteRawData() local
590 RETURN_IF_NOT_OK(LockWriter(parallel_writer, &fd_ptr)); in WriteRawData()
613 RETURN_IF_NOT_OK(UnlockWriter(*fd_ptr, parallel_writer)); in WriteRawData()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_writer.h205 Status LockWriter(bool parallel_writer, std::unique_ptr<int> *fd_ptr);
/third_party/node/src/
Dnode_wasi.cc1183 uint32_t fd_ptr; in PathOpen() local
1195 CHECK_TO_TYPE_OR_RETURN(args, args[8], Uint32, fd_ptr); in PathOpen()
1207 fd_ptr); in PathOpen()
1210 CHECK_BOUNDS_OR_RETURN(args, mem_size, fd_ptr, UVWASI_SERDES_SIZE_fd_t); in PathOpen()
1223 uvwasi_serdes_write_size_t(memory, fd_ptr, fd); in PathOpen()
/third_party/glib/glib/
Dgfileutils.c1212 steal_fd (int *fd_ptr) in steal_fd() argument
1214 int fd = *fd_ptr; in steal_fd()
1215 *fd_ptr = -1; in steal_fd()