HomeSort by relevance Sort by last modified time
    Searched full:sizeof (Results 626 - 650 of 23619) sorted by null

<<21222324252627282930>>

  /external/libppp/src/
ip.c 115 for (f = 0; f < sizeof qtxt / sizeof *qtxt; f++)
119 return HexStr(qclass, failure, sizeof failure);
142 for (f = 0; f < sizeof qtxt / sizeof *qtxt; f++)
146 return HexStr(qtype, failure, sizeof failure);
189 snprintf(protobuff, sizeof protobuff, "%d", cproto);
191 snprintf(protobuff, sizeof protobuff, "%s", pe->p_name);
242 payload = packet + sizeof *pip6;
318 snprintf(dbuff, sizeof dbuff, "sport = %d", sport)
    [all...]
  /cts/tests/tests/security/testeffect/
CTSTestEffect.cpp 52 if (memcmp(uuid, &gCTSEffectsDescriptor.uuid, sizeof(effect_uuid_t)) != 0) {
84 if (memcmp(uuid, &gCTSEffectsDescriptor.uuid, sizeof(effect_uuid_t)) == 0) {
113 if (pReplyData == NULL || *replySize != sizeof(int)) {
119 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
120 || pReplyData == NULL || *replySize != sizeof(int)) {
128 *replySize != sizeof(effect_config_t)) {
137 if (pReplyData == NULL || *replySize != sizeof(int)) {
144 cmdSize != (int)(sizeof(effect_param_t)) ||
146 *replySize < (int)(sizeof(effect_param_t))) {
154 cmdSize != (int)(sizeof(effect_param_t)) |
    [all...]
  /external/chromium_org/net/base/
address_list_unittest.cc 23 memset(&address, 0x0, sizeof(address));
27 memset(&ai, 0x0, sizeof(ai));
30 ai.ai_addrlen = sizeof(address);
52 storage[i].addr_len = sizeof(struct sockaddr_in);
58 memset(&ai[i], 0x0, sizeof(ai[i]));
101 sizeof(struct sockaddr_in),
103 sizeof(struct in_addr),
108 sizeof(struct sockaddr_in6),
110 sizeof(struct in6_addr),
115 sizeof(struct sockaddr_in)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/
LPdir_win.c 66 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX));
72 memset(*ctx, '\0', sizeof(LP_DIR_CTX));
74 if (sizeof(TCHAR) != sizeof(char))
80 wdir = (TCHAR *)malloc(len_0 * sizeof(TCHAR));
118 if (sizeof(TCHAR) != sizeof(char))
123 while (wdir[len_0] && len_0 < (sizeof((*ctx)->entry_name) - 1)) len_0++;
128 sizeof((*ctx)->entry_name), NULL, 0))
135 sizeof((*ctx)->entry_name)-1)
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkDescriptor.h 20 return sizeof(SkDescriptor) + entryCount * sizeof(Entry);
34 fLength = sizeof(SkDescriptor);
53 fLength += sizeof(Entry) + length;
125 size_t len = desc->fLength - sizeof(uint32_t);
138 if (size <= sizeof(fStorage)) {
154 kStorageSize = sizeof(SkDescriptor)
155 + sizeof(SkDescriptor::Entry) + sizeof(SkScalerContext::Rec) // for rec
156 + sizeof(SkDescriptor::Entry) + sizeof(void*) // for typefac
    [all...]
  /external/iproute2/lib/
libnetlink.c 44 memset(rth, 0, sizeof(*rth));
52 if (setsockopt(rth->fd,SOL_SOCKET,SO_SNDBUF,&sndbuf,sizeof(sndbuf)) < 0) {
57 if (setsockopt(rth->fd,SOL_SOCKET,SO_RCVBUF,&rcvbuf,sizeof(rcvbuf)) < 0) {
62 memset(&rth->local, 0, sizeof(rth->local));
66 if (bind(rth->fd, (struct sockaddr*)&rth->local, sizeof(rth->local)) < 0) {
70 addr_len = sizeof(rth->local);
75 if (addr_len != sizeof(rth->local)) {
102 memset(&req, 0, sizeof(req));
103 req.nlh.nlmsg_len = sizeof(req);
111 req.ext_req.rta_len = RTA_LENGTH(sizeof(__u32))
    [all...]
  /external/openssl/crypto/
LPdir_win.c 66 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX));
72 memset(*ctx, '\0', sizeof(LP_DIR_CTX));
74 if (sizeof(TCHAR) != sizeof(char))
80 wdir = (TCHAR *)malloc(len_0 * sizeof(TCHAR));
118 if (sizeof(TCHAR) != sizeof(char))
123 while (wdir[len_0] && len_0 < (sizeof((*ctx)->entry_name) - 1)) len_0++;
128 sizeof((*ctx)->entry_name), NULL, 0))
135 sizeof((*ctx)->entry_name)-1)
    [all...]
  /external/skia/src/core/
SkDescriptor.h 20 return sizeof(SkDescriptor) + entryCount * sizeof(Entry);
34 fLength = sizeof(SkDescriptor);
53 fLength += sizeof(Entry) + length;
125 size_t len = desc->fLength - sizeof(uint32_t);
138 if (size <= sizeof(fStorage)) {
154 kStorageSize = sizeof(SkDescriptor)
155 + sizeof(SkDescriptor::Entry) + sizeof(SkScalerContext::Rec) // for rec
156 + sizeof(SkDescriptor::Entry) + sizeof(void*) // for typefac
    [all...]
  /external/valgrind/main/none/tests/
fdleak_cmsg.c 45 memset(&addr, 0, sizeof(addr));
50 DO( bind(s, (struct sockaddr *)&addr, sizeof(addr)) );
59 char buf[CMSG_SPACE(sizeof(int) * 2)];
62 memset(&baddr, 0, sizeof(baddr));
66 msg.msg_controllen = sizeof(buf);
70 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * 2);
91 char control[CMSG_SPACE(sizeof(int) * 2)];
94 sizeof(control_un), 0 };
99 iov[0].iov_len = sizeof(buf);
112 ret = connect(s, (struct sockaddr *)&addr, sizeof(addr))
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
LVPSA_Memory.c 108 InstAlloc_AddMember( &Instance, sizeof(LVPSA_InstancePr_t) );
109 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) );
110 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_FilterParam_t) );
127 InstAlloc_AddMember( &Instance, pInitParams->nBands * BufferLength * sizeof(LVM_UINT8) );
128 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT8) );
129 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_BPFilterPrecision_en) );
137 InstAlloc_AddMember( &Scratch, 2 * pInitParams->MaxInputBlockSize * sizeof(LVM_INT16) );
145 InstAlloc_AddMember( &Coef, pInitParams->nBands * sizeof(Biquad_Instance_t) );
146 InstAlloc_AddMember( &Coef, pInitParams->nBands * sizeof(QPD_State_t) );
154 InstAlloc_AddMember( &Data, pInitParams->nBands * sizeof(Biquad_1I_Order2_Taps_t) )
    [all...]
  /frameworks/av/media/libstagefright/rtsp/
UDPPusher.cpp 41 memset(addr.sin_zero, 0, sizeof(addr.sin_zero));
46 CHECK_EQ(0, bind(mSocket, (const struct sockaddr *)&addr, sizeof(addr)));
48 memset(mRemoteAddr.sin_zero, 0, sizeof(mRemoteAddr.sin_zero));
64 CHECK_EQ(fread(&timeMs, 1, sizeof(timeMs), mFile), sizeof(timeMs));
73 if (fread(&length, 1, sizeof(length), mFile) < sizeof(length)) {
90 (const struct sockaddr *)&mRemoteAddr, sizeof(mRemoteAddr));
95 if (fread(&timeMs, 1, sizeof(timeMs), mFile) < sizeof(timeMs))
    [all...]
  /frameworks/ex/variablespeed/jni/
ring_buffer.cc 46 size_ * num_channels_ * sizeof(samples_[0]));
52 temp_read_buffer_size_ * num_channels_ * sizeof(samples_[0]));
88 num_frames * num_channels_ * sizeof(samples[0]));
93 num_channels_ * overhead * sizeof(samples[0]));
96 num_channels_ * head_ * sizeof(samples[0]));
105 num_channels_ * num_frames * sizeof(destination[0]));
109 num_channels_ * wrapped * sizeof(destination[0]));
112 num_channels_ * remaining * sizeof(destination[0]));
140 num_channels_ * num_frames * sizeof(source[0]));
144 num_channels_ * wrapped * sizeof(source[0]))
    [all...]
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_privsep.c 36 io[0].iov_len = sizeof(cmd);
40 os_memset(&msg, 0, sizeof(msg));
44 msg.msg_namelen = sizeof(l2->priv_addr);
70 io[0].iov_len = sizeof(cmd);
78 os_memset(&msg, 0, sizeof(msg));
82 msg.msg_namelen = sizeof(l2->priv_addr);
99 socklen_t fromlen = sizeof(from);
101 os_memset(&from, 0, sizeof(from));
102 res = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *) &from,
115 sizeof(from.sun_path)) != 0)
    [all...]
  /system/core/debuggerd/
getevent.c 41 name[sizeof(name) - 1] = '\0';
42 location[sizeof(location) - 1] = '\0';
43 idstr[sizeof(idstr) - 1] = '\0';
44 if(ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) {
48 if(ioctl(fd, EVIOCGPHYS(sizeof(location) - 1), &location) < 1) {
52 if(ioctl(fd, EVIOCGUNIQ(sizeof(idstr) - 1), &idstr) < 1) {
57 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1));
63 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1));
84 memmove(device_names + i, device_names + i + 1, sizeof(device_names[0]) * count);
85 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
get_double.pass.cpp 62 input_iterator<const char*>(str+sizeof(str)),
64 assert(iter.base() == str+sizeof(str)-1);
73 input_iterator<const char*>(str+sizeof(str)),
75 assert(iter.base() == str+sizeof(str)-1);
84 input_iterator<const char*>(str+sizeof(str)),
86 assert(iter.base() == str+sizeof(str)-1);
96 input_iterator<const char*>(str+sizeof(str)),
98 assert(iter.base() == str+sizeof(str)-1);
108 input_iterator<const char*>(str+sizeof(str)),
110 assert(iter.base() == str+sizeof(str)-1)
    [all...]
  /system/core/libnetutils/
dhcp_utils.c 106 snprintf(prop_name, sizeof(prop_name), "%s.%s.ipaddress", DHCP_PROP_NAME_PREFIX, p2p_interface);
109 snprintf(prop_name, sizeof(prop_name), "%s.%s.gateway", DHCP_PROP_NAME_PREFIX, p2p_interface);
112 snprintf(prop_name, sizeof(prop_name), "%s.%s.server", DHCP_PROP_NAME_PREFIX, p2p_interface);
121 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, p2p_interface);
129 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
136 snprintf(errmsg, sizeof(errmsg), "DHCP gave invalid net mask %s", prop_value);
145 snprintf(prop_name, sizeof(prop_name), "%s.%s.dns%d", DHCP_PROP_NAME_PREFIX, p2p_interface, x+1);
149 snprintf(prop_name, sizeof(prop_name), "%s.%s.leasetime", DHCP_PROP_NAME_PREFIX, p2p_interface);
154 snprintf(prop_name, sizeof(prop_name), "%s.%s.vendorInfo", DHCP_PROP_NAME_PREFIX,
158 snprintf(prop_name, sizeof(prop_name), "%s.%s.domain", DHCP_PROP_NAME_PREFIX
    [all...]
  /cts/suite/audio_quality/test/
RemoteAudioFakeTcpTest.cpp 68 assertTrue(memcmp(ipExpectation, hostIp, sizeof(ipExpectation)) == 0);
139 mTestSocket.setSendExpectation((char*)prepareSend, sizeof(prepareSend));
141 mTestSocket.setReadExpectation((char*)prepareReply, sizeof(prepareReply));
183 mTestSocket.setSendExpectation((char*)prepareSend, sizeof(prepareSend));
185 mTestSocket.setReadExpectation((char*)prepareReply, sizeof(prepareReply));
227 mTestSocket.setSendExpectation((char*)startPlaybackSend, sizeof(startPlaybackSend));
229 mTestSocket.setReadExpectation((char*)startReply, sizeof(startReply));
233 mTestSocket.setSendExpectation((char*)stopPlaybackSend, sizeof(stopPlaybackSend));
235 mTestSocket.setReadExpectation((char*)stopReply, sizeof(stopReply));
238 mTestSocket.setSendExpectation((char*)startPlaybackSend, sizeof(startPlaybackSend))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
get_year.pass.cpp 43 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t);
44 assert(i.base() == in+sizeof(in)-1);
52 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t);
53 assert(i.base() == in+sizeof(in)-1);
61 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t);
62 assert(i.base() == in+sizeof(in)-1);
70 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t);
71 assert(i.base() == in+sizeof(in)-1);
79 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t);
80 assert(i.base() == in+sizeof(in)-1)
    [all...]
  /external/elfutils/src/
xelf.h 143 case ELF_T_ADDR: fsize = sizeof (Elf32_Addr); break; \
144 case ELF_T_DYN: fsize = sizeof (Elf32_Dyn); break; \
145 case ELF_T_EHDR: fsize = sizeof (Elf32_Ehdr); break; \
146 case ELF_T_HALF: fsize = sizeof (Elf32_Half); break; \
147 case ELF_T_OFF: fsize = sizeof (Elf32_Off); break; \
148 case ELF_T_PHDR: fsize = sizeof (Elf32_Phdr); break; \
149 case ELF_T_RELA: fsize = sizeof (Elf32_Rela); break; \
150 case ELF_T_REL: fsize = sizeof (Elf32_Rel); break; \
151 case ELF_T_SHDR: fsize = sizeof (Elf32_Shdr); break; \
152 case ELF_T_SWORD: fsize = sizeof (Elf32_Sword); break;
    [all...]
  /external/tcpdump/
print-pgm.c 255 addr_size = sizeof(struct in_addr);
260 addr_size = sizeof(struct in6_addr);
273 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf));
302 addr_size = sizeof(struct in_addr);
307 addr_size = sizeof(struct in6_addr);
320 inet_ntop(nla_af, nla, nla_buf, sizeof(nla_buf));
322 TCHECK2(*bp, sizeof(u_int32_t));
324 bp += sizeof(u_int32_t);
326 TCHECK2(*bp, sizeof(u_int32_t));
328 bp += sizeof(u_int32_t)
    [all...]
  /external/chromium_org/third_party/icu/source/test/iotest/
strtst.c 35 u_memset(myUString, 0x0a, sizeof(myUString)/ sizeof(*myUString));
36 u_memset(uStringBuf, 0x0a, sizeof(uStringBuf) / sizeof(*uStringBuf));
39 if (sizeof(void *) == 4) {
41 } else if (sizeof(void *) == 8) {
43 } else if (sizeof(void *) == 16) {
51 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*));
135 if (ptr != origPtr || u_strlen(uStringBuf) != 13+(sizeof(void*)*2))
    [all...]
  /external/clang/test/CodeGen/
arm-aapcs-zerolength-bitfield.c 14 static int arr1_sizeof[(sizeof(struct t1) == 4) ? 0 : -1];
23 static int arr2_sizeof[(sizeof(struct t2) == 4) ? 0 : -1];
32 static int arr3_sizeof[(sizeof(struct t3) == 8) ? 0 : -1];
41 static int arr4_sizeof[(sizeof(struct t4) == 8) ? 0 : -1];
50 static int arr5_sizeof[(sizeof(struct t5) == 16) ? 0 : -1];
60 static int arr6_sizeof[(sizeof(struct t6) == 4) ? 0 : -1];
70 static int arr7_sizeof[(sizeof(struct t7) == 4) ? 0 : -1];
80 static int arr8_sizeof[(sizeof(struct t8) == 8) ? 0 : -1];
90 static int arr9_sizeof[(sizeof(struct t9) == 8) ? 0 : -1];
100 static int arr10_sizeof[(sizeof(struct t10) == 16) ? 0 : -1]
    [all...]
arm-apcs-zerolength-bitfield.c 18 static int arr1_sizeof[(sizeof(struct t1) == 8) ? 0 : -1];
27 static int arr2_sizeof[(sizeof(struct t2) == 8) ? 0 : -1];
36 static int arr3_sizeof[(sizeof(struct t3) == 8) ? 0 : -1];
45 static int arr4_sizeof[(sizeof(struct t4) == 8) ? 0 : -1];
54 static int arr5_sizeof[(sizeof(struct t5) == 8) ? 0 : -1];
64 static int arr6_sizeof[(sizeof(struct t6) == 8) ? 0 : -1];
74 static int arr7_sizeof[(sizeof(struct t7) == 8) ? 0 : -1];
84 static int arr8_sizeof[(sizeof(struct t8) == 8) ? 0 : -1];
94 static int arr9_sizeof[(sizeof(struct t9) == 8) ? 0 : -1];
104 static int arr10_sizeof[(sizeof(struct t10) == 8) ? 0 : -1]
    [all...]
  /external/icu4c/test/iotest/
strtst.c 35 u_memset(myUString, 0x0a, sizeof(myUString)/ sizeof(*myUString));
36 u_memset(uStringBuf, 0x0a, sizeof(uStringBuf) / sizeof(*uStringBuf));
39 if (sizeof(void *) == 4) {
41 } else if (sizeof(void *) == 8) {
43 } else if (sizeof(void *) == 16) {
51 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*));
135 if (ptr != origPtr || u_strlen(uStringBuf) != 13+(sizeof(void*)*2))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/
aligned_storage.pass.cpp 24 static_assert(sizeof(T1) == 10, "");
32 static_assert(sizeof(T1) == 10, "");
40 static_assert(sizeof(T1) == 12, "");
48 static_assert(sizeof(T1) == 16, "");
56 static_assert(sizeof(T1) == 16, "");
64 static_assert(sizeof(T1) == 32, "");
72 static_assert(sizeof(T1) == 32, "");
80 static_assert(sizeof(T1) == 64, "");
88 static_assert(sizeof(T1) == 16, "");
96 static_assert(sizeof(T1) == 1, "")
    [all...]

Completed in 2791 milliseconds

<<21222324252627282930>>