/openbsd-current/gnu/lib/libstdc++/libstdc++/libsupc++/ |
H A D | new_opv.cc | 34 operator new[] (std::size_t sz) throw (std::bad_alloc) argument 36 return ::operator new(sz);
|
H A D | new_opvnt.cc | 34 operator new[] (std::size_t sz, const std::nothrow_t& nothrow) throw() argument 36 return ::operator new(sz, nothrow);
|
H A D | new_op.cc | 41 operator new (std::size_t sz) throw (std::bad_alloc) argument 46 if (sz == 0) 47 sz = 1; 48 p = (void *) malloc (sz); 59 p = (void *) malloc (sz);
|
H A D | new_opnt.cc | 40 operator new (std::size_t sz, const std::nothrow_t&) throw() argument 45 if (sz == 0) 46 sz = 1; 47 p = (void *) malloc (sz); 62 p = (void *) malloc (sz);
|
/openbsd-current/gnu/gcc/libmudflap/testsuite/libmudflap.c/ |
H A D | fail10-frag.c | 7 int sz = sizeof (int); local 10 bar [sz * 10] = 0;
|
H A D | pass10-frag.c | 7 int sz = sizeof (int); local 10 bar [sz * 9] = 0;
|
/openbsd-current/gnu/gcc/libstdc++-v3/libsupc++/ |
H A D | new_opv.cc | 35 operator new[] (std::size_t sz) throw (std::bad_alloc) argument 37 return ::operator new(sz);
|
H A D | new_opvnt.cc | 35 operator new[] (std::size_t sz, const std::nothrow_t& nothrow) throw() argument 37 return ::operator new(sz, nothrow);
|
H A D | new_opnt.cc | 41 operator new (std::size_t sz, const std::nothrow_t&) throw() argument 46 if (sz == 0) 47 sz = 1; 48 p = (void *) malloc (sz); 63 p = (void *) malloc (sz);
|
H A D | new_op.cc | 50 operator new (std::size_t sz) throw (std::bad_alloc) argument 55 if (sz == 0) 56 sz = 1; 57 p = (void *) malloc (sz); 68 p = (void *) malloc (sz);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
H A D | anon3.C | 14 int sz; member in struct:cl::__anon6658::ff 19 void cl::set(void *p, char *n, int sz) argument 24 vff->sz = sz;
|
H A D | template40.C | 7 Array(int sz=12) argument 8 : ia (new Type[sz]), size(sz) {}
|
/openbsd-current/lib/libelf/ |
H A D | elf_getident.c | 36 elf_getident(Elf *e, size_t *sz) argument 51 if (sz) { 53 *sz = SARMAG; 55 *sz = EI_NIDENT; 57 *sz = (size_t) e->e_rawsize; 63 if (sz) 64 *sz = 0;
|
H A D | elf_memory.c | 34 elf_memory(char *image, size_t sz) argument 41 if (image == NULL || sz == 0) { 46 return (_libelf_memory((unsigned char *) image, sz, 1));
|
H A D | elf_rawfile.c | 34 elf_rawfile(Elf *e, size_t *sz) argument 45 if (sz) 46 *sz = e ? (size_t) e->e_rawsize : 0;
|
/openbsd-current/gnu/gcc/gcc/config/ |
H A D | host-darwin.c | 34 darwin_gt_pch_get_address (size_t sz, int fd ATTRIBUTE_UNUSED) argument 36 if (sz <= sizeof (pch_address_space)) 46 darwin_gt_pch_use_address (void *addr, size_t sz, int fd, size_t off) argument 55 ret = (addr == pch_address_space && sz <= sizeof (pch_address_space)); 57 sz = 0; 60 sz = (sz + pagesize - 1) / pagesize * pagesize; 62 if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) != 0) 67 mmap_result = mmap (addr, sz, [all...] |
H A D | host-darwin.h | 21 extern void * darwin_gt_pch_get_address (size_t sz, int fd); 22 extern int darwin_gt_pch_use_address (void *addr, size_t sz, int fd,
|
/openbsd-current/regress/lib/libc/malloc/malloc_general/ |
H A D | malloc_general.c | 34 struct { void *p; size_t sz; } a[N]; member in struct:__anon19 37 fill(u_char *p, size_t sz) argument 41 for (i = 0; i < sz; i++) 46 check(u_char *p, size_t sz) argument 50 for (i = 0; i < sz; i++) 60 size_t sz; local 76 check(a[i].p, a[i].sz); 80 sz = size(); 82 printf("M %zu=", sz); 85 a[i].p = r == 0 ? malloc_conceal(sz) [all...] |
/openbsd-current/regress/sys/uvm/mmap_size/ |
H A D | mmap_size.c | 15 f(size_t sz) argument 18 p = mmap(NULL, sz, PROT_READ|PROT_WRITE, 24 if (sz > 0) { 26 p[sz / 2] = 0; 27 p[sz - 1] = 0; 29 munmap(p, sz);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | dossier1.C | 12 int sz; member in class:Vector
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_placement_new.h | 20 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) { argument
|
/openbsd-current/usr.bin/rsync/ |
H A D | symlinks.c | 35 size_t sz; local 39 for (sz = PATH_MAX; ; sz *= 2) { 40 if ((pp = realloc(buf, sz + 1)) == NULL) { 47 if ((nsz = readlink(path, buf, sz)) == -1) { 55 } else if ((size_t)nsz < sz) 74 size_t sz; local 78 for (sz = PATH_MAX; ; sz *= 2) { 79 if ((pp = realloc(buf, sz [all...] |
/openbsd-current/usr.sbin/acme-client/ |
H A D | base64.c | 44 size_t i, sz; local 47 sz = base64len(len); 48 if ((buf = malloc(sz)) == NULL) 51 b64_ntop(data, len, buf, sz); 53 for (i = 0; i < sz; i++)
|
/openbsd-current/regress/sys/uvm/mmap_4g/ |
H A D | mmap_4g.c | 25 size_t i, sz; local 33 sz = sizeof(buf); 34 offset = 4LL * 1024LL * 1024LL * 1024LL - sz/2; 38 memset(buf, 0, sz); 39 if (write(fd, buf, sz) != sz) 50 for (i = 0; i < sz; i++) 52 if (munmap(p, sz) == -1) 59 if (read(fd, buf, sz) != sz) [all...] |
/openbsd-current/usr.sbin/rpki-client/ |
H A D | io.c | 52 io_simple_buffer(struct ibuf *b, const void *res, size_t sz) argument 54 if (ibuf_add(b, res, sz) == -1) 59 * Add a sz sized buffer into the io buffer. 62 io_buf_buffer(struct ibuf *b, const void *p, size_t sz) argument 64 if (ibuf_add(b, &sz, sizeof(size_t)) == -1) 66 if (sz > 0) 67 if (ibuf_add(b, p, sz) == -1) 77 size_t sz = (p == NULL) ? 0 : strlen(p); local 79 io_buf_buffer(b, p, sz); 96 * Read of an ibuf and extract sz byt 101 io_read_buf(struct ibuf *b, void *res, size_t sz) argument 117 size_t sz; local 136 io_read_buf_alloc(struct ibuf *b, void **res, size_t *sz) argument 178 size_t sz; local 237 size_t sz; local [all...] |