HomeSort by relevance Sort by last modified time
    Searched full:len (Results 901 - 925 of 5669) sorted by null

<<31323334353637383940>>

  /system/core/sh/
memalloc.c 248 grabstackblock(int len)
250 len = SHELL_ALIGN(len);
251 stacknxt += len;
252 stacknleft -= len;
276 int len = stackblocksize(); local
277 if (herefd >= 0 && len >= 1024) {
278 xwrite(herefd, stackblock(), len);
279 sstrnleft = len - 1;
283 sstrnleft = stackblocksize() - len - 1
294 int len = stackblocksize() - sstrnleft; local
    [all...]
  /dalvik/dx/src/com/android/dx/rop/code/
RegisterSpecSet.java 63 int len = specs.length; local
65 if ((len != otherSpecs.length) || (size() != otherSet.size())) {
69 for (int i = 0; i < len; i++) {
88 int len = specs.length; local
91 for (int i = 0; i < len; i++) {
103 int len = specs.length; local
104 StringBuffer sb = new StringBuffer(len * 25);
109 for (int i = 0; i < len; i++) {
145 int len = specs.length; local
148 for (int i = 0; i < len; i++)
326 int len = Math.min(thisLen, otherSpecs.length); local
358 int len = specs.length; local
383 int len = specs.length; local
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1_MessageDigestImpl.java 195 * len number of bytes within buffer allotted for the message digest;
197 * len should be >= 20, DigestException is thrown otherwise
204 * if offset + len > buf.length <BR>
205 * if offset > buf.length or len > buf.length
208 * if len < 20
213 protected int engineDigest(byte[] buf, int offset, int len) throws DigestException {
218 if ( offset > buf.length || len > buf.length || (len + offset) > buf.length ) {
222 if ( len < DIGEST_LENGTH ) {
287 * The method silently returns if "len" <= 0
    [all...]
  /external/icu4c/i18n/
ucal.cpp 29 _createTimeZone(const UChar* zoneID, int32_t len, UErrorCode* ec) {
35 int32_t l = (len<0 ? u_strlen(zoneID) : len);
37 zoneStrID.setTo((UBool)(len < 0), zoneID, l); /* temporary read-only alias */
58 int32_t len = 0; local
67 len = id.extract(result, resultCapacity, *ec);
70 return len;
121 int32_t len,
130 : _createTimeZone(zoneID, len, status);
174 int32_t len,
592 int32_t len; local
    [all...]
  /external/opencore/oscl/pvlogger/src/
pvlogger_file_appender.h 70 appender->_cache.len = 0;
81 _logFile.Write(_cache.ptr, sizeof(char), _cache.len);
107 if (_cache.len + size + 2 < _cacheSize)
109 oscl_memcpy(OSCL_STATIC_CAST(uint8*, _cache.ptr) + _cache.len, stringbuf, size);
110 _cache.len += size;
111 oscl_memcpy(OSCL_STATIC_CAST(uint8*, _cache.ptr) + _cache.len, newline, 2);
112 _cache.len += 2;
116 _logFile.Write(_cache.ptr, sizeof(char), _cache.len);
120 _cache.len = 0;
164 _cache.len = 0
    [all...]
  /external/ppp/pppd/
ccp.c 172 static void ccp_input __P((int unit, u_char *pkt, int len));
174 static int ccp_printpkt __P((u_char *pkt, int len,
177 static void ccp_datainput __P((int unit, u_char *pkt, int len));
442 ccp_input(unit, p, len)
445 int len;
454 fsm_input(f, p, len);
478 ccp_extcode(f, code, id, p, len)
482 int len;
808 ccp_ackci(f, p, len)
811 int len;
1076 int len, clen, type, nb; local
1492 int code, id, len; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_ikev2.c 198 size_t len = wpabuf_len(resp); local
202 msg, len, wpabuf_put(resp, icv_len));
276 const u8 *buf, size_t len)
279 if (len > wpabuf_tailroom(data->in_buf)) {
285 wpabuf_put_data(data->in_buf, buf, len);
287 "for %lu bytes more", (unsigned long) len,
298 const u8 *buf, size_t len)
317 wpabuf_put_data(data->in_buf, buf, len);
320 (unsigned long) len,
334 size_t len; local
    [all...]
eap_fast.c 77 static int eap_fast_session_ticket_cb(void *ctx, const u8 *ticket, size_t len,
100 wpa_hexdump(MSG_DEBUG, "EAP-FAST: SessionTicket", ticket, len);
408 size_t len = be_to_host16(hdr->length); local
414 if (len <= sizeof(struct eap_hdr)) {
416 "Phase 2 request (len=%lu)", (unsigned long) len);
457 wpabuf_set(&msg, hdr, len);
476 data->pending_phase2_req = wpabuf_alloc_copy(hdr, len);
553 "Payload TLV (len=%lu)",
747 size_t len; local
838 size_t left, len; local
958 size_t left, len; local
1055 int mandatory, tlv_type, len, res; local
1625 int len, ret; local
    [all...]
eap_mschapv2.c 244 size_t len, challenge_len; local
247 if (eap_get_config_identity(sm, &len) == NULL ||
248 eap_get_config_password(sm, &len) == NULL)
254 "(len %lu)", (unsigned long) req_len);
260 len = req_len - sizeof(*req) - 1;
268 if (len < challenge_len) {
270 " packet: len=%lu challenge_len=%lu",
271 (unsigned long) len, (unsigned long) challenge_len);
283 len -= challenge_len;
285 pos, len);
345 size_t len; local
634 size_t len = req_len - sizeof(*req); local
688 size_t len; local
760 size_t len; local
    [all...]
  /external/openssl/crypto/asn1/
a_int.c 179 long len)
195 pend = p + len;
199 s=(unsigned char *)OPENSSL_malloc((int)len+1);
206 if(!len) {
214 if ((*p == 0xff) && (len != 1)) {
216 len--;
218 i = len;
231 * where the number of bytes is larger than len.
235 s[len] = 0;
236 len++
277 long len; local
408 int len,j; local
    [all...]
a_bytes.c 72 long len; local
77 inf=ASN1_get_object(&p,&len,&tag,&xclass,length);
102 if (len != 0)
104 s=(unsigned char *)OPENSSL_malloc((int)len+1);
110 memcpy(s,p,(int)len);
111 s[len]='\0';
112 p+=len;
118 ret->length=(int)len;
163 long len; local
175 inf=ASN1_get_object(&p,&len,&tag,&xclass,length)
    [all...]
  /external/openssl/patches/
small_records.patch 12 + if (rr->length > s->s3->rbuf.len - DTLS1_RT_HEADER_LENGTH)
23 + s->s3->rbuf.len=newlen;
30 @@ -1300,6 +1318,7 @@ int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len,
34 + unsigned int len_with_overhead = len + SSL3_RT_DEFAULT_WRITE_OVERHEAD;
38 @@ -1309,6 +1328,16 @@ int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len,
39 return(ssl3_write_pending(s,type,buf,len));
42 + if (s->s3->wbuf.len < len_with_overhead)
49 + s->s3->wbuf.len = len_with_overhead;
86 + len = SSL3_RT_DEFAULT_PACKET_SIZE;
90 - len = SSL3_RT_MAX_PACKET_SIZE + extra
    [all...]
  /external/qemu/
arm-semi.c 185 uint32_t len; local
242 len = strlen(s);
244 gdb_do_syscall(arm_semi_cb, "write,2,%x,%x\n", args, len);
247 ret = write(STDERR_FILENO, s, len);
252 len = ARG(2);
254 arm_semi_syscall_len = len;
255 gdb_do_syscall(arm_semi_cb, "write,%x,%x,%x", ARG(0), ARG(1), len);
258 if (!(s = lock_user(VERIFY_READ, ARG(1), len, 1)))
261 ret = set_swi_errno(ts, write(ARG(0), s, len));
265 return len - ret
379 int len = ARG(1); local
    [all...]
  /external/icu4c/io/
uscanf_p.c 421 int32_t len; local
436 len = (int32_t)(input->str.fLimit - input->str.fPos);
440 len = ufmt_min(len, info->fWidth);
453 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status);
484 int32_t len; local
499 len = (int32_t)(input->str.fLimit - input->str.fPos);
503 len = ufmt_min(len, info->fWidth);
516 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status)
547 int32_t len; local
637 int32_t len; local
710 int32_t len; local
935 int32_t len; local
994 int32_t len; local
1050 int32_t len; local
1097 int32_t len; local
    [all...]
  /external/qemu/telephony/
sms.c 288 int shift = 0, len = 0; local
291 address->len = 0;
315 len += 1;
325 address->len = len;
343 for (n = 0; n < address->len; n += 2)
351 if (n+1 > address->len)
364 int len = sizeof(address->data), num_digits; local
369 address->len = num_digits = buf[0];
372 len = (num_digits+1)/2
383 int len = (address->len + 1)\/2 + 2; local
408 int nn, len, num_digits; local
430 int len = (address->len + 1)\/2 + 2; local
499 int len = cur[0]; local
557 int len; local
581 int len, dlen; local
838 int len; local
989 int len; local
1517 int len; local
    [all...]
  /external/qemu/slirp/
socket.c 92 int len = sb->sb_datalen - sb->sb_cc; local
98 len = sb->sb_datalen - sb->sb_cc;
100 if (len <= 0)
109 if (iov[0].iov_len > len)
110 iov[0].iov_len = len;
117 if (iov[0].iov_len > len) iov[0].iov_len = len;
118 len -= iov[0].iov_len;
119 if (len) {
122 if(iov[1].iov_len > len)
297 int n, len; local
354 int len = sb->sb_cc; local
454 int len; local
477 int len; local
    [all...]
  /external/qemu/slirp-android/
socket.c 100 int len = sb->sb_datalen - sb->sb_cc; local
106 len = sb->sb_datalen - sb->sb_cc;
108 if (len <= 0)
117 if (iov[0].iov_len > len)
118 iov[0].iov_len = len;
125 if (iov[0].iov_len > len) iov[0].iov_len = len;
126 len -= iov[0].iov_len;
127 if (len) {
130 if(iov[1].iov_len > len)
305 int n, len; local
362 int len = sb->sb_cc; local
461 int len; local
483 int len; local
    [all...]
  /system/wlan/ti/wilink_6_1/stad/src/Sta_Management/
templates.c 69 - Build a template & set the template len, the template type is set in the site mgr
112 pTemplate->len = size;
123 - Build a template & set the template len, the template type is set in the site mgr
168 pTemplate->len = size;
194 tBroadcastSSID.len = MAX_SSID_LEN;
212 - Build a template & set the template len, the template type is set in the site mgr
233 TI_UINT32 len = 0, ofdmIndex = 0; local
270 ((dot11_SSID_t *)(pBuf))->hdr[1] = pSsid->len;
271 os_memoryCopy(pSiteMgr->hOs, pBuf + sizeof(dot11_eleHdr_t), (void *)pSsid->str, pSsid->len);
272 size += sizeof(dot11_eleHdr_t) + pSsid->len;
392 TI_UINT32 len = 0, ofdmIndex = 0; local
    [all...]
  /external/bluetooth/bluez/test/
apitest 241 if len(self.cmd_args) == 1:
248 if len(self.cmd_args) == 1:
257 if len(self.cmd_args) == 1:
270 if len(self.cmd_args) == 1:
281 if len(self.cmd_args) == 1:
286 if len(self.cmd_args) == 1:
291 if len(self.cmd_args) == 1:
296 if len(self.cmd_args) == 1:
301 if len(self.cmd_args) == 1:
306 if len(self.cmd_args) == 1
    [all...]
  /external/ipsec-tools/src/racoon/
crypto_openssl.c 134 eay_str2asn1dn(str, len)
136 int len;
145 if (len == -1)
146 len = strlen(str);
148 buf = racoon_malloc(len + 1);
153 memcpy(buf, str, len);
159 for (i = 0; i < len; i++) {
182 for (j = i + 1; j < len; j++) {
191 buf[len] = '\0';
236 eay_hex2asn1dn(const char *hex, int len)
650 int len; local
697 int len; local
800 int len = 0; local
860 int len; local
892 int len; local
1107 int len; local
1133 int len; local
1161 int len = 0; local
1195 int len = 0, n; local
    [all...]
  /external/opencore/protocols/http_parcom/src/
oscl_variablesize_mem_pool.h 160 memChunk.len = aBytesToFree;
180 if (maxChunkSize < iFreeMemChunkList[i].len)
182 maxChunkSize = iFreeMemChunkList[i].len;
202 totalSize += iFreeMemChunkList[i].len;
214 totalSize += iUsedMemChunkList[i].len;
241 memChunk.len = iMaxPoolSize;
296 memChunk.len = iMaxPoolSize;
359 pMemChunk->len = 0;
363 if (iFreeMemChunkList[i].len < alloc_size) continue;
366 if (iFreeMemChunkList[i].len - alloc_size > (uint32)iAverAllocSize
    [all...]
  /external/qemu/hw/
goldfish_nand.c 71 nand_threshold_update( nand_threshold* t, uint32_t len )
75 if (avail > len)
76 avail = len;
94 #define NAND_UPDATE_READ_THRESHOLD(len) \
95 nand_threshold_update( &android_nand_read_threshold, (uint32_t)(len) )
97 #define NAND_UPDATE_WRITE_THRESHOLD(len) \
98 nand_threshold_update( &android_nand_write_threshold, (uint32_t)(len) )
102 #define NAND_UPDATE_READ_THRESHOLD(len) \
105 #define NAND_UPDATE_WRITE_THRESHOLD(len) \
178 uint32_t len = total_len local
205 uint32_t len = total_len; local
229 uint32_t len = total_len; local
    [all...]
  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
CopyOnWriteArrayList.java 336 int len = elements.length; local
337 if (a.length < len)
338 return (T[]) Java6Arrays.copyOf(elements, len, a.getClass());
340 System.arraycopy(elements, 0, a, 0, len);
341 if (a.length > len)
342 a[len] = null;
377 int len = elements.length; local
378 Object[] newElements = Java6Arrays.copyOf(elements, len);
402 int len = elements.length; local
403 Object[] newElements = Java6Arrays.copyOf(elements, len + 1)
424 int len = elements.length; local
457 int len = elements.length; local
493 int len = elements.length; local
540 int len = elements.length; local
573 int len = elements.length; local
601 int len = elements.length; local
628 int len = elements.length; local
668 int len = elements.length; local
709 int len = elements.length; local
760 int len = elements.length; local
792 int len = elements.length; local
832 int len = elements.length; local
855 int len = s.readInt(); local
902 int len = elements.length; local
921 int len = elements.length; local
967 int len = elements.length; local
1063 int len = elements.length; local
    [all...]
  /external/apache-http/src/org/apache/http/impl/io/
AbstractSessionInputBuffer.java 93 int len = this.bufferlen - this.bufferpos; local
94 if (len > 0) {
95 System.arraycopy(this.buffer, this.bufferpos, this.buffer, 0, len);
98 this.bufferlen = len;
102 int len = this.buffer.length - off; local
103 l = this.instream.read(this.buffer, off, len);
128 public int read(final byte[] b, int off, int len) throws IOException {
140 if (chunk > len) {
141 chunk = len;
181 int len = i + 1 - this.bufferpos local
187 int len = this.bufferlen - this.bufferpos; local
239 int len; local
    [all...]
  /external/kernel-headers/original/linux/
dmaengine.h 191 void *dest, void *src, size_t len);
194 size_t len);
197 struct page *src_pg, unsigned int src_off, size_t len);
216 * @len: length
224 void *dest, void *src, size_t len)
227 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len;
231 return chan->device->device_memcpy_buf_to_buf(chan, dest, src, len);
240 * @len: length
248 struct page *page, unsigned int offset, void *kdata, size_t len)
251 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len;
    [all...]

Completed in 760 milliseconds

<<31323334353637383940>>