/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfflsbuf.c | 41 int local, isall; local 43 SFMTXDECL(f); /* declare a local stream variable for multithreading */ 47 GETLOCAL(f,local); 51 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0) 53 SFLOCK(f,local); 67 { SFOPEN(f,local); 108 { SFOPEN(f,local); 119 SFOPEN(f,local);
|
H A D | sfnputc.c | 41 reg int local; local 46 GETLOCAL(f,local); 47 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0) 50 SFLOCK(f,local); 79 SFOPEN(f,local);
|
H A D | sfraise.c | 66 reg int local, rv; local 74 GETLOCAL(f,local); 76 !(local && 79 SFMODE(f,local) != (f->mode&SF_RDWR) && _sfmode(f,0,local) < 0) 81 SFLOCK(f,local); 105 SFOPEN(f,local);
|
H A D | sfexcept.c | 38 reg int ev, local, lock; local 45 GETLOCAL(f,local); 48 if(local && io <= 0) 53 if(local && lock) 61 if(local && lock) 77 if(local && io >= 0) 111 if(local && f->push &&
|
H A D | sfclose.c | 36 reg int local, ex, rv; local 42 GETLOCAL(f,local); 45 SFMODE(f,local) != (f->mode&SF_RDWR) && 46 SFMODE(f,local) != (f->mode&(SF_READ|SF_SYNCED)) && 47 _sfmode(f,SF_SYNCED,local) < 0) 74 if(f->disc && (ex = SFRAISE(f,local ? SF_NEW : SF_CLOSING,NIL(Void_t*))) != 0) 77 if(!local && f->pool) 105 if(f->data && (!local || (f->flags&SF_STRING) || (f->bits&SF_MMAP) ) ) 151 if(!local)
|
H A D | sffilbuf.c | 43 reg int first, local, rcrv, rc, justseek; local 48 GETLOCAL(f,local); 58 if(SFMODE(f,local) != SF_READ && _sfmode(f,SF_READ,local) < 0) 60 SFLOCK(f,local); 111 SFOPEN(f,local);
|
H A D | sfread.c | 40 reg int local, justseek; local 45 GETLOCAL(f,local); 84 if(SFMODE(f,local) != SF_READ && _sfmode(f,SF_READ,local) < 0) 89 SFLOCK(f,local); 137 SFOPEN(f,local);
|
H A D | sfwrite.c | 40 reg int local; local 45 GETLOCAL(f,local); 88 if(SFMODE(f,local) != SF_WRITE && _sfmode(f,SF_WRITE,local) < 0 ) 93 SFLOCK(f,local); 167 SFOPEN(f,local);
|
H A D | sfsk.c | 41 reg int local, mode; local 46 GETLOCAL(f,local); 47 if(!local && !(f->bits&SF_DCDOWN)) 87 if(local)
|
H A D | sfsync.c | 89 int local, rv, mode, lock; local 98 GETLOCAL(origf,local); 109 if((origf->mode&SF_RDWR) != SFMODE(origf,local) && _sfmode(origf,0,local) < 0) 119 SFLOCK(f,local); 161 SFOPEN(f,local); 168 if(!local && f && (f->mode&SF_POOL) && f->pool && f != f->pool->sf[0])
|
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tminit.c | 122 * return minutes west of GMT for local time clock 125 * this routine also kicks in the local initialization 138 * convert to GMT assuming local time 188 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0; 201 * initialize the local timezone 219 static Tm_zone_t local; local 251 local.standard = strdup(tzname[0]); 252 local.daylight = strdup(tzname[1]); 257 * tm_info.local 260 tm_info.zone = tm_info.local [all...] |
H A D | tmtype.c | 49 zp = tm_info.local; 53 if (zp == tm_info.local) zp = tm_data.zone;
|
H A D | tmzone.c | 68 zp = tm_info.local; 89 if (zp == tm_info.local)
|
/osnet-11/usr/src/lib/libast/common/hash/ |
H A D | hashdump.c | 143 if (root->local->alloc) sfprintf(sfstderr, "alloc=0x%08lx ", (unsigned long)root->local->alloc); 144 if (root->local->compare) sfprintf(sfstderr, "compare=0x%08lx ", (unsigned long)root->local->compare); 145 if (root->local->free) sfprintf(sfstderr, "free=0x%08lx ", (unsigned long)root->local->free); 146 if (root->local->hash) sfprintf(sfstderr, "hash=0x%08lx ", (unsigned long)root->local->hash); 147 if (root->local->region) sfprintf(sfstderr, "region=0x%08lx handle=0x%08lx ", (unsigned long)root->local [all...] |
H A D | hashlook.c | 104 if (!tab->root->local->compare) 121 if (!(*tab->root->local->compare)(hashname(b), name, tab->root->namesize)) goto found; 123 else if (!(*tab->root->local->compare)(hashname(b), name)) goto found; 172 if (tab->root->local->free && b->value) 174 (*tab->root->local->free)(b->value); 189 if (tab->root->local->free && (tab->root->flags & HASH_BUCKET)) (*tab->root->local->free)((char*)b); 192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local [all...] |
H A D | hashlib.h | 43 typedef struct /* root local pointers */ 66 Hash_local_t* local; /* root local pointers */ \ 84 #define HASH(r,n,h) if (r->local->hash) h = r->namesize ? (*r->local->hash)(n, r->namesize) : (*r->local->hash)(n);\
|
H A D | hashfree.c | 58 if (tab->root->local->free) 60 if (tab->root->flags & HASH_BUCKET) freebucket = tab->root->local->free; 61 else freevalue = tab->root->local->free; 63 if (region = tab->root->local->region) 64 handle = tab->root->local->handle; 134 if (tab->root->local) 135 free(tab->root->local);
|
H A D | hashalloc.c | 88 if (!(tab->root->local = newof(0, Hash_local_t, 1, 0))) 90 if (tab->root->local->region = region) 91 tab->root->local->handle = handle; 102 tab->root->local->alloc = va_arg(ap, Hash_alloc_f); 114 tab->root->local->compare = va_arg(ap, Hash_compare_f); 118 tab->root->local->free = va_arg(ap, Hash_free_f); 122 tab->root->local->hash = va_arg(ap, Hash_hash_f);
|
H A D | hashsize.c | 51 if (region = tab->root->local->region) 53 handle = tab->root->local->handle;
|
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmpool.c | 53 reg int local, inuse; local 64 if(!(local = vd->mode&VM_TRUST) ) 65 { GETLOCAL(vd,local); 66 if(ISLOCK(vd, local)) 70 SETLOCK(vd, local); 116 if(!local && (vd->mode&VM_TRACE) && _Vmtrace && tp) 119 CLRLOCK(vd, local); 120 ANNOUNCE(local, vm, VM_ALLOC, (Void_t*)tp, vm->disc); 139 reg int local, inuse; local 142 if(!(local 188 reg int local, inuse; local 236 int local, inuse; local [all...] |
H A D | vmlast.c | 47 reg int local, inuse; local 51 if(!(local = vd->mode&VM_TRUST)) 52 { GETLOCAL(vd,local); 53 if(ISLOCK(vd,local)) 57 SETLOCK(vd,local); 95 if(!local && (vd->mode&VM_TRACE) && _Vmtrace) 99 CLRLOCK(vd,local); 100 ANNOUNCE(local, vm, VM_ALLOC, (Void_t*)tp, vm->disc); 117 reg int local, inuse; local 123 if(!(local 176 reg int local, inuse; local 403 reg int local, inuse; local [all...] |
H A D | vmbest.c | 566 reg int local, inuse; local 571 if(!(local = vd->mode&VM_TRUST) ) 572 { GETLOCAL(vd,local); 573 if(ISLOCK(vd,local)) 577 SETLOCK(vd,local); 640 if(!local && _Vmtrace && (vd->mode&VM_TRACE) && VMETHOD(vd) == VM_MTBEST) 643 CLRLOCK(vd,local); /**/ASSERT(_vmbestcheck(vd, NIL(Block_t*)) == 0); 661 reg int local, inuse; local 670 if(!(local = vd->mode&VM_TRUST)) 671 { GETLOCAL(vd,local); /**/ASSER 792 reg int local, inuse; local 854 reg int local, inuse; local 936 int local, inuse; local 1122 reg int local, inuse; local [all...] |
H A D | vmprofile.c | 474 reg int line, local, inuse; local 480 if(!(local = vd->mode&VM_TRUST) ) 481 { GETLOCAL(vd, local); 482 if(ISLOCK(vd, local)) 486 SETLOCK(vd, local); 495 if(!local && (vd->mode&VM_TRACE) && _Vmtrace) 500 CLRLOCK(vd, local); 501 ANNOUNCE(local, vm, VM_ALLOC, (Void_t*)data, vm->disc); 517 reg int line, rv, local, inuse; local 527 if(!(local 581 reg int line, local, inuse; local 702 reg int line, local, inuse; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | context_establish.c | 109 * Compare if two channel bindings are the same. If the local binding is 110 * NULL then we always return TRUE. This indicates that the local host 115 gss_chanbind_cmp(gss_channel_bindings_t local, gss_channel_bindings_t remote) argument 117 if (local == NULL) 118 return (TRUE); /* local doesn't care so we won't either */ 123 if (local->initiator_addrtype != remote->initiator_addrtype) 126 if (local->initiator_addrtype != GSS_C_AF_NULLADDR) 127 if (gss_buffer_cmp(&local->initiator_address, 131 if (local->acceptor_addrtype != remote->acceptor_addrtype) 134 if (local [all...] |
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 9 * - changed functions not used outside this file to "local" 39 #ifndef local 40 # define local static macro 408 local void ct_init OF((deflate_state *s)); 409 local int ct_tally OF((deflate_state *s, int dist, int lc)); 410 local ulg ct_flush_block OF((deflate_state *s, charf *buf, ulg stored_len, 412 local void ct_align OF((deflate_state *s)); 413 local void ct_stored_block OF((deflate_state *s, charf *buf, ulg stored_len, 415 local void ct_stored_type_only OF((deflate_state *s)); 470 local cha [all...] |