/device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/video/enc/h264enc/ |
SEC_OMX_H264enc.c | 264 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE)); 286 ret = SEC_OMX_Check_SizeVersion(pDstAVCComponent, sizeof(OMX_VIDEO_PARAM_AVCTYPE)); 299 SEC_OSAL_Memcpy(pDstAVCComponent, pSrcAVCComponent, sizeof(OMX_VIDEO_PARAM_AVCTYPE)); 305 ret = SEC_OMX_Check_SizeVersion(pComponentRole, sizeof(OMX_PARAM_COMPONENTROLETYPE)); 319 ret = SEC_OMX_Check_SizeVersion(pDstProfileLevel, sizeof(OMX_VIDEO_PARAM_PROFILELEVELTYPE)); 330 maxProfileLevelNum = sizeof(supportedAVCProfileLevels) / sizeof(SEC_OMX_VIDEO_PROFILELEVEL); 348 ret = SEC_OMX_Check_SizeVersion(pDstProfileLevel, sizeof(OMX_VIDEO_PARAM_PROFILELEVELTYPE)); 371 ret = SEC_OMX_Check_SizeVersion(pDstErrorCorrectionType, sizeof(OMX_VIDEO_PARAM_ERRORCORRECTIONTYPE)); 417 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE)) [all...] |
/external/bluetooth/bluez/tools/ |
main.c | 131 dl = malloc(sizeof(*dl) + RFCOMM_MAX_DEV * sizeof(*di)); 156 memset(&req, 0, sizeof(req)); 208 memset(&req, 0, sizeof(req)); 227 memset(&req, 0, sizeof(req)); 243 dl = malloc(sizeof(*dl) + RFCOMM_MAX_DEV * sizeof(*di)); 272 cmdargv = malloc((argc + 1) * sizeof(char*)); 366 if (setsockopt(sk, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) < 0) { 372 if (bind(sk, (struct sockaddr *) &laddr, sizeof(laddr)) < 0) [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
strcase.cpp | 29 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 143 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 145 if( s.length()!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || 148 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\""); 152 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 154 if( s.length()!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || 157 errln("error in toLower(turkish locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerTurkish, (int32_t)(sizeof(lowerTurkish)/U_SIZEOF_UCHAR)) + "\""); 161 s=UnicodeString(FALSE, beforeUpper, (int32_t)(sizeof(beforeUpper)/U_SIZEOF_UCHAR)); 163 if( s.length()!=(sizeof(upperRoot)/U_SIZEOF_UCHAR) | [all...] |
/external/dropbear/libtomcrypt/testprof/ |
rsa_test.c | 84 DO(rsa_import(openssl_private_rsa, sizeof(openssl_private_rsa), &key)); 87 len = sizeof(buf); 89 if (len != sizeof(openssl_private_rsa) || memcmp(buf, openssl_private_rsa, len)) { 90 fprintf(stderr, "RSA private export failed to match OpenSSL output, %lu, %lu\n", len, (unsigned long)sizeof(openssl_private_rsa)); 94 len = sizeof(buf); 96 if (len != sizeof(openssl_public_rsa_stripped) || memcmp(buf, openssl_public_rsa_stripped, len)) { 103 DO(rsa_import(openssl_public_rsa_stripped, sizeof(openssl_public_rsa_stripped), &key)); 104 len = sizeof(buf); 106 if (len != sizeof(openssl_public_rsa_stripped) || memcmp(buf, openssl_public_rsa_stripped, len)) { 113 DO(rsa_import(openssl_public_rsa, sizeof(openssl_public_rsa), &key)) [all...] |
/external/e2fsprogs/intl/ |
vasnprintf.c | 150 if (buf_neededlength < 4000 / sizeof (CHAR_T)) 152 buf = (CHAR_T *) alloca (buf_neededlength * sizeof (CHAR_T)); 158 size_t buf_memsize = xtimes (buf_neededlength, sizeof (CHAR_T)); 193 memory_size = xtimes (allocated, sizeof (CHAR_T)); \ 203 memcpy (memory, result, length * sizeof (CHAR_T)); \ 215 memcpy (result + length, cp, n * sizeof (CHAR_T)); 332 (unsigned int) (sizeof (unsigned long long) * CHAR_BIT 342 (unsigned int) (sizeof (unsigned long) * CHAR_BIT 350 (unsigned int) (sizeof (unsigned int) * CHAR_BIT 362 (unsigned int) (sizeof (unsigned long long) * CHAR_BI [all...] |
/external/icu4c/common/ |
loclikely.cpp | 210 int32_t alternateLangLength = sizeof(alternateLang); 259 sizeof(alternateScript), 294 sizeof(alternateRegion), 613 sizeof(tagBuffer), 623 sizeof(likelySubtagsBuffer), 666 sizeof(tagBuffer), 676 sizeof(likelySubtagsBuffer), 719 sizeof(tagBuffer), 729 sizeof(likelySubtagsBuffer), 771 sizeof(tagBuffer) [all...] |
cmemory.h | 72 #define U_ALIGNMENT_OFFSET(ptr) U_POINTER_MASK_LSB(ptr, sizeof(UAlignedMemory) - 1) 78 #define U_ALIGNMENT_OFFSET_UP(ptr) (sizeof(UAlignedMemory) - U_ALIGNMENT_OFFSET(ptr)) 277 T *p=(T *)uprv_malloc(newCapacity*sizeof(T)); 279 uprv_memset(p, 0, newCapacity*sizeof(T)); 293 T *p=(T *)uprv_malloc(newCapacity*sizeof(T)); 299 uprv_memcpy(p, LocalPointerBase<T>::ptr, length*sizeof(T)); 313 T *p=(T *)uprv_malloc(newCapacity*sizeof(T)); 322 uprv_memcpy(p, ptr, length*sizeof(T)); 346 p=(T *)uprv_malloc(length*sizeof(T)); 350 uprv_memcpy(p, ptr, length*sizeof(T)) [all...] |
/external/icu4c/test/intltest/ |
strcase.cpp | 29 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 145 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 147 if( s.length()!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) || 150 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\""); 154 s=UnicodeString(FALSE, beforeLower, (int32_t)(sizeof(beforeLower)/U_SIZEOF_UCHAR)); 156 if( s.length()!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) || 159 errln("error in toLower(turkish locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerTurkish, (int32_t)(sizeof(lowerTurkish)/U_SIZEOF_UCHAR)) + "\""); 163 s=UnicodeString(FALSE, beforeUpper, (int32_t)(sizeof(beforeUpper)/U_SIZEOF_UCHAR)); 165 if( s.length()!=(sizeof(upperRoot)/U_SIZEOF_UCHAR) | [all...] |
/external/openssl/crypto/asn1/ |
asn1t.h | 163 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ 165 sizeof(stname),\ 197 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ 199 sizeof(tname),\ 215 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ 217 sizeof(stname),\ 227 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE), [all...] |
/external/openssl/include/openssl/ |
asn1t.h | 163 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ 165 sizeof(stname),\ 197 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ 199 sizeof(tname),\ 215 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE),\ 217 sizeof(stname),\ 227 sizeof(tname##_seq_tt) / sizeof(ASN1_TEMPLATE), [all...] |
/frameworks/base/core/jni/ |
android_net_LocalSocketImpl.cpp | 187 addrlen = sizeof(sa); 265 socklen_t size = sizeof(int); 283 size = sizeof(lingr); 335 ret = setsockopt(fd, level, optname, &lingr, sizeof(lingr)); 350 (void *)&timeout, sizeof(timeout)); 354 (void *)&timeout, sizeof(timeout)); 364 ret = setsockopt(fd, level, optname, &intValue, sizeof(intValue)); 405 memset(&msg, 0, sizeof(msg)); 471 = ((cmsgptr->cmsg_len - CMSG_LEN(0)) / sizeof(int)); 527 struct cmsghdr cmsgbuf[2*sizeof(cmsghdr) + 0x100] [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
pvmp4audiodecoderresetbuffer.cpp | 186 LONG_WINDOW*sizeof(pVars->perChan[LEFT].time_quant[0])); 190 LONG_WINDOW*sizeof(pVars->perChan[RIGHT].time_quant[0])); 212 288*sizeof(pVars->perChan[LEFT].ltp_buffer[0])); 215 288*sizeof(pVars->perChan[LEFT].ltp_buffer[0])); 218 1152*sizeof(hFrameData_1->V[0])); 221 MAX_NUM_NOISE_VALUES*sizeof(hFrameData_1->prevNoiseLevel_man[0])); 226 288*sizeof(pVars->perChan[RIGHT].ltp_buffer[0])); 229 288*sizeof(pVars->perChan[RIGHT].ltp_buffer[0])); 232 1152*sizeof(hFrameData_2->V[0])); 236 MAX_NUM_NOISE_VALUES*sizeof(hFrameData_2->prevNoiseLevel_man[0])) [all...] |
/development/host/windows/usb/legacy/driver/ |
android_usb_device_object.cpp | 39 sizeof(bulk_read_pipe_str) - sizeof(WCHAR),
40 sizeof(bulk_read_pipe_str) - sizeof(WCHAR),
49 sizeof(bulk_write_pipe_str) - sizeof(WCHAR),
50 sizeof(bulk_write_pipe_str) - sizeof(WCHAR),
59 sizeof(index_pipe_prefix_str) - sizeof(WCHAR), [all...] |
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/video/enc/mpeg4enc/ |
SEC_OMX_Mpeg4enc.c | 293 ret = SEC_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE)); 315 ret = SEC_OMX_Check_SizeVersion(pDstMpeg4Param, sizeof(OMX_VIDEO_PARAM_MPEG4TYPE)); 328 SEC_OSAL_Memcpy(pDstMpeg4Param, pSrcMpeg4Param, sizeof(OMX_VIDEO_PARAM_MPEG4TYPE)); 337 ret = SEC_OMX_Check_SizeVersion(pDstH263Param, sizeof(OMX_VIDEO_PARAM_H263TYPE)); 350 SEC_OSAL_Memcpy(pDstH263Param, pSrcH263Param, sizeof(OMX_VIDEO_PARAM_H263TYPE)); 358 ret = SEC_OMX_Check_SizeVersion(pComponentRole, sizeof(OMX_PARAM_COMPONENTROLETYPE)); 377 ret = SEC_OMX_Check_SizeVersion(pDstProfileLevel, sizeof(OMX_VIDEO_PARAM_PROFILELEVELTYPE)); 390 maxProfileLevelNum = sizeof(supportedMPEG4ProfileLevels) / sizeof(SEC_OMX_VIDEO_PROFILELEVEL); 393 maxProfileLevelNum = sizeof(supportedH263ProfileLevels) / sizeof(SEC_OMX_VIDEO_PROFILELEVEL) [all...] |
/external/bluetooth/bluez/audio/ |
liba2dp.c | 196 len = sizeof(flags); 210 if (setsockopt(fd, SOL_L2CAP, L2CAP_LM, &flags, sizeof(flags)) < 0) 231 start_req->h.length = sizeof(*start_req); 238 start_rsp->h.length = sizeof(*start_rsp); 243 streamfd_ind->h.length = sizeof(*streamfd_ind); 260 sizeof(bytes)); 262 data->count = sizeof(struct rtp_header) + sizeof(struct rtp_payload); 300 stop_req->h.length = sizeof(*stop_req); 306 stop_rsp->h.length = sizeof(*stop_rsp) [all...] |
/external/chromium/third_party/libevent/test/ |
regress.c | 101 len = read(fd, buf, sizeof(buf)); 136 if (woff + len >= sizeof(wbuf)) 137 len = sizeof(wbuf) - woff; 149 if (woff >= sizeof(wbuf)) { 168 len = read(fd, rbuf + roff, sizeof(rbuf) - roff); 233 len = read(fd, buf, sizeof(buf)); 251 len = sizeof(buf); 408 memset(rbuf, 0, sizeof(rbuf)); 409 for (i = 0; i < sizeof(wbuf); i++) 424 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0 [all...] |
/external/dnsmasq/src/ |
dhcp.c | 44 setsockopt(fd, SOL_IP, IP_MTU_DISCOVER, &mtu, sizeof(mtu)) == -1 || 47 setsockopt(fd, SOL_IP, IP_PKTINFO, &oneopt, sizeof(oneopt)) == -1 || 49 setsockopt(fd, IPPROTO_IP, IP_RECVIF, &oneopt, sizeof(oneopt)) == -1 || 51 setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &oneopt, sizeof(oneopt)) == -1) 60 int rc = setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, &oneopt, sizeof(oneopt)); 62 int rc = setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &oneopt, sizeof(oneopt)); 68 memset(&saddr, 0, sizeof(saddr)); 73 saddr.sin_len = sizeof(struct sockaddr_in); 76 if (bind(fd, (struct sockaddr *)&saddr, sizeof(struct sockaddr_in))) 89 setsockopt(daemon->dhcp_icmp_fd, SOL_SOCKET, SO_RCVBUF, &oneopt, sizeof(oneopt)) == -1 [all...] |
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | 19 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 172 memcpy(pDescriptor, &gBassBoostDescriptor, sizeof(effect_descriptor_t)); 175 memcpy(pDescriptor, &gVirtualizerDescriptor, sizeof(effect_descriptor_t)); 178 memcpy(pDescriptor, &gEqualizerDescriptor, sizeof(effect_descriptor_t)); 181 memcpy(pDescriptor, &gVolumeDescriptor, sizeof(effect_descriptor_t)); 310 if (memcmp(uuid, &gBassBoostDescriptor.uuid, sizeof(effect_uuid_t)) == 0){ 318 } else if (memcmp(uuid, &gVirtualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0){ 326 } else if (memcmp(uuid, &gEqualizerDescriptor.uuid, sizeof(effect_uuid_t)) == 0){ 334 } else if (memcmp(uuid, &gVolumeDescriptor.uuid, sizeof(effect_uuid_t)) == 0) [all...] |
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/ |
cu_cmd.c | 61 #define CHAN_FREQ_TABLE_SIZE (sizeof(ChanFreq) / sizeof(struct CHAN_FREQ)) 629 pBssid = (POS_802_11_BSSID_EX)((S8*)pBssid + (pBssid->Length ? pBssid->Length : sizeof(OS_802_11_BSSID_EX))); [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp.c | 202 char buf[sizeof (isakmp) + 4]; 204 char lbuf[sizeof(struct udphdr) + 206 sizeof(struct iphdr) + 208 sizeof(struct ip) + 210 sizeof(isakmp) + 4]; 214 unsigned int remote_len = sizeof(remote); 215 unsigned int local_len = sizeof(local); 221 while ((len = recvfromto(so_isakmp, x.buf, sizeof(x), 252 ip = (struct iphdr *)(x.lbuf + sizeof(*udp)); 253 extralen += sizeof(*udp) + ip->ihl [all...] |
/device/samsung/crespo/libaudio2/ |
alsa_mixer.c | 113 memset(&elist, 0, sizeof(elist)); 117 mixer = calloc(1, sizeof(*mixer)); 121 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 122 mixer->info = calloc(elist.count, sizeof(struct snd_ctl_elem_info)); 126 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id)); 145 char **enames = calloc(ei->value.enumerated.items, sizeof(char*)); 150 memset(&tmp, 0, sizeof(tmp)); 252 memset(&ev, 0, sizeof(ev)); 320 memset(&ev, 0, sizeof(ev)); 360 memset(&ev, 0, sizeof(ev)) [all...] |
/external/bluetooth/glib/tests/ |
gio-test.c | 143 error = read_all (fd, channel, (gchar *) &seq, sizeof (seq), &nb); 155 g_assert (nb == sizeof (nbytes)); 170 error = read_all (fd, channel, (gchar *) &nbytes, sizeof (nbytes), &nb); 185 g_assert (nb == sizeof (nbytes)); 240 error = g_io_channel_read (channel, &msg, sizeof (MSG), &nb); 296 seqtab = g_malloc (nkiddies * 2 * sizeof (int)); 417 (int)(sizeof(i) + sizeof(buflen)), buflen, writefd); 419 write (writefd, &i, sizeof (i)); 420 write (writefd, &buflen, sizeof (buflen)) [all...] |
/external/chromium/third_party/icu/source/common/ |
ustr_wcs.c | 106 (_BUFFER_CAPACITY_MULTIPLIER * (srcLength)), count,sizeof(char))){ 128 tempBufCapacity-count+1, count,sizeof(char))){ 142 intTarget = (wchar_t*)uprv_malloc( intTargetCapacity * sizeof(wchar_t) ); 168 sizeof(wchar_t)); 196 uprv_memcpy(dest,intTarget,count*sizeof(wchar_t)); 315 cStackCap * _BUFFER_CAPACITY_MULTIPLIER, 0, sizeof(char)); 348 _BUFFER_CAPACITY_MULTIPLIER*cStackCap+(nulLen*MB_CUR_MAX),len,sizeof(char)); 381 pWStack =(wchar_t*) uprv_malloc(sizeof(wchar_t) * (nulLen + 1)); 389 uprv_memcpy(pWStack,pSrc,nulLen*sizeof(wchar_t)); 401 cStackCap+(nulLen*MB_CUR_MAX),len,sizeof(char)) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
swapfs.c | 214 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) 223 sizeof(struct ext2_inode)) { 228 i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); 232 eaf = (__u32 *) (((char *) f) + sizeof(struct ext2_inode) + 238 eat = (__u32 *) (((char *) t) + sizeof(struct ext2_inode) + 244 bufsize - sizeof(struct ext2_inode) - 245 extra_isize - sizeof(__u32), 0); 254 sizeof(struct ext2_inode)) [all...] |
/external/iproute2/ip/ |
xfrm_monitor.c | 53 len -= NLMSG_LENGTH(sizeof(*xacq)); 113 len -= NLMSG_SPACE(sizeof(*xsf)); 157 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) 182 len -= NLMSG_LENGTH(sizeof(*xrep)); 234 memset(abuf, '\0', sizeof(abuf)); 236 sizeof(id->saddr), &id->saddr, 237 abuf, sizeof(abuf))); 238 memset(abuf, '\0', sizeof(abuf)); 240 sizeof(id->sa_id.daddr), &id->sa_id.daddr, 241 abuf, sizeof(abuf))) [all...] |