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

<<21222324252627282930>>

  /frameworks/base/media/libstagefright/codecs/aacenc/
AACEncoder.cpp 67 memset(&userData, 0, sizeof(userData));
81 memset(&params, 0, sizeof(params));
99 const int32_t tableSize = sizeof(kSampleRateTable) / sizeof(kSampleRateTable[0]);
234 sizeof(int16_t) * (kNumSamplesPerFrame - mNumInputSamples));
239 size_t align = mInputBuffer->range_length() % sizeof(int16_t);
254 (kNumSamplesPerFrame - mNumInputSamples) * sizeof(int16_t);
273 mNumInputSamples += copy / sizeof(int16_t);
281 memset(&inputData, 0, sizeof(inputData));
283 inputData.Length = kNumSamplesPerFrame * sizeof(int16_t)
    [all...]
  /hardware/libhardware_legacy/uevent/
uevent.c 37 memset(&addr, 0, sizeof(addr));
46 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz));
48 if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
  /system/core/libcutils/
socket_inaddr_any_server.c 42 memset(&addr, 0, sizeof(addr));
51 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &n, sizeof(n));
53 if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
socket_loopback_server.c 42 memset(&addr, 0, sizeof(addr));
51 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &n, sizeof(n));
53 if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
  /system/media/opensles/libopensles/
classes.c 41 sizeof(C3DGroup),
99 sizeof(CAudioPlayer),
135 sizeof(CAudioRecorder),
174 sizeof(CEngine),
199 sizeof(CLEDDevice),
227 sizeof(CListener),
256 sizeof(CMetadataExtractor),
310 sizeof(CMidiPlayer),
353 sizeof(COutputMix),
378 sizeof(CVibraDevice)
    [all...]
  /system/vold/
