/external/elfutils/libebl/ |
eblobjnotetypename.c | 42 if (type < sizeof (knowntypes) / sizeof (knowntypes[0])
|
mips_symbol.c | 96 #define nsegments (sizeof (mips_segments) / sizeof (mips_segments[0])) 157 #define nsections (sizeof (mips_sections) / sizeof (mips_sections[0])) 189 #define nflags (sizeof (mips_flags) / sizeof (mips_flags[0])) 257 #define ndtags (sizeof (mips_dtags) / sizeof (mips_dtags[0]))
|
/external/elfutils/libelf/ |
elf_getshstrndx.c | 53 assert (sizeof (elf->state.elf.ehdr) 54 == sizeof (elf->state.elf32.ehdr)); 57 assert (sizeof (elf->state.elf.ehdr) 58 == sizeof (elf->state.elf64.ehdr)); 103 if (pread (elf->fildes, &shdr_mem, sizeof (Elf32_Shdr), 104 offset) != sizeof (Elf32_Shdr)) 142 if (pread (elf->fildes, &shdr_mem, sizeof (Elf64_Shdr), 143 offset) != sizeof (Elf64_Shdr))
|
/external/expat/examples/ |
elements.c | 53 int len = (int)fread(buf, 1, sizeof(buf), stdin); 54 done = len < sizeof(buf);
|
/external/freetype/src/base/ |
basepic.c | 59 if ( FT_ALLOC ( container, sizeof ( *container ) ) ) 61 FT_MEM_SET( container, 0, sizeof(*container) );
|
/external/freetype/src/pshinter/ |
pshpic.c | 52 if ( FT_ALLOC ( container, sizeof ( *container ) ) ) 54 FT_MEM_SET( container, 0, sizeof ( *container ) );
|
/external/freetype/src/psnames/ |
pspic.c | 58 if ( FT_ALLOC ( container, sizeof ( *container ) ) ) 60 FT_MEM_SET( container, 0, sizeof(*container) );
|
/external/icu4c/common/ |
icudataver.c | 67 if (uprv_memcmp(dataVersion, wiredVersion, sizeof(UVersionInfo)) >= 0) { 72 uprv_memcpy(dataVersionFillin, dataVersion, sizeof(UVersionInfo));
|
/external/icu4c/extra/scrptrun/ |
srtest.cpp | 25 int32_t testLength = sizeof testChars / sizeof testChars[0];
|
/external/icu4c/layout/ |
LEInsertionList.cpp | 60 InsertionRecord *insertion = (InsertionRecord *) LE_NEW_ARRAY(char, sizeof(InsertionRecord) + (count - ANY_NUMBER) * sizeof (LEGlyphID));
|
/external/icu4c/stubdata/ |
stubdata.c | 46 sizeof(UDataInfo), /* size */ 56 sizeof(UChar),
|
/external/icu4c/test/cintltst/ |
cbiditst.h | 29 #define ARRAY_LENGTH(array) (sizeof(array)/sizeof(array[0]))
|
/external/iproute2/include/linux/ |
if_addr.h | 59 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 60 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/external/iproute2/ip/ |
ipmroute.c | 61 fgets(buf, sizeof(buf), fp); 63 while (fgets(buf, sizeof(buf), fp)) { 86 fgets(buf, sizeof(buf), fp); 88 while (fgets(buf, sizeof(buf), fp)) { 113 snprintf(obuf, sizeof(obuf), "(%s, %s)", 114 format_host(AF_INET, 4, &msrc.data[0], sbuf, sizeof(sbuf)), 115 format_host(AF_INET, 4, &maddr.data[0], mbuf, sizeof(mbuf))); 167 strncpy(filter_dev, *argv, sizeof(filter_dev)-1);
|
/external/iproute2/lib/ |
ll_map.c | 51 if (n->nlmsg_len < NLMSG_LENGTH(sizeof(ifi))) 55 memset(tb, 0, sizeof(tb)); 67 im = malloc(sizeof(*im)); 80 if (alen > sizeof(im->addr)) 81 alen = sizeof(im->addr); 85 memset(im->addr, 0, sizeof(im->addr)); 147 if (alen > sizeof(im->addr)) 148 alen = sizeof(im->addr);
|
/external/iproute2/misc/ |
arpd.c | 189 memset(&ifr, 0, sizeof(ifr)); 203 if (connect(udp_sock, (struct sockaddr*)&dst, sizeof(dst)) < 0) 205 len = sizeof(dst); 222 memset(sll.sll_addr, 0xFF, sizeof(sll.sll_addr)); 231 if (sendto(pset[0].fd, buf, p-buf, 0, (struct sockaddr*)&sll, sizeof(sll)) < 0) 271 memset(&req.n, 0, sizeof(req.n)); 272 memset(&req.ndm, 0, sizeof(req.ndm)); 274 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ndmsg)); 282 addattr_l(&req.n, sizeof(req), NDA_DST, &addr, 4); 283 addattr_l(&req.n, sizeof(req), NDA_LLADDR, lla, llalen) [all...] |
/external/iptables/extensions/ |
libip6t_eui64.c | 63 .size = IP6T_ALIGN(sizeof(int)), 64 .userspacesize = IP6T_ALIGN(sizeof(int)),
|
libip6t_standard.c | 53 .size = IP6T_ALIGN(sizeof(int)), 54 .userspacesize = IP6T_ALIGN(sizeof(int)),
|
libipt_standard.c | 55 .size = IPT_ALIGN(sizeof(int)), 56 .userspacesize = IPT_ALIGN(sizeof(int)),
|
/external/kernel-headers/original/linux/ |
bitops.h | 31 return sizeof(w) == 4 ? hweight32(w) : hweight64(w); 58 if (sizeof(l) == 4)
|
if_addr.h | 60 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) 61 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
/external/libffi/src/m68k/ |
ffi.c | 53 if (z < sizeof (int)) 74 memcpy (argp + sizeof (int) - z, *p_argv, z); 80 z = sizeof (int); 87 if ((sizeof(int) - 1) & z) 88 z = ALIGN(z, sizeof(int)); 226 if ((sizeof(int) - 1) & z) 227 z = ALIGN(z, sizeof(int)); 242 arg_area = (void**) alloca (cif->nargs * sizeof (void *));
|
/external/libnfc-nxp/Linux_x86/ |
phDal4Nfc_messageQueueLib.c | 73 pQueue = (phDal4Nfc_message_queue_t *) phOsalNfc_GetMemory(sizeof(phDal4Nfc_message_queue_t)); 76 memset(pQueue, 0, sizeof(phDal4Nfc_message_queue_t)); 148 if (msgsz != sizeof(phLibNfc_Message_t)) 152 pNew = (phDal4Nfc_message_queue_item_t *)phOsalNfc_GetMemory(sizeof(phDal4Nfc_message_queue_item_t)); 155 memset(pNew, 0, sizeof(phDal4Nfc_message_queue_item_t)); 156 memcpy(&pNew->nMsg, &((phDal4Nfc_Message_Wrapper_t*)msgp)->msg, sizeof(phLibNfc_Message_t)); 198 if (msgsz != sizeof(phLibNfc_Message_t)) 206 memcpy(&((phDal4Nfc_Message_Wrapper_t*)msgp)->msg, &(pQueue->pItems)->nMsg, sizeof(phLibNfc_Message_t));
|
/external/openssl/crypto/comp/ |
comp_lib.c | 11 if ((ret=(COMP_CTX *)OPENSSL_malloc(sizeof(COMP_CTX))) == NULL) 16 memset(ret,0,sizeof(COMP_CTX));
|
/external/oprofile/libpopt/ |
poptparse.c | 17 size_t nb = (argc + 1) * sizeof(*argv); 34 dst += (argc + 1) * sizeof(*argv); 62 const char ** argv = malloc(sizeof(*argv) * argvAlloced); 89 argv = realloc(argv, sizeof(*argv) * argvAlloced); 138 size_t maxlinelen = sizeof(line); 152 argstr = calloc(maxargvlen, sizeof(*argstr)); 183 argvlen += (t = q - p) + (sizeof(" --")-1); 212 argvlen += t + (sizeof("' --='")-1);
|