/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-14/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-18/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-18/arch-x86/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-3/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-4/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-5/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/asm-generic/ |
ioctl.h | 37 #define _IOC_TYPECHECK(t) ((sizeof(t) == sizeof(t[1]) && sizeof(t) < (1 << _IOC_SIZEBITS)) ? sizeof(t) : __invalid_size_argument_for_IOC) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/external/valgrind/main/none/tests/s390x/ |
cu41.c | 140 run_test(buff, sizeof buff, NULL, 0); 141 run_test(buff, sizeof buff, NULL, 1); 142 run_test(buff, sizeof buff, NULL, 2); 143 run_test(buff, sizeof buff, NULL, 3); 144 run_test(buff, sizeof buff, pattern1, 0); 145 run_test(buff, sizeof buff, pattern1, 1); 146 run_test(buff, sizeof buff, pattern1, 2); 147 run_test(buff, sizeof buff, pattern1, 3); 152 run_test(buff, sizeof buff, pattern1, 4); /* 1 utf32 -> 1 1-byte utf8 */ 153 run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 2-byte utf8 * [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
get_one.pass.cpp | 43 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, 'a'); 44 assert(i.base() == in+sizeof(in)-1); 52 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, 'A'); 53 assert(i.base() == in+sizeof(in)-1); 61 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, 'b'); 62 assert(i.base() == in+sizeof(in)-1); 70 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, 'B'); 71 assert(i.base() == in+sizeof(in)-1); 79 I i = f.get(I(in), I(in+sizeof(in)-1), ios, err, &t, 'c'); 80 assert(i.base() == in+sizeof(in)-1) [all...] |
/sdk/emulator/opengl/host/libs/GLESv2_dec/ |
gl2.attrib | 31 len buffers (n * sizeof(GLuint)) 36 len framebuffers (n * sizeof(GLuint)) 41 len renderbuffers (n * sizeof(GLuint)) 46 len textures (n * sizeof(GLuint)) 55 len buffers (n * sizeof(GLuint)) 61 len framebuffers (n * sizeof(GLuint)) 67 len renderbuffers (n * sizeof(GLuint)) 73 len textures (n * sizeof(GLuint)) 83 len length (sizeof(GLsizei)) 86 len size (sizeof(GLint) [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
mount_node_test.cc | 84 for (size_t a = 0; a < sizeof(buf1); a++) 86 memset(buf2, 0, sizeof(buf2)); 91 EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes)); 95 EXPECT_EQ(0, file.Write(attr, buf1, sizeof(buf1), &result_bytes)); 96 EXPECT_EQ(sizeof(buf1), result_bytes); 98 EXPECT_EQ(sizeof(buf1), result_size); 99 EXPECT_EQ(0, file.Read(attr, buf2, sizeof(buf2), &result_bytes)); 100 EXPECT_EQ(sizeof(buf1), result_bytes); 101 EXPECT_EQ(0, memcmp(buf1, buf2, sizeof(buf1))); 106 EXPECT_EQ(sizeof(buf1), s.st_size) [all...] |
/external/valgrind/main/coregrind/ |
m_vki.c | 70 vg_assert( 8 * sizeof(set) == _VKI_NSIG ); 72 vg_assert( 8 * sizeof(set.sig[0]) == _VKI_NSIG_BPW ); 84 vg_assert(sizeof(sigset_t) /* defined by Darwin */ 85 == sizeof(vki_sigset_t) /* what we actually use */); 94 vg_assert( sizeof(vki_sigaction_toK_t) 95 == sizeof(vki_sigaction_fromK_t) ); 99 vg_assert( sizeof(vki_sigaction_toK_t) 100 == sizeof(vki_sigaction_fromK_t) + sizeof(void*) ); 102 vg_assert(sizeof(struct sigaction) == sizeof(vki_sigaction_fromK_t)) [all...] |
/external/chromium_org/base/ |
sync_socket_unittest.cc | 31 &data, sizeof(data), base::TimeDelta::FromMilliseconds( 52 COMPILE_ASSERT(sizeof(kSending) == sizeof(received), Invalid_Data_Size); 59 ASSERT_EQ(sizeof(kSending), socket_a->Send(&kSending, sizeof(kSending))); 60 ASSERT_EQ(sizeof(kSending), socket_b->Peek()); 61 ASSERT_EQ(sizeof(kSending), socket_b->Receive(&received, sizeof(kSending))); 69 ASSERT_EQ(sizeof(kSending), socket_b->Send(&kSending, sizeof(kSending))) [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkOperandIterpolator.cpp | 30 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); 32 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); 44 bool success = ~index == SkTSearch<SkMSec>(&fTimes->fTime, index, time, sizeof(SkTimeCode)); 54 memcpy(dst, values, fElemCount * sizeof(SkOperand)); 70 memcpy(values, nextSrc, fElemCount * sizeof(SkScalar)); 87 memcpy(values, prevSrc, sizeof(SkOperand) * fElemCount); 120 SkASSERT(memcmp(v, v1, sizeof(v)) == 0); 124 SkASSERT(memcmp(v, v1, sizeof(v)) == 0); 128 SkASSERT(memcmp(v, v1, sizeof(v)) == 0) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
module.in | 67 {arch_modules, sizeof(arch_modules)/sizeof(module)}, 68 {dbgfmt_modules, sizeof(dbgfmt_modules)/sizeof(module)}, 69 {objfmt_modules, sizeof(objfmt_modules)/sizeof(module)}, 70 {listfmt_modules, sizeof(listfmt_modules)/sizeof(module)}, 71 {parser_modules, sizeof(parser_modules)/sizeof(module)} [all...] |
/external/clang/test/Sema/ |
warn-strncat-size.c | 30 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest) - 1); // no-warning 31 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // no-warning - the code might assume that dest is empty 33 strncat(dest, src, sizeof(src)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 35 strncat(dest, src, sizeof(src) - 1); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 37 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-warning{{the value of the size argument in 'strncat' is too large, might lead to a buffer overflow}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 39 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-warning{{the value of the size argument in 'strncat' is too large, might lead to a buffer overflow}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 41 strncat((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 42 strncat(s1+3, s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} 43 strncat(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 54 strncat(s->x, str, sizeof(str)); // expected-warning {{size argument in 'strncat' call appears to be size of the source} [all...] |