Searched refs:size (Results 1 - 25 of 7979) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/init/
H A Dstatic1.C2 static const int size = BOGUS; // { dg-error "" } member in struct:A
4 const int A::size; member in class:A
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dggc-none.c30 ggc_alloc (size)
31 size_t size;
33 return xmalloc (size);
37 ggc_alloc_cleared (size)
38 size_t size;
40 return xcalloc (size, 1);
44 ggc_realloc (x, size)
46 size_t size;
48 return xrealloc (x, size);
/openbsd-current/gnu/gcc/libgomp/
H A Dalloc.c37 gomp_malloc (size_t size) argument
39 void *ret = malloc (size);
41 gomp_fatal ("Out of memory allocating %lu bytes", (unsigned long) size);
46 gomp_malloc_cleared (size_t size) argument
48 void *ret = calloc (1, size);
50 gomp_fatal ("Out of memory allocating %lu bytes", (unsigned long) size);
55 gomp_realloc (void *old, size_t size) argument
57 void *ret = realloc (old, size);
59 gomp_fatal ("Out of memory allocating %lu bytes", (unsigned long) size);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D921116-2.c5 f(size)
8 g(&(event.l[2 + size]), (3 - size) * 4);
H A D20000314-2.c1 extern void malloc(__SIZE_TYPE__ size);
H A D20010605-1.c4 int size = 10; local
7 char val[size];
/openbsd-current/gnu/llvm/clang/tools/scan-build-py/tests/functional/src/
H A Dclean-two.c7 unsigned int const size = do_nothing_loop(); local
8 unsigned int const square = size * size;
/openbsd-current/gnu/gcc/fixincludes/tests/base/
H A Dregexp.h13 static int size; variable
/openbsd-current/lib/libusbhid/
H A Dusbvar.h31 uint32_t size; member in struct:report_desc
/openbsd-current/gnu/gcc/gcc/
H A Dggc-none.c37 ggc_alloc_typed_stat (enum gt_types_enum ARG_UNUSED (gte), size_t size
40 return xmalloc (size);
44 ggc_alloc_stat (size_t size MEM_STAT_DECL)
46 return xmalloc (size);
50 ggc_alloc_cleared_stat (size_t size MEM_STAT_DECL)
52 return xcalloc (size, 1);
56 ggc_realloc_stat (void *x, size_t size MEM_STAT_DECL)
58 return xrealloc (x, size);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/noncompile/
H A D20020220-1.c10 int size = 2; local
11 int i = foo (s, s + size); /* { dg-error "redeclaration of" } */
/openbsd-current/regress/sys/kern/sosplice/tcp/
H A Dargs-short.pl1 # test copy with short block size
8 size => 17,
/openbsd-current/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_interceptors_memintrinsics.cpp19 void *__memprof_memcpy(void *to, const void *from, uptr size) { argument
20 MEMPROF_MEMCPY_IMPL(to, from, size);
23 void *__memprof_memset(void *block, int c, uptr size) { argument
24 MEMPROF_MEMSET_IMPL(block, c, size);
27 void *__memprof_memmove(void *to, const void *from, uptr size) { argument
28 MEMPROF_MEMMOVE_IMPL(to, from, size);
H A Dmemprof_interceptors_memintrinsics.h21 DECLARE_REAL(void *, memcpy, void *to, const void *from, uptr size)
22 DECLARE_REAL(void *, memset, void *block, int c, uptr size)
30 #define ACCESS_MEMORY_RANGE(offset, size) \
32 __memprof_record_access_range(offset, size); \
38 #define MEMPROF_MEMCPY_IMPL(to, from, size) \
41 return internal_memcpy(to, from, size); \
43 return REAL(memcpy)(to, from, size); \
46 MEMPROF_READ_RANGE(from, size); \
47 MEMPROF_WRITE_RANGE(to, size); \
48 return REAL(memcpy)(to, from, size); \
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dduff-2.c22 cksum (const unsigned char *src, unsigned long size) argument
26 switch (size & 3)
28 while (size > 0)
32 --size;
35 --size;
38 --size;
41 --size;
/openbsd-current/sys/arch/sparc64/stand/ofwboot/
H A Dalloc.c60 * Each block actually has ALIGN(struct ml) + ALIGN(size) bytes allocated
64 * allocated or unallocated: holds size of user-data part of block.
71 * ALIGN(data size) - 1)
76 * However, note that ALIGN(sizeof(struct ml)) + ALIGN(data size) must
85 unsigned size; member in struct:ml
95 alloc(unsigned size) argument
98 unsigned bestsize = 0xffffffff; /* greater than any real size */
103 printf("alloc(%u)", size);
110 size = ALIGN(size)
174 free(void *ptr, unsigned size) argument
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/java/
H A Dbuffer.c30 buffer_grow (bufp, size)
32 int size;
34 if (bufp->limit - bufp->ptr >= size)
38 if (size < 120)
39 size = 120;
40 bufp->data = xmalloc (size);
46 size += 2 * (bufp->limit - bufp->data);
47 bufp->data = xrealloc (bufp->data, size);
50 bufp->limit = bufp->data + size;
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_checks.h41 // two and that the size is a multiple of alignment for POSIX implementation,
42 // and a bit relaxed requirement for non-POSIX ones, that the size is a multiple
44 inline bool CheckAlignedAllocAlignmentAndSize(uptr alignment, uptr size) { argument
47 (size & (alignment - 1)) == 0;
49 return alignment != 0 && size % alignment == 0;
60 // Returns true if calloc(size, n) call overflows on size*n calculation.
61 inline bool CheckForCallocOverflow(uptr size, uptr n) { argument
62 if (!size)
65 return (max / size) <
70 CheckForPvallocOverflow(uptr size, uptr page_size) argument
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dbuiltin-constant.c22 int size = sizeof (int); local
23 foo (btest (size));
24 foo (btest (size));
H A D921202-1.c13 long size; local
17 size = VLEN;
18 mpn_random2 (s1, size);
23 dy[size] = 0x12345678;
26 cyy = mpn_mul_1 (dy, s1, size);
28 if (cyx != cyy || mpn_cmp (dx, dy, size + 1) != 0 || dx[size] != 0x12345678)
30 foo ("", 8, cyy); mpn_print (dy, size);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.ext/
H A Dpretty.C11 // This is the size of array.
20 SVTable (int size, const char *d);
28 SVTable::SVTable (int size, const char *d) argument
29 : maxCount (size), count (0)// , Debug (d)
31 if (size < 0)
33 fatal_error ("%s: Invalid size: %d\n", __PRETTY_FUNCTION__, size);
36 array = (SV **) new SV * [size];
/openbsd-current/sys/lib/libsa/
H A Dalloc.c93 * Each block actually has ALIGN(unsigned) + ALIGN(size) bytes allocated
97 * allocated or unallocated: holds size of user-data part of block.
103 * ALIGN(sizeof(unsigned)) ... (ALIGN(sizeof(unsigned)) + ALIGN(data size) - 1)
108 * However, note that ALIGN(sizeof(unsigned)) + ALIGN(data size) must
116 unsigned size; member in struct:fl
133 alloc(unsigned int size) argument
137 unsigned bestsize = 0xffffffff; /* greater than any real size */
147 printf("alloc(%u)", size);
151 while (*f != NULL && (*f)->size < size)
214 free(void *ptr, unsigned int size) argument
[all...]
/openbsd-current/sys/arch/armv7/exynos/
H A Dexdisplayvar.h17 int exdisplay_cnattach(bus_space_tag_t iot, bus_addr_t iobase, size_t size);
/openbsd-current/usr.sbin/tcpdump/
H A Dsavestr.c40 size_t size; local
45 size = strlen(str) + 1;
46 if (size > strsize) {
48 if (strsize < size)
49 strsize = size;
56 (void)strlcpy(strptr, str, size);
58 strptr += size;
59 strsize -= size;
/openbsd-current/lib/libexpat/tests/
H A Dmemcheck.h43 void *tracking_malloc(size_t size);
45 void *tracking_realloc(void *ptr, size_t size);

Completed in 147 milliseconds

1234567891011>>