HomeSort by relevance Sort by last modified time
    Searched defs:len (Results 1176 - 1200 of 6966) sorted by null

<<41424344454647484950>>

  /external/wpa_supplicant_8/src/utils/
utils_module_tests.c 19 size_t len; member in struct:printf_test_data
50 printf_encode(buf, sizeof(buf), test->data, test->len);
54 if (binlen != test->len ||
62 if (binlen != test->len ||
186 int len; local
195 len = int_array_len(test3_res);
196 if (int_array_len(test3) != len)
198 else if (os_memcmp(test3, test3_res, len * sizeof(int)) != 0)
wpabuf.c 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len)
39 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu",
41 (unsigned long) len);
110 * @len: Length for the allocated buffer
113 struct wpabuf * wpabuf_alloc(size_t len)
117 sizeof(struct wpabuf) + len);
124 struct wpabuf *buf = os_zalloc(sizeof(struct wpabuf) + len);
129 buf->size = len;
135 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len)
151 buf->size = len;
231 size_t len = 0; local
    [all...]
wpabuf.h 30 struct wpabuf * wpabuf_alloc(size_t len);
31 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len);
32 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len);
35 void * wpabuf_put(struct wpabuf *buf, size_t len);
37 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len);
138 size_t len)
141 os_memcpy(wpabuf_put(buf, len), data, len); local
150 static inline void wpabuf_set(struct wpabuf *buf, const void *data, size_t len)
154 buf->size = buf->used = len;
    [all...]
  /external/wpa_supplicant_8/src/wps/
