Searched defs:once (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c60 static int once = 0; variable
135 if (!once) {
138 if (!once) {
143 once = 1;
/osnet-11/usr/src/lib/libc/port/threads/
H A Dpthread.c154 * pthread_once: calls given function only once.
160 __once_t *once = (__once_t *)once_control; local
162 if (once == NULL || init_routine == NULL)
165 if (once->once_flag == PTHREAD_ONCE_NOTDONE) {
166 (void) mutex_lock(&once->mlock);
167 if (once->once_flag == PTHREAD_ONCE_NOTDONE) {
168 pthread_cleanup_push(mutex_unlock, &once->mlock);
172 once->once_flag = PTHREAD_ONCE_DONE;
174 (void) mutex_unlock(&once->mlock);
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dvthread.h153 /* structure for exactly once execution */
156 _vtonce_t once; member in struct:_vtonce_s
169 #define vtonceerror(once) ((once)->error)
215 #define vtonceerror(once) (0)
/osnet-11/usr/src/lib/libsqlite/src/
H A Dtclsqlite.c74 int once; /* Set for first callback only */ member in struct:CallbackData
99 assert( cbData->once );
100 cbData->once = 0;
185 if( azCol==0 || (cbData->once && cbData->zArray[0]) ){
197 cbData->once = 0;
796 cbData.once = 1;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp_hot.c1258 /* PMdf_USED is set after a ?? matches once */
1972 bool once; local
2019 position, once with zero-length,
2051 /* only replace once? */
2052 once = !(rpm->op_pmflags & PMf_GLOBAL);
2078 if (c && (I32)clen <= rx->minlen && (once || !(r_flags & REXEC_COPY_STR))
2097 if (once) {
2223 if (once)
H A Dop.c15 * cousin. So Mr. Frodo is his first *and* second cousin, once removed
3642 int once = block && block->op_flags & OPf_SPECIAL && local
3646 if (once && expr->op_type == OP_CONST && !SvTRUE(((SVOP*)expr)->op_sv))
3647 return block; /* do {} while 0 does once */
3684 if (once && o != listop)
/osnet-11/usr/src/lib/libast/common/regex/
H A Dreglib.h551 unsigned char once; /* if 1st parse fails, quit */ member in struct:reglib_s

Completed in 59 milliseconds