Searched refs:remaining_len (Results 1 - 8 of 8) sorted by relevance
/external/vboot_reference/firmware/lib/ |
H A D | stateful_util.c | 16 state->remaining_len = len; 24 if (len > state->remaining_len) { 29 state->remaining_len -= len; 37 if (len > state->remaining_len) { 43 state->remaining_len -= len; 51 if (len > state->remaining_len) { 57 state->remaining_len -= len; 66 if (len > state->remaining_len) { 72 state->remaining_len -= len;
|
/external/vboot_reference/tests/ |
H A D | stateful_util_tests.c | 30 TEST_EQ(128, s.remaining_len, "StatefulInit() len"); 43 TEST_EQ(128 - 5, s.remaining_len, "StatefulSkip(5) len"); 50 TEST_EQ(0, s.remaining_len, "StatefulSkip(all) len"); 56 TEST_EQ(0, s.remaining_len, "StatefulSkip(0) len"); 62 TEST_EQ(0, s.remaining_len, "StatefulSkip(+1) len"); 92 TEST_EQ(128 - 5, s.remaining_len, "StatefulMemset_r(5) len"); 105 TEST_EQ(0, s.remaining_len, "StatefulMemset_r(all) len"); 113 TEST_EQ(0, s.remaining_len, "StatefulMemset_r(0) len"); 121 TEST_EQ(0, s.remaining_len, "StatefulMemset_r(+1) len"); 161 TEST_EQ(128 - 6, s.remaining_len, "StatefulMemcpy_ [all...] |
/external/vboot_reference/firmware/lib/include/ |
H A D | stateful_util.h | 19 uint64_t remaining_len; /* Remaining length of the buffer. */ member in struct:MemcpyState
|
/external/tcpdump/ |
H A D | print-zeromq.c | 172 uint64_t remaining_len; local 178 remaining_len = ndo->ndo_snapend - cp; /* without the frame length */ 190 if (frame_offset > remaining_len) 191 ND_PRINT((ndo, " (%"PRIu64" captured)", remaining_len)); 193 uint64_t len_printed = min(frame_offset, remaining_len);
|
/external/vboot_reference/firmware/lib/cryptolib/ |
H A D | sha256.c | 318 uint64_t remaining_len; local 325 remaining_len = len; 328 while (remaining_len) { 330 block_size = (uint32_t) ((remaining_len >= UINT32_MAX) ? 331 UINT32_MAX : remaining_len); 333 remaining_len -= block_size;
|
H A D | sha512.c | 342 uint64_t remaining_len; local 348 remaining_len = len; 351 while (remaining_len) { 353 block_size = (uint32_t) ((remaining_len >= UINT32_MAX) ? 354 UINT32_MAX : remaining_len); 356 remaining_len -= block_size;
|
H A D | rsa_utility.c | 75 if (st.overrun || st.remaining_len != 0) { /* Underrun or overrun. */
|
/external/dbus/dbus/ |
H A D | dbus-marshal-recursive.c | 929 int remaining_len; local 948 remaining_len = end_pos - reader->value_pos; 951 _dbus_verbose ("end_pos %d total_len %d remaining_len %d value_pos %d\n", 952 end_pos, total_len, remaining_len, reader->value_pos); 955 _dbus_assert (remaining_len <= total_len); 957 if (remaining_len == 0) 963 remaining_len); 965 *n_elements = remaining_len / alignment; 966 _dbus_assert ((remaining_len % alignment) == 0);
|
Completed in 492 milliseconds