Home
last modified time | relevance | path

Searched refs:remaining_len (Results 1 – 8 of 8) sorted by relevance

/external/vboot_reference/firmware/lib/
Dstateful_util.c16 state->remaining_len = len; in StatefulInit()
24 if (len > state->remaining_len) { in StatefulSkip()
29 state->remaining_len -= len; in StatefulSkip()
37 if (len > state->remaining_len) { in StatefulMemcpy()
43 state->remaining_len -= len; in StatefulMemcpy()
51 if (len > state->remaining_len) { in StatefulMemcpy_r()
57 state->remaining_len -= len; in StatefulMemcpy_r()
66 if (len > state->remaining_len) { in StatefulMemset_r()
72 state->remaining_len -= len; in StatefulMemset_r()
/external/vboot_reference/tests/
Dstateful_util_tests.c30 TEST_EQ(128, s.remaining_len, "StatefulInit() len"); in StatefulInitTest()
43 TEST_EQ(128 - 5, s.remaining_len, "StatefulSkip(5) len"); in StatefulSkipTest()
50 TEST_EQ(0, s.remaining_len, "StatefulSkip(all) len"); in StatefulSkipTest()
56 TEST_EQ(0, s.remaining_len, "StatefulSkip(0) len"); in StatefulSkipTest()
62 TEST_EQ(0, s.remaining_len, "StatefulSkip(+1) len"); in StatefulSkipTest()
92 TEST_EQ(128 - 5, s.remaining_len, "StatefulMemset_r(5) len"); in StatefulMemset_rTest()
105 TEST_EQ(0, s.remaining_len, "StatefulMemset_r(all) len"); in StatefulMemset_rTest()
113 TEST_EQ(0, s.remaining_len, "StatefulMemset_r(0) len"); in StatefulMemset_rTest()
121 TEST_EQ(0, s.remaining_len, "StatefulMemset_r(+1) len"); in StatefulMemset_rTest()
161 TEST_EQ(128 - 6, s.remaining_len, "StatefulMemcpy_r(6) len"); in StatefulMemcpy_rTest()
[all …]
/external/tcpdump/
Dprint-zeromq.c173 uint64_t remaining_len; in zmtp1_print_intermediate_part() local
179 remaining_len = ndo->ndo_snapend - cp; /* without the frame length */ in zmtp1_print_intermediate_part()
191 if (frame_offset > remaining_len) in zmtp1_print_intermediate_part()
192 ND_PRINT((ndo, " (%"PRIu64" captured)", remaining_len)); in zmtp1_print_intermediate_part()
194 uint64_t len_printed = min(frame_offset, remaining_len); in zmtp1_print_intermediate_part()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha256.c318 uint64_t remaining_len; in internal_SHA256() local
325 remaining_len = len; in internal_SHA256()
328 while (remaining_len) { in internal_SHA256()
330 block_size = (uint32_t) ((remaining_len >= UINT32_MAX) ? in internal_SHA256()
331 UINT32_MAX : remaining_len); in internal_SHA256()
333 remaining_len -= block_size; in internal_SHA256()
Dsha512.c342 uint64_t remaining_len; in internal_SHA512() local
348 remaining_len = len; in internal_SHA512()
351 while (remaining_len) { in internal_SHA512()
353 block_size = (uint32_t) ((remaining_len >= UINT32_MAX) ? in internal_SHA512()
354 UINT32_MAX : remaining_len); in internal_SHA512()
356 remaining_len -= block_size; in internal_SHA512()
Drsa_utility.c75 if (st.overrun || st.remaining_len != 0) { /* Underrun or overrun. */ in RSAPublicKeyFromBuf()
/external/vboot_reference/firmware/lib/include/
Dstateful_util.h19 uint64_t remaining_len; /* Remaining length of the buffer. */ member
/external/v8/src/wasm/
Dfunction-body-decoder-impl.h1395 size_t remaining_len = kMaxLen - len_; in Append() local
1396 Vector<char> remaining_msg_space(buffer_ + len_, remaining_len); in Append()
1399 len_ += len < 0 ? remaining_len : len; in Append()