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

<<31323334353637383940>>

  /external/iptables/extensions/
libip6t_LOG.c 82 i < sizeof(ip6t_log_names) / sizeof(struct ip6t_log_names);
141 if (strlen(optarg) > sizeof(loginfo->prefix) - 1)
144 (unsigned int)sizeof(loginfo->prefix) - 1);
223 i < sizeof(ip6t_log_names) / sizeof(struct ip6t_log_names);
230 if (i == sizeof(ip6t_log_names) / sizeof(struct ip6t_log_names))
276 .size = IP6T_ALIGN(sizeof(struct ip6t_log_info)),
277 .userspacesize = IP6T_ALIGN(sizeof(struct ip6t_log_info))
    [all...]
libip6t_icmp6.c 61 for (i = 0; i < sizeof(icmpv6_codes)/sizeof(struct icmpv6_names); i++) {
96 unsigned int limit = sizeof(icmpv6_codes)/sizeof(struct icmpv6_names);
194 i < sizeof(icmpv6_codes)/sizeof(struct icmpv6_names);
202 if (i != sizeof(icmpv6_codes)/sizeof(struct icmpv6_names)) {
264 .size = IP6T_ALIGN(sizeof(struct ip6t_icmp)),
265 .userspacesize = IP6T_ALIGN(sizeof(struct ip6t_icmp))
    [all...]
libipt_LOG.c 82 i < sizeof(ipt_log_names) / sizeof(struct ipt_log_names);
141 if (strlen(optarg) > sizeof(loginfo->prefix) - 1)
144 (unsigned int)sizeof(loginfo->prefix) - 1);
223 i < sizeof(ipt_log_names) / sizeof(struct ipt_log_names);
230 if (i == sizeof(ipt_log_names) / sizeof(struct ipt_log_names))
276 .size = IPT_ALIGN(sizeof(struct ipt_log_info)),
277 .userspacesize = IPT_ALIGN(sizeof(struct ipt_log_info))
    [all...]
libipt_icmp.c 85 for (i = 0; i < sizeof(icmp_codes)/sizeof(struct icmp_names); i++) {
120 unsigned int limit = sizeof(icmp_codes)/sizeof(struct icmp_names);
219 i < sizeof(icmp_codes)/sizeof(struct icmp_names);
227 if (i != sizeof(icmp_codes)/sizeof(struct icmp_names)) {
293 .size = IPT_ALIGN(sizeof(struct ipt_icmp)),
294 .userspacesize = IPT_ALIGN(sizeof(struct ipt_icmp))
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/windib/
SDL_dibaudio.c 70 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice));
72 SDL_memset(this, 0, (sizeof *this));
74 SDL_malloc((sizeof *this->hidden));
83 SDL_memset(this->hidden, 0, (sizeof *this->hidden));
178 waveOutWrite(sound, &wavebuf[next_buffer], sizeof(wavebuf[0]));
230 sizeof(wavebuf[i]));
259 SDL_memset(&waveformat, 0, sizeof(waveformat));
305 result = waveOutGetDevCaps((UINT)sound, &caps, sizeof(caps));
328 SDL_memset(&wavebuf[i], 0, sizeof(wavebuf[i]));
333 sizeof(wavebuf[i]))
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzYUV.m 80 sizeof (PlanarPixmapInfoYUV420),
131 yuv_idh = (ImageDescriptionHandle) NewHandleClear (sizeof(ImageDescription));
137 yuv_matrix = (MatrixRecordPtr) SDL_malloc (sizeof(MatrixRecord));
201 (**yuv_idh).idSize = sizeof(ImageDescription);
237 overlay = (SDL_Overlay*) SDL_malloc (sizeof(*overlay));
270 pixels = (Uint8**) SDL_malloc (sizeof(*pixels) * 3);
271 pitches = (Uint16*) SDL_malloc (sizeof(*pitches) * 3);
280 SDL_malloc (sizeof(PlanarPixmapInfoYUV420) +
288 offset = sizeof(PlanarPixmapInfoYUV420);
315 overlay->hwfuncs = SDL_malloc (sizeof(*overlay->hwfuncs))
    [all...]
  /external/srec/seti/sltsEngine/src/
SWIslts.c 62 static const int g_numPhones = sizeof(g_aPhoneMap) / sizeof(g_aPhoneMap[0]);
81 *ppLtsWrap = MALLOC(sizeof(SWIsltsWrapper), MTAG);
136 pEng = CALLOC(1, sizeof(SLTS_Engine), MTAG);
222 new_text = MALLOC((strlen(text)+1)*sizeof(char), MTAG);
303 pBlock = (LCHAR *)CALLOC(sizeof(int) + nNbrOfTranscriptions * sizeof(SWIsltsTranscription), sizeof(LCHAR), MTAG);
310 pTranscription = (SWIsltsTranscription *)(pBlock + sizeof(int));
359 pBuffer = ((LCHAR *)pTranscriptions - sizeof(int))
    [all...]
  /external/webkit/JavaScriptCore/assembler/
AssemblerBufferWithConstantPool.h 104 m_mask = static_cast<char*>(fastMalloc(maxPoolSize / sizeof(uint32_t)));
178 flushIfNoSpaceFor(maxInstructionSize, sizeof(uint64_t));
220 if (isForced || 5 * m_numConsts > 3 * maxPoolSize / sizeof(uint32_t))
255 int alignPool = (AssemblerBuffer::size() + (useBarrier ? barrierSize : 0)) & (sizeof(uint64_t) - 1);
258 alignPool = sizeof(uint64_t) - alignPool;
262 AssemblerBuffer::putInt(AssemblerType::placeConstantPoolBarrier(m_numConsts * sizeof(uint32_t) + alignPool));
274 append(reinterpret_cast<char*>(m_pool), m_numConsts * sizeof(uint32_t));
292 if ((m_maxDistance < nextInsnSize + lastConstDelta + barrierSize + (int)sizeof(uint32_t)))
300 if ((m_maxDistance < nextInsnSize + m_lastConstDelta + nextConstSize + barrierSize + (int)sizeof(uint32_t)) ||
301 (m_numConsts * sizeof(uint32_t) + nextConstSize >= maxPoolSize)
    [all...]
  /external/webkit/WebCore/platform/graphics/chromium/
HarfbuzzSkia.cpp 64 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_t*>(glyphs));
71 memcpy(&value, reinterpret_cast<char*>(glyphs) + sizeof(uint16_t) * i, sizeof(uint16_t));
92 paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances));
100 memcpy(&value, reinterpret_cast<char*>(advances) + sizeof(float) * i, sizeof(float));
116 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16.get());
141 paint.getTextPath(&glyph16, sizeof(glyph16), 0, 0, &path);
145 SkPoint* points = reinterpret_cast<SkPoint*>(fastMalloc(sizeof(SkPoint) * (point + 1)));
168 paint.getTextWidths(&glyph16, sizeof(glyph16), &width, &bounds)
    [all...]
  /external/wpa_supplicant/
