Lines Matching refs:shared
39 uint32_t* shared, uint32_t* non_shared, in operator ()()
45 *shared = reinterpret_cast<const unsigned char*>(p)[0]; in operator ()()
48 if ((*shared | *non_shared | *value_length) < 128) { in operator ()()
52 if ((p = GetVarint32Ptr(p, limit, shared)) == nullptr) return nullptr; in operator ()()
70 uint32_t* shared, uint32_t* non_shared, in operator ()()
78 *shared = reinterpret_cast<const unsigned char*>(p)[0]; in operator ()()
81 if ((*shared | *non_shared | *value_length) < 128) { in operator ()()
85 if ((p = GetVarint32Ptr(p, limit, shared)) == nullptr) return nullptr; in operator ()()
101 uint32_t* shared, uint32_t* non_shared) { in operator ()()
103 return DecodeEntry()(p, limit, shared, non_shared, &value_length); in operator ()()
112 uint32_t* shared, uint32_t* non_shared) { in operator ()()
117 *shared = reinterpret_cast<const unsigned char*>(p)[0]; in operator ()()
119 if ((*shared | *non_shared) < 128) { in operator ()()
123 if ((p = GetVarint32Ptr(p, limit, shared)) == nullptr) return nullptr; in operator ()()
516 uint32_t shared, non_shared, value_length; in ParseNextDataKey() local
517 p = DecodeEntryFunc()(p, limit, &shared, &non_shared, &value_length); in ParseNextDataKey()
518 if (p == nullptr || key_.Size() < shared) { in ParseNextDataKey()
522 if (shared == 0) { in ParseNextDataKey()
529 key_.TrimAppend(shared, p, non_shared); in ParseNextDataKey()
559 if (shared == 0) { in ParseNextDataKey()
583 uint32_t shared, non_shared, value_length; in ParseNextIndexKey() local
585 p = DecodeKeyV4()(p, limit, &shared, &non_shared); in ParseNextIndexKey()
588 p = DecodeEntry()(p, limit, &shared, &non_shared, &value_length); in ParseNextIndexKey()
590 if (p == nullptr || key_.Size() < shared) { in ParseNextIndexKey()
594 if (shared == 0) { in ParseNextIndexKey()
601 key_.TrimAppend(shared, p, non_shared); in ParseNextIndexKey()
605 if (shared == 0) { in ParseNextIndexKey()
614 DecodeCurrentValue(shared); in ParseNextIndexKey()
630 void IndexBlockIter::DecodeCurrentValue(uint32_t shared) { in DecodeCurrentValue() argument
635 (value_delta_encoded_ && shared) ? &decoded_value_.handle : nullptr); in DecodeCurrentValue()
674 uint32_t shared, non_shared; in BinarySeek() local
676 data_ + region_offset, data_ + restarts_, &shared, &non_shared); in BinarySeek()
677 if (key_ptr == nullptr || (shared != 0)) { in BinarySeek()
704 uint32_t shared, non_shared; in CompareBlockKey() local
707 ? DecodeKeyV4()(data_ + region_offset, data_ + restarts_, &shared, in CompareBlockKey()
709 : DecodeKey()(data_ + region_offset, data_ + restarts_, &shared, in CompareBlockKey()
711 if (key_ptr == nullptr || (shared != 0)) { in CompareBlockKey()