Home
last modified time | relevance | path

Searched refs:num_left (Results 1 – 5 of 5) sorted by relevance

/external/libsrtp2/crypto/kernel/
Dkey.c65 key->num_left = s; in srtp_key_limit_set()
91 if (low32(key->num_left) == 0) { in srtp_key_limit_update()
93 key->num_left = in srtp_key_limit_update()
94 make64(high32(key->num_left) - 1, low32(key->num_left) - 1); in srtp_key_limit_update()
97 key->num_left = make64(high32(key->num_left), low32(key->num_left) - 1); in srtp_key_limit_update()
99 if (high32(key->num_left) != 0 || low32(key->num_left) >= soft_limit) { in srtp_key_limit_update()
103 key->num_left--; in srtp_key_limit_update()
104 if (key->num_left >= soft_limit) { in srtp_key_limit_update()
113 if (low32(key->num_left) == 0 && high32(key->num_left == 0)) in srtp_key_limit_update()
115 if (key->num_left < 1) in srtp_key_limit_update()
/external/protobuf/src/google/protobuf/util/internal/
Djson_escaping.cc128 bool ReadCodePoint(StringPiece str, int index, uint32* cp, int* num_left, in ReadCodePoint() argument
130 if (*num_left == 0) { in ReadCodePoint()
165 *num_left = 1; in ReadCodePoint()
168 *num_left = 2; in ReadCodePoint()
171 *num_left = 3; in ReadCodePoint()
180 while (*num_left > 0 && index < str.size()) { in ReadCodePoint()
182 --(*num_left); in ReadCodePoint()
187 return *num_left > 0 || (!IsSurrogate(*cp) && IsValidCodePoint(*cp)); in ReadCodePoint()
305 int num_left = 0; // Num of chars to read to complete the code point. in Escape() local
312 bool cp_was_split = num_left > 0; in Escape()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dio.c45 size_t num_left = count; in test_write() local
54 rc = write(fd, ptr, num_left); in test_write()
66 rc, num_written, num_left); in test_write()
73 num_left -= rc; in test_write()
122 size_t num_left = count; in test_read() local
131 rc = read(fd, ptr, num_left); in test_read()
143 rc, num_read, num_left); in test_read()
150 num_left -= rc; in test_read()
/external/libsrtp2/crypto/include/
Dkey.h80 srtp_xtd_seq_num_t num_left; member
/external/rust/crates/bindgen/src/
Dclang.rs437 let mut num_left = n; in has_at_least_num_children() localVariable
439 num_left -= 1; in has_at_least_num_children()
440 if num_left == 0 { in has_at_least_num_children()
446 num_left == 0 in has_at_least_num_children()