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

<<51525354555657585960>>

  /external/ipsec-tools/src/libipsec/
ipsec_dump_policy.c 231 off = sizeof(*xpl);
244 off = sizeof(*xpl);
249 if (ipsec_dump_ipsecrequest(isrbuf, sizeof(isrbuf), xisr,
320 if (xisr->sadb_x_ipsecrequest_len > sizeof(*xisr)) {
327 if (sizeof(*xisr) + sysdep_sa_len(sa1) + sysdep_sa_len(sa2) !=
332 if (set_addresses(abuf, sizeof(abuf),
383 if (set_address(tmp1, sizeof(tmp1), sa1, withports) == NULL ||
384 set_address(tmp2, sizeof(tmp2), sa2, withports) == NULL)
406 if (getnameinfo(sa, (socklen_t)sysdep_sa_len(sa), host, sizeof(host),
407 serv, sizeof(serv), niflags) != 0
    [all...]
  /external/openssl/crypto/stack/
stack.c 99 (unsigned int)sizeof(char *)*sk->num_alloc);
104 memcpy(ret->data,sk->data,sizeof(char *)*sk->num);
125 if ((ret=OPENSSL_malloc(sizeof(_STACK))) == NULL)
127 if ((ret->data=OPENSSL_malloc(sizeof(char *)*MIN_NODES)) == NULL)
150 (unsigned int)sizeof(char *)*st->num_alloc*2);
171 sizeof(char *)*(st->num-loc));
206 * sizeof(char *)*(st->num-loc-1));
229 r=OBJ_bsearch_ex_(&data,st->data,st->num,sizeof(void *),st->comp,
272 memset((char *)st->data,0,sizeof(st->data)*st->num);
324 qsort(st->data,st->num,sizeof(char *), comp_func)
    [all...]
  /external/ppp/pppd/
ipxcp.c 255 slprintf(b, sizeof(b), "%x", ipxaddr);
353 memset (dest, '\0', sizeof (ipxcp_wantoptions[0].name));
363 if (count >= sizeof (ipxcp_wantoptions[0].name) - 1) {
365 sizeof (ipxcp_wantoptions[0].name) - 1);
390 memset (wo->name, 0, sizeof (wo->name));
391 memset (wo->our_node, 0, sizeof (wo->our_node));
392 memset (wo->his_node, 0, sizeof (wo->his_node));
420 memcpy (dst, src, sizeof (ipxcp_wantoptions[0].our_node));
431 return memcmp (dst, src, sizeof (ipxcp_wantoptions[0].our_node)) == 0;
443 for (indx = 0; indx < sizeof (ipxcp_wantoptions[0].our_node); ++indx
    [all...]
  /external/qemu/block/
raw-win32.c 122 memset(&ov, 0, sizeof(ov));
143 memset(&ov, 0, sizeof(ov));
202 NULL, 0, &dg, sizeof(dg), &count, NULL);
247 .instance_size = sizeof(BDRVRawState),
268 memset(drives, 0, sizeof(drives));
269 GetLogicalDriveStrings(sizeof(drives), drives);
293 snprintf(s->drive_path, sizeof(s->drive_path), "%c:\\", p[0]);
326 if (find_cdrom(device_name, sizeof(device_name)) < 0)
334 snprintf(device_name, sizeof(device_name), "\\\\.\\%c:", filename[0]);
402 .instance_size = sizeof(BDRVRawState)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/macrom/
SDL_romaudio.c 74 this = (SDL_AudioDevice *)SDL_malloc(sizeof(SDL_AudioDevice));
76 SDL_memset(this, 0, (sizeof *this));
78 SDL_malloc((sizeof *this->hidden));
87 SDL_memset(this->hidden, 0, (sizeof *this->hidden));
233 memset (&header, 0, sizeof(header));
257 buffer[i] = (UInt8*)malloc (sizeof(UInt8) * spec->size);
266 channel = (SndChannelPtr)SDL_malloc(sizeof(*channel));
434 SDL_memset(&audio_dbh, 0, sizeof(audio_dbh));
454 audio_buf[i] = SDL_calloc(1, sizeof(SndDoubleBuffer)+spec->size);
466 channel = (SndChannelPtr)SDL_malloc(sizeof(*channel))
    [all...]
  /external/quake/quake/src/QW/client/
net_wins.c 40 memset (s, 0, sizeof(*s));
103 memset (&sadr, 0, sizeof(sadr));
151 if( bind (newsocket, (void *)&sadr, sizeof(sadr)) == -1)
172 fromlen = sizeof(from);
173 ret = recvfrom (net_socket, (char *)net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen);
193 if (ret == sizeof(net_message_buffer) )
211 ret = sendto (net_socket, data, length, 0, (struct sockaddr *)&addr, sizeof(addr) );
257 if( bind (newsocket, (void *)&address, sizeof(address)) == -1)
274 namelen = sizeof(address);
307 net_message.maxsize = sizeof(net_message_buffer)
    [all...]
  /external/speex/libspeex/
scal.c 84 SpeexDecorrState *st = speex_alloc(sizeof(SpeexDecorrState));
91 st->wola_mem = speex_alloc(frame_size*sizeof(float));
92 st->curve = speex_alloc(frame_size*sizeof(float));
94 st->y = speex_alloc(frame_size*sizeof(float));
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float));
97 st->ringID = speex_alloc(channels*sizeof(int));
98 st->order = speex_alloc(channels*sizeof(int));
99 st->alpha = speex_alloc(channels*sizeof(float));
100 st->ring = speex_alloc(channels*ALLPASS_ORDER*sizeof(float));
103 st->vorbis_win = speex_alloc((2*frame_size+20)*sizeof(float))
    [all...]
  /external/stlport/test/unit/
alg_test.cpp 119 #define ARRAY_SIZE(arr) sizeof(arr) / sizeof(arr[0])
194 int* array_end = array + sizeof(array) / sizeof(*array);
201 int* array_end = array + sizeof(array) / sizeof(*array);
286 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars));
300 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars));
315 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars));
329 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars))
    [all...]
