HomeSort by relevance Sort by last modified time
    Searched full:sizeof (Results 901 - 925 of 8781) sorted by null

<<31323334353637383940>>

  /external/chromium/third_party/icu/source/test/cintltst/
ccapitst.c 25 #include "ucnv_bld.h" /* for sizeof(UConverter) */
78 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
244 aliases=(const char **)malloc(count * sizeof(const char *));
374 mytarget = (char*) malloc(MAX_FILE_LEN * sizeof(mytarget[0]));
375 output_cp_buffer = (char*) malloc(MAX_FILE_LEN * sizeof(output_cp_buffer[0]));
376 ucs_file_buffer = (UChar*) malloc(MAX_FILE_LEN * sizeof(ucs_file_buffer[0]));
377 my_ucs_file_buffer = (UChar*) malloc(MAX_FILE_LEN * sizeof(my_ucs_file_buffer[0]));
453 sourceLimit=sizeof(source)/sizeof(source[0])
    [all...]
cnmdptst.c 73 pat_length = sizeof(pat) / sizeof(pat[0]);
87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
168 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
246 pat_length = sizeof(pat) / sizeof(pat[0]);
247 val_length = sizeof(val) / sizeof(val[0])
    [all...]
  /external/bluetooth/bluez/plugins/
hciops.c 58 if (read(fd, &child_pid, sizeof(child_pid)) != sizeof(child_pid)) {
75 if (write(child_pipe[1], &pid, sizeof(pid)) != sizeof(pid))
152 memset(&dr, 0, sizeof(dr));
200 memset(&di, 0, sizeof(di));
243 dl = g_try_malloc0(HCI_MAX_DEV * sizeof(struct hci_dev_req) + sizeof(uint16_t));
286 err = g_io_channel_read(chan, (gchar *) buf, sizeof(buf), &len);
355 sizeof(flt)) < 0)
    [all...]
  /external/iptables/libiptc/
libip4tc.c 209 mptr = matchmask + sizeof(STRUCT_ENTRY);
212 mptr += IPT_ALIGN(sizeof(struct ipt_entry_target));
224 for (i = 0; i < sizeof(*ip)/sizeof(u_int32_t); i++)
234 assert(m->u.match_size >= sizeof(STRUCT_ENTRY_MATCH));
249 assert(e->target_offset >= sizeof(STRUCT_ENTRY));
251 + sizeof(STRUCT_ENTRY_TARGET));
252 toff = sizeof(STRUCT_ENTRY);
267 == ALIGN(sizeof(STRUCT_STANDARD_TARGET)));
293 && e->target_offset == sizeof(*e)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_psk.c 50 data = os_zalloc(sizeof(*data));
102 if (cpos == NULL || len < sizeof(*hdr1)) {
106 (unsigned long) sizeof(*hdr1));
121 data->id_s_len = len - sizeof(*hdr1);
140 sizeof(*hdr2) + data->id_p_len, EAP_CODE_RESPONSE,
144 hdr2 = wpabuf_put(resp, sizeof(*hdr2));
200 if (pos == NULL || len < sizeof(*hdr3)) {
204 (unsigned long) sizeof(*hdr3));
208 left = len - sizeof(*hdr3);
274 nonce, sizeof(nonce))
    [all...]
  /external/zlib/contrib/delphi/
ZLib.pas 292 FillChar(strm, sizeof(strm), 0);
302 CCheck(deflateInit_(strm, Z_BEST_COMPRESSION, zlib_version, sizeof(strm)));
331 FillChar(strm, sizeof(strm), 0);
345 DCheck(inflateInit_(strm, zlib_version, sizeof(strm)));
371 FillChar(strm, sizeof(strm), 0);
378 DCheck(inflateInit_(strm, zlib_version, sizeof(strm)));
414 FZRec.avail_out := sizeof(FBuffer);
415 CCheck(deflateInit_(FZRec, Levels[CompressionLevel], zlib_version, sizeof(FZRec)));
427 FStrm.WriteBuffer(FBuffer, sizeof(FBuffer));
429 FZRec.avail_out := sizeof(FBuffer)
    [all...]
  /external/bluetooth/hcidump/src/
bpasniff.c 64 memset(&rq, 0, sizeof(rq));
68 rq.clen = sizeof(req);
70 rq.rlen = sizeof(buf);
92 memset(&rq, 0, sizeof(rq));
96 rq.clen = sizeof(req);
98 rq.rlen = sizeof(buf);
120 memset(&rq, 0, sizeof(rq));
124 rq.clen = sizeof(req);
204 memset(&frm, 0, sizeof(frm));
245 memset(&frm, 0, sizeof(frm))
    [all...]
  /external/chromium/base/
