/external/vboot_reference/firmware/lib/ |
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/ |
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_r(6) len") [all...] |
/external/vboot_reference/firmware/lib/include/ |
stateful_util.h | 19 uint64_t remaining_len; /* Remaining length of the buffer. */ member in struct:MemcpyState
|
/external/tcpdump/ |
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);
|
/system/update_engine/ |
test_http_server.cc | 240 size_t remaining_len = total_len; local 247 string partial = line.substr(start_modulo, remaining_len); 250 remaining_len -= partial.length(); 254 while (success && remaining_len >= line_len) { 257 remaining_len -= line_len; 261 if (success && remaining_len) { 262 string partial = line.substr(0, remaining_len); 265 remaining_len -= partial.length(); 268 return (total_len - remaining_len);
|
/external/vboot_reference/firmware/lib/cryptolib/ |
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;
|
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;
|
rsa_utility.c | 75 if (st.overrun || st.remaining_len != 0) { /* Underrun or overrun. */
|
/external/dbus/dbus/ |
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); [all...] |