VolumeManager.cpp 76 if (fgets(state, sizeof(state), fp)) {
90 if (fgets(state, sizeof(state), fp)) {
162 snprintf(msg, sizeof(msg), "Share method ums now %s",
262 if (!asecHash(sourceFile, idHash, sizeof(idHash))) {
280 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
295 memset(&sb, 0, sizeof(sb));
313 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
339 if (!asecHash(id, idHash, sizeof(idHash))) {
346 if (Loop::create(idHash, asecFileName, loopDevice, sizeof(loopDevice))) {
359 sizeof(dmDevice)))
    [all...]
  /external/icu4c/test/cintltst/
cnormtst.c 36 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof ((array)[0]))
157 result=(UChar*)malloc(sizeof(UChar*) * resLen);
186 result=(UChar*)malloc(sizeof(UChar*) * resLen);
215 result=(UChar*)malloc(sizeof(UChar*) * resLen);
244 result=(UChar*)malloc(sizeof(UChar*) * resLen);
    [all...]
nucnvtst.c 409 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
485 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
567 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
641 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){
839 testConvertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
840 expectedUTF8, sizeof(expectedUTF8), "UTF8", toUTF8Offs,FALSE );
850 testConvertFromU(testinput, sizeof(testinput)/sizeof(testinput[0])
    [all...]
cmsccoll.c 42 #define LEN(a) (sizeof(a)/sizeof(a[0]))
95 size = sizeof(cnt1)/sizeof(cnt1[0]);
121 size = sizeof(cnt2)/sizeof(cnt2[0]);
195 size = sizeof(nonignorable)/sizeof(nonignorable[0]);
209 size = sizeof(shifted)/sizeof(shifted[0])
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/
wpa_cli.c 211 len = sizeof(buf) - 1;
317 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]);
318 if (res < 0 || (size_t) res >= sizeof(cmd) - 1) {
357 res = os_snprintf(cmd, sizeof(cmd), "PREAUTH %s", argv[0]);
358 if (res < 0 || (size_t) res >= sizeof(cmd) - 1) {
376 res = os_snprintf(cmd, sizeof(cmd), "AP_SCAN %s", argv[0]);
377 if (res < 0 || (size_t) res >= sizeof(cmd) - 1) {
397 res = os_snprintf(cmd, sizeof(cmd), "STKSTART %s", argv[0]);
398 if (res < 0 || (size_t) res >= sizeof(cmd) - 1) {
417 res = os_snprintf(cmd, sizeof(cmd), "FT_DS %s", argv[0])
    [all...]
  /external/chromium/third_party/icu/source/test/cintltst/
nucnvtst.c 377 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
453 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t) )){
535 realBufferSize = (sizeof(junkout)/sizeof(junkout[0]));
609 if(memcmp(junokout,expectOffsets,(targ-junkout) * sizeof(int32_t))){
807 testConvertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
808 expectedUTF8, sizeof(expectedUTF8), "UTF8", toUTF8Offs,FALSE );
818 testConvertFromU(testinput, sizeof(testinput)/sizeof(testinput[0])
    [all...]
cmsccoll.c 42 #define LEN(a) (sizeof(a)/sizeof(a[0]))
95 size = sizeof(cnt1)/sizeof(cnt1[0]);
121 size = sizeof(cnt2)/sizeof(cnt2[0]);
195 size = sizeof(nonignorable)/sizeof(nonignorable[0]);
209 size = sizeof(shifted)/sizeof(shifted[0])
    [all...]
  /hardware/broadcom/wlan/bcm4329/src/wl/sys/
wl_iw.c 178 strncpy(current->comm, a, MIN(sizeof(current->comm), (strlen(a) + 1))); \
331 memset(&ioc, 0, sizeof(ioc));
379 len = bcm_mkiovar(name, (char *)(&reg), sizeof(reg), (char *)(&var), sizeof(var.buf));
397 memset(reg_addr, 0, sizeof(reg_addr));
401 return (dev_wlc_bufvar_set(dev, name, (char *)&reg_addr[0], sizeof(reg_addr)));
415 len = bcm_mkiovar(name, (char *)(&val), sizeof(val), buf, sizeof(buf));
471 buflen = bcm_mkiovar(name, buf, len, ioctlbuf, sizeof(ioctlbuf));
489 len = bcm_mkiovar(name, NULL, 0, ioctlbuf, sizeof(ioctlbuf))
    [all...]
  /bionic/libc/kernel/arch-arm/asm/
unaligned.h 25 #define __get_unaligned_le(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switch (sizeof(*(ptr))) { case 1: __v = *(ptr); break; case 2: __v = __get_unaligned_2_le(__p); break; case 4: __v = __get_unaligned_4_le(__p); break; case 8: { unsigned int __v1, __v2; __v2 = __get_unaligned_4_le((__p+4)); __v1 = __get_unaligned_4_le(__p); __v = ((unsigned long long)__v2 << 32 | __v1); } break; default: __v = __bug_unaligned_x(__p); break; } __v; })
27 #define __get_unaligned_be(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switch (sizeof(*(ptr))) { case 1: __v = *(ptr); break; case 2: __v = __get_unaligned_2_be(__p); break; case 4: __v = __get_unaligned_4_be(__p); break; case 8: { unsigned int __v1, __v2; __v2 = __get_unaligned_4_be(__p); __v1 = __get_unaligned_4_be((__p+4)); __v = ((unsigned long long)__v2 << 32 | __v1); } break; default: __v = __bug_unaligned_x(__p); break; } __v; })
29 #define __put_unaligned_le(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_unaligned_2_le((val),(__u8 *)(ptr)); break; case 4: __put_unaligned_4_le((val),(__u8 *)(ptr)); break; case 8: __put_unaligned_8_le((val),(__u8 *)(ptr)); break; default: __bug_unaligned_x(ptr); break; } (void) 0; })
30 #define __put_unaligned_be(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_unaligned_2_be((val),(__u8 *)(ptr)); break; case 4: __put_unaligned_4_be((val),(__u8 *)(ptr)); break; case 8: __put_unaligned_8_be((val),(__u8 *)(ptr)); break; default: __bug_unaligned_x(ptr); break; } (void) 0; })
  /bionic/libc/kernel/arch-sh/asm/
uaccess.h 27 #define put_user(x,ptr) __put_user_check((x), (ptr), sizeof(*(ptr)))
28 #define get_user(x,ptr) __get_user_check((x), (ptr), sizeof(*(ptr)))
30 #define __put_user(x,ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr)))
31 #define __get_user(x,ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr)))
  /bionic/libc/kernel/common/linux/netfilter/
nfnetlink.h 53 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) && (nfa)->nfa_len <= (len))
55 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len))
71 #define NFM_NFA(n) ((struct nfattr *)(((char *)(n)) + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
72 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
  /bionic/libc/kernel/common/linux/