limits_test.cpp 185 str << "sizeof(_Tp) = " << sizeof(_Tp);
187 if (sizeof(_Tp) == 4) {
193 else if (sizeof(_Tp) == sizeof(_STLP_LONG_LONG)) {
202 for (int i = 0; i != sizeof(_Tp) / sizeof(unsigned short); ++i) {
207 for (int i = 0; i != sizeof(_Tp) / sizeof(unsigned short); ++i) {
238 //if (sizeof(_Tp) == 4)
    [all...]
num_put_get_test.cpp 632 if (sizeof(short) == 2) {
642 if (sizeof(int) == 4) {
652 if (sizeof(long) == 4) {
663 if (sizeof(_STLP_LONG_LONG) == 8) {
727 if (sizeof(short) == 2) {
737 if (sizeof(int) == 4) {
747 if (sizeof(long) == 4) {
757 if (sizeof(_STLP_LONG_LONG) == 8) {
904 if (sizeof(short) == 2) {
933 if (sizeof(short) == 2)
    [all...]
  /external/tcpdump/
print-sctp.c 92 if (sctpPacketLength < sizeof(struct sctpHeader))
95 (long)sctpPacketLength-sizeof(struct sctpHeader));
99 /* sctpPacketLength -= sizeof(struct sctpHeader); packet length */
130 ((const u_char*) sctpPktHdr + sizeof(struct sctpHeader));
133 ((const u_char *) chunkDescPtr + sizeof(struct sctpChunkDesc))
144 if (chunkLength < sizeof(*chunkDescPtr)) {
207 sizeof(struct sctpDataPart)+
208 sizeof(struct sctpChunkDesc)+1) {
216 (sizeof(struct sctpDataPart)+
217 sizeof(struct sctpChunkDesc)))
    [all...]
  /external/webkit/WebCore/platform/graphics/mac/
ComplexTextControllerATSUI.cpp 137 memcpy(dest + shapingStart, source + shapingStart, (shapingEnd - shapingStart) * sizeof(UChar));
172 memcpy(substituteCharacters.data(), characters, stringLength * sizeof(UChar));
196 memcpy(substituteCharacters.data() + 1, characters, stringLength * sizeof(UChar));
211 ByteCount sizes[] = { sizeof(ATSLineLayoutOptions), sizeof(Boolean), sizeof(ATSULayoutOperationOverrideSpecifier) };
298 ByteCount styleSizes[4] = { sizeof(fontSize), sizeof(fontID), sizeof(verticalFlip), sizeof(kerningInhibitFactor) }
    [all...]
  /external/webkit/WebCore/platform/text/mac/
TextCodecMac.cpp 142 ASSERT(m_numBufferedBytes < sizeof(m_bufferedBytes));
143 const int spaceInBuffer = sizeof(m_bufferedBytes) - m_numBufferedBytes;
156 LOG_ERROR("TECConvertText gave a kTECPartialCharErr but read none of the %zu bytes in the buffer", sizeof(m_bufferedBytes));
213 OSStatus status = decode(sourcePointer, sourceLength, bytesRead, buffer, sizeof(buffer), bytesWritten);
238 const int bufferSize = sizeof(m_numBufferedBytes);
253 ASSERT(!(bytesWritten % sizeof(UChar)));
254 result.append(buffer, bytesWritten / sizeof(UChar));
261 TECFlushText(m_converterTEC, reinterpret_cast<unsigned char*>(buffer), sizeof(buffer), &bytesWritten);
262 ASSERT(!(bytesWritten % sizeof(UChar)));
263 result.append(buffer, bytesWritten / sizeof(UChar))
    [all...]
  /ndk/sources/android/stlport/test/unit/
alg_test.cpp 119 #define ARRAY_SIZE(arr) sizeof(arr) / sizeof(arr[0])
194 int* array_end = array + sizeof(array) / sizeof(*array);
201 int* array_end = array + sizeof(array) / sizeof(*array);
286 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars));
300 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars));
315 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars));
329 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars))
    [all...]
limits_test.cpp 185 str << "sizeof(_Tp) = " << sizeof(_Tp);
187 if (sizeof(_Tp) == 4) {
193 else if (sizeof(_Tp) == sizeof(_STLP_LONG_LONG)) {
202 for (int i = 0; i != sizeof(_Tp) / sizeof(unsigned short); ++i) {
207 for (int i = 0; i != sizeof(_Tp) / sizeof(unsigned short); ++i) {
238 //if (sizeof(_Tp) == 4)
    [all...]
num_put_get_test.cpp 632 if (sizeof(short) == 2) {
642 if (sizeof(int) == 4) {
652 if (sizeof(long) == 4) {
663 if (sizeof(_STLP_LONG_LONG) == 8) {
727 if (sizeof(short) == 2) {
737 if (sizeof(int) == 4) {
747 if (sizeof(long) == 4) {
757 if (sizeof(_STLP_LONG_LONG) == 8) {
904 if (sizeof(short) == 2) {
933 if (sizeof(short) == 2)
    [all...]
  /system/bluetooth/brcm_patchram_plus/
brcm_patchram_plus.c 187 for (i = 0; i < (sizeof(baud_rates) / sizeof(tBaudRates)); i++) {
408 hci_send_cmd(hci_reset, sizeof(hci_reset));
418 hci_send_cmd(hci_reset, sizeof(hci_reset));
432 hci_send_cmd(hci_download_minidriver, sizeof(hci_download_minidriver));
458 hci_send_cmd(hci_update_baud_rate, sizeof(hci_update_baud_rate));
474 hci_send_cmd(hci_write_bd_addr, sizeof(hci_write_bd_addr));
482 hci_send_cmd(hci_write_sleep_mode, sizeof(hci_write_sleep_mode));
524 sz = read(fd, bdaddr, sizeof(bdaddr));
530 } else if (sz != sizeof(bdaddr))
    [all...]
  /system/core/adb/
fdevent.c 104 memset(&ev, 0, sizeof(ev));
120 memset(&ev, 0, sizeof(ev));
139 memset(&ev, 0, sizeof(ev));
283 memcpy(&rfd, &read_fds, sizeof(fd_set));
284 memcpy(&wfd, &write_fds, sizeof(fd_set));
285 memcpy(&efd, &error_fds, sizeof(fd_set));
336 fd_table = realloc(fd_table, sizeof(fdevent*) * fd_table_max);
340 memset(fd_table + oldmax, 0, sizeof(int) * (fd_table_max - oldmax));
399 fdevent *fde = (fdevent*) malloc(sizeof(fdevent));
417 memset(fde, 0, sizeof(fdevent))
    [all...]
  /system/extras/librank/
librank.c 86 libraries = realloc(libraries, 2 * libraries_size * sizeof(struct library_info *));
94 library = calloc(1, sizeof(*library));
105 library->mappings = malloc(INIT_MAPPINGS * sizeof(struct mapping_info *));
129 2 * library->mappings_size * sizeof(struct mapping*));
137 mapping = calloc(1, sizeof(*mapping));
153 process = calloc(1, sizeof(*process));
160 getprocname(pid, process->cmdline, sizeof(process->cmdline));
214 libraries = malloc(INIT_LIBRARIES * sizeof(struct library_info *));
270 qsort(libraries, libraries_count, sizeof(libraries[0]), &licmp);
278 qsort(li->mappings, li->mappings_count, sizeof(li->mappings[0]), compfn)
    [all...]
  /external/strace/
util.c 542 size = sizeof(*iov) * (unsigned long) len;
543 if (size / sizeof(*iov) != len
639 char x[sizeof(long)];
642 if (addr & (sizeof(long) - 1)) {
643 /* addr not a multiple of sizeof(long) */
644 n = addr - (addr & -sizeof(long)); /* residue */
645 addr &= -sizeof(long); /* residue */
658 memcpy(laddr, &u.x[n], m = MIN(sizeof(long) - n, len));
659 addr += sizeof(long), laddr += m, len -= m;
674 memcpy(laddr, u.x, m = MIN(sizeof(long), len))
    [all...]
  /device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/common/
SEC_OMX_Basecomponent.c 54 version = (OMX_VERSIONTYPE*)((char*)header + sizeof(OMX_U32));
91 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
108 SEC_OSAL_Memcpy(pComponentVersion, &(pSECComponent->componentVersion), sizeof(OMX_VERSIONTYPE));
109 SEC_OSAL_Memcpy(pSpecVersion, &(pSECComponent->specVersion), sizeof(OMX_VERSIONTYPE));
116 SEC_OSAL_Memcpy(*pComponentUUID, compUUID, 3 * sizeof(*compUUID));
141 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
175 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
502 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
732 SEC_OMX_MESSAGE *command = (SEC_OMX_MESSAGE *)SEC_OSAL_Malloc(sizeof(SEC_OMX_MESSAGE));
771 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE))
    [all...]
  /external/bison/src/
tables.c 158 table = xnrealloc (table, table_size, sizeof *table);
160 sizeof *conflict_table);
161 check = xnrealloc (check, table_size, sizeof *check);
391 froms[s] = sp = sp1 = xnmalloc (count, sizeof *sp1);
392 tos[s] = sp2 = xnmalloc (count, sizeof *sp2);
394 nondeterministic_parser ? xnmalloc (count, sizeof *sp3) : NULL;
428 yydefact = xnmalloc (nstates, sizeof *yydefact);
430 actrow = xnmalloc (ntokens, sizeof *actrow);
431 conflrow = xnmalloc (ntokens, sizeof *conflrow);
433 conflict_list = xnmalloc (1 + 2 * nconflict, sizeof *conflict_list)
    [all...]
  /external/wpa_supplicant/
pcsc_funcs.c 341 blen = sizeof(buf);
356 blen = sizeof(buf);
452 scard = os_zalloc(sizeof(*scard));
526 blen = sizeof(buf);
545 blen = sizeof(buf);
551 blen = sizeof(buf);
560 aid_len = scard_get_aid(scard, aid, sizeof(aid));
571 blen = sizeof(buf);
723 if (5 + aidlen > sizeof(cmd))
734 len = sizeof(resp)
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
pcsc_funcs.c 341 blen = sizeof(buf);
356 blen = sizeof(buf);
452 scard = os_zalloc(sizeof(*scard));
526 blen = sizeof(buf);
545 blen = sizeof(buf);
551 blen = sizeof(buf);
560 aid_len = scard_get_aid(scard, aid, sizeof(aid));
571 blen = sizeof(buf);
723 if (5 + aidlen > sizeof(cmd))
734 len = sizeof(resp)
    [all...]
  /external/openssl/crypto/des/
des.c 137 memset(key,0,sizeof(key));
156 cksumname[sizeof(cksumname)-1]='\0';
163 cksumname[sizeof(cksumname)-1]='\0';
195 uuname[sizeof(uuname)-1]='\0';
430 OPENSSL_cleanse(k2,sizeof(k2));
438 OPENSSL_cleanse(k2,sizeof(k2));
460 OPENSSL_cleanse(key,sizeof(key));
461 OPENSSL_cleanse(kk,sizeof(kk));
463 memset(iv,0,sizeof(iv));
464 memset(iv2,0,sizeof(iv2))
    [all...]

Completed in 571 milliseconds

<<51525354555657585960>>