Home
last modified time | relevance | path

Searched refs:xlen (Results 1 – 25 of 61) 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
39 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.c48 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument
70 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/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/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/dtc/
Ddata.c24 struct data data_grow_for(struct data d, 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/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/speex/libspeexdsp/
Dresample.c916 const spx_uint32_t xlen = st->mem_alloc_size - filt_offs; in speex_resampler_process_int() local
923 spx_uint32_t ichunk = (ilen > xlen) ? xlen : ilen; in speex_resampler_process_int()
958 const spx_uint32_t xlen = st->mem_alloc_size - (st->filt_len - 1); in speex_resampler_process_float() local
972 spx_uint32_t ichunk = (ilen > xlen) ? xlen : ilen; in speex_resampler_process_float()
/external/llvm-project/llvm/test/CodeGen/RISCV/
Dcalling-conv-lp64-lp64f-lp64d-common.ll157 ; Check that arguments larger than 2*xlen are handled correctly when their
328 ; Check 2x*xlen values are aligned appropriately when passed on the stack
391 ; Check return of 2x xlen scalars
421 ; Check return of 2x xlen structs
450 ; Check return of >2x xlen scalars
480 ; Check return of >2x xlen structs
/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/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_pointer.pass.cpp30 typename S::size_type xlen = last - first; in test() local
35 assert(s.size() == old_size - xlen + rlen); in test()
Diter_iter_size_char.pass.cpp30 typename S::size_type xlen = last - first; in test() local
35 assert(s.size() == old_size - xlen + rlen); in test()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_pointer.pass.cpp30 typename S::size_type xlen = last - first; in test() local
35 assert(s.size() == old_size - xlen + rlen); in test()
Diter_iter_size_char.pass.cpp29 typename S::size_type xlen = last - first; in test() local
34 assert(s.size() == old_size - xlen + rlen); in test()

123