/external/elfutils/libelf/ |
version_xlate.h | 71 assert (sizeof (GElf_Verdef) == sizeof (Elf32_Verdef)); 72 assert (sizeof (GElf_Verdaux) == sizeof (Elf32_Verdaux)); 73 assert (sizeof (GElf_Verdef) == sizeof (Elf64_Verdef)); 74 assert (sizeof (GElf_Verdaux) == sizeof (Elf64_Verdaux)); 85 if (def_offset + sizeof (GElf_Verdef) > len) 114 if (aux_offset + sizeof (GElf_Verdaux) > len [all...] |
gelf_fsize.c | 76 [ELF_T_EHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Ehdr)), \ 77 [ELF_T_SHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Shdr)), \ 78 [ELF_T_SYM] = sizeof (ElfW2(LIBELFBITS, Ext_Sym)), \ 79 [ELF_T_REL] = sizeof (ElfW2(LIBELFBITS, Ext_Rel)), \ 80 [ELF_T_RELA] = sizeof (ElfW2(LIBELFBITS, Ext_Rela)), \ 81 [ELF_T_PHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Phdr)), \ 82 [ELF_T_DYN] = sizeof (ElfW2(LIBELFBITS, Ext_Dyn)), \ 83 [ELF_T_VDEF] = sizeof (ElfW2(LIBELFBITS, Ext_Verdef)), \ 84 [ELF_T_VDAUX] = sizeof (ElfW2(LIBELFBITS, Ext_Verdaux)), \ 85 [ELF_T_VNEED] = sizeof (ElfW2(LIBELFBITS, Ext_Verneed)), [all...] |
/external/iptables/include/linux/ |
kernel.h | 27 char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */ 34 #define MAYBE_BUILD_BUG_ON(cond) ((void)sizeof(char[1 - 2 * !!(cond)])) 44 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) 45 #define BUILD_BUG_ON_NULL(e) ((void *)sizeof(struct { int:-!!(e); }))
|
/external/iptables/include/linux/netfilter/ |
xt_sctp.h | 24 __u32 chunkmap[256 / sizeof (__u32)]; /* Bit mask of chunks to be matched according to RFC 2960 */ 38 #define bytes(type) (sizeof(type) * 8) 59 memset((chunkmap), 0, sizeof(chunkmap)) 62 memset((chunkmap), ~0U, sizeof(chunkmap)) 65 memcpy((destmap), (srcmap), sizeof(srcmap))
|
/external/qemu/ |
compatfd.c | 49 memset(&buffer, 0, sizeof(buffer)); 52 while (offset < sizeof(buffer)) { 56 sizeof(buffer) - offset); 77 info = malloc(sizeof(*info)); 91 memcpy(&info->mask, mask, sizeof(*mask));
|
/external/skia/src/utils/ |
SkBitSet.cpp | 17 fBitData.set(malloc(fDwordCount * sizeof(uint32_t))); 33 fBitData.set(malloc(fDwordCount * sizeof(uint32_t))); 34 memcpy(fBitData.get(), rhs.fBitData.get(), fDwordCount * sizeof(uint32_t)); 42 fDwordCount * sizeof(uint32_t)) == 0); 55 sk_bzero(fBitData.get(), fDwordCount * sizeof(uint32_t));
|
/external/skia/tests/ |
Writer32Test.cpp | 27 SkWriter32 writer(0, storage, sizeof(storage)); 33 SkWriter32 writer(0, storage, sizeof(storage)); 38 check_contents(reporter, writer, expected, sizeof(expected)); 49 check_contents(reporter, writer, array, sizeof(array)); 51 writer.rewindToOffset(2*sizeof(int32_t)); 52 REPORTER_ASSERT(reporter, sizeof(array) - 4 == writer.bytesWritten()); 54 REPORTER_ASSERT(reporter, sizeof(array) == writer.bytesWritten()); 56 check_contents(reporter, writer, array, sizeof(array)); 88 REPORTER_ASSERT(reporter, 2 * sizeof(void*) + 2 * sizeof(int32_t)) [all...] |
/frameworks/ex/variablespeed/jni/ |
macros.h | 57 // Compile time assertion: sizeof(Dest) == sizeof(Source) 59 typedef char VerifySizesAreEqual [sizeof(Dest) == sizeof(Source) ? 1 : -1]; // NOLINT 62 memcpy(&dest, &source, sizeof(dest));
|
/frameworks/wilhelm/src/android/ |
OutputMix_to_android.cpp | 36 sizeof(effect_uuid_t)) == 0) { 41 sizeof(effect_uuid_t)) == 0) { 46 sizeof(effect_uuid_t)) == 0) { 52 sizeof(effect_uuid_t)) == 0) { 57 sizeof(effect_uuid_t)) == 0) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/ |
xsputn.pass.cpp | 38 assert(t.sputn(in, sizeof(in)) == 0); 39 char out[sizeof(in)] = {0}; 40 t.setp(out, out+sizeof(out)); 41 assert(t.sputn(in, sizeof(in)) == sizeof(in));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.types/ |
ptrdiff_t.pass.cpp | 16 // 2. be the same sizeof as void*. 21 static_assert(sizeof(std::ptrdiff_t) == sizeof(void*), 22 "sizeof(std::ptrdiff_t) == sizeof(void*)");
|
size_t.pass.cpp | 16 // 2. be the same sizeof as void*. 21 static_assert(sizeof(std::size_t) == sizeof(void*), 22 "sizeof(std::size_t) == sizeof(void*)");
|
/system/core/libcutils/ |
debugger.c | 35 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { 68 if (TEMP_FAILURE_RETRY(write(s, &msg, sizeof(msg))) != sizeof(msg)) { 77 while ((n = TEMP_FAILURE_RETRY(read(s, buffer, sizeof(buffer)))) > 0) {
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
wchar2.h | 47 __bos0 (__s1) / sizeof (wchar_t)); 49 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 51 __bos0 (__s1) / sizeof (wchar_t)); 77 __bos0 (__s1) / sizeof (wchar_t)); 79 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 81 __bos0 (__s1) / sizeof (wchar_t)); 110 __bos0 (__s1) / sizeof (wchar_t)); 112 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 114 __bos0 (__s1) / sizeof (wchar_t)); 137 return __wmemset_chk (__s, __c, __n, __bos0 (__s) / sizeof (wchar_t)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
wchar2.h | 47 __bos0 (__s1) / sizeof (wchar_t)); 49 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 51 __bos0 (__s1) / sizeof (wchar_t)); 77 __bos0 (__s1) / sizeof (wchar_t)); 79 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 81 __bos0 (__s1) / sizeof (wchar_t)); 110 __bos0 (__s1) / sizeof (wchar_t)); 112 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 114 __bos0 (__s1) / sizeof (wchar_t)); 137 return __wmemset_chk (__s, __c, __n, __bos0 (__s) / sizeof (wchar_t)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
wchar2.h | 47 __bos0 (__s1) / sizeof (wchar_t)); 49 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 51 __bos0 (__s1) / sizeof (wchar_t)); 77 __bos0 (__s1) / sizeof (wchar_t)); 79 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 81 __bos0 (__s1) / sizeof (wchar_t)); 110 __bos0 (__s1) / sizeof (wchar_t)); 112 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 114 __bos0 (__s1) / sizeof (wchar_t)); 137 return __wmemset_chk (__s, __c, __n, __bos0 (__s) / sizeof (wchar_t)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
vmw_screen_ioctl.c | 78 &c_arg, sizeof(c_arg)); 95 memset(&c_arg, 0, sizeof(c_arg)); 99 &c_arg, sizeof(c_arg)); 122 memset(&s_arg, 0, sizeof(s_arg)); 161 &s_arg, sizeof(s_arg)); 178 memset(&s_arg, 0, sizeof(s_arg)); 182 &s_arg, sizeof(s_arg)); 214 memset(&arg, 0, sizeof(arg)); 215 memset(&rep, 0, sizeof(rep)); 226 ret = drmCommandWrite(vws->ioctl.drm_fd, DRM_VMW_EXECBUF, &arg, sizeof(arg)) [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_screen_ioctl.c | 78 &c_arg, sizeof(c_arg)); 95 memset(&c_arg, 0, sizeof(c_arg)); 99 &c_arg, sizeof(c_arg)); 122 memset(&s_arg, 0, sizeof(s_arg)); 161 &s_arg, sizeof(s_arg)); 178 memset(&s_arg, 0, sizeof(s_arg)); 182 &s_arg, sizeof(s_arg)); 214 memset(&arg, 0, sizeof(arg)); 215 memset(&rep, 0, sizeof(rep)); 226 ret = drmCommandWrite(vws->ioctl.drm_fd, DRM_VMW_EXECBUF, &arg, sizeof(arg)) [all...] |
/frameworks/base/core/jni/ |
android_util_EventLog.cpp | 25 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t)) 50 return android_btWriteLog(tag, EVENT_TYPE_INT, &value, sizeof(value)); 60 return android_btWriteLog(tag, EVENT_TYPE_LONG, &value, sizeof(value)); 75 size_t max = sizeof(buf) - sizeof(len) - 2; // Type byte, final newline 79 memcpy(&buf[1], &len, sizeof(len)); 80 memcpy(&buf[1 + sizeof(len)], str, len); 81 buf[1 + sizeof(len) + len] = '\n'; 84 return android_bWriteLog(tag, buf, 2 + sizeof(len) + len); 98 const size_t max = sizeof(buf) - 1; // leave room for final newlin [all...] |
/external/chromium_org/third_party/icu/source/test/iotest/ |
filetst.c | 40 u_memset(myUString, 0x2a, sizeof(myUString)/sizeof(*myUString)); 41 u_memset(uStringBuf, 0x2a, sizeof(uStringBuf)/sizeof(*uStringBuf)); 42 memset(myString, '*', sizeof(myString)/sizeof(*myString)); 43 memset(testBuf, '*', sizeof(testBuf)/sizeof(*testBuf)); 51 if (sizeof(void *) == 4) { 53 } else if (sizeof(void *) == 8) [all...] |
/external/icu4c/test/iotest/ |
filetst.c | 40 u_memset(myUString, 0x2a, sizeof(myUString)/sizeof(*myUString)); 41 u_memset(uStringBuf, 0x2a, sizeof(uStringBuf)/sizeof(*uStringBuf)); 42 memset(myString, '*', sizeof(myString)/sizeof(*myString)); 43 memset(testBuf, '*', sizeof(testBuf)/sizeof(*testBuf)); 51 if (sizeof(void *) == 4) { 53 } else if (sizeof(void *) == 8) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebInputEvent.cpp | 67 COMPILE_ASSERT(sizeof(WebInputEvent) == sizeof(SameSizeAsWebInputEvent), WebInputEvent_has_gaps); member in namespace:blink 68 COMPILE_ASSERT(sizeof(WebKeyboardEvent) == sizeof(SameSizeAsWebKeyboardEvent), WebKeyboardEvent_has_gaps); member in namespace:blink 69 COMPILE_ASSERT(sizeof(WebMouseEvent) == sizeof(SameSizeAsWebMouseEvent), WebMouseEvent_has_gaps); member in namespace:blink 70 COMPILE_ASSERT(sizeof(WebMouseWheelEvent) == sizeof(SameSizeAsWebMouseWheelEvent), WebMouseWheelEvent_has_gaps); member in namespace:blink 71 COMPILE_ASSERT(sizeof(WebGestureEvent) == sizeof(SameSizeAsWebGestureEvent), WebGestureEvent_has_gaps) member in namespace:blink 72 COMPILE_ASSERT(sizeof(WebTouchEvent) == sizeof(SameSizeAsWebTouchEvent), WebTouchEvent_has_gaps); member in namespace:blink [all...] |
/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineStorage.h | 58 memcpy(m_diag, other.m_diag, m_diagSize * sizeof (Scalar)); 59 memcpy(m_upper, other.m_upper, other.upperSize() * sizeof (Scalar)); 60 memcpy(m_lower, other.m_lower, other.lowerSize() * sizeof (Scalar)); 61 memcpy(m_upperProfile, other.m_upperProfile, m_upperProfileSize * sizeof (Index)); 62 memcpy(m_lowerProfile, other.m_lowerProfile, m_lowerProfileSize * sizeof (Index)); 190 memset(m_diag, 0, m_diagSize * sizeof (Scalar)); 191 memset(m_upper, 0, m_upperSize * sizeof (Scalar)); 192 memset(m_lower, 0, m_lowerSize * sizeof (Scalar)); 193 memset(m_upperProfile, 0, m_diagSize * sizeof (Index)); 194 memset(m_lowerProfile, 0, m_diagSize * sizeof (Index)) [all...] |
/external/flac/libFLAC/ |
memory.c | 56 # error Unsupported sizeof(void*) 60 if(sizeof(void*) == sizeof(unsigned)) 62 else if(sizeof(void*) == sizeof(FLAC__uint64)) 87 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ 90 pu = (FLAC__int32*)FLAC__memory_alloc_aligned(sizeof(*pu) * (size_t)elements, &u.pv); 116 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check */ 119 pu = (FLAC__uint32*)FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); 145 if((size_t)elements > SIZE_MAX / sizeof(*pu)) /* overflow check * [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
NonVolatileStore.cpp | 75 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); 82 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); 134 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); 141 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum)); 144 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum))) 177 memset (buffer, 0, sizeof(buffer)); 178 if (!GetStrValue (NAME_NFA_STORAGE, buffer, sizeof(buffer))) 216 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), DH_NV_BLOCK); 218 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F3_NV_BLOCK); 220 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), HC_F4_NV_BLOCK) [all...] |