driver_prism54.c 46 os_memset(&iwr, 0, sizeof(iwr));
69 if (blen < sizeof(*param))
70 blen = sizeof(*param);
94 if (blen < sizeof(*param))
95 blen = sizeof(*param);
150 blen = sizeof(*param) + key_len;
208 if (blen < sizeof(*param))
209 blen = sizeof(*param);
336 drv = os_zalloc(sizeof(*drv));
346 os_strncpy(drv->ifname, ifname, sizeof(drv->ifname))
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/drivers/
driver_prism54.c 44 os_memset(&iwr, 0, sizeof(iwr));
67 if (blen < sizeof(*param))
68 blen = sizeof(*param);
92 if (blen < sizeof(*param))
93 blen = sizeof(*param);
148 blen = sizeof(*param) + key_len;
206 if (blen < sizeof(*param))
207 blen = sizeof(*param);
333 drv = os_zalloc(sizeof(*drv));
343 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname))
    [all...]
  /frameworks/base/media/libstagefright/codecs/aacdec/
sbr_dec.cpp 203 6*SBR_NUM_BANDS*sizeof(*hFrameData->sbrQmfBufferReal));
211 6*SBR_NUM_BANDS*sizeof(*hFrameData->sbrQmfBufferImag));
249 pv_memcpy(&inPcmData[-1024-288], &inPcmData[1024], 288*sizeof(*inPcmData));
253 pv_memcpy(&inPcmData[1024 + 288], &inPcmData[1024], 288*sizeof(*inPcmData));
385 SBR_NUM_BANDS*sizeof(*hFrameData->sbrQmfBufferReal));
390 SBR_NUM_BANDS*sizeof(*hFrameData->sbrQmfBufferImag));
471 (sbrDec->highSubband - xoverBand)*sizeof(*Sr_x));
475 (sbrDec->highSubband - xoverBand)*sizeof(*Si_x));
479 (64 - sbrDec->highSubband)*sizeof(*Sr_x));
483 (64 - sbrDec->highSubband)*sizeof(*Si_x))
    [all...]
  /hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/
