Searched refs:delta_len (Results 1 – 3 of 3) sorted by relevance
/external/icing/icing/index/main/ |
D | posting-list-used.cc | 155 size_t delta_len = VarInt::Encode(delta, delta_buf); in PrependHitToAlmostFull() local 160 if (pad_end >= posting_list_utils::kSpecialHitsSize + delta_len + in PrependHitToAlmostFull() 165 posting_list_buffer_ + pad_end - delta_len - cur_term_frequency_bytes; in PrependHitToAlmostFull() 166 memcpy(delta_offset, delta_buf, delta_len); in PrependHitToAlmostFull() 169 uint8_t *term_frequency_offset = delta_offset + delta_len; in PrependHitToAlmostFull() 226 size_t delta_len = VarInt::Encode(delta, delta_buf); in PrependHitToNotFull() local 231 if (posting_list_utils::kSpecialHitsSize + sizeof(Hit::Value) + delta_len + in PrependHitToNotFull() 237 offset -= delta_len; in PrependHitToNotFull() 238 memcpy(posting_list_buffer_ + offset, delta_buf, delta_len); in PrependHitToNotFull() 250 } else if (posting_list_utils::kSpecialHitsSize + delta_len <= offset) { in PrependHitToNotFull() [all …]
|
/external/libchrome/third_party/markupsafe/ |
D | _speedups.c | 63 Py_ssize_t delta=0, erepl=0, delta_len=0; in escape_unicode() local 91 (delta_len = escaped_chars_delta_len[*next_escp])) { in escape_unicode() 92 ++delta_len; in escape_unicode() 105 Py_UNICODE_COPY(outp, escaped_chars_repl[*next_escp], delta_len); in escape_unicode() 106 outp += delta_len; in escape_unicode()
|
/external/python/cpython2/Modules/ |
D | stropmodule.c | 1097 Py_ssize_t nfound, offset, new_len, delta_len, abs_delta; in mymemreplace() local 1111 delta_len = sub_len - pat_len; in mymemreplace() 1112 abs_delta = (delta_len < 0) ? -delta_len : delta_len; in mymemreplace() 1115 delta_len *= nfound; in mymemreplace() 1116 if (PY_SSIZE_T_MAX - len < delta_len) in mymemreplace() 1118 new_len = len + delta_len; in mymemreplace()
|