/bootable/bootloader/legacy/libboot/ |
tags_partition.c | 38 while(bytes >= sizeof(*ptn)) { 42 bytes -= sizeof(*ptn);
|
/bootable/recovery/minui/ |
events.c | 74 r = read(ev_fds[n].fd, ev, sizeof(*ev)); 75 if(r == sizeof(*ev)) return 0;
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 33 u_int32_t chunkmap[256 / sizeof (u_int32_t)]; 47 #define bytes(type) (sizeof(type) * 8)
|
/development/ndk/platforms/android-5/arch-x86/include/asm/ |
percpu_32.h | 25 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (val); } switch (sizeof(var)) { case 1: asm(op "b %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 2: asm(op "w %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; case 4: asm(op "l %1,"__percpu_seg"%0" : "+m" (var) :"ri" ((T__)val)); break; default: __bad_percpu_size(); } } while (0) 27 #define percpu_from_op(op,var) ({ typeof(var) ret__; switch (sizeof(var)) { case 1: asm(op "b "__percpu_seg"%1,%0" : "=r" (ret__) : "m" (var)); break; case 2: asm(op "w "__percpu_seg"%1,%0" : "=r" (ret__) : "m" (var)); break; case 4: asm(op "l "__percpu_seg"%1,%0" : "=r" (ret__) : "m" (var)); break; default: __bad_percpu_size(); } ret__; })
|
/device/htc/passion-common/libsensors/ |
nusensors.h | 38 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
/device/samsung/crespo/alsa-lib/src/mixer/ |
bag.c | 26 bag_t *b = malloc(sizeof(*b)); 47 bag1_t *b = malloc(sizeof(*b));
|
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_include/sec/ |
SEC_OMX_Macros.h | 43 SEC_OSAL_Memset((_struct_), 0, sizeof(_structType_)); \ 44 (_struct_)->nSize = sizeof(_structType_); \
|
/external/bison/lib/ |
strerror.c | 40 static char mesg[sizeof fmt + sizeof n * CHAR_BIT / 3];
|
/external/bluetooth/bluez/sbc/ |
sbcinfo.c | 193 len = __read(fd, &hdr, sizeof(hdr)); 194 if (len != sizeof(hdr) || hdr.syncword != 0x9c) { 219 size = count > sizeof(buf) ? sizeof(buf) : count; 231 len = __read(fd, &hdr, sizeof(hdr)); 241 if ((size_t) len < sizeof(hdr) || hdr.syncword != 0x9c) { 265 size = count > sizeof(buf) ? sizeof(buf) : count;
|
/external/bluetooth/bluez/tools/ |
bccmd.c | 251 memset(array, 0, sizeof(array)); 284 memset(array, 0, sizeof(array)); 310 memset(array, 0, sizeof(array)); 333 memset(array, 0, sizeof(array)); 357 memset(array, 0, sizeof(array)); 417 memset(array, 0, sizeof(array)); 425 for (i = 0; i < sizeof(name); i++) 441 memset(array, 0, sizeof(array)); 465 memset(array, 0, sizeof(array)); 518 memset(array, 0, sizeof(array)) [all...] |
/external/bluetooth/glib/tests/gobject/ |
gvalue-test.c | 49 memset (&xform, 0, sizeof (GValue)); 54 memset (&xform, 0, sizeof (GValue)); 59 memset (&xform, 0, sizeof (GValue)); 64 memset (&xform, 0, sizeof (GValue)); 69 memset (&xform, 0, sizeof (GValue)); 74 memset (&xform, 0, sizeof (GValue)); 79 memset (&xform, 0, sizeof (GValue)); 84 memset (&xform, 0, sizeof (GValue));
|
/external/chromium/base/ |
string16.cc | 53 return reinterpret_cast<char16*>(memmove(s1, s2, n * sizeof(char16))); 57 return reinterpret_cast<char16*>(memcpy(s1, s2, n * sizeof(char16)));
|
/external/chromium/third_party/icu/source/common/ |
servrbf.cpp | 62 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); 63 if(length>=(int32_t)sizeof(pkg)) {
|
wintz.c | 152 DWORD cbData = sizeof(TZI); 237 uprv_memset(&apiTZI, 0, sizeof(apiTZI)); 238 uprv_memset(&tziKey, 0, sizeof(tziKey)); 239 uprv_memset(&tziReg, 0, sizeof(tziReg)); 243 sizeof(apiTZI.StandardDate)); 245 sizeof(apiTZI.DaylightDate)); 269 if (uprv_memcmp((char *)&tziKey, (char*)&tziReg, sizeof(tziKey)) == 0) { 272 icuid = (char*)uprv_malloc(sizeof(char) * (len + 1));
|
/external/chromium/third_party/icu/source/i18n/ |
nfrlist.h | 40 : fStuff(capacity ? (NFRule**)uprv_malloc(capacity * sizeof(NFRule*)) : NULL) 66 fStuff = (NFRule**)uprv_realloc(fStuff, fCapacity * sizeof(NFRule*)); // assume success
|
/external/chromium/third_party/libevent/ |
evutil.c | 101 memset(&listen_addr, 0, sizeof(listen_addr)); 105 if (bind(listener, (struct sockaddr *) &listen_addr, sizeof (listen_addr)) 115 size = sizeof(connect_addr); 118 if (size != sizeof (connect_addr)) 121 sizeof(connect_addr)) == -1) 124 size = sizeof(listen_addr); 128 if (size != sizeof(listen_addr)) 135 if (size != sizeof (connect_addr)
|
/external/dbus/dbus/ |
dbus-memory.h | 46 #define dbus_new(type, count) ((type*)dbus_malloc (sizeof (type) * (count))); 47 #define dbus_new0(type, count) ((type*)dbus_malloc0 (sizeof (type) * (count)));
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
ocb_decrypt.c | 68 zeromem(Z, sizeof(Z)); 69 zeromem(tmp, sizeof(tmp));
|
ocb_encrypt.c | 62 zeromem(Z, sizeof(Z)); 63 zeromem(tmp, sizeof(tmp));
|
/external/dropbear/libtomcrypt/src/hashes/helper/ |
hash_memory.c | 45 md = XMALLOC(sizeof(hash_state)); 60 zeromem(md, sizeof(hash_state));
|
/external/dropbear/libtomcrypt/src/hashes/ |
md2.c | 106 zeromem(md->md2.X, sizeof(md->md2.X)); 107 zeromem(md->md2.chksum, sizeof(md->md2.chksum)); 108 zeromem(md->md2.buf, sizeof(md->md2.buf)); 125 if (md-> md2 .curlen > sizeof(md-> md2 .buf)) { 158 if (md->md2.curlen >= sizeof(md->md2.buf)) { 181 zeromem(md, sizeof(hash_state)); 234 for (i = 0; i < (int)(sizeof(tests) / sizeof(tests[0])); i++) {
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
pmac_memory.c | 45 pmac = XMALLOC(sizeof(pmac_state)); 63 zeromem(pmac, sizeof(pmac_state));
|
/external/dropbear/libtomcrypt/src/misc/ |
error_to_string.c | 64 if (err < 0 || err >= (int)(sizeof(err_2_str)/sizeof(err_2_str[0]))) {
|
/external/dropbear/libtomcrypt/src/modes/cfb/ |
cfb_decrypt.c | 41 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || 42 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) {
|
cfb_encrypt.c | 41 if (cfb->blocklen < 0 || cfb->blocklen > (int)sizeof(cfb->IV) || 42 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) {
|