Home | History | Annotate | Download | only in common

Lines Matching refs:uio

234 template<class T> void umtx_initOnce(UInitOnce &uio, T *obj, void (U_CALLCONV T::*fp)()) {
235 if (umtx_loadAcquire(uio.fState) == 2) {
238 if (umtx_initImplPreInit(uio)) {
240 umtx_initImplPostInit(uio);
247 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)()) {
248 if (umtx_loadAcquire(uio.fState) == 2) {
251 if (umtx_initImplPreInit(uio)) {
253 umtx_initImplPostInit(uio);
259 inline void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(UErrorCode &), UErrorCode &errCode) {
263 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
266 uio.fErrCode = errCode;
267 umtx_initImplPostInit(uio);
270 if (U_FAILURE(uio.fErrCode)) {
271 errCode = uio.fErrCode;
278 template<class T> void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(T), T context) {
279 if (umtx_loadAcquire(uio.fState) == 2) {
282 if (umtx_initImplPreInit(uio)) {
284 umtx_initImplPostInit(uio);
290 template<class T> void umtx_initOnce(UInitOnce &uio, void (U_CALLCONV *fp)(T, UErrorCode &), T context, UErrorCode &errCode) {
294 if (umtx_loadAcquire(uio.fState) != 2 && umtx_initImplPreInit(uio)) {
297 uio.fErrCode = errCode;
298 umtx_initImplPostInit(uio);
301 if (U_FAILURE(uio.fErrCode)) {
302 errCode = uio.fErrCode;