/external/bluetooth/glib/tests/gobject/ |
testcommon.h | 37 sizeof (name ## Class), \ 43 sizeof (name), \ 73 sizeof (name ## Class), \
|
/external/chromium/net/disk_cache/ |
stats.cc | 75 if (!file->Read(stats, sizeof(*stats), offset)) 83 if (stats->size != sizeof(*stats)) 84 memset(stats, 0, sizeof(*stats)); 96 return file->Write(stats, sizeof(*stats), offset); 105 COMPILE_ASSERT(sizeof(*stats) <= 256 * 2, use_more_blocks); 106 memset(stats, 0, sizeof(*stats)); 108 stats->size = sizeof(*stats); 128 memcpy(data_sizes_, stats.data_sizes, sizeof(data_sizes_)); 129 memcpy(counters_, stats.counters, sizeof(counters_)); 313 stats.size = sizeof(stats) [all...] |
/external/chromium/third_party/icu/source/common/ |
brkeng.cpp | 56 for (int32_t i = 0; i < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0])); ++i) { 62 for (int32_t i = 0; i < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0])); ++i) { 71 return (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0])) 82 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { 101 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) [all...] |
/external/chromium/third_party/icu/source/i18n/ |
winnmfmt.cpp | 48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) 83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 84 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); 95 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT)); 110 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 111 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); 113 GetLocaleInfoA(lcid, LOCALE_SMONGROUPING, buf, sizeof(buf)); 122 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGCURR, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT)); 123 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRENCY, (LPWSTR) &fmt->PositiveOrder, sizeof(UINT)); 145 fFormatInfo = (FormatInfo*)uprv_malloc(sizeof(FormatInfo)) [all...] |
/external/dhcpcd/ |
showlease.c | 131 dhcp = malloc(sizeof(*dhcp)); 132 memset(dhcp, 0, sizeof(*dhcp)); 133 bytes = read(fd, dhcp, sizeof(*dhcp)); 165 sz = sizeof(uint32_t); 167 sz = sizeof(uint16_t); 169 sz = sizeof(uint8_t); 191 const uint8_t *e = p + sizeof(dhcp->options); 204 dhcp_opt_buffer = malloc(sizeof(struct dhcp_message)); 224 e = p + sizeof(dhcp->bootfile); 229 e = p + sizeof(dhcp->servername) [all...] |
/external/dropbear/libtomcrypt/src/hashes/helper/ |
hash_filehandle.c | 54 x = fread(buf, 1, sizeof(buf), in); 58 } while (x == sizeof(buf)); 62 zeromem(buf, sizeof(buf));
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
f9_file.c | 59 x = fread(buf, 1, sizeof(buf), in); 64 } while (x == sizeof(buf)); 72 zeromem(buf, sizeof(buf));
|
/external/dropbear/libtomcrypt/src/mac/omac/ |
omac_file.c | 59 x = fread(buf, 1, sizeof(buf), in); 64 } while (x == sizeof(buf)); 72 zeromem(buf, sizeof(buf));
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
pmac_done.c | 30 if ((state->buflen > (int)sizeof(state->block)) || (state->buflen < 0) || 31 (state->block_len > (int)sizeof(state->block)) || (state->buflen > state->block_len)) { 64 zeromem(state, sizeof(*state));
|
pmac_file.c | 60 x = fread(buf, 1, sizeof(buf), in); 65 } while (x == sizeof(buf)); 73 zeromem(buf, sizeof(buf));
|
/external/dropbear/libtomcrypt/src/mac/xcbc/ |
xcbc_file.c | 59 x = fread(buf, 1, sizeof(buf), in); 64 } while (x == sizeof(buf)); 72 zeromem(buf, sizeof(buf));
|
/external/e2fsprogs/lib/ext2fs/ |
ext2_ext_attr.h | 43 sizeof(struct ext2_ext_attr_entry)) & ~EXT2_EXT_ATTR_ROUND) 51 (((char *) (entry)) + sizeof(struct ext2_ext_attr_entry)) 54 sizeof(struct ext2_xattr_entry)) & ~EXT2_EXT_ATTR_ROUND)
|
/external/icu4c/i18n/ |
winnmfmt.cpp | 48 #define NEW_ARRAY(type,count) (type *) uprv_malloc((count) * sizeof(type)) 83 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_IDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 84 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); 95 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGNUMBER, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT)); 110 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRDIGITS, (LPWSTR) &fmt->NumDigits, sizeof(UINT)); 111 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ILZERO, (LPWSTR) &fmt->LeadingZero, sizeof(UINT)); 113 GetLocaleInfoA(lcid, LOCALE_SMONGROUPING, buf, sizeof(buf)); 122 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_INEGCURR, (LPWSTR) &fmt->NegativeOrder, sizeof(UINT)); 123 GetLocaleInfoW(lcid, LOCALE_RETURN_NUMBER|LOCALE_ICURRENCY, (LPWSTR) &fmt->PositiveOrder, sizeof(UINT)); 145 fFormatInfo = (FormatInfo*)uprv_malloc(sizeof(FormatInfo)) [all...] |
/external/icu4c/samples/props/ |
props.cpp | 32 u_charName(codePoint, U_UNICODE_CHAR_NAME, buffer, sizeof(buffer), &errorCode); 58 for(i=0; i<sizeof(codePoints)/sizeof(codePoints[0]); ++i) {
|
/external/iproute2/ip/ |
ipaddrlabel.c | 44 #define IFAL_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrlblmsg)))) 45 #define IFAL_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrlblmsg)) 69 len -= NLMSG_LENGTH(sizeof(*ifal)); 88 abuf, sizeof(abuf)), 95 if (tb[IFAL_LABEL] && RTA_PAYLOAD(tb[IFAL_LABEL]) == sizeof(int32_t)) { 97 memcpy(&label, RTA_DATA(tb[IFAL_LABEL]), sizeof(label)); 145 memset(&req, 0, sizeof(req)); 146 memset(&prefix, 0, sizeof(prefix)); 149 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrlblmsg)); 185 addattr32(&req.n, sizeof(req), IFAL_LABEL, label) [all...] |
/external/openssl/crypto/bio/ |
b_dump.c | 109 BUF_strlcpy(buf,str,sizeof buf); 110 BIO_snprintf(tmp,sizeof tmp,"%04x - ",i*dump_width); 111 BUF_strlcat(buf,tmp,sizeof buf); 116 BUF_strlcat(buf," ",sizeof buf); 121 BIO_snprintf(tmp,sizeof tmp,"%02x%c",ch, 123 BUF_strlcat(buf,tmp,sizeof buf); 126 BUF_strlcat(buf," ",sizeof buf); 133 BIO_snprintf(tmp,sizeof tmp,"%c", 136 BIO_snprintf(tmp,sizeof tmp,"%c", 141 BUF_strlcat(buf,tmp,sizeof buf) [all...] |
/external/oprofile/libdb/ |
db_manage.c | 48 (data->descr->size * sizeof(odb_node_t))); 59 size = node_nr * (sizeof(odb_index_t) * BUCKET_FACTOR); 60 size += node_nr * sizeof(odb_node_t); 95 * sizeof(node) > sizeof(bucket) and when we grow table we 102 * if BUCKET_FACTOR < sizeof(bd_node_t) / sizeof(bd_node_nr_t) 186 data = xmalloc(sizeof(odb_data_t)); 187 memset(data, '\0', sizeof(odb_data_t)); 189 data->offset_node = sizeof_header + sizeof(odb_descr_t) [all...] |
/external/skia/src/core/ |
SkRegionPriv.h | 40 RunHead* head = (RunHead*)sk_malloc_throw(sizeof(RunHead) + count * sizeof(RunType)); 75 fRunCount * sizeof(RunType));
|
/external/srec/srec/crec/ |
srec_initialize.c | 91 rec->current_model_scores = (costdata*) CALLOC_CLR(max_model_states, sizeof(costdata), "search.srec.current_model_scores"); /*FIX - either get NUM_MODELS from acoustic models, or check this someplace to make sure we have enough room*/ 96 rec->fsmarc_token_array = (fsmarc_token*) CALLOC_CLR(rec->fsmarc_token_array_size , sizeof(fsmarc_token), "search.srec.fsmarc_token_array"); 99 rec->word_token_array = (word_token*) CALLOC_CLR(max_word_tokens, sizeof(word_token), "search.srec.word_token_array"); 102 rec->word_token_array_flags = (asr_int16_t*) CALLOC_CLR(max_word_tokens, sizeof(asr_int16_t), "search.srec.word_token_array_flags"); 104 rec->fsmnode_token_array = (fsmnode_token*) CALLOC_CLR(max_fsmnode_tokens, sizeof(fsmnode_token), "search.srec.fsmnode_token_array"); 107 rec->altword_token_array = (altword_token*) CALLOC_CLR(max_altword_tokens, sizeof(altword_token), "search.srec.altword_token_array"); 113 rec->best_model_cost_for_frame = (costdata*)CALLOC_CLR(max_frames, sizeof(costdata), "search.srec.best_model_cost_for_frame"); 172 rec->rec = (srec*)CALLOC_CLR(max_searches, sizeof(srec), "search.srec.base"); 178 rec->best_token_for_arc = (stokenID*)CALLOC_CLR(max_fsm_arcs, sizeof(stokenID), "search.srec.best_token_for_arc"); 181 rec->best_token_for_node = (ftokenID*)CALLOC_CLR(max_fsm_nodes, sizeof(ftokenID), "search.srec.best_token_for_node") [all...] |
/external/tremolo/Tremolo/ |
mapping0.c | 55 memset(info,0,sizeof(*info)); 74 memset(info,0,sizeof(*info)); 84 _ogg_malloc(info->coupling_steps*sizeof(*info->coupling)); 102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels); 109 info->submaplist=_ogg_malloc(sizeof(*info->submaplist)*info->submaps); 133 alloca(sizeof(*pcmbundle)*vi->channels); 135 alloca(sizeof(*zerobundle)*vi->channels); 137 alloca(sizeof(*nonzero)*vi->channels); 139 alloca(sizeof(*floormemo)*vi->channels); 152 floormemo[i]=alloca(sizeof(*floormemo[i]) [all...] |
/external/webkit/WebCore/dom/ |
ExceptionCode.cpp | 166 nameTableSize = sizeof(rangeExceptionNames) / sizeof(rangeExceptionNames[0]); 174 nameTableSize = sizeof(eventExceptionNames) / sizeof(eventExceptionNames[0]); 182 nameTableSize = sizeof(xmlHttpRequestExceptionNames) / sizeof(xmlHttpRequestExceptionNames[0]); 192 nameTableSize = sizeof(xpathExceptionNames) / sizeof(xpathExceptionNames[0]); 203 nameTableSize = sizeof(svgExceptionNames) / sizeof(svgExceptionNames[0]) [all...] |
/external/webkit/WebKit/android/nav/ |
CacheBuilder.h | 171 memmove(mBases, &mBases[shift], (sizeof(mBases) / 172 sizeof(mBases[0]) - shift) * sizeof(mBases[0])); 173 memmove(mWords, &mWords[shift], (sizeof(mWords) / 174 sizeof(mWords[0]) - shift) * sizeof(mWords[0])); 175 memmove(mEnds, &mEnds[shift], (sizeof(mEnds) / 176 sizeof(mEnds[0]) - shift) * sizeof(mEnds[0])); 177 memmove(mStarts, &mStarts[shift], (sizeof(mStarts) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/mac/PerlSupport/ |
DumpRenderTreeSupport.c | 32 size_t bufferSize = sizeof(info); 33 if (sysctl(mib, sizeof(mib) / sizeof(mib[0]), &info, &bufferSize, 0, 0)) {
|
/external/wpa_supplicant/ |
priv_netlink.h | 56 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 62 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \ 67 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
priv_netlink.h | 56 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 62 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \ 67 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
|