Searched refs:remaining_len (Results 1 – 8 of 8) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | stateful_util.c | 16 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/ |
D | stateful_util_tests.c | 30 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/ |
D | print-zeromq.c | 173 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/ |
D | sha256.c | 318 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()
|
D | sha512.c | 342 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()
|
D | rsa_utility.c | 75 if (st.overrun || st.remaining_len != 0) { /* Underrun or overrun. */ in RSAPublicKeyFromBuf()
|
/external/vboot_reference/firmware/lib/include/ |
D | stateful_util.h | 19 uint64_t remaining_len; /* Remaining length of the buffer. */ member
|
/external/rust/crates/serde/src/ser/ |
D | impls.rs | 637 let remaining_len = { localVariable 642 let written_len = buffer.len() - remaining_len;
|