netlink.h 77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
82 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
128 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
percpu.h 29 #define alloc_percpu(type) ((type *)(__alloc_percpu(sizeof(type))))
threads.h 21 #define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
  /bionic/libc/private/
resolv_static.h 22 u_int32_t host_addr[16 / sizeof(u_int32_t)]; /* IPv4 or IPv6 */
  /bionic/libc/unistd/
opendir.c 53 DIR* dir = malloc(sizeof(DIR));
77 DIR* dir = malloc(sizeof(DIR));
101 rc = getdents( dir->_DIR_fd, dir->_DIR_buff, sizeof(dir->_DIR_buff));
118 if ( (unsigned)entry->d_reclen > sizeof(*entry) ||
122 if ( (char*)entry + entry->d_reclen > (char*)dir->_DIR_buff + sizeof(dir->_DIR_buff) )
239 malloc(sizeof(struct dirent *)*de_list_size);
249 realloc(de_list, sizeof(struct dirent *)*de_list_size);
256 de = (struct dirent *) malloc(sizeof(struct dirent));
262 qsort(de_list, n_elem, sizeof(struct dirent *),
  /development/ndk/platforms/android-3/arch-arm/include/asm/
unaligned.h 25 #define __get_unaligned_le(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switch (sizeof(*(ptr))) { case 1: __v = *(ptr); break; case 2: __v = __get_unaligned_2_le(__p); break; case 4: __v = __get_unaligned_4_le(__p); break; case 8: { unsigned int __v1, __v2; __v2 = __get_unaligned_4_le((__p+4)); __v1 = __get_unaligned_4_le(__p); __v = ((unsigned long long)__v2 << 32 | __v1); } break; default: __v = __bug_unaligned_x(__p); break; } __v; })
27 #define __get_unaligned_be(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switch (sizeof(*(ptr))) { case 1: __v = *(ptr); break; case 2: __v = __get_unaligned_2_be(__p); break; case 4: __v = __get_unaligned_4_be(__p); break; case 8: { unsigned int __v1, __v2; __v2 = __get_unaligned_4_be(__p); __v1 = __get_unaligned_4_be((__p+4)); __v = ((unsigned long long)__v2 << 32 | __v1); } break; default: __v = __bug_unaligned_x(__p); break; } __v; })
29 #define __put_unaligned_le(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_unaligned_2_le((val),(__u8 *)(ptr)); break; case 4: __put_unaligned_4_le((val),(__u8 *)(ptr)); break; case 8: __put_unaligned_8_le((val),(__u8 *)(ptr)); break; default: __bug_unaligned_x(ptr); break; } (void) 0; })
30 #define __put_unaligned_be(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); break; case 2: __put_unaligned_2_be((val),(__u8 *)(ptr)); break; case 4: __put_unaligned_4_be((val),(__u8 *)(ptr)); break; case 8: __put_unaligned_8_be((val),(__u8 *)(ptr)); break; default: __bug_unaligned_x(ptr); break; } (void) 0; })
  /development/ndk/platforms/android-3/include/linux/netfilter/
nfnetlink.h 53 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) && (nfa)->nfa_len <= (len))
55 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len))
71 #define NFM_NFA(n) ((struct nfattr *)(((char *)(n)) + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
72 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
  /development/ndk/platforms/android-3/include/linux/
netlink.h 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
117 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
percpu.h 29 #define alloc_percpu(type) ((type *)(__alloc_percpu(sizeof(type))))

Completed in 587 milliseconds

<<21222324252627282930>>