Searched defs:mem (Results 1 - 5 of 5) sorted by relevance

/ast/src/cmd/tests/vmalloc/
H A Dtmalloc.c26 Void_t *mem; local
48 mem = 0;
49 if(posix_memalign(&mem, 3, 128) != EINVAL)
51 if(mem)
54 if(posix_memalign(&mem, 3*sizeof(Void_t*), 128) != EINVAL)
56 if(mem)
59 if(posix_memalign(&mem, (sizeof(Void_t*)<<4), 128) != 0 )
61 if(!mem)
/ast/src/cmd/dsslib/ip_t/
H A Dire.c134 int mem; local
192 mem = 0;
195 if (++mem > tuple)
196 mem = 1;
204 if (mem != 1)
212 mem = 0;
217 if (++mem == tuple)
219 mem = 0;
255 if (mem != 1)
372 if (mem >
[all...]
/ast/src/cmd/paxlib/zip/
H A Dzip.c95 Dt_t* mem; member in struct:Ar_s
130 Mem_t* mem; local
149 if (!(ar->mem = dtnew(ar->vm, &ar->memdisc, Dtset)))
165 if (!(mem = vmnewof(ar->vm, 0, Mem_t, 1, n)))
170 mem->encoded = swapget(3, &hdr[ZIP_CEN_SIZ], 4);
171 mem->decoded = swapget(3, &hdr[ZIP_CEN_LEN], 4);
172 mem->checksum = swapget(3, &hdr[ZIP_CEN_CRC], 4);
175 if (paxread(pax, ap, mem->name, (off_t)n, (off_t)0, 0) <= 0)
181 if (mem->name[n - 1] == '/')
183 mem
216 Mem_t* mem; local
[all...]
/ast/src/lib/libast/vmalloc/
H A Dmalloc.c659 Void_t *mem; local
664 if(!(mem = memalign(align, size)) )
667 *memptr = mem;
/ast/src/cmd/builtin/
H A Dod.c708 Mem_t mem; local
710 swapmem(state->swap ^ int_swap, u, mem.m_char, fp->size.internal);
711 sfprintf(op, fp->form, mem.m_float);
717 Mem_t mem; local
719 swapmem(state->swap ^ int_swap, u, mem.m_char, fp->size.internal);
720 sfprintf(op, fp->form, mem.m_double);
728 Mem_t mem; local
730 swapmem(state->swap ^ int_swap, u, mem.m_char, fp->size.internal);
731 sfprintf(op, fp->form, mem.m_long_double);

Completed in 34 milliseconds