Home
last modified time | relevance | path

Searched refs:xlen (Results 1 – 25 of 60) sorted by relevance

123

/external/dtc/tests/
Dsetprop_inplace.c27 int xlen, i; in main() local
62 xlen = strlen(xstr); in main()
63 for (i = 0; i < xlen; i++) in main()
65 err = fdt_setprop_inplace(fdt, 0, "prop-str", xstr, xlen+1); in main()
70 strp = check_getprop(fdt, 0, "prop-str", xlen+1, xstr); in main()
/external/wpa_supplicant_8/src/crypto/
Daes-gcm.c103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument
109 m = xlen / 16; in ghash()
123 if (x + xlen > xpos) { in ghash()
125 size_t last = x + xlen - xpos; in ghash()
143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument
150 if (xlen == 0) in aes_gctr()
153 n = xlen / 16; in aes_gctr()
165 last = x + xlen - xpos; in aes_gctr()
Dfips_prf_internal.c17 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument
36 m = xlen / 40; in fips186_2_prf()
Dfips_prf_wolfssl.c36 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument
58 m = xlen / 40; in fips186_2_prf()
Dfips_prf_openssl.c61 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument
83 m = xlen / 40; in fips186_2_prf()
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c58 int xtype, xlen; in toggle_breakpoint() local
75 xlen = 0; in toggle_breakpoint()
78 xlen = 4; in toggle_breakpoint()
81 xlen = 0xc; in toggle_breakpoint()
84 xlen = 8; in toggle_breakpoint()
91 vdr7 = (xlen | xtype) << 16; in toggle_breakpoint()
/external/ltp/testcases/network/lib6/
Dasapi_01.c246 int offset, len, xlen; in client() local
284 xlen = (cstab[i].cs_sndresult < 0) ? -1 : len; in client()
285 if (TEST_RETURN != xlen) { in client()
289 TEST_RETURN, xlen); in client()
323 ph.ph_len = htonl(xlen); in client()
325 cs = csum(~cs, rpbuf, xlen); in client()
326 if (!csum(0, rpbuf, xlen)) { in client()
/external/okhttp/okio/okio/src/main/java/okio/
DGzipSource.java130 int xlen = source.buffer().readShortLe(); in consumeHeader() local
131 source.require(xlen); in consumeHeader()
132 if (fhcrc) updateCrc(source.buffer(), 0, xlen); in consumeHeader() local
133 source.skip(xlen); in consumeHeader()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DGzipSource.java132 int xlen = source.buffer().readShortLe(); in consumeHeader() local
133 source.require(xlen); in consumeHeader()
134 if (fhcrc) updateCrc(source.buffer(), 0, xlen); in consumeHeader() local
135 source.skip(xlen); in consumeHeader()
/external/okio/okio/src/jvmMain/kotlin/okio/
DGzipSource.kt120 val xlen = source.buffer.readShortLe().toLong() in consumeHeader() constant
121 source.require(xlen) in consumeHeader()
122 if (fhcrc) updateCrc(source.buffer, 0, xlen) in consumeHeader()
123 source.skip(xlen) in consumeHeader()
/external/iputils/ninfod/
Dni_ifaddrs.c319 size_t dlen, xlen; in ni_ifaddrs() local
329 icnt = dlen = xlen = 0; in ni_ifaddrs()
362 + dlen + xlen); in ni_ifaddrs()
378 ifflist = xdata + xlen; in ni_ifaddrs()
475 xlen += NLMSG_ALIGN(rtapayload); in ni_ifaddrs()
523 if (icnt == 0 && (dlen + xlen == 0)) { in ni_ifaddrs()
/external/python/cpython2/Demo/zlib/
Dminigzip.py62 xlen = ord(input.read(1))
63 xlen += 256*ord(input.read(1))
64 input.read(xlen)
/external/rust/crates/quiche/deps/boringssl/src/crypto/poly1305/
Dpoly1305_arm.c138 static void fe1305x2_frombytearray(fe1305x2 *r, const uint8_t *x, size_t xlen) { in fe1305x2_frombytearray() argument
142 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
145 xlen -= i; in fe1305x2_frombytearray()
158 if (xlen) { in fe1305x2_frombytearray()
159 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
/external/cronet/third_party/boringssl/src/crypto/poly1305/
Dpoly1305_arm.c139 static void fe1305x2_frombytearray(fe1305x2 *r, const uint8_t *x, size_t xlen) { in fe1305x2_frombytearray() argument
143 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
146 xlen -= i; in fe1305x2_frombytearray()
159 if (xlen) { in fe1305x2_frombytearray()
160 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
/external/boringssl/src/crypto/poly1305/
Dpoly1305_arm.c139 static void fe1305x2_frombytearray(fe1305x2 *r, const uint8_t *x, size_t xlen) { in fe1305x2_frombytearray() argument
143 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
146 xlen -= i; in fe1305x2_frombytearray()
159 if (xlen) { in fe1305x2_frombytearray()
160 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
/external/dtc/
Ddata.c24 struct data data_grow_for(struct data d, unsigned int xlen) in data_grow_for() argument
29 if (xlen == 0) in data_grow_for()
34 newsize = xlen; in data_grow_for()
36 while ((d.len + xlen) > newsize) in data_grow_for()
/external/rust/crates/ring/crypto/poly1305/
Dpoly1305_arm.c139 static void fe1305x2_frombytearray(fe1305x2 *r, const uint8_t *x, size_t xlen) { in fe1305x2_frombytearray() argument
143 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
146 xlen -= i; in fe1305x2_frombytearray()
159 if (xlen) { in fe1305x2_frombytearray()
160 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
/external/libwebsockets/lib/secure-streams/
Dsecure-streams-process.c613 unsigned int xlen = conn->ss->conmon_len; in callback_ss_proxy() local
615 if (xlen > sizeof(s) - 3) in callback_ss_proxy()
616 xlen = sizeof(s) - 3; in callback_ss_proxy()
620 lws_ser_wu16be(&p[1], (uint16_t)xlen); in callback_ss_proxy()
621 memcpy(&p[3], conn->ss->conmon_json, xlen); in callback_ss_proxy()
624 n = (int)(xlen + 3); in callback_ss_proxy()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
DGzipCompressorInputStream.java229 int xlen = inData.readUnsignedByte(); in init() local
230 xlen |= inData.readUnsignedByte() << 8; in init()
235 while (xlen-- > 0) { in init()
/external/python/cpython2/Lib/
Dgzip.py208 xlen = ord(self.fileobj.read(1))
209 xlen = xlen + 256*ord(self.fileobj.read(1))
210 self.fileobj.read(xlen)
/external/libwebsockets/lib/tls/openssl/
Dopenssl-x509.c88 long xlen, loc; in lws_tls_openssl_cert_info() local
219 xlen = val->length; in lws_tls_openssl_cert_info()
221 buf->ns.len = (int)xlen; in lws_tls_openssl_cert_info()
327 if (ASN1_get_object(&dp, &xlen, in lws_tls_openssl_cert_info()
336 buf->ns.len = (int)xlen; in lws_tls_openssl_cert_info()
/external/rust/crates/flate2/src/gz/
Dbufread.rs63 r.part.xlen = read_le_u16(r)?; in read_gz_header_part()
69 let mut extra = vec![0; r.part.xlen as usize]; in read_gz_header_part()
329 xlen: u16, field
340 xlen: 0, in new()
/external/speex/libspeexdsp/
Dresample.c935 const spx_uint32_t xlen = st->mem_alloc_size - filt_offs; in speex_resampler_process_int() local
942 spx_uint32_t ichunk = (ilen > xlen) ? xlen : ilen; in speex_resampler_process_int()
977 const spx_uint32_t xlen = st->mem_alloc_size - (st->filt_len - 1); in speex_resampler_process_float() local
990 spx_uint32_t ichunk = (ilen > xlen) ? xlen : ilen; in speex_resampler_process_float()
/external/libsrtp2/srtp/
Dsrtp.c1395 unsigned int xlen = (*xtn_hdr_data & 0x0f) + 1; in srtp_process_header_encryption() local
1396 uint32_t xlen_with_header = 1 + xlen; in srtp_process_header_encryption()
1399 if (xtn_hdr_data + xlen > xtn_hdr_end) in srtp_process_header_encryption()
1414 while (xlen > 0) { in srtp_process_header_encryption()
1417 xlen--; in srtp_process_header_encryption()
1420 xtn_hdr_data += xlen; in srtp_process_header_encryption()
1432 unsigned int xlen = *(xtn_hdr_data + 1); in srtp_process_header_encryption() local
1433 uint32_t xlen_with_header = 2 + xlen; in srtp_process_header_encryption()
1436 if (xtn_hdr_data + xlen > xtn_hdr_end) in srtp_process_header_encryption()
1444 if (xlen > 0 && srtp_protect_extension_header(stream, xid)) { in srtp_process_header_encryption()
[all …]
/external/openthread/third_party/tcplp/bsdtcp/
Dtcp_output.c1213 int xlen = len; in tcp_output() local
1215 ++xlen; in tcp_output()
1217 ++xlen; in tcp_output()
1220 if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max)) in tcp_output()

123