pickle.h 40 // must be greater-than-or-equal-to sizeof(Pickle::Header). The header size
93 return WriteBytes(&value, sizeof(value));
96 return WriteBytes(&value, sizeof(value));
99 return WriteBytes(&value, sizeof(value));
102 return WriteBytes(&value, sizeof(value));
105 return WriteBytes(&value, sizeof(value));
108 return WriteBytes(&value, sizeof(value));
111 return WriteBytes(&value, sizeof(value));
150 DCHECK(sizeof(T) == header_size_);
155 DCHECK(sizeof(T) == header_size_)
    [all...]
  /external/chromium/third_party/libevent/
kqueue.c 108 if (!(kqueueop = calloc(1, sizeof(struct kqop))))
124 kqueueop->changes = malloc(NEVENT * sizeof(struct kevent));
129 kqueueop->events = malloc(NEVENT * sizeof(struct kevent));
178 nevents * sizeof(struct kevent));
186 nevents * sizeof(struct kevent));
201 memcpy(&kqop->changes[kqop->nchanges++], kev, sizeof(struct kevent));
314 memset(&kev, 0, sizeof(kev));
338 memset(&kev, 0, sizeof(kev));
357 memset(&kev, 0, sizeof(kev));
390 memset(&kev, 0, sizeof(kev))
    [all...]
