Searched refs:mem (Results 1 - 9 of 9) 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/std/
H A Dpss-info.c42 int mem;
53 char* mem;
58 mem = "/dev/mem";
59 if ((fd = open(mem, O_RDONLY)) < 0)
62 (*pss->disc->errorf)(pss, pss->disc, ERROR_SYSTEM|2, "%s: cannot read", mem);
76 (*pss->disc->errorf)(pss, pss->disc, ERROR_SYSTEM|2, "%s: %lu: seek error", mem, a);
82 (*pss->disc->errorf)(pss, pss->disc, ERROR_SYSTEM|2, "%s: %lu entry read error", mem, n);
85 state->mem = fd;
155 lseek(state->mem, (unsigne
[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/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/lib/libjcl/
H A Dopen.c72 goto mem;
96 goto mem;
121 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);
/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/INIT/
H A Diffe.sh167 mem) mm="a member of $2" ;;
954 [+mem \astruct.member\a?Defines \b_mem_\b\amember\a\b_\b\astruct\a
2921 mem) case $p in
4100 mem) case $p in
4125 is mem $v "$p"
4401 struct xxx { $x$v mem; };
4495 struct xxx { $x$v mem; };
/ast/src/lib/libast/
H A DMakefile58 int.3 ip6.3 magic.3 mem.3 mime.3 modecanon.3 optget.3 path.3 \

Completed in 23 milliseconds