Home
last modified time | relevance | path

Searched refs:uio (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/icu/source/common/
Dumutex.h114 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (U_CALLCONV T::*fp)()) {
115 if (umtx_loadAcquire(uio.fState) == 2) {
118 if (umtx_initImplPreInit(uio)) {
120 umtx_initImplPostInit(uio);
127 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)()) {
128 if (umtx_loadAcquire(uio.fState) == 2) {
131 if (umtx_initImplPreInit(uio)) {
133 umtx_initImplPostInit(uio);
139 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)…
143 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
[all …]
Dumutex.cpp145 umtx_initImplPreInit(UInitOnce &uio) { in umtx_initImplPreInit() argument
148 if (umtx_loadAcquire(uio.fState) == 0) { in umtx_initImplPreInit()
149 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit()
152 while (umtx_loadAcquire(uio.fState) == 1) { in umtx_initImplPreInit()
157 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
170 umtx_initImplPostInit(UInitOnce &uio) { in umtx_initImplPostInit() argument
173 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
/third_party/node/deps/icu-small/source/common/
Dumutex.h110 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (U_CALLCONV T::*fp)()) {
111 if (umtx_loadAcquire(uio.fState) == 2) {
114 if (umtx_initImplPreInit(uio)) {
116 umtx_initImplPostInit(uio);
123 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)()) {
124 if (umtx_loadAcquire(uio.fState) == 2) {
127 if (umtx_initImplPreInit(uio)) {
129 umtx_initImplPostInit(uio);
135 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)…
139 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
[all …]
Dumutex.cpp145 umtx_initImplPreInit(UInitOnce &uio) { in umtx_initImplPreInit() argument
148 if (umtx_loadAcquire(uio.fState) == 0) { in umtx_initImplPreInit()
149 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit()
152 while (umtx_loadAcquire(uio.fState) == 1) { in umtx_initImplPreInit()
157 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
170 umtx_initImplPostInit(UInitOnce &uio) { in umtx_initImplPostInit() argument
173 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
/third_party/icu/icu4c/source/common/
Dumutex.h110 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (U_CALLCONV T::*fp)()) {
111 if (umtx_loadAcquire(uio.fState) == 2) {
114 if (umtx_initImplPreInit(uio)) {
116 umtx_initImplPostInit(uio);
123 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)()) {
124 if (umtx_loadAcquire(uio.fState) == 2) {
127 if (umtx_initImplPreInit(uio)) {
129 umtx_initImplPostInit(uio);
135 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)…
139 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
[all …]
Dumutex.cpp145 umtx_initImplPreInit(UInitOnce &uio) { in umtx_initImplPreInit() argument
148 if (umtx_loadAcquire(uio.fState) == 0) { in umtx_initImplPreInit()
149 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit()
152 while (umtx_loadAcquire(uio.fState) == 1) { in umtx_initImplPreInit()
157 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
170 umtx_initImplPostInit(UInitOnce &uio) { in umtx_initImplPostInit() argument
173 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
/third_party/icu/docs/userguide/dev/sync/
Dcustom.md68 | `umtx_initImplPreInit(UInitOnce &uio)` | `umtx_initOnce()` implementation function. |
69 | `umtx_initImplPostInit(UInitOnce &uio)` | `umtx_initOnce()` implementation function. |
168 // umtx_initImplPreInit(UInitOnce &uio);
169 // umtx_initImplPostInit(UInitOnce &uio);
215 UBool umtx_initImplPreInit(UInitOnce &uio) {
217 int32_t state = uio.fState;
219 umtx_storeRelease(uio.fState, 1);
222 while (uio.fState == 1) {
227 U_ASSERT(uio.fState == 2);
240 void umtx_initImplPostInit(UInitOnce &uio) {
[all …]
/third_party/rust/crates/nix/
DCargo.toml45 "ucontext", "uio", "user", "zerocopy",
60 mount = ["uio"]
77 uio = []
79 zerocopy = ["fs", "uio"]
DBUILD.gn66 "uio",
/third_party/FreeBSD/sys/dev/usb/
Dusb_busdma.h135 int usb_uiomove(struct usb_page_cache *pc, struct uio *uio,
/third_party/icu/tools/unicode/c/genuca/
DBUILD.bazel48 …# #8 0x00005555556017ca in icu_70::umtx_initImplPreInit (uio=...) at icu4c/source/common/umutex…
49 …# #9 0x0000555555592236 in icu_70::umtx_initOnce (uio=..., fp=0x5555555e0716 <icu_70::initNFCSi…
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_output.c7340 sctp_copy_out_all(struct uio *uio, ssize_t len) argument
7358 error = uiomove(mtod(at, caddr_t), (int)willcpy, uio);
7382 sctp_sendall(struct sctp_inpcb *inp, struct uio *uio, struct mbuf *m, argument
7394 if (uio->uio_resid > SCTP_BASE_SYSCTL(sctp_sendall_limit)) {
7396 if (uio_resid(uio) > SCTP_BASE_SYSCTL(sctp_sendall_limit)) {
7399 if (uio->uio_resid > (ssize_t)SCTP_BASE_SYSCTL(sctp_sendall_limit)) {
7423 if (uio) {
7426 ca->sndlen = uio->uio_resid;
7428 ca->sndlen = uio_resid(uio);
7431 ca->sndlen = uio->uio_resid;
[all …]
Dsctp_output.h226 struct uio *uio,
Dsctputil.c6045 struct uio *uio, argument
6085 if (uio == NULL) {
6099 slen = uio->uio_resid;
6101 slen = uio_resid(uio);
6104 slen = uio->uio_resid;
6139 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, uio->uio_resid);
6142 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, uio_resid(uio));
6146 rwnd_req, in_eeor_mode, so->so_rcv.sb_cc, (uint32_t)uio->uio_resid);
6157 rwnd_req, block_allowed, so->so_rcv.sb_cc, uio->uio_resid);
6160 rwnd_req, block_allowed, so->so_rcv.sb_cc, uio_resid(uio));
[all …]
Dsctputil.h351 struct uio *uio,
Dsctp_uio.h1288 struct uio *uio,
1306 struct uio *uio,
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_socket.c73 extern int sctp_sosend(struct socket *so, struct sockaddr *addr, struct uio *uio,
611 uiomove(void *cp, int n, struct uio *uio) in uiomove() argument
617 if ((uio->uio_rw != UIO_READ) && in uiomove()
618 (uio->uio_rw != UIO_WRITE)) { in uiomove()
622 while (n > 0 && uio->uio_resid) { in uiomove()
623 iov = uio->uio_iov; in uiomove()
626 uio->uio_iov++; in uiomove()
627 uio->uio_iovcnt--; in uiomove()
633 switch (uio->uio_segflg) { in uiomove()
636 if (uio->uio_rw == UIO_READ) in uiomove()
[all …]
Duser_socketvar.h85 struct uio { struct
472 extern int uiomove(void *cp, int n, struct uio *uio);
Duser_mbuf.h59 struct mbuf *m_uiotombuf(struct uio *uio, int how, int len, int align, int flags);
Duser_mbuf.c373 m_uiotombuf(struct uio *uio, int how, int len, int align, int flags) in m_uiotombuf() argument
385 total = min(uio->uio_resid, len); in m_uiotombuf()
387 total = uio->uio_resid; in m_uiotombuf()
406 error = uiomove(mtod(mb, void *), length, uio); in m_uiotombuf()
/third_party/FreeBSD/sys/dev/random/
Drandomdev.h127 void random_infra_init(int (*)(struct uio *, bool), u_int (*)(void *, u_int));
/third_party/rust/crates/nix/src/sys/
Dmod.rs190 pub mod uio;
/third_party/rust/crates/nix/test/sys/
Dtest_uio.rs1 use nix::sys::uio::*;
/third_party/vulkan-loader/cmake/
DCopyright_cmake.txt45 * André Rigland Brodtkorb <Andre.Brodtkorb@ifi.uio.no>
/third_party/ltp/
Dconfigure.ac179 AC_CHECK_TYPES([struct iovec],,,[#include <sys/uio.h>])

12