Searched refs:region (Results 1 - 16 of 16) sorted by relevance

/ast/src/lib/libast/hash/
H A Dhashfree.c50 Hash_region_f region; local
63 if (region = tab->root->local->region)
79 if (region) (*region)(handle, p->name, 0, 0);
84 if (region) (*region)(handle, p, 0, 0);
96 if (region) (*region)(handle, tab->table, 0, 0);
100 else region
[all...]
H A Dhashsize.c46 Hash_region_f region; local
51 if (region = tab->root->local->region)
54 new_s = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * size, 0);
77 if (region) (*region)(handle, tab->table, 0, 0);
H A Dhashalloc.c50 Hash_region_f region = 0; local
62 region = va_arg(ap, Hash_region_f);
65 if (!(tab = (Hash_table_t*)(*region)(handle, NiL, sizeof(Hash_table_t), 0)))
80 if (region)
82 if (!(tab->root = (Hash_root_t*)(*region)(handle, NiL, sizeof(Hash_root_t), 0)))
90 if (tab->root->local->region = region)
170 if (region)
172 if (!(tab->table = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * tab->size, 0)))
184 if (!region)
[all...]
H A Dhashlook.c192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, b, 0, 0);
197 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0);
231 if (!(t = tab->root->local->region ? (char*)(*tab->root->local->region)(tab->root->local->handle, NiL, m, 0) : (char*)malloc(m)))
239 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0);
307 if (tab->root->local->region)
309 if (!(b = (Hash_bucket_t*)(*tab->root->local->region)(ta
[all...]
H A Dhashlib.h49 Hash_region_f region; /* region alloc/free routine */ member in struct:__anon262
50 void* handle; /* region handle arg */
H A Dhashdump.c147 if (root->local->region) sfprintf(sfstderr, "region=0x%08lx handle=0x%08lx ", (unsigned long)root->local->region, (unsigned long)root->local->handle);
/ast/src/lib/libtk/unix/
H A DtkUnixDraw.c25 TkRegion region; /* Region into which damage is accumulated. */ member in struct:ScrollInfo
75 info.region = damageRgn;
103 * information into a single damage region. It accumulates damage
141 XUnionRectWithRegion(&rect, (Region) info->region,
142 (Region) info->region);
161 XUnionRectWithRegion(&rect, (Region) info->region,
162 (Region) info->region);
165 XUnionRectWithRegion(&rect, (Region) info->region,
166 (Region) info->region);
/ast/src/lib/libast/disc/
H A Dmemfatal.c48 nomalloc(Vmalloc_t* region, int type, void* obj, Vmdisc_t* disc) argument
61 vmstat(region, &st);
62 error(ERROR_SYSTEM|3, "storage allocator out of space on %lu byte request ( region %lu segments %lu busy %lu:%lu:%lu free %lu:%lu:%lu )", (size_t)obj, st.extent, st.n_seg, st.n_busy, st.s_busy, st.m_busy, st.n_free, st.s_free, st.m_free);
/ast/src/lib/libast/misc/
H A Dsigcrit.c27 * signal critical region support
38 signals[] = /* held inside critical region */
86 * critical signal region handler
88 * op>0 new region according to SIG_REG_*, return region level
89 * op==0 pop region, return region level
90 * op<0 return non-zero if any signals held in current region
92 * signals[] held until region popped
99 static int region; local
[all...]
/ast/src/lib/libcmd/
H A Dvmstate.c23 #define FORMAT "region=%(region)p method=%(method)s flags=%(flags)s size=%(size)d segments=%(segments)d busy=(%(busy_size)d,%(busy_blocks)d,%(busy_max)d) free=(%(free_size)d,%(free_blocks)d,%(free_max)d)"
28 "[+NAME?vmstate - list the calling process vmalloc region state]"
39 "[+size?The total region size.]"
40 "[+segments?The number of segments in the region.]"
61 Vmalloc_t* region[256]; member in struct:State_s
77 else if (streq(s, "region"))
144 if (state->regions < elementsof(state->region))
145 state->region[state->regions++] = vm;
187 * now we can compute and list the state of each region
[all...]
/ast/src/cmd/mailx/
H A Dlocal.c436 * signal critical region support
444 signals[] = /* held inside critical region */
474 * critical signal region handler
476 * op>0 new region according to SIG_REG_*, return region level
477 * op==0 pop region, return region level
478 * op<0 return non-zero if any signals held in current region
480 * signals[] held until region popped
489 static int region; local
[all...]
H A Dimap.c1659 vmexcept(Vmalloc_t* region, int type, void* obj, Vmdisc_t* disc) argument
1670 vmstat(region, &st);
1671 note(ERROR, "imap: storage allocator out of space on %lu byte request ( region %lu segments %lu busy %lu:%lu:%lu free %lu:%lu:%lu )", (size_t)obj, st.extent, st.n_seg, st.n_busy, st.s_busy, st.m_busy, st.n_free, st.s_free, st.m_free);
/ast/src/lib/libpz/
H A Dpzopen.c37 nomalloc(Vmalloc_t* region, int type, void* obj, Vmdisc_t* disc) argument
51 vmstat(region, &st);
52 (*pz->disc->errorf)(pz, pz->disc, ERROR_SYSTEM|2, "storage allocator out of space on %lu byte request ( region %lu segments %lu busy %lu:%lu:%lu free %lu:%lu:%lu )", (size_t)obj, st.extent, st.n_seg, st.n_busy, st.s_busy, st.m_busy, st.n_free, st.s_free, st.m_free);
/ast/src/lib/libast/vmalloc/
H A Dvmprofile.c44 #define PFREGION(pf) ((pf)->data.data.region)
52 Vmulong_t max; /* max busy space for region */
54 Vmalloc_t* vm; /* region alloc from */
55 Pfobj_t* region; /* pointer to region record */ member in struct:_pfdata_s
79 Vmalloc_t* vm; /* region allocating from */
134 /* get region record; note that these are ordered by vm */
191 /* free all records related to region vm */
223 /* let vmclose knows that there are records for region vm */
239 { /* update region statistic
[all...]
/ast/src/lib/libtk/generic/
H A DtkInt.h577 TkRegion region; member in union:TkpClipMask::__anon408
H A DtkTextDisp.c342 TkRegion region));
1658 * the whole region.
1692 int leftX; /* The left edge of the region we're
2406 * region of a text widget. The redisplay itself may not occur
2452 * Mark a region of text as invalid.
2464 TextInvalidateRegion(textPtr, region)
2466 TkRegion region; /* Region of area to redraw. */
2474 * Find all lines that overlap the given region and mark them for
2478 TkClipBox(region, &rect);
2482 if ((dlPtr->oldY != -1) && (TkRectInRegion(region, rec
[all...]

Completed in 37 milliseconds