Searched refs:local (Results 1 - 25 of 112) sorted by relevance

12345

/ast/src/lib/libz/
H A Dtrees.h52 local const ct_data static_ltree[L_CODES+2] = {
113 local const ct_data static_dtree[D_CODES] = {
167 local const int base_length[LENGTH_CODES] = {
172 local const int base_dist[D_CODES] = {
H A Dcrc32.c31 #define local static macro
58 local unsigned long crc32_little OF((unsigned long,
60 local unsigned long crc32_big OF((unsigned long,
68 local unsigned long gf2_matrix_times OF((unsigned long *mat,
70 local void gf2_matrix_square OF((unsigned long *square, unsigned long *mat));
74 local volatile int crc_table_empty = 1;
75 local unsigned long FAR crc_table[TBLS][256];
76 local void make_crc_table OF((void));
78 local void write_table OF((FILE *, const unsigned long FAR *));
106 local voi
[all...]
H A Dtrees.c61 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */
64 local const int extra_dbits[D_CODES] /* extra bits for each distance code */
67 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */
70 local const uch bl_order[BL_CODES]
90 local ct_data static_ltree[L_CODES+2];
97 local ct_data static_dtree[D_CODES];
111 local int base_length[LENGTH_CODES];
114 local int base_dist[D_CODES];
129 local static_tree_desc static_l_desc =
132 local static_tree_des
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmpool.c42 static Void_t* poolalloc(Vmalloc_t* vm, reg size_t size, int local) argument
44 static Void_t* poolalloc(vm, size, local )
47 int local;
64 SETLOCK(vm, local);
105 if(!local && (vd->mode&VM_TRACE) && _Vmtrace && tp)
108 CLRLOCK(vm, local);
114 static long pooladdr(Vmalloc_t* vm, reg Void_t* addr, int local) argument
116 static long pooladdr(vm, addr, local)
119 int local;
129 SETLOCK(vm, local);
232 poolsize(Vmalloc_t* vm, Void_t* addr, int local) argument
244 poolcompact(Vmalloc_t* vm, int local) argument
282 poolalign(Vmalloc_t* vm, size_t size, size_t align, int local) argument
[all...]
H A Dvmlast.c36 static Void_t* lastalloc(Vmalloc_t* vm, size_t size, int local) argument
38 static Void_t* lastalloc(vm, size, local)
41 int local;
50 SETLOCK(vm, local);
82 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
86 CLRLOCK(vm, local);
92 static int lastfree(Vmalloc_t* vm, reg Void_t* data, int local )
94 static int lastfree(vm, data, local)
97 int local;
108 SETLOCK(vm, local);
135 lastresize(Vmalloc_t* vm, reg Void_t* data, size_t size, int type, int local) argument
271 lastaddr(Vmalloc_t* vm, Void_t* addr, int local) argument
294 lastsize(Vmalloc_t* vm, Void_t* addr, int local) argument
319 lastcompact(Vmalloc_t* vm, int local) argument
356 lastalign(Vmalloc_t* vm, size_t size, size_t align, int local) argument
[all...]
H A Dvmprofile.c464 static Void_t* pfalloc(Vmalloc_t* vm, size_t size, int local) argument
466 static Void_t* pfalloc(vm, size, local)
469 int local;
481 SETLOCK(vm, local);
487 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
493 CLRLOCK(vm, local);
499 static int pffree(Vmalloc_t* vm, Void_t* data, int local) argument
501 static int pffree(vm, data, local)
504 int local;
519 SETLOCK(vm,local);
545 pfresize(Vmalloc_t* vm, Void_t* data, size_t size, int type, int local) argument
621 pfsize(Vmalloc_t* vm, Void_t* addr, int local) argument
633 pfaddr(Vmalloc_t* vm, Void_t* addr, int local) argument
645 pfcompact(Vmalloc_t* vm, int local) argument
656 pfalign(Vmalloc_t* vm, size_t size, size_t align, int local) argument
[all...]
/ast/src/lib/libast/tm/
H A Dtminit.c123 * return minutes west of GMT for local time clock
126 * this routine also kicks in the local initialization
139 * convert to GMT assuming local time
189 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0;
202 * initialize the local timezone
220 static Tm_zone_t local; local
252 local.standard = strdup(tzname[0]);
253 local.daylight = strdup(tzname[1]);
258 * tm_info.local
261 tm_info.zone = tm_info.local
[all...]
H A Dtmtype.c49 zp = tm_info.local;
53 if (zp == tm_info.local) zp = tm_data.zone;
/ast/src/lib/libast/sfio/
H A Dsfnputc.c41 reg int local; local
42 SFMTXDECL(f); /* declare a local stream variable for multithreading */
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 Dsfraise.c66 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 Dsfflsbuf.c41 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);
68 { SFOPEN(f,local);
109 { SFOPEN(f,local);
120 SFOPEN(f,local);
H A Dsfexcept.c38 reg int ev, local, lock; local
41 SFMTXDECL(f); /* declare a local stream variable for multithreading */
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 Dsfclose.c36 reg int local, ex, rv; local
38 SFMTXDECL(f); /* declare a local stream variable for multithreading */
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) ) )
159 if(!local)
[all...]
H A Dsffilbuf.c43 reg int first, local, rcrv, rc, justseek; local
44 SFMTXDECL(f); /* declare a local stream variable for multithreading */
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 Dsfread.c40 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 Dsfwrite.c40 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);
/ast/src/lib/libast/hash/
H A Dhashdump.c143 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 Dhashlook.c104 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 Dhashlib.h43 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 Dhashfree.c58 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 Dhashalloc.c88 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);
/ast/src/cmd/nmake/
H A DSCCS.mk13 local ( I O ) $(%)
/ast/src/cmd/coshell/
H A DCOSHELL.mk10 local A AX C D I R S SX H=local P=fdp
26 else if I == "local?(=*)"
27 H := local
/ast/src/lib/libcs/
H A Dcsaddr.c36 static unsigned long local; variable
61 messagef((state->id, NiL, -8, "realaddr(%s) = %s, flags = |%s%s%s", name, csntoa(state, local), (state->flags & CS_ADDR_LOCAL) ? "LOCAL|" : "", (state->flags & CS_ADDR_REMOTE) ? "REMOTE|" : "", (state->flags & CS_ADDR_SHARE) ? "SHARE|" : ""));
62 return local;
88 if (local == CS_LOCAL)
94 local = addr.l;
97 addr.l = local;
105 * local conversion
120 if (local == CS_LOCAL)
121 local = addr.l;
123 addr.l = local;
[all...]
/ast/src/cmd/INIT/
H A DCONVERT.mk116 local D
128 local N V
149 local I
157 local I
164 local F T I A
210 local A D F
230 local ( D F ) $(>)
231 local A
245 local T I
257 local
[all...]

Completed in 77 milliseconds

12345