Home
last modified time | relevance | path

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

123

/third_party/icu/icu4c/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.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/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/flutter/skia/third_party/externals/icu/source/common/
Dumutex.h247 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (U_CALLCONV T::*fp)()) { in umtx_initOnce() argument
248 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
251 if (umtx_initImplPreInit(uio)) { in umtx_initOnce()
253 umtx_initImplPostInit(uio); in umtx_initOnce()
260 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)()) { in umtx_initOnce() argument
261 if (umtx_loadAcquire(uio.fState) == 2) { in umtx_initOnce()
264 if (umtx_initImplPreInit(uio)) { in umtx_initOnce()
266 umtx_initImplPostInit(uio); in umtx_initOnce()
272 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode)… in umtx_initOnce() argument
276 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) { in umtx_initOnce()
[all …]
Dumutex.cpp61 U_COMMON_API UBool U_EXPORT2 umtx_initImplPreInit(UInitOnce &uio) { in umtx_initImplPreInit() argument
65 &uio.fState, // Destination in umtx_initImplPreInit()
82 previousState = umtx_loadAcquire(uio.fState); in umtx_initImplPreInit()
91 U_COMMON_API void U_EXPORT2 umtx_initImplPostInit(UInitOnce &uio) { in umtx_initImplPostInit() argument
92 umtx_storeRelease(uio.fState, 2); in umtx_initImplPostInit()
256 umtx_initImplPreInit(UInitOnce &uio) { in umtx_initImplPreInit() argument
258 int32_t state = uio.fState; in umtx_initImplPreInit()
260 umtx_storeRelease(uio.fState, 1); in umtx_initImplPreInit()
264 while (uio.fState == 1) { in umtx_initImplPreInit()
270 U_ASSERT(uio.fState == 2); in umtx_initImplPreInit()
[all …]
/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/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>

123