Home
last modified time | relevance | path

Searched refs:_remaining (Results 1 – 9 of 9) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDefiniteLengthInputStream.java19 private int _remaining; field in DefiniteLengthInputStream
34 this._remaining = length; in DefiniteLengthInputStream()
44 return _remaining; in getRemaining()
50 if (_remaining == 0) in read()
59 … throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining); in read()
62 if (--_remaining == 0) in read()
73 if (_remaining == 0) in read()
78 int toRead = Math.min(len, _remaining); in read()
83 … throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining); in read()
86 if ((_remaining -= numRead) == 0) in read()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DDefiniteLengthInputStream.java20 private int _remaining; field in DefiniteLengthInputStream
35 this._remaining = length; in DefiniteLengthInputStream()
45 return _remaining; in getRemaining()
51 if (_remaining == 0) in read()
60 … throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining); in read()
63 if (--_remaining == 0) in read()
74 if (_remaining == 0) in read()
79 int toRead = Math.min(len, _remaining); in read()
84 … throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining); in read()
87 if ((_remaining -= numRead) == 0) in read()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DDefiniteLengthInputStream.java20 private int _remaining; field in DefiniteLengthInputStream
35 this._remaining = length; in DefiniteLengthInputStream()
45 return _remaining; in getRemaining()
51 if (_remaining == 0) in read()
60 … throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining); in read()
63 if (--_remaining == 0) in read()
74 if (_remaining == 0) in read()
79 int toRead = Math.min(len, _remaining); in read()
84 … throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining); in read()
87 if ((_remaining -= numRead) == 0) in read()
[all …]
/external/javasqlite/src/main/java/SQLite/
DBackup.java71 return _remaining(); in remaining()
75 private native int _remaining() throws SQLite.Exception; in _remaining() method in Backup
/external/autotest/client/common_lib/
Dbarrier.py184 def _remaining(self): member in barrier
364 server.socket.settimeout(self._remaining())
396 while self._remaining() is None or self._remaining() > 0:
449 remote.settimeout(self._remaining())
468 remote.settimeout(self._remaining())
Dbarrier_unittest.py67 remain = b._remaining()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Djobset.py434 self._remaining = None
438 self._remaining = remaining
496 rstr = '' if self._remaining is None else '%d queued, ' % self._remaining
497 if self._remaining is not None and self._completed > 0:
500 remaining = sofar / self._completed * (self._remaining +
/external/grpc-grpc/tools/run_tests/python_utils/
Djobset.py425 self._remaining = None
429 self._remaining = remaining
487 rstr = '' if self._remaining is None else '%d queued, ' % self._remaining
488 if self._remaining is not None and self._completed > 0:
492 self._remaining + len(self._running))
/external/rust/crates/url/src/
Dquirks.rs131 .map(|(port, _remaining)| port) in set_host()
174 if let Ok((host, _remaining)) = Parser::parse_host(input, scheme_type) { in set_hostname()
218 if let Ok((new_port, _remaining)) = result { in set_port()