EvHandler.c 57 pEvHandler = os_memoryAlloc(hOs,sizeof(TEvHandlerObj));
65 os_memoryZero(hOs,pEvHandler,sizeof(TEvHandlerObj));
87 os_memoryFree(pEvHandler->hOs,pEvHandler,sizeof(TEvHandlerObj));
116 /* used to be: if ( sizeof(IPC_EVENT_PARAMS) != Length)
118 if (sizeof(IPC_EVENT_PARAMS) > Length)
120 PRINTF(DBG_INIT_ERROR, (" EvHandlerRegisterEvent Error sizeof(IPC_EVENT_PARAMS) != Length,"
121 "%d != %d \n",sizeof(IPC_EVENT_PARAMS), (int)Length));
253 sizeof(IPC_EVENT_PARAMS));
255 os_memoryZero(pEvHandler->hOs,(TI_UINT8*)pNewEvent->uBuffer, sizeof(pNewEvent->uBuffer));
269 IPC_EventSend (pEvHandler->hOs,(TI_UINT8*)pNewEvent,sizeof(IPC_EV_DATA))
    [all...]
  /libcore/luni/src/main/native/
java_lang_RealToString.cpp 71 memset (R , 0, RM_SIZE * sizeof (uint64_t));
72 memset (S , 0, STemp_SIZE * sizeof (uint64_t));
73 memset (mplus , 0, RM_SIZE * sizeof (uint64_t));
74 memset (mminus, 0, RM_SIZE * sizeof (uint64_t));
75 memset (Temp , 0, STemp_SIZE * sizeof (uint64_t));
138 memset (Temp + RM_SIZE, 0, (STemp_SIZE - RM_SIZE) * sizeof (uint64_t));
139 memcpy (Temp, R, RM_SIZE * sizeof (uint64_t));
185 memcpy (Temp, S, SLength * sizeof (uint64_t));
196 memset (Temp + RLength, 0, (STemp_SIZE - RLength) * sizeof (uint64_t));
197 memcpy (Temp, R, RLength * sizeof (uint64_t))
    [all...]
  /system/bluetooth/tools/
sock_shutdown_test.c 129 len = sizeof(local_addr_un);
133 len = sizeof(local_addr_rc);
137 len = sizeof(local_addr_sco);
141 len = sizeof(local_addr_l2);
145 len = sizeof(local_addr_in);
176 len = sizeof(remote_addr_un);
180 len = sizeof(remote_addr_rc);
184 len = sizeof(remote_addr_sco);
188 len = sizeof(remote_addr_l2);
192 len = sizeof(remote_addr_in)
    [all...]
  /system/wlan/ti/sta_dk_4_0_4_32/CUDK/IPC/Linux/
ipc_event.c 61 if(nEvMessageSize < sizeof(IPC_EVENT_PARAMS))
78 IPC_CONFIG_PARAMS *pData_tosend = (IPC_CONFIG_PARAMS *)malloc(sizeof(IPC_CONFIG_PARAMS));
94 sizeof(OS_802_11_MAC_ADDRESS), (tiUINT32*)nSize ))
205 memset(&local, 0, sizeof(local));
210 if (bind(fd, (struct sockaddr*)&local, sizeof(local)) < 0) {
235 /*bzero(serv_addr,sizeof(serv_addr));*/
240 serv_addr_len = sizeof(serv_addr.sun_family)+strlen(serv_addr.sun_path);
289 res = IPC_DeviceIoControl(hDevice, TIWLN_802_11_ENABLE_EVENT, (tiVOID*)pEvParams, sizeof(IPC_EVENT_PARAMS), /*NULL,0*/&ouput, sizeof(IPC_EVENT_PARAMS), &bytesReturned );
301 return IPC_DeviceIoControl(hDevice, TIWLN_802_11_DISABLE_EVENT, (tiVOID*)&id, sizeof(UINT32), NULL, 0, &bytesReturned )
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_fast.c 156 data = os_zalloc(sizeof(*data));
298 sizeof(*data->key_block_p));
310 sizeof(data->key_block_p->session_key_seed));
316 sizeof(data->key_block_p->server_challenge));
319 sizeof(data->key_block_p->client_challenge));
414 if (len <= sizeof(struct eap_hdr)) {
456 os_memset(&iret, 0, sizeof(iret));
488 buf = wpabuf_alloc(sizeof(*nak));
491 nak = wpabuf_put(buf, sizeof(*nak));
504 buf = wpabuf_alloc(sizeof(*result))
    [all...]
  /external/chromium/base/third_party/symbolize/
symbolize.cc 39 // - sizeof(Elf32_Sym) = 16
40 // - sizeof(Elf32_Shdr) = 40
41 // - sizeof(Elf64_Sym) = 24
42 // - sizeof(Elf64_Shdr) = 64
83 if (Demangle(out, demangled, sizeof(demangled))) {
87 SAFE_ASSERT(len < sizeof(demangled));
169 if (!ReadFromOffsetExact(fd, &elf_header, sizeof(elf_header), 0)) {
189 const ssize_t num_bytes_left = (sh_num - i) * sizeof(buf[0]);
191 (sizeof(buf) > num_bytes_left) ? num_bytes_left : sizeof(buf)
    [all...]
  /external/qemu/block/
qcow.c 85 if (buf_size >= sizeof(QCowHeader) &&
102 if (bdrv_pread(s->hd, 0, &header, sizeof(header)) != sizeof(header))
135 s->l1_table = qemu_malloc(s->l1_size * sizeof(uint64_t));
138 if (bdrv_pread(s->hd, s->l1_table_offset, s->l1_table, s->l1_size * sizeof(uint64_t)) !=
139 s->l1_size * sizeof(uint64_t))
145 s->l2_cache = qemu_malloc(s->l2_size * L2_CACHE_SIZE * sizeof(uint64_t));
280 if (bdrv_pwrite(s->hd, s->l1_table_offset + l1_index * sizeof(tmp),
281 &tmp, sizeof(tmp)) != sizeof(tmp)
    [all...]
  /external/webkit/JavaScriptCore/jit/
JITCall.cpp 53 store32(regT1, Address(callFrameRegister, RegisterFile::ArgumentCount * static_cast<int>(sizeof(Register))));
58 storePtr(regT0, Address(callFrameRegister, RegisterFile::Callee * static_cast<int>(sizeof(Register)))); // callee
59 storePtr(regT1, Address(callFrameRegister, RegisterFile::ScopeChain * static_cast<int>(sizeof(Register)))); // scopeChain
110 mul32(Imm32(sizeof(Register)), regT3, regT3);
112 storePtr(callFrameRegister, Address(regT3, RegisterFile::CallerFrame * static_cast<int>(sizeof(Register))));
215 store32(returnValueRegister, Address(callFrameRegister, argCountDst * sizeof(Register)));
266 storePtr(callFrameRegister, Address(callFrameRegister, (RegisterFile::CallerFrame + registerOffset) * static_cast<int>(sizeof(Register))));
267 addPtr(Imm32(registerOffset * static_cast<int>(sizeof(Register))), callFrameRegister);
354 store32(Imm32(argCount), Address(callFrameRegister, (registerOffset + RegisterFile::ArgumentCount) * static_cast<int>(sizeof(Register))));
355 storePtr(callFrameRegister, Address(callFrameRegister, (registerOffset + RegisterFile::CallerFrame) * static_cast<int>(sizeof(Register))))
    [all...]
  /system/core/sdcard/
sdcard.c 197 node = calloc(1, sizeof(struct node) + namelen);
329 memset(node, 0xef, sizeof(*node) + strlen(node->name));
338 hdr.len = sizeof(hdr);
344 write(fuse->fd, &hdr, sizeof(hdr));
353 hdr.len = len + sizeof(hdr);
358 vec[0].iov_len = sizeof(hdr);
373 memset(&out, 0, sizeof(out));
388 fuse_reply(fuse, unique, &out, sizeof(out));
395 if ((len < sizeof(*hdr)) || (hdr->len != len)) {
432 memset(&out, 0, sizeof(out))
    [all...]
  /system/wlan/ti/sta_dk_4_0_4_32/common/src/hal/hw_ctrl/
whalHwMboxCmd.c 68 pObj = os_memoryAlloc(hOs, sizeof(HwMboxCmd_T));
72 os_memoryZero(hOs, (void *)pObj, sizeof(HwMboxCmd_T));
95 os_memoryFree(pHwMboxCmd->hOs, pHwMboxCmd, sizeof(HwMboxCmd_T));
140 os_memoryZero(pHwMboxCmd->hOs, (void *)pCmd, sizeof(StartJoinRequest_t));
208 return (CmdQueue_Command(pHwMboxCmd->hCmdMboxQueue, CMD_START_JOIN, (char *)pCmd, sizeof(*pCmd)));
210 return (CmdQueue_CommandWithCb(pHwMboxCmd->hCmdMboxQueue, CMD_START_JOIN, (char *)pCmd, sizeof(*pCmd), (void *)JoinCompleteCB, CB_handle, NULL));
233 return (CmdQueue_Command(pHwMboxCmd->hCmdMboxQueue, CMD_LNA_CONTROL , (char *)pCmd, sizeof(*pCmd)));
303 return (CmdQueue_Command(pHwMboxCmd->hCmdMboxQueue, CMD_ENABLE_RX, (char *)&ChannelNumber, sizeof(UINT8)));
327 return (CmdQueue_Command(pHwMboxCmd->hCmdMboxQueue, CMD_ENABLE_TX, (char *)&ChannelNumber, sizeof(UINT8)));
414 return (CmdQueue_Command(pHwMboxCmd->hCmdMboxQueue, templateType, (char *)pCmd, FrameSize + sizeof(pCmd->len)))
    [all...]
  /external/chromium/third_party/icu/source/test/cintltst/
cmsgtst.c 65 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize);
70 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize);
113 str=(UChar*)malloc(sizeof(UChar) * 7);
116 result=(UChar*)malloc(sizeof(UChar) * 1);
128 result=(UChar*)realloc(result,sizeof(UChar) * resultlength);
160 result=(UChar*)malloc(sizeof(UChar) * resultlength);
272 str=(UChar*)malloc(sizeof(UChar) * 15);
277 result=(UChar*)malloc(sizeof(UChar) * 1);
285 result=(UChar*)realloc(result, sizeof(UChar) * resultlength);
316 result=(UChar*)realloc(result, sizeof(UChar) * (resultlength+1))
    [all...]
  /external/dhcpcd/
dhcp.c 235 sz = sizeof(uint32_t);
237 sz = sizeof(uint16_t);
239 sz = sizeof(uint8_t);
260 const uint8_t *e = p + sizeof(dhcp->options);
273 dhcp_opt_buffer = xmalloc(sizeof(struct dhcp_message));
293 e = p + sizeof(dhcp->bootfile);
298 e = p + sizeof(dhcp->servername);
337 memcpy(&a->s_addr, p, sizeof(a->s_addr));
349 memcpy(&d, p, sizeof(d));
362 memcpy(&d, p, sizeof(d))
    [all...]
  /external/ipsec-tools/src/racoon/
racoonctl.c 404 buf = vmalloc(sizeof(*head));
441 buf = vmalloc(sizeof(*head));
462 buf = vmalloc(sizeof(*head));
491 buf = vmalloc(sizeof(*head));
520 buf = vmalloc(sizeof(*head));
569 buf = vmalloc(sizeof(*head) + index->l);
579 memcpy(buf->v+sizeof(*head), index->v, index->l);
624 buf = vmalloc(sizeof(*head) + index->l);
634 memcpy(buf->v+sizeof(*head), index->v, index->l);
669 com_len += sizeof(*acp) + strlen(id) + 1 + strlen(key) + 1
    [all...]

Completed in 690 milliseconds

<<31323334353637383940>>