Home
last modified time | relevance | path

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

12

/external/dtc/tests/
Dsetprop_inplace.c40 int xlen, i; in main() local
75 xlen = strlen(xstr); in main()
76 for (i = 0; i < xlen; i++) in main()
78 err = fdt_setprop_inplace(fdt, 0, "prop-str", xstr, xlen+1); in main()
83 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.c57 int xtype, xlen; in toggle_breakpoint() local
74 xlen = 0; in toggle_breakpoint()
77 xlen = 4; in toggle_breakpoint()
80 xlen = 0xc; in toggle_breakpoint()
83 xlen = 8; in toggle_breakpoint()
90 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/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/boringssl/src/crypto/poly1305/
Dpoly1305_arm.c137 unsigned long long xlen) { in fe1305x2_frombytearray() argument
141 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
144 xlen -= i; in fe1305x2_frombytearray()
157 if (xlen) { in fe1305x2_frombytearray()
158 for (i = 0; (i < 16) && (i < xlen); i++) { in fe1305x2_frombytearray()
/external/python/cpython2/Demo/zlib/
Dminigzip.py62 xlen = ord(input.read(1))
63 xlen += 256*ord(input.read(1))
64 input.read(xlen)
/external/dtc/
Ddata.c39 struct data data_grow_for(struct data d, int xlen) in data_grow_for() argument
44 if (xlen == 0) in data_grow_for()
49 newsize = xlen; in data_grow_for()
51 while ((d.len + xlen) > newsize) in data_grow_for()
/external/u-boot/scripts/dtc/
Ddata.c39 struct data data_grow_for(struct data d, int xlen) in data_grow_for() argument
44 if (xlen == 0) in data_grow_for()
49 newsize = xlen; in data_grow_for()
51 while ((d.len + xlen) > newsize) in data_grow_for()
/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/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()
Diter_iter_string.pass.cpp29 typename S::size_type xlen = last - first; in test() local
34 assert(s.size() == old_size - xlen + rlen); in test()
Diter_iter_string_view.pass.cpp29 typename S::size_type xlen = last - first; in test() local
34 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_pointer.pass.cpp35 typename S::size_type xlen = std::min(n1, old_size - pos); in test() local
37 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_size_char.pass.cpp36 typename S::size_type xlen = std::min(n1, old_size - pos); in test() local
38 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_string.pass.cpp34 typename S::size_type xlen = std::min(n1, old_size - pos1); in test() local
36 assert(s.size() == old_size - xlen + rlen); in test()
Dsize_size_string_view.pass.cpp34 typename S::size_type xlen = std::min(n1, old_size - pos1); in test() local
36 assert(s.size() == old_size - xlen + rlen); in test()

12