/external/e2fsprogs/lib/blkid/ |
tst_types.c | 20 if (sizeof(__u8) != 1) { 21 printf("Sizeof(__u8) is %d should be 1\n", 22 (int)sizeof(__u8)); 25 if (sizeof(__s8) != 1) { 26 printf("Sizeof(_s8) is %d should be 1\n", 27 (int)sizeof(__s8)); 30 if (sizeof(__u16) != 2) { 31 printf("Sizeof(__u16) is %d should be 2\n", 32 (int)sizeof(__u16)); 35 if (sizeof(__s16) != 2) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tst_types.c | 20 if (sizeof(__u8) != 1) { 21 printf("Sizeof(__u8) is %d should be 1\n", 22 (int)sizeof(__u8)); 25 if (sizeof(__s8) != 1) { 26 printf("Sizeof(_s8) is %d should be 1\n", 27 (int)sizeof(__s8)); 30 if (sizeof(__u16) != 2) { 31 printf("Sizeof(__u16) is %d should be 2\n", 32 (int)sizeof(__u16)); 35 if (sizeof(__s16) != 2) [all...] |
/external/clang/test/Parser/ |
function-decls.c | 6 X = sizeof(void (*(*)())()); 7 X = sizeof(int(*)(int, float, ...)); 8 X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
|
/external/clang/test/Sema/ |
warn-sizeof-arrayarg.c | 14 (void)sizeof(a); // \ 15 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int [10]'}} 16 (void)sizeof((((a)))); // \ 17 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int [10]'}} 18 (void)sizeof a; // \ 19 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'int [10]'}} 20 (void)sizeof arr; // \ 21 // expected-warning{{sizeof on array function parameter will return size of 'int *' instead of 'Arr' (aka 'int [10]')}} 25 (void)sizeof b; 27 (void)sizeof brr [all...] |
expr-comma-c99.c | 9 int A[sizeof((foo().c)) == 17 ? 1 : -1]; 10 int B[sizeof((a.c)) == 17 ? 1 : -1]; 14 int X[sizeof(0, (foo().c)) == sizeof(char*) ? 1 : -1]; 15 int Y[sizeof(0, (a,b).c) == sizeof(char*) ? 1 : -1]; 16 int Z[sizeof(0, (a=b).c) == sizeof(char*) ? 1 : -1];
|
void_arg.c | 9 X = sizeof(int (void a)); // expected-error {{argument may not have 'void' type}} 10 X = sizeof(int (int, void)); // expected-error {{must be the first and only parameter}} 11 X = sizeof(int (void, ...)); // expected-error {{must be the first and only parameter}} 13 X = sizeof(int (Void a)); // expected-error {{argument may not have 'void' type}} 14 X = sizeof(int (int, Void)); // expected-error {{must be the first and only parameter}} 15 X = sizeof(int (Void, ...)); // expected-error {{must be the first and only parameter}} 18 X = sizeof(int (void)); 19 X = sizeof(int (Void));
|
darwin-align-cast.c | 11 sys/socket.h:#define CMSG_SPACE(l) (__DARWIN_ALIGN(sizeof(struct 20 char control[(((__darwin_size_t)((char *)(sizeof(struct cmsghdr)) + (sizeof(__darwin_size_t) - 1)) &~ (sizeof(__darwin_size_t) - 1)) + ((__darwin_size_t)((char *)(sizeof(int)) + (sizeof(__darwin_size_t) - 1)) &~ (sizeof(__darwin_size_t) - 1)))];
|
expr-comma.c | 9 int A[sizeof((foo().c)) == 17 ? 1 : -1]; 10 int B[sizeof((a.c)) == 17 ? 1 : -1]; 14 int W[sizeof(0, a.c) == sizeof(char*) ? 1 : -1]; 15 int X[sizeof(0, (foo().c)) == 17 ? 1 : -1]; 16 int Y[sizeof(0, (a,b).c) == 17 ? 1 : -1]; 17 int Z[sizeof(0, (a=b).c) == 17 ? 1 : -1];
|
/external/icu4c/samples/layout/ |
arraymem.h | 12 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 14 #define ARRAY_COPY(dst, src, count) memcpy((void *) (dst), (void *) (src), (count) * sizeof (src)[0]) 16 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type)) 20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/clang/test/SemaCXX/ |
warn-memset-bad-sizeof.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-sizeof-array-argument %s 22 memcpy(&dest, &source, sizeof(dest)); 37 memset(&s, 0, sizeof(&s)); // \ 38 // expected-warning {{argument to 'sizeof' in 'memset' call is the same expression as the destination}} 39 memset(ps, 0, sizeof(ps)); // \ 40 // expected-warning {{argument to 'sizeof' in 'memset' call is the same expression as the destination}} 41 memset(ps2, 0, sizeof(ps2)); // \ 42 // expected-warning {{argument to 'sizeof' in 'memset' call is the same expression as the destination}} 43 memset(ps2, 0, sizeof(typeof(ps2))); // \ 44 // expected-warning {{argument to 'sizeof' in 'memset' call is the same pointer type} [all...] |
warn-bad-memaccess.cpp | 23 memset(&x1, 0, sizeof x1); // \ 26 memset(&x2, 0, sizeof x2); // \ 30 memmove(&x1, 0, sizeof x1); // \ 33 memmove(0, &x1, sizeof x1); // \ 36 memcpy(&x1, 0, sizeof x1); // \ 39 memcpy(0, &x1, sizeof x1); // \ 42 memcmp(&x1, 0, sizeof x1); // \ 45 memcmp(0, &x1, sizeof x1); // \ 49 __builtin_memset(&x1, 0, sizeof x1); // \ 52 __builtin_memset(&x2, 0, sizeof x2); // [all...] |
/external/e2fsprogs/config/ |
parse-types.sh | 32 if (sizeof(__U8_TYPEDEF) != 1) { 33 printf("Sizeof(__U8__TYPEDEF) is %d should be 1\n", 34 sizeof(__U8_TYPEDEF)); 41 if (sizeof(__S8_TYPEDEF) != 1) { 42 printf("Sizeof(_S8__TYPEDEF) is %d should be 1\n", 43 sizeof(__S8_TYPEDEF)); 50 if (sizeof(__U16_TYPEDEF) != 2) { 51 printf("Sizeof(__U16__TYPEDEF) is %d should be 2\n", 52 sizeof(__U16_TYPEDEF)); 59 if (sizeof(__S16_TYPEDEF) != 2) [all...] |
/external/clang/test/Sema/Inputs/ |
conversion.h | 4 #define SETBIT(set,bit) do { int i = bit; set[i/(8*sizeof(set[0]))] |= (1 << (i%(8*sizeof(set)))); } while(0)
|
/external/clang/test/SemaTemplate/ |
instantiate-array.cpp | 15 static_assert(sizeof(IntArray<10>) == sizeof(int) * 10, "Array size mismatch"); 16 static_assert(sizeof(IntArray<1>) == sizeof(int) * 1, "Array size mismatch"); 22 static_assert(sizeof(TenElementArray<int>) == sizeof(int) * 10, "Array size mismatch"); 28 static_assert(sizeof(Array<int, 10>) == sizeof(int) * 10, "Array size mismatch");
|
dependent-sized_array.cpp | 6 unsigned numAs = sizeof(a) / sizeof(int); 16 int a3[sizeof(a1)/sizeof(int) != 4? 1 : -1]; // expected-error{{negative}}
|
/external/kernel-headers/original/asm-x86/ |
siginfo.h | 5 # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/asm/ |
siginfo.h | 5 # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
/external/clang/test/CodeGen/ |
variable-array.c | 7 return sizeof(*(puts("asdf"),y)); 12 return sizeof(*(char(*)[puts("asdf")])0); 18 return sizeof(*y);
|
/development/tools/emulator/opengl/system/GLESv1_enc/ |
gl.attrib | 8 len equation (4 * sizeof(float)) 12 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 17 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 22 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 27 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 32 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 37 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 41 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 45 len params (glUtilsParamSize(pname) * sizeof(GLfloat)) 49 len m (16 * sizeof(GLfloat) [all...] |
/external/oprofile/libabi/ |
op_abi.c | 23 { "sizeof_double", sizeof(double) }, 24 { "sizeof_time_t", sizeof(time_t) }, 25 { "sizeof_u8", sizeof(u8) }, 26 { "sizeof_u32", sizeof(u32) }, 27 { "sizeof_int", sizeof(int) }, 28 { "sizeof_unsigned_int", sizeof(unsigned int) }, 29 { "sizeof_odb_key_t", sizeof(odb_key_t) }, 30 { "sizeof_odb_index_t", sizeof(odb_index_t) }, 31 { "sizeof_odb_value_t", sizeof(odb_value_t) }, 32 { "sizeof_odb_node_nr_t", sizeof(odb_node_nr_t) } [all...] |
/external/valgrind/main/memcheck/tests/ |
partial_load.c | 11 assert(sizeof(long) == sizeof(void*)); 14 p = calloc( sizeof(long)-1, 1 ); 20 p = calloc( sizeof(long), 1 ); 28 p = calloc( sizeof(short)-1, 1 ); 34 p = calloc( sizeof(long), 1 );
|
/external/clang/test/CodeGenCXX/ |
new-with-default-arg.cpp | 5 void* operator new(__typeof(sizeof(int))); 14 void* operator new(__typeof(sizeof(int)), int = 1, int = 4); 24 void* operator new(__typeof(sizeof(int)), int, int = 4);
|
/bionic/libc/unistd/ |
eventfd.c | 9 int ret = read(fd, counter, sizeof(*counter)); 11 if (ret == sizeof(*counter)) 19 int ret = write(fd, &counter, sizeof(counter)); 21 if (ret == sizeof(counter))
|
/development/tools/emulator/opengl/system/renderControl_enc/ |
renderControl.attrib | 7 len major sizeof(EGLint) 9 len minor sizeof(EGLint) 21 len numAttribs sizeof(uint32_t) 32 len configs configs_size*sizeof(uint32_t)
|
/external/chromium/base/third_party/dmg_fp/ |
gcc_64_bit.patch | 21 -#define PRIVATE_mem ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double)) 22 +#define PRIVATE_mem ((unsigned)((PRIVATE_MEM+sizeof(double)-1)/sizeof(double)))
|