Home
last modified time | relevance | path

Searched refs:_len (Results 1 – 25 of 57) sorted by relevance

123

/external/python/cpython2/Demo/classes/
Dbitvec.py54 self._len = 0
69 self._len = len(param)
74 self._len = _compute_len(param)
91 self._len = length
101 self[self._len:self._len] = \
145 for i in range(self._len):
147 result = result << (self._len - i)
155 self._data = ((1L << c) - 1) << (self._len - c)
159 return BitVec(self._data, self._len)
171 return 'bitvec(%r, %r)' % (self._data, self._len)
[all …]
/external/lzma/CPP/Common/
DMyString.cpp383 if (newLimit < _len || newLimit >= k_Alloc_Len_Limit) throw 20130220; in ReAlloc()
386 memcpy(newBuf, _chars, (size_t)(_len + 1)); in ReAlloc()
407 _len = len; in SetStartLen()
413 unsigned next = _len; in Grow_1()
422 unsigned freeSize = _limit - _len; in Grow()
426 unsigned next = _len + n; in Grow()
445 if (num > s._len) in AString()
446 num = s._len; in AString()
480 _len = 0; in AString()
501 SetStartLen(s._len); in AString()
[all …]
DMyString.h248 unsigned _len; variable
253 memmove(_chars + dest, _chars + src, (size_t)(_len - src + 1) * sizeof(char)); in MoveItems()
298 unsigned Len() const { return _len; } in Len()
299 bool IsEmpty() const { return _len == 0; } in IsEmpty()
300 void Empty() { _len = 0; _chars[0] = 0; } in Empty()
305 const char *RightPtr(unsigned num) const { return _chars + _len - num; } in RightPtr()
306 char Back() const { return _chars[(size_t)_len - 1]; } in Back()
326 _len = minLen; in GetBuf_SetEnd()
330 void ReleaseBuf_SetLen(unsigned newLen) { _len = newLen; } in ReleaseBuf_SetLen()
331 void ReleaseBuf_SetEnd(unsigned newLen) { _len = newLen; _chars[newLen] = 0; } in ReleaseBuf_SetEnd()
[all …]
/external/tcpdump/
Dprint-resp.c74 #define LCHECK2(_tot_len, _len) \ argument
76 if (_tot_len < _len) \
90 #define FIND_CRLF(_ptr, _len) \ argument
92 LCHECK2(_len, 2); \
97 _len--; \
104 #define CONSUME_CRLF(_ptr, _len) \ argument
106 _len -= 2;
116 #define FIND_CR_OR_LF(_ptr, _len) \ argument
118 LCHECK(_len); \
123 _len--; \
[all …]
/external/wpa_supplicant_8/src/crypto/
Dsha256.c32 size_t _len[11], i; in hmac_sha256_vector() local
68 _len[0] = 64; in hmac_sha256_vector()
71 _len[i + 1] = len[i]; in hmac_sha256_vector()
73 if (sha256_vector(1 + num_elem, _addr, _len, mac) < 0) in hmac_sha256_vector()
84 _len[0] = 64; in hmac_sha256_vector()
86 _len[1] = SHA256_MAC_LEN; in hmac_sha256_vector()
87 return sha256_vector(2, _addr, _len, mac); in hmac_sha256_vector()
Dsha512.c32 size_t _len[11], i; in hmac_sha512_vector() local
68 _len[0] = 128; in hmac_sha512_vector()
71 _len[i + 1] = len[i]; in hmac_sha512_vector()
73 if (sha512_vector(1 + num_elem, _addr, _len, mac) < 0) in hmac_sha512_vector()
84 _len[0] = 128; in hmac_sha512_vector()
86 _len[1] = SHA512_MAC_LEN; in hmac_sha512_vector()
87 return sha512_vector(2, _addr, _len, mac); in hmac_sha512_vector()
Dsha384.c32 size_t _len[11], i; in hmac_sha384_vector() local
68 _len[0] = 128; in hmac_sha384_vector()
71 _len[i + 1] = len[i]; in hmac_sha384_vector()
73 if (sha384_vector(1 + num_elem, _addr, _len, mac) < 0) in hmac_sha384_vector()
84 _len[0] = 128; in hmac_sha384_vector()
86 _len[1] = SHA384_MAC_LEN; in hmac_sha384_vector()
87 return sha384_vector(2, _addr, _len, mac); in hmac_sha384_vector()
Dsha1.c32 size_t _len[6], i; in hmac_sha1_vector() local
69 _len[0] = 64; in hmac_sha1_vector()
72 _len[i + 1] = len[i]; in hmac_sha1_vector()
74 if (sha1_vector(1 + num_elem, _addr, _len, mac)) in hmac_sha1_vector()
85 _len[0] = 64; in hmac_sha1_vector()
87 _len[1] = SHA1_MAC_LEN; in hmac_sha1_vector()
88 ret = sha1_vector(2, _addr, _len, mac); in hmac_sha1_vector()
Dmd5.c32 size_t i, _len[6]; in hmac_md5_vector() local
70 _len[0] = 64; in hmac_md5_vector()
73 _len[i + 1] = len[i]; in hmac_md5_vector()
75 if (md5_vector(1 + num_elem, _addr, _len, mac)) in hmac_md5_vector()
86 _len[0] = 64; in hmac_md5_vector()
88 _len[1] = MD5_MAC_LEN; in hmac_md5_vector()
89 res = md5_vector(2, _addr, _len, mac); in hmac_md5_vector()
Daes-siv.c125 size_t _len[6]; in aes_siv_encrypt() local
141 _len[i] = len[i]; in aes_siv_encrypt()
144 _len[num_elem] = pwlen; in aes_siv_encrypt()
146 if (aes_s2v(k1, key_len, num_elem + 1, _addr, _len, v)) in aes_siv_encrypt()
168 size_t _len[6]; in aes_siv_decrypt() local
186 _len[i] = len[i]; in aes_siv_decrypt()
189 _len[num_elem] = crypt_len; in aes_siv_decrypt()
201 ret = aes_s2v(k1, key_len, num_elem + 1, _addr, _len, check); in aes_siv_decrypt()
/external/mesa3d/src/gallium/auxiliary/rbug/
Drbug_internal.h61 __len += size * name##_len; \
73 WRITE(4, uint32_t, name##_len); \
75 memcpy(&__data[__pos], name, size * name##_len); \
76 __pos += size * name##_len; \
90 READ(4, uint32_t, name##_len); \
94 pos += size * ret->name##_len; \
97 ret->name = (type *)&data[pos - size * ret->name##_len]; \
/external/python/cpython2/Lib/
Dsre_compile.py67 _len = len
84 skip = _len(code); emit(0)
91 code[skip] = _len(code) - skip
106 skip = _len(code); emit(0)
108 code[skip] = _len(code) - skip
118 skip = _len(code); emit(0)
123 code[skip] = _len(code) - skip
129 skip = _len(code); emit(0)
134 code[skip] = _len(code) - skip
137 skip = _len(code); emit(0)
[all …]
Dpprint.py51 _len = len variable
142 sepLines = _len(rep) > (self._width - 1 - indent - allowance)
154 length = _len(object)
163 self._format(ent, stream, indent + _len(rep) + 2,
172 self._format(ent, stream, indent + _len(rep) + 2,
184 length = _len(object)
296 elif _len(object) == 1:
/external/python/cpython3/Lib/
Dsre_compile.py74 _len = len
111 skip = _len(code); emit(0)
118 code[skip] = _len(code) - skip
129 skip = _len(code); emit(0)
131 code[skip] = _len(code) - skip
145 skip = _len(code); emit(0)
150 code[skip] = _len(code) - skip
153 skip = _len(code); emit(0)
157 code[skip] = _len(code) - skip
176 skip = _len(code); emit(0)
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DUnicodeEscapeProcessingProvider.java45 private int _len = 0; field in UnicodeEscapeProcessingProvider
271 return _pos >= _len; in isBufferEmpty()
278 _len = direct; in fillBuffer()
290 _len = _data.length; in pushBack()
292 if (_len == _data.length) { in pushBack()
295 _len = newData.length; in pushBack()
301 int cnt = _len - _pos; in pushBack()
302 _pos = _data.length - _len; in pushBack()
303 _len = _data.length; in pushBack()
/external/wayland/src/
Ddtddata.S44 .globl \name\()_len
45 \name\()_len:
/external/arm-trusted-firmware/include/drivers/auth/
Dauth_common.h114 #define AUTH_PARAM_DATA_DESC(_ptr, _len) \ argument
117 .len = (unsigned int)_len \
/external/u-boot/tools/
Dimagetool.h270 unsigned long name ## _len; \
272 #name, &__cat(name, _len)); \
274 __cat(name, _len); \
/external/openssh/
Dopacket.h29 int _len = ssh_packet_remaining(ssh); \
30 if (_len > 0) { \
32 _len ,__FILE__, __LINE__); \
/external/python/dateutil/dateutil/
Drrule.py102 self._len = None
121 self._len = None
144 while i < self._len:
185 if self._len is None:
188 return self._len
870 self._len = total
876 self._len = total
887 self._len = total
893 self._len = total
904 self._len = total
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_seg6_loop.c10 #define cursor_advance(_cursor, _len) \ argument
11 ({ void *_tmp = _cursor; _cursor += _len; _tmp; })
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Daes-586.pl2041 my $_len=&DWP(40,"esp"); # copy of wparam(2)
2117 &mov ($_len,$s2); # save copy of len
2180 &mov ($s2,$_len); # load len
2185 &mov ($_len,$s2); # save len
2229 &mov ($acc,$_len); # load len
2243 &mov ($s2,$_len); # load len
2250 &mov ($_len,$s2); # save len
2307 &mov ($s2,$_len); # load len
2311 &mov ($_len,$s2); # save len
2369 &mov ($_len,$s2); # save copy of len
[all …]
Daes-x86_64.pl1711 my $_len="40(%rsp)"; # copy of 3rd parameter, length
1797 mov %rdx,$_len # save copy of len
1860 mov $_len,%r10
1870 mov %r10,$_len
1900 mov $_len,%r10 # load len
1908 mov %r10,$_len # update len
1944 mov $_len,%r10
1965 mov %r10,$_len
2010 #mov %rdx,$_len # save copy of len
2053 mov %r10,$_len # save len
[all …]
/external/python/cpython2/Lib/test/
Dtest_iterlen.py48 from __builtin__ import len as _len unknown
54 return _len(obj)
/external/elfutils/libcpu/
Di386_disasm.c306 size_t _len = (len); \
307 if (unlikely (bufcnt + _len > bufsize)) \
309 memcpy (buf + bufcnt, _str, _len); \
310 bufcnt += _len; \

123