wps_dev_attr.c 18 size_t len; local
21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0;
23 if (len == 0) {
34 wpabuf_put_be16(msg, len);
35 wpabuf_put_data(msg, dev->manufacturer, len);
42 size_t len; local
45 len = dev->model_name ? os_strlen(dev->model_name) : 0;
47 if (len == 0) {
58 wpabuf_put_be16(msg, len);
59 wpabuf_put_data(msg, dev->model_name, len);
66 size_t len; local
90 size_t len; local
160 size_t len; local
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
addinterface.cpp 62 size_t len; local
68 len = sizeof(buf) - 1;
69 ret = wpa_ctrl_request(ctrl, "INTERFACE_LIST", 14, buf, &len, NULL);
74 buf[len] = '\0';
191 size_t len; local
209 len = sizeof(buf) - 1;
210 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL);
220 buf[len] = '\0';
  /external/zlib/src/contrib/infback9/
inftree9.c 40 unsigned len; /* a code's length in bits */ local
109 for (len = 0; len <= MAXBITS; len++)
110 count[len] = 0;
126 for (len = 1; len <= MAXBITS; len++) {
128 left -= count[len];
136 for (len = 1; len < MAXBITS; len++
    [all...]
  /external/zlib/src/contrib/masmx64/
inffas8664.c 53 state->mode == LEN
61 LEN -- ran out of enough output space or enough available input
100 /*108 64 */ unsigned len; /* r14 match length */ member in struct:inffast_ar
167 ar.len = ar.bits >> 3;
168 ar.in -= ar.len;
169 ar.bits -= ar.len << 3;
  /external/zlib/src/contrib/puff/
pufftest.c 57 failure. *len is the number of bytes of data read from the input file (even
59 or read, *len is zero. */
60 local void *load(const char *name, size_t *len)
66 *len = 0;
73 *len += fread((char *)buf + *len, 1, size - *len, in);
74 if (*len < size) break;
76 if (size == *len || (swap = realloc(buf, size)) == NULL) {
94 size_t len = 0 local
    [all...]
  /external/zlib/src/
gzwrite.c 132 /* Compress len zeros to output. Return -1 on error, 0 on success. */
133 local int gz_zero(state, len)
135 z_off64_t len;
145 /* compress len zeros (len guaranteed > 0) */
147 while (len) {
148 n = GT_OFF(state->size) || (z_off64_t)state->size > len ?
149 (unsigned)len : state->size;
159 len -= n;
165 int ZEXPORT gzwrite(file, buf, len)
298 unsigned len; local
312 int size, len; local
393 int size, len; local
    [all...]
inffast.c 42 state->mode == LEN
50 LEN -- ran out of enough output space or enough available input
93 unsigned len; /* match length, unused bytes */ local
140 len = (unsigned)(here.val);
147 len += (unsigned)hold & ((1U << op) - 1);
151 Tracevv((stderr, "inflate: length %u\n", len));
197 if (len <= op - whave) {
200 } while (--len);
203 len -= op - whave;
211 } while (--len);
    [all...]
inftrees.c 40 unsigned len; /* a code's length in bits */ local
107 for (len = 0; len <= MAXBITS; len++)
108 count[len] = 0;
132 for (len = 1; len <= MAXBITS; len++) {
134 left -= count[len];
142 for (len = 1; len < MAXBITS; len++
    [all...]
  /external/zopfli/src/zopfli/
zopfli_bin.c 116 size_t len = strlen(str1) + strlen(str2); local
117 char* result = (char*)malloc(len + 1);
  /frameworks/av/media/libmedia/
IMediaHTTPConnection.cpp 109 int32_t len = reply.readInt32(); local
111 if (len > 0) {
112 memcpy(buffer, mMemory->pointer(), len);
115 return len;
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
vlc_encode.cpp 151 uint code, len; local
186 len = totCoeffTrailOne[vlcnum][TrailingOnes][TotalCoeff][0];
188 status = BitstreamWriteBits(stream, len, code);
205 uint code, len; local
207 len = totCoeffTrailOneChrom[TrailingOnes][TotalCoeff][0];
209 status = BitstreamWriteBits(stream, len, code);
254 int len, code; local
257 len = lenTotalZeros[TotalCoeff-1][total_zeros];
260 status = BitstreamWriteBits(stream, len, code);
282 int len, code local
318 int len, code; local
    [all...]
  /frameworks/base/core/java/android/text/
AlteredCharSequence.java 116 int len = length(); local
118 char[] ret = new char[len];
119 getChars(0, len, ret, 0);
  /frameworks/base/core/java/android/text/method/
NumberKeyListener.java 74 int len = end - start; local
  /frameworks/base/core/java/android/text/util/
Rfc822Token.java 112 int len = name.length(); local
114 for (int i = 0; i < len; i++) {
136 int len = name.length(); local
137 for (int i = 0; i < len; i++) {
156 int len = comment.length(); local
159 for (int i = 0; i < len; i++) {
Rfc822Tokenizer.java 179 int len = sb.length(); local
181 while (i < len) {
185 if (i == 0 || i == len - 1 ||
191 len--;
200 for (i = 0; i < len; i++) {
242 int len = text.length(); local
245 while (i < len) {
253 while (i < len) {
259 } else if (c == '\\' && i + 1 < len) {
269 while (i < len && level > 0)
    [all...]
  /frameworks/base/core/java/com/android/internal/http/multipart/
FilePart.java 223 int len; local
224 while ((len = instream.read(tmp)) >= 0) {
225 out.write(tmp, 0, len);
  /frameworks/base/core/jni/
android_os_SystemProperties.cpp 33 int len; local
45 len = property_get(key, buf, "");
46 if ((len <= 0) && (defJ != NULL)) {
48 } else if (len >= 0) {
69 int len; local
82 len = property_get(key, buf, "");
83 if (len > 0) {
99 int len; local
112 len = property_get(key, buf, "");
113 if (len > 0)
129 int len; local
    [all...]
  /frameworks/base/media/java/android/media/
ResampleInputStream.java 97 int len = ((mBufCount / 2 - mFirLength) * mRateOut / mRateIn) * 2; local
98 if (len > 0) {
99 length = len < length ? len : (length / 2) * 2;
  /frameworks/base/packages/services/PacProcessor/jni/
com_android_pacprocessor_PacNative.cpp 58 size_t len = string.size(); local
60 return env->NewString(str, len);
  /frameworks/base/services/core/jni/
com_android_server_am_BatteryStatsService.cpp 149 int len = snprintf(mergedreasonpos, remainreasonlen, local
151 if (len >= 0 && len < remainreasonlen) {
152 mergedreasonpos += len;
153 remainreasonlen -= len;
156 int len = snprintf(mergedreasonpos, remainreasonlen, ":%s", pos); local
157 if (len >= 0 && len < remainreasonlen) {
158 mergedreasonpos += len;
159 remainreasonlen -= len;
    [all...]
  /frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java 134 int len = s.length(); local
135 for (int i = 0; i < len; i++) {
  /frameworks/compile/libbcc/include/bcinfo/Wrap/
BCHeaderField.h 41 BCHeaderField(Tag ID, size_t len, uint8_t* data) :
42 ID_(ID), len_(len), data_(data) {}
90 FixedSubfield len; local
91 ReadFixedSubfield(&len, buf + sizeof(FixedSubfield));
92 return len;

Completed in 2557 milliseconds

<<41424344454647484950>>