select.c 66 #define NFDBITS (sizeof(long)*8)
108 if (!(sop = calloc(1, sizeof(struct selectop))))
111 select_resize(sop, howmany(32 + 1, NFDBITS)*sizeof(fd_mask));
218 n_events = (fdsz/sizeof(fd_mask)) * NFDBITS;
219 n_events_old = (sop->event_fdsz/sizeof(fd_mask)) * NFDBITS;
237 n_events*sizeof(struct event*))) == NULL)
241 n_events * sizeof(struct event*))) == NULL)
250 (n_events-n_events_old) * sizeof(struct event*));
252 (n_events-n_events_old) * sizeof(struct event*));
281 if (fdsz < sizeof(fd_mask)
    [all...]
  /external/ipsec-tools/src/racoon/
isakmp_inf.c 169 if (msg->l < sizeof(*isakmp) + sizeof(*gen)) {
177 gen = (struct isakmp_gen *)((caddr_t)isakmp + sizeof(struct isakmp));
196 if (msg->l < sizeof(*isakmp) + ntohs(gen->len) + sizeof(*nd)) {
203 p = (caddr_t) gen + sizeof(struct isakmp_gen);
207 if (ntohs(nd->len) > msg->l - (sizeof(struct isakmp) +
214 if (ntohs(nd->len) < sizeof(*nd)) {
239 if (ntohs(gen->len) - sizeof(struct isakmp_gen) != hash->l) {
406 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size)
    [all...]
  /external/oprofile/daemon/
opd_perfmon.c 48 #define __NCPUBITS (8 * sizeof (unsigned long))
57 memset((cpusetp), 0, sizeof(cpu_set_t))
156 int err = sched_setaffinity(getpid(), sizeof(set), &set);
211 memset(&ctx, 0, sizeof(pfarg_context_t));
234 memset(pc, 0, sizeof(pc));
235 memset(pd, 0, sizeof(pd));
288 memset(&load_args, 0, sizeof(load_args));
303 ret = write(self->up_pipe[1], &cpu, sizeof(size_t));
304 if (ret == sizeof(size_t))
367 ret = read(child->up_pipe[0], &tmp, sizeof(size_t))
    [all...]
  /external/qemu/
qemu-sockets.c 102 memset(&ai,0, sizeof(ai));
152 snprintf(port, sizeof(port), "%d", atoi(port) + port_offset);
174 setsockopt(slisten,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on));
179 sizeof(off));
236 memset(&ai,0, sizeof(ai));
295 setsockopt(sock,SOL_SOCKET,SO_REUSEADDR,(void*)&on,sizeof(on));
339 memset(&un, 0, sizeof(un));
342 snprintf(un.sun_path, sizeof(un.sun_path), "%s", path);
345 snprintf(un.sun_path, sizeof(un.sun_path), "%s/qemu-socket-XXXXXX",
359 if (bind(sock, (struct sockaddr*) &un, sizeof(un)) < 0)
    [all...]
  /external/tcpdump/
print-wb.c 56 DOP_ROUNDUP(EXTRACT_16BITS(&(d)->dh_len) + sizeof(*(d)))))
192 if (len < sizeof(*id) || (u_char *)(id + 1) > snapend)
194 len -= sizeof(*id);
205 len -= sizeof(*io) * nid;
231 if (len < sizeof(*rreq) || (u_char *)(rreq + 1) > snapend)
247 if (len < sizeof(*preq) || (u_char *)(preq + 1) > snapend)
265 if (len < sizeof(*prep)) {
348 if (len < sizeof(*rrep) || (u_char *)(rrep + 1) > snapend)
350 len -= sizeof(*rrep);
370 if (len < sizeof(*dop) || (u_char *)(dop + 1) > snapend
    [all...]
  /external/tremolo/Tremolo/
treminfo.c 59 memset(vc,0,sizeof(*vc));
119 memset(vc,0,sizeof(*vc));
131 memset(vi,0,sizeof(*vi));
132 vi->codec_setup=(codec_setup_info *)_ogg_calloc(1,sizeof(codec_setup_info));
174 memset(vi,0,sizeof(*vi));
224 vc->user_comments=(char **)_ogg_calloc(vc->comments+1,sizeof(*vc->user_comments));
225 vc->comment_lengths=(int *)_ogg_calloc(vc->comments+1, sizeof(*vc->comment_lengths));
251 ci->book_param=(codebook *)_ogg_calloc(ci->books,sizeof(*ci->book_param));
262 ci->floor_param=_ogg_malloc(sizeof(*ci->floor_param)*ci->floors);
263 ci->floor_type=_ogg_malloc(sizeof(*ci->floor_type)*ci->floors)
    [all...]
  /external/webkit/JavaScriptCore/wtf/
TCPageMap.h 69 array_ = reinterpret_cast<void**>((*allocator)(sizeof(void*) << BITS));
70 memset(array_, 0, sizeof(void*) << BITS);
124 memset(root_, 0, sizeof(root_));
147 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
149 memset(leaf, 0, sizeof(*leaf));
182 visitor.visit(root_[i], sizeof(Leaf));
214 Node* result = reinterpret_cast<Node*>((*allocator_)(sizeof(Node)));
216 memset(result, 0, sizeof(*result));
259 Leaf* leaf = reinterpret_cast<Leaf*>((*allocator_)(sizeof(Leaf)));
261 memset(leaf, 0, sizeof(*leaf))
    [all...]
  /frameworks/base/services/jni/
com_android_server_BatteryService.cpp 249 snprintf(path, sizeof(path), "%s/%s/type", POWER_SUPPLY_PATH, name);
250 int length = readFromFile(path, buf, sizeof(buf));
256 snprintf(path, sizeof(path), "%s/%s/online", POWER_SUPPLY_PATH, name);
261 snprintf(path, sizeof(path), "%s/%s/online", POWER_SUPPLY_PATH, name);
266 snprintf(path, sizeof(path), "%s/%s/status", POWER_SUPPLY_PATH, name);
269 snprintf(path, sizeof(path), "%s/%s/health", POWER_SUPPLY_PATH, name);
272 snprintf(path, sizeof(path), "%s/%s/present", POWER_SUPPLY_PATH, name);
275 snprintf(path, sizeof(path), "%s/%s/capacity", POWER_SUPPLY_PATH, name);
279 snprintf(path, sizeof(path), "%s/%s/voltage_now", POWER_SUPPLY_PATH, name);
285 snprintf(path, sizeof(path), "%s/%s/batt_vol", POWER_SUPPLY_PATH, name)
    [all...]
  /system/netd/
SoftapController.cpp 44 memset(mIface, 0, sizeof(mIface));
57 strncpy(wrq.ifr_name, iface, sizeof(wrq.ifr_name));
59 wrq.u.data.length = sizeof(mBuf) / sizeof(struct iw_priv_args);
90 strncpy(wrq.ifr_name, iface, sizeof(wrq.ifr_name));
117 strncpy(wrq.ifr_name, iface, sizeof(wrq.ifr_name));
155 strncpy(wrq.ifr_name, mIface, sizeof(wrq.ifr_name));
190 strncpy(wrq.ifr_name, mIface, sizeof(wrq.ifr_name));
214 if ((unsigned)(pos + strlen(cmd) + strlen(arg) + 1) >= sizeof(mBuf)) {
255 strncpy(mIface, argv[3], sizeof(mIface))
    [all...]
  /device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/common/
SEC_OMX_Baseport.c 98 message = SEC_OSAL_Malloc(sizeof(SEC_OMX_MESSAGE));
156 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
196 SEC_OSAL_Memset(pSECComponent->timeStamp, -19771003, sizeof(OMX_TICKS) * MAX_TIMESTAMP);
197 SEC_OSAL_Memset(pSECComponent->nFlags, 0, sizeof(OMX_U32) * MAX_FLAGS);
234 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
268 SEC_OSAL_Memset(pSECComponent->timeStamp, -19771003, sizeof(OMX_TICKS) * MAX_TIMESTAMP);
269 SEC_OSAL_Memset(pSECComponent->nFlags, 0, sizeof(OMX_U32) * MAX_FLAGS);
346 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
452 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
485 SEC_OSAL_Memset(pSECComponent->timeStamp, -19771003, sizeof(OMX_TICKS) * MAX_TIMESTAMP)
    [all...]
  /external/qemu/slirp/
udp.c 96 if(iphlen > sizeof(struct ip)) {
98 iphlen = sizeof(struct ip);
133 memset(&((struct ipovly *)ip)->ih_mbuf, 0, sizeof(struct mbuf_ptr));
137 * uh->uh_sum = cksum(m, len + sizeof (struct ip));
140 if(cksum(m, len + sizeof(struct ip))) {
222 iphlen += sizeof(struct udphdr);
271 m->m_data -= sizeof(struct udpiphdr);
272 m->m_len += sizeof(struct udpiphdr);
279 memset(&ui->ui_i.ih_mbuf, 0 , sizeof(struct mbuf_ptr));
282 ui->ui_len = htons(m->m_len - sizeof(struct ip)); /* + sizeof (struct udphdr)); *
    [all...]
  /external/srec/srec/cfront/
frontobj.c 80 sizeof(front_config), "cfront.front_config");
149 sizeof(front_channel), "cfront.channel");
171 sizeof(fftdata), "cfront.prebuff");
173 sizeof(fftdata), "cfront.prerefbuff");
179 sizeof(cepdata), "cfront.filterbank");
181 sizeof(cepdata), "cfront.filterbankref");
185 sizeof(cepdata), "cfront.cep");
187 sizeof(cepdata), "cfront.rasta");
189 sizeof(featdata), "cfront.chan_framdata");
202 sizeof(spectral_sub_info), "cfront.spectral_sub_info")
    [all...]
  /external/wpa_supplicant/
eapol_test.c 156 radius_msg_make_authenticator(msg, (u8 *) e, sizeof(*e));
160 if (len > sizeof(*hdr) && hdr->code == EAP_CODE_RESPONSE &&
164 e->eap_identity_len = len - sizeof(*hdr) - 1;
187 os_snprintf(buf, sizeof(buf), RADIUS_802_1X_ADDR_FORMAT,
209 os_snprintf(buf, sizeof(buf), "%s", e->connect_info);
348 ctx = os_zalloc(sizeof(*ctx));
376 os_memset(&eapol_conf, 0, sizeof(eapol_conf));
442 sizeof(*hdr) + 5);
503 if (len < sizeof(*hdr)) {
510 if (len > sizeof(*hdr)
    [all...]
  /external/bluetooth/bluez/test/
hciemu.c 117 #define BTSNOOP_HDR_SIZE (sizeof(struct btsnoop_hdr))
127 #define BTSNOOP_PKT_SIZE (sizeof(struct btsnoop_pkt))
199 memcpy(hdr.id, btsnoop_id, sizeof(btsnoop_id));
228 memset(&tv, 0, sizeof(tv));
336 memset(&cr->dev_class, 0, sizeof(cr->dev_class));
459 setsockopt(sk, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));
463 memcpy(&sa.sin_addr.s_addr, &ba, sizeof(sa.sin_addr.s_addr));
465 if (bind(sk, (struct sockaddr *) &sa, sizeof(sa))) {
555 setsockopt(sk, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt));
561 if (bind(sk, (struct sockaddr *) &sa, sizeof(sa)))
    [all...]
  /external/icu4c/test/cintltst/
cnmdptst.c 73 pat_length = sizeof(pat) / sizeof(pat[0]);
87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
168 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) );
246 pat_length = sizeof(pat) / sizeof(pat[0]);
247 val_length = sizeof(val) / sizeof(val[0])
    [all...]
  /external/srec/srec/EventLog/src/
riff.c 235 *samples = MALLOC(*length * sizeof(short), MTAG);
238 memcpy(*samples, cb, *length*sizeof(short));
268 *samples = MALLOC(*length * sizeof(short), MTAG);
293 samples = MALLOC(*length * sizeof(short), MTAG);
356 if (fread(&len, sizeof(int), 1, f) != 1)
387 if (fread(&len, sizeof(int), 1, f) != 1)
413 if (fread(&len, sizeof(int), 1, f) != 1)
472 fread(&swichunk->segs.num_tuples, 1, sizeof(int), f);
475 sub_length = list_chunk.length - sizeof(int);
501 fread(&num_pairs, 1, sizeof(int), f)
    [all...]

Completed in 628 milliseconds

<<31323334353637383940>>