Searched defs:len (Results 501 - 525 of 5216) sorted by relevance

<<21222324252627282930>>

/external/android-clat/
H A Dipv4.c31 * len - size of ip payload
35 uint32_t checksum, size_t len) {
39 if(len < sizeof(struct icmphdr)) {
45 payload_size = len - sizeof(struct icmphdr);
54 * len - size of packet
57 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
68 if(len < sizeof(struct iphdr)) {
78 if((size_t) header->ihl * 4 > len) { // ip header length larger than entire packet
94 len_left = len - header->ihl * 4;
138 logcat_hexdump("ipv4/protocol", packet, len);
34 icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, uint32_t checksum, size_t len) argument
[all...]
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
H A DMacSpiTest.java142 protected void engineUpdate(byte[] input, int offset, int len) { argument
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
H A DMyMacSpi.java60 protected void engineUpdate(byte[] input, int offset, int len) { argument
61 if (offset >= 0 && len >= 0) {
62 length = len;
/external/apache-http/src/org/apache/http/entity/
H A DBasicHttpEntity.java108 * @param len the number of bytes in the content, or
111 public void setContentLength(long len) { argument
112 this.length = len;
/external/apache-http/src/org/apache/http/impl/conn/
H A DLoggingSessionInputBuffer.java76 public int read(byte[] b, int off, int len) throws IOException { argument
77 int l = this.in.read(b, off, len);
H A DLoggingSessionOutputBuffer.java70 public void write(byte[] b, int off, int len) throws IOException { argument
71 this.out.write(b, off, len);
73 this.wire.output(b, off, len);
H A DWire.java108 public void output(byte[] b, int off, int len) argument
113 wire(">> ", new ByteArrayInputStream(b, off, len));
116 public void input(byte[] b, int off, int len) argument
121 wire("<< ", new ByteArrayInputStream(b, off, len));
/external/apache-http/src/org/apache/http/impl/io/
H A DContentLengthInputStream.java161 * @param len The number of bytes to attempt to read.
167 public int read (byte[] b, int off, int len) throws java.io.IOException { argument
176 if (pos + len > contentLength) {
177 len = (int) (contentLength - pos);
179 int count = this.in.read(b, off, len);
/external/bluetooth/bluedroid/btif/co/
H A Dbta_ag_co.c174 void bta_ag_co_tx_write(UINT16 handle, UINT8 * p_data, UINT16 len) argument
177 BTIF_TRACE_DEBUG( "bta_ag_co_tx_write: handle: %d, len: %d", handle, len );
/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_pars_ct.c47 UINT16 len; local
60 BE_STREAM_TO_UINT16 (len, p);
61 AVRC_TRACE_DEBUG("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len);
75 if (len != 1)
H A Davrc_pars_tg.c46 UINT16 len; local
63 BE_STREAM_TO_UINT16 (len, p);
64 if ((len+4) != (p_msg->vendor_len))
78 else if (len != 1)
84 if (len != 0)
92 else if (len != 1)
99 if (len != (p_result->get_cur_app_val.num_attr+1))
122 if (p_buf && (len == ((p_result->set_app_val.num_val<<1) + 1)))
142 AVRC_TRACE_ERROR("AVRC_PDU_SET_PLAYER_APP_VALUE NULL decode buffer or bad len");
148 if (len <
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaDigestCalculatorProviderBuilder.java91 public void write(byte[] bytes, int off, int len) argument
94 dig.update(bytes, off, len);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DBEROctetStringGenerator.java67 public void write(byte[] b, int off, int len) throws IOException argument
69 while (len > 0)
71 int numToCopy = Math.min(len, _buf.length - _off);
84 len -= numToCopy;
H A DIndefiniteLengthInputStream.java51 public int read(byte[] b, int off, int len) argument
55 if (_eofOn00 || len < 3)
57 return super.read(b, off, len);
65 int numRead = _in.read(b, off + 2, len - 2);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DStreamBlockCipher.java76 * @param len the number of bytes to be processed.
84 int len,
89 if (outOff + len > out.length)
94 for (int i = 0; i != len; i++)
81 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCTSBlockCipher.java41 * an input of len bytes.
43 * @param len the length of the input.
45 * with len bytes of input.
48 int len)
50 int total = len + bufOff;
63 * doFinal with an input of len bytes.
65 * @param len the length of the input.
67 * with len bytes of input.
70 int len)
72 return len
47 getUpdateOutputSize( int len) argument
69 getOutputSize( int len) argument
118 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
H A DPaddedBufferedBlockCipher.java87 * plus a doFinal with an input of len bytes.
89 * @param len the length of the input.
91 * with len bytes of input.
94 int len)
96 int total = len + bufOff;
114 * an input of len bytes.
116 * @param len the length of the input.
118 * with len bytes of input.
121 int len)
123 int total = len
93 getOutputSize( int len) argument
120 getUpdateOutputSize( int len) argument
175 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
H A DStreams.java43 public static int readFully(InputStream inStr, byte[] buf, int off, int len) argument
47 while (totalRead < len)
49 int numRead = inStr.read(buf, off + totalRead, len - totalRead);
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DInputStreamUtil.java52 public static int read(InputStream stream, byte[] b, int off, int len) { argument
54 return Math.max(CALL_FAILED_STATUS, stream.read(b, off, len));
/external/chromium_org/base/
H A Dmd5_unittest.cc119 int len = 4097; // intentionally not 2^k. local
120 if (len > length - total)
121 len = length - total;
124 StringPiece(reinterpret_cast<char*>(data.get() + total), len));
125 total += len;
H A Dsys_info_mac.cc82 size_t len = arraysize(name); local
83 if (sysctlbyname("machdep.cpu.brand_string", &name, &len, NULL, 0) == 0)
/external/chromium_org/base/process/
H A Dprocess_iterator_freebsd.cc27 size_t len = 0; local
28 if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) {
33 size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc);
38 len = num_of_kinfo_proc * sizeof(struct kinfo_proc);
39 if (sysctl(mib, arraysize(mib), &kinfo_procs_[0], &len, NULL, 0) <0) {
49 size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc);
H A Dprocess_iterator_mac.cc33 size_t len = 0; local
34 if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) {
39 size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc);
44 len = num_of_kinfo_proc * sizeof(struct kinfo_proc);
46 if (sysctl(mib, arraysize(mib), &kinfo_procs_[0], &len, NULL, 0) < 0) {
56 size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc);
H A Dprocess_iterator_openbsd.cc27 size_t len = 0; local
28 if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) {
33 size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc);
38 len = num_of_kinfo_proc * sizeof(struct kinfo_proc);
39 if (sysctl(mib, arraysize(mib), &kinfo_procs_[0], &len, NULL, 0) < 0) {
49 size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc);
/external/chromium_org/base/third_party/xdg_user_dirs/
H A Dxdg_user_dir_lookup.cc56 int len; local
93 len = strlen (buffer);
94 if (len > 0 && buffer[len-1] == '\n')
95 buffer[len-1] = 0;

Completed in 3595 milliseconds

<<21222324252627282930>>