Searched defs:size_t (Results 1 - 25 of 144) sorted by relevance

123456

/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-for-malloc.h8 typedef __typeof(sizeof(int)) size_t; typedef
9 void *malloc(size_t);
10 void *calloc(size_t, size_t);
/external/clang/test/Misc/
H A Dfreebsd-arm-size_t.c4 /* Define a size_t as expected for FreeBSD ARM */
5 typedef unsigned int size_t; typedef
7 /* Declare a builtin function that uses size_t */
8 void *malloc(size_t);
/external/clang/test/Modules/Inputs/StdDef/
H A Dsize_t.h3 typedef __SIZE_TYPE__ size_t; typedef
/external/compiler-rt/SDKs/linux/usr/include/
H A Dstring.h20 typedef __SIZE_TYPE__ size_t; typedef
22 int memcmp(const void *, const void *, size_t);
23 void *memcpy(void *, const void *, size_t);
24 void *memset(void *, int, size_t);
28 size_t strlen(const char *);
29 char *strncpy(char *, const char *, size_t);
H A Dstdlib.h22 typedef __SIZE_TYPE__ size_t; typedef
31 void *malloc(size_t) __attribute__((__nothrow__)) __attribute((__malloc__))
33 void *realloc(void *, size_t) __attribute__((__nothrow__)) __attribute((__malloc__))
/external/clang/test/Analysis/
H A DMalloc+NewDelete_intersections.cpp4 typedef __typeof(sizeof(int)) size_t; typedef
5 void *malloc(size_t);
H A Dcstring-syntax.c3 typedef __SIZE_TYPE__ size_t; typedef
4 char *strncat(char *, const char *, size_t);
5 size_t strlen (const char *s);
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/
H A Dp2-noexceptions.cpp6 typedef __SIZE_TYPE__ size_t; typedef in namespace:std
11 void* operator new(std::size_t);
12 void* operator new[](std::size_t);
/external/clang/test/CXX/drs/
H A Ddr412.cpp10 __extension__ typedef __SIZE_TYPE__ size_t; typedef
13 inline void* operator new(size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
14 inline void* operator new[](size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}}
18 inline void operator delete(void*, size_t) NOEXCEPT; // expected-error {{cannot be declared 'inline'}}
19 inline void operator delete[](void*, size_t) NOEXCEPT; // expected-error {{cannot be declared 'inline'}}
/external/clang/test/CXX/expr/expr.unary/expr.new/
H A Dp20-0x.cpp2 typedef __SIZE_TYPE__ size_t; typedef
6 static void* operator new(size_t, size_t);
8 static void operator delete(void*, size_t); // expected-note{{declared here}}
/external/clang/test/CodeGen/
H A D2004-02-13-Memset.c3 typedef __SIZE_TYPE__ size_t; typedef
4 void *memset(void*, int, size_t);
5 void bzero(void*, size_t);
H A Dstack-protector.c10 typedef __SIZE_TYPE__ size_t; typedef
13 size_t strlen(const char *s);
H A Dalloca.c3 typedef __SIZE_TYPE__ size_t; typedef
4 void *alloca(size_t size);
/external/clang/test/Headers/
H A Dms-intrin.cpp16 // Intrin.h needs size_t, but -ffreestanding prevents us from getting it from
18 typedef __SIZE_TYPE__ size_t; typedef
/external/clang/test/Sema/
H A Darm-darwin-aapcs.cpp4 // ARM's AAPCS normally has size_t defined as unsigned int, but on Darwin
6 // size_t as unsigned long. Make sure that works.
7 typedef unsigned long size_t; typedef
8 void* malloc(size_t);
9 void* operator new(size_t size)
H A Dattr-bounded.c5 typedef unsigned long size_t; typedef
8 ssize_t read(int, void *, size_t)
10 int readlink(const char *, char *, size_t)
12 size_t fread(void *, size_t, size_t, FILE *)
H A Dformat-strings-int-typedefs.c9 printf("%zu", 42.0); // expected-warning {{format specifies type 'size_t' (aka 'unsigned long')}}
18 scanf("%zu", 0); // expected-warning {{format specifies type 'size_t *' (aka 'unsigned long *')}}
26 // typedef size_t et al. to something crazy.
27 typedef void *size_t; typedef
35 printf("%zu", (size_t)42); // expected-warning {{format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'size_t' (aka 'void *')}}
H A Dmemset-invalid-1.c4 typedef __SIZE_TYPE__ size_t; typedef
5 void *memset(void*, int, size_t);
/external/clang/test/SemaCXX/
H A Dwarn-memsize-comparison.cpp4 typedef __SIZE_TYPE__ size_t; typedef
5 extern "C" void *memset(void *, int, size_t);
6 extern "C" void *memmove(void *s1, const void *s2, size_t n);
7 extern "C" void *memcpy(void *s1, const void *s2, size_t n);
8 extern "C" void *memcmp(void *s1, const void *s2, size_t n);
9 extern "C" int strncmp(const char *s1, const char *s2, size_t n);
10 extern "C" int strncasecmp(const char *s1, const char *s2, size_t n);
11 extern "C" char *strncpy(char *dst, const char *src, size_t n);
12 extern "C" char *strncat(char *dst, const char *src, size_t n);
13 extern "C" char *strndup(const char *src, size_t
[all...]
H A Dattr-sentinel.cpp9 typedef __typeof__(sizeof(int)) size_t; typedef
14 void* operator new(size_t,...) __attribute__((sentinel)); // expected-note {{marked sentinel}}
H A Dconstexpr-strlen.cpp5 typedef decltype(sizeof(int)) size_t; typedef
6 extern size_t strlen(const char *p);
/external/compiler-rt/SDKs/darwin/usr/include/
H A Dstdlib.h22 typedef __SIZE_TYPE__ size_t; typedef
29 void *malloc(size_t);
30 void *realloc(void *, size_t);
H A Dstring.h20 typedef __SIZE_TYPE__ size_t; typedef
22 int memcmp(const void *, const void *, size_t);
23 void *memcpy(void *, const void *, size_t);
24 void *memset(void *, int, size_t);
28 size_t strlen(const char *);
29 char *strncpy(char *, const char *, size_t);
/external/chromium_org/third_party/yasm/source/patched-yasm/
H A Dlibyasm.h36 typedef unsigned long size_t; typedef
/external/clang/test/Analysis/diagnostics/
H A Dfalse-positive-suppression.c6 typedef __typeof(sizeof(int)) size_t; typedef
7 void *malloc(size_t);

Completed in 566 milliseconds

123456