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

1 2 3 4 5 67 8 91011>>

  /device/samsung/crespo/alsa-lib/test/
pcm_min.c 19 for (i = 0; i < sizeof(buffer); i++)
38 frames = snd_pcm_writei(handle, buffer, sizeof(buffer));
45 if (frames > 0 && frames < (long)sizeof(buffer))
46 printf("Short write (expected %li, wrote %li)\n", (long)sizeof(buffer), frames);
  /external/dropbear/libtomcrypt/demos/
multi.c 15 len = sizeof(buf[0]);
17 len2 = sizeof(buf[0]);
23 len2 = sizeof(buf[0]);
29 len2 = sizeof(buf[0]);
37 len = sizeof(buf[0]);
39 len2 = sizeof(buf[0]);
45 len2 = sizeof(buf[0]);
51 len2 = sizeof(buf[0]);
59 len = sizeof(buf[0]);
61 len2 = sizeof(buf[0])
    [all...]
  /external/icu4c/samples/datefmt/answers/
main_0.cpp 45 static const int32_t N_LANGUAGE = sizeof(LANGUAGE)/sizeof(LANGUAGE[0]);
54 static const int32_t N_TIMEZONE = sizeof(TIMEZONE)/sizeof(TIMEZONE[0]);
main_1.cpp 44 static const int32_t N_LANGUAGE = sizeof(LANGUAGE)/sizeof(LANGUAGE[0]);
53 static const int32_t N_TIMEZONE = sizeof(TIMEZONE)/sizeof(TIMEZONE[0]);
  /external/iptables/extensions/
libipt_dscp_helper.c 55 for (i = 0; i < sizeof(ds_classes) / sizeof(struct ds_class); i++) {
72 for (i = 0; i < sizeof(ds_classes) / sizeof(struct ds_class); i++) {
  /external/kernel-headers/original/asm-arm/
fpstate.h 62 unsigned int save[IWMMXT_SIZE / sizeof(unsigned int)];
73 #define FP_SIZE (sizeof(union fp_state) / sizeof(int))
81 #define CRUNCH_SIZE sizeof(struct crunch_state)
  /external/oprofile/libop/
op_xml_out.c 100 if (max_len >= sizeof(tmp_buf))
103 if (snprintf(tmp_buf, sizeof(tmp_buf), "<%s%s", tag_name,
108 strncat(buffer, tmp_buf, sizeof(tmp_buf));
118 if (max_len >= sizeof(tmp_buf))
122 if (snprintf(tmp_buf, sizeof(tmp_buf), "%s\n", (has_nested ? ">" : "/>")) < 0) {
127 if (snprintf(tmp_buf, sizeof(tmp_buf), "</%s>\n", tag_name) < 0) {
132 strncat(buffer, tmp_buf, sizeof(tmp_buf));
142 if (max_len >= sizeof(tmp_buf)) {
148 if (snprintf(tmp_buf, sizeof(tmp_buf), " %s=\"%d\"", attr_name, value) < 0) {
152 strncat(buffer, tmp_buf, sizeof(tmp_buf))
    [all...]
  /external/skia/src/core/
SkPathHeap.cpp 9 SkPathHeap::SkPathHeap() : fHeap(kPathCount * sizeof(SkPath)) {
13 : fHeap(kPathCount * sizeof(SkPath)) {
18 SkPath* p = (SkPath*)fHeap.allocThrow(count * sizeof(SkPath));
38 SkPath* p = (SkPath*)fHeap.allocThrow(sizeof(SkPath));
  /external/stlport/src/
aligned_buffer.h 8 char buf[sizeof(T)];
  /external/stlport/stlport/stl/
_carray.h 39 _Copy_Construct(__REINTERPRET_CAST(_Tp*, _M_data + __i * sizeof(_Tp)), __val);
45 __REINTERPRET_CAST(_Tp*, _M_data + _Nb * sizeof(_Tp)));
50 return *__REINTERPRET_CAST(_Tp*, _M_data + __i * sizeof(_Tp));
54 char _M_data[sizeof(_Tp) * _Nb];
  /ndk/sources/android/stlport/src/
aligned_buffer.h 8 char buf[sizeof(T)];
  /ndk/sources/android/stlport/stlport/stl/
_carray.h 39 _Copy_Construct(__REINTERPRET_CAST(_Tp*, _M_data + __i * sizeof(_Tp)), __val);
45 __REINTERPRET_CAST(_Tp*, _M_data + _Nb * sizeof(_Tp)));
50 return *__REINTERPRET_CAST(_Tp*, _M_data + __i * sizeof(_Tp));
54 char _M_data[sizeof(_Tp) * _Nb];
  /system/extras/tests/bionic/libc/common/
test_gethostname.c 12 ret = gethostname(hostname, sizeof(hostname));
  /system/media/opensles/libopensles/
devices.h 51 #define MAX_DECODERS 9 ///< (sizeof(Decoder_IDs) / sizeof(Decoder_IDs[0]))
52 #define MAX_ENCODERS 9 ///< (sizeof(Encoder_IDs) / sizeof(Encoder_IDs[0]))
  /development/simulator/wrapsim/
BitVector.c 25 assert(sizeof(bv->storage[0]) == 4); /* assuming 32-bit units */
28 bv = (BitVector*) malloc(sizeof(BitVector));
34 bv->storage = (uint32_t*) malloc(count * sizeof(uint32_t));
35 memset(bv->storage, 0xff, count * sizeof(uint32_t));
85 (pBits->storageSize + kBitVectorGrowth) * sizeof(uint32_t));
87 kBitVectorGrowth * sizeof(uint32_t));
98 num < (int) pBits->storageSize * (int)sizeof(uint32_t) * 8);
  /external/kernel-headers/original/asm-generic/
ioctl.h 53 ((sizeof(t) == sizeof(t[1]) && \
54 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
55 sizeof(t) : __invalid_size_argument_for_IOC)
62 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
63 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
64 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
  /external/skia/include/core/
SkWriter32.h 44 *(int32_t*)this->reserve(sizeof(value)) = value;
48 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFF;
52 *(int32_t*)this->reserve(sizeof(value)) = value & 0xFFFF;
56 *(int32_t*)this->reserve(sizeof(value)) = value;
60 *(SkScalar*)this->reserve(sizeof(value)) = value;
64 *(SkPoint*)this->reserve(sizeof(pt)) = pt;
68 *(SkRect*)this->reserve(sizeof(rect)) = rect;
  /external/webkit/WebCore/loader/appcache/
ApplicationCacheResource.cpp 58 m_estimatedSizeInStorage += (it->first.length() + it->second.length() + 2) * sizeof(UChar);
60 m_estimatedSizeInStorage += url().string().length() * sizeof(UChar);
61 m_estimatedSizeInStorage += sizeof(int); // response().m_httpStatusCode
62 m_estimatedSizeInStorage += response().url().string().length() * sizeof(UChar);
63 m_estimatedSizeInStorage += sizeof(unsigned); // dataId
64 m_estimatedSizeInStorage += response().mimeType().length() * sizeof(UChar);
65 m_estimatedSizeInStorage += response().textEncodingName().length() * sizeof(UChar);
  /system/core/include/cutils/
sockets.h 54 strlcpy(key + sizeof(ANDROID_SOCKET_ENV_PREFIX) - 1,
56 sizeof(key) - sizeof(ANDROID_SOCKET_ENV_PREFIX));
58 strncpy(key + sizeof(ANDROID_SOCKET_ENV_PREFIX) - 1,
60 sizeof(key) - sizeof(ANDROID_SOCKET_ENV_PREFIX));
61 key[sizeof(key)-1] = '\0';
  /system/core/nexus/
InterfaceConfig.cpp 43 memcpy(&mIp, addr, sizeof(struct in_addr));
47 memcpy(&mNetmask, addr, sizeof(struct in_addr));
51 memcpy(&mGateway, addr, sizeof(struct in_addr));
55 memcpy(&mBroadcast, addr, sizeof(struct in_addr));
59 memcpy(&mDns[idx], addr, sizeof(struct in_addr));
87 memcpy(&mCfg->mDns[idx], value, sizeof(struct in_addr));
91 memcpy(buf, &mCfg->mDns[idx], sizeof(struct in_addr));
  /system/core/sh/
nodes.c 59 SHELL_ALIGN(sizeof (struct nbinary)),
60 SHELL_ALIGN(sizeof (struct ncmd)),
61 SHELL_ALIGN(sizeof (struct npipe)),
62 SHELL_ALIGN(sizeof (struct nredir)),
63 SHELL_ALIGN(sizeof (struct nredir)),
64 SHELL_ALIGN(sizeof (struct nredir)),
65 SHELL_ALIGN(sizeof (struct nbinary)),
66 SHELL_ALIGN(sizeof (struct nbinary)),
67 SHELL_ALIGN(sizeof (struct nif)),
68 SHELL_ALIGN(sizeof (struct nbinary))
    [all...]
  /external/chromium/third_party/icu/source/test/cintltst/
cstrcase.c 29 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
49 beforeLower, sizeof(beforeLower)/U_SIZEOF_UCHAR,
53 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) ||
67 uprv_memcpy(buffer, beforeLower, sizeof(beforeLower));
68 buffer[sizeof(beforeLower)/U_SIZEOF_UCHAR]=0;
70 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
75 length!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) ||
89 beforeLower, sizeof(beforeLower)/U_SIZEOF_UCHAR
    [all...]
  /external/icu4c/test/cintltst/
cstrcase.c 29 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
49 beforeLower, sizeof(beforeLower)/U_SIZEOF_UCHAR,
53 length!=(sizeof(lowerRoot)/U_SIZEOF_UCHAR) ||
67 uprv_memcpy(buffer, beforeLower, sizeof(beforeLower));
68 buffer[sizeof(beforeLower)/U_SIZEOF_UCHAR]=0;
70 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
75 length!=(sizeof(lowerTurkish)/U_SIZEOF_UCHAR) ||
89 beforeLower, sizeof(beforeLower)/U_SIZEOF_UCHAR
    [all...]
  /dalvik/vm/jdwp/
ExpandBuf.c 45 newBuf = (ExpandBuf*) malloc(sizeof(*newBuf));
125 ensureSpace(pBuf, sizeof(val));
135 ensureSpace(pBuf, sizeof(val));
137 pBuf->curLen += sizeof(val);
145 ensureSpace(pBuf, sizeof(val));
147 pBuf->curLen += sizeof(val);
155 ensureSpace(pBuf, sizeof(val));
157 pBuf->curLen += sizeof(val);
172 ensureSpace(pBuf, sizeof(u4) + strLen);
174 pBuf->curLen += sizeof(u4) + strLen
    [all...]
  /external/chromium/base/
unix_domain_socket_posix.cc 20 memset(&msg, 0, sizeof(msg));
27 const unsigned control_len = CMSG_SPACE(sizeof(int) * fds.size());
39 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size());
40 memcpy(CMSG_DATA(cmsg), &fds[0], sizeof(int) * fds.size());
56 memset(&msg, 0, sizeof(msg));
61 char control_buffer[CMSG_SPACE(sizeof(int) * kMaxDescriptors)];
63 msg.msg_controllen = sizeof(control_buffer);
78 DCHECK(payload_len % sizeof(int) == 0);
80 wire_fds_len = payload_len / sizeof(int);
94 memcpy(&(*fds)[0], wire_fds, sizeof(int) * wire_fds_len)
    [all...]

Completed in 302 milliseconds

1 2 3 4 5 67 8 91011>>