HomeSort by relevance Sort by last modified time
    Searched defs:len (Results 501 - 525 of 5774) sorted by null

<<21222324252627282930>>

  /external/wpa_supplicant_8/src/drivers/
driver_ndis_.c 37 * data (variable len, optional)
42 u8 *buf, size_t len)
48 wpa_hexdump(MSG_MSGDUMP, "NDIS: received event data", buf, len);
49 if (len < sizeof(int))
55 if (buf + len - pos > 2) {
58 if (data_len > (size_t) (buf + len - pos)) {
90 DWORD len; local
93 if (ReadFile(drv->events_pipe, buf, sizeof(buf), &len, NULL))
94 wpa_driver_ndis_event_process(drv, buf, len);
  /external/wpa_supplicant_8/src/eap_common/
eap_common.c 28 size_t len; local
40 len = be_to_host16(hdr->length);
41 if (len < sizeof(*hdr) + min_payload || len > wpabuf_len(msg)) {
71 size_t len; local
77 len = be_to_host16(hdr->length);
83 if (len < sizeof(*hdr) + 8) {
99 *plen = len - sizeof(*hdr) - 8;
106 *plen = len - sizeof(*hdr) - 1;
133 size_t len; local
    [all...]
eap_pax_common.c 24 * @output_len: Output len in bytes (W)
38 size_t len[3]; local
50 len[0] = os_strlen(identifier);
52 len[1] = entropy_len;
54 len[2] = 1;
60 hmac_sha1_vector(key, key_len, 3, addr, len, mac);
94 size_t len[3]; local
102 len[0] = data1_len;
104 len[1] = data2_len;
106 len[2] = data3_len
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_md5.c 36 size_t len, challenge_len, password_len; local
46 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_MD5, reqData, &len);
47 if (pos == NULL || len == 0) {
48 wpa_printf(MSG_INFO, "EAP-MD5: Invalid frame (pos=%p len=%lu)",
49 pos, (unsigned long) len);
59 if (challenge_len == 0 || challenge_len > len - 1) {
61 "(challenge_len=%lu len=%lu)",
62 (unsigned long) challenge_len, (unsigned long) len);
eap_otp.c 34 size_t password_len, len; local
37 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_OTP, reqData, &len);
43 pos, len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
  /external/wpa_supplicant_8/src/wps/
wps_attr_parse.c 21 u8 id, u8 len, const u8 *pos)
23 wpa_printf(MSG_EXCESSIVE, "WPS: WFA subelement id=%u len=%u",
24 id, len);
27 if (len != 1) {
29 "%u", len);
36 attr->authorized_macs_len = len;
39 if (len != 1) {
41 "Shareable length %u", len);
47 if (len != 1) {
49 "length %u", len);
566 u16 type, len; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
wifi_display.c 39 size_t len, plen; local
98 len = 0;
100 len += wpabuf_len(global->wfd_subelem[
103 len += wpabuf_len(global->wfd_subelem[
106 len += wpabuf_len(global->wfd_subelem[
109 len += wpabuf_len(global->wfd_subelem[
112 len += wpabuf_len(global->wfd_subelem[WFD_SUBELEM_EXT_CAPAB]);
113 buf = wpabuf_alloc(len);
195 size_t len; local
206 len = os_strlen(pos)
    [all...]
  /frameworks/av/camera/camera2/
CaptureRequest.cpp 56 size_t len; local
57 const char16_t* className = parcel->readString16Inplace(&len);
  /frameworks/av/media/libmedia/
StringArray.cpp 63 int len = strlen(str); local
64 mArray[mCurrent] = new char[len+1];
65 memcpy(mArray[mCurrent], str, len+1);
107 int len = strlen(str); local
108 mArray[idx] = new char[len+1];
109 memcpy(mArray[idx], str, len+1);
  /frameworks/av/media/libstagefright/timedtext/
TextDescriptions.cpp 217 int len = *(tmpData + 4); local
218 parcel->writeInt32(len);
221 parcel->writeInt32(len);
222 parcel->write(tmpData + 5, len);
224 tmpData += (5 + len);
227 len = *tmpData;
228 parcel->writeInt32(len);
231 parcel->writeInt32(len);
232 parcel->write(tmpData + 1, len);
360 int len = *(tmpData + 2) local
    [all...]
  /frameworks/base/core/java/android/net/http/
CharArrayBuffers.java 41 int len = buffer.length(); local
43 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) {
47 boolean ok = len >= beginIndex + size;
  /frameworks/base/services/jni/
com_android_server_ConsumerIrService.cpp 73 int len; local
75 len = dev->get_num_carrier_freqs(dev);
76 if (len <= 0)
79 ranges = new consumerir_freq_range_t[len];
81 len = dev->get_carrier_freqs(dev, len, ranges);
82 if (len <= 0) {
88 ScopedIntArrayRW freqsOut(env, env->NewIntArray(len*2));
94 for (i = 0; i < len; i++) {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
XmlUtils_Delegate.java 44 int len = nm.length(); local
54 if (index == (len - 1))
  /frameworks/native/libs/gui/
BitTube.cpp 104 ssize_t err, len; local
106 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL);
108 err = len < 0 ? errno : 0;
110 return err == 0 ? len : -err;
115 ssize_t err, len;
117 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT);
118 err = len < 0 ? errno : 0;
125 return err == 0 ? len : -err;
  /frameworks/opt/net/voip/src/jni/rtp/
RtpStream.cpp 49 socklen_t len = sizeof(ss); local
51 getsockname(socket, (sockaddr *)&ss, &len) != 0) {
  /frameworks/rs/
rsStream.cpp 47 uint32_t len = loadU32(); local
48 const char *s = rsuCopyString((const char *)&mData[mPos], len);
49 mPos += len;
54 OStream::OStream(uint64_t len, bool use64) {
55 mData = (uint8_t*)malloc(len);
56 mLength = len;
93 void OStream::addString(const char *s, size_t len) {
94 addU32(len);
95 if (mPos + len*sizeof(char) >= mLength) {
99 memcpy(stringData, s, len);
    [all...]
  /frameworks/wilhelm/src/itf/
IAndroidEffectCapabilities.c 61 int len = strlen(thiz->mFxDescriptors[index].name); local
63 *pNameSize > len ? len : *pNameSize );
64 *pNameSize = len;
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
Connection.cpp 78 int32_t len; local
89 len = strlen(remote.sun_path) + sizeof(remote.sun_family);
92 if (::connect(socketDescriptor, (struct sockaddr *) &remote, len) < 0) {
101 size_t Connection::readData(void *buffer, uint32_t len)
103 return readData(buffer, len, -1);
108 size_t Connection::readData(void *buffer, uint32_t len, int32_t timeout)
149 ret = recv(socketDescriptor, buffer, len, MSG_DONTWAIT);
159 size_t Connection::writeData(void *buffer, uint32_t len)
166 ret = send(socketDescriptor, buffer, len, 0);
167 if (ret != len) {
    [all...]
NetlinkConnection.cpp 170 uint32_t len
173 return readData(buffer, len, -1);
180 uint32_t len,
198 // __FUNCTION__, len, dataLen);
203 if (len > dataLen) {
208 ret = len;
209 memcpy(buffer, dataStart, len);
210 dataLen -= len;
211 dataStart += len;
231 uint32_t len
259 memcpy(NLMSG_DATA(nlh), buffer, len); local
    [all...]
  /hardware/ti/omap4xxx/
mapinfo.c 27 int len = strlen(line); local
29 if(len < 1) return 0;
30 line[--len] = 0;
32 if(len < 50) return 0;
35 mi = __real_malloc(sizeof(mapinfo) + (len - 47));
  /libcore/crypto/src/main/java/org/conscrypt/
SSLEngineAppData.java 61 int len = buffer.length; local
67 if (len - pos < rem) {
69 dsts[i].put(buffer, pos, len - pos);
70 pos = len;
78 if (pos != len) {
90 return len;
SSLEngineDataStream.java 69 int len = (length < available) ? length : available; local
70 available -= len;
71 consumed += len;
72 byte[] res = new byte[len];
78 len --;
79 if (len == 0) {
  /libcore/luni/src/main/java/libcore/icu/
CollationKeyICU.java 97 int len = bytes.length; local
98 int inc = ((len - 32) / 32) + 1;
99 for (int i = 0; i < len;) {
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
DSAKeyPairGeneratorImpl.java 61 int len = 512; local
62 while (len <= 1024) {
63 if (len == modlen) {
67 len = len + 8;
68 if (len == 1032) {
  /libcore/support/src/test/java/tests/support/
Support_ASimpleInputStream.java 20 public int len; field in class:Support_ASimpleInputStream
37 len = buf.length;
42 len = input.length;
43 buf = new byte[len];
44 System.arraycopy(input, 0, buf, 0, len);
59 return len - pos;
67 if (pos < len) {

Completed in 4465 milliseconds

<<21222324252627282930>>