Lines Matching refs:non_shared

39                                 uint32_t* shared, uint32_t* non_shared,  in operator ()()
46 *non_shared = reinterpret_cast<const unsigned char*>(p)[1]; in operator ()()
48 if ((*shared | *non_shared | *value_length) < 128) { in operator ()()
53 if ((p = GetVarint32Ptr(p, limit, non_shared)) == nullptr) return nullptr; in operator ()()
61 assert(!(static_cast<uint32_t>(limit - p) < (*non_shared + *value_length))); in operator ()()
70 uint32_t* shared, uint32_t* non_shared, in operator ()()
79 *non_shared = reinterpret_cast<const unsigned char*>(p)[1]; in operator ()()
81 if ((*shared | *non_shared | *value_length) < 128) { in operator ()()
86 if ((p = GetVarint32Ptr(p, limit, non_shared)) == nullptr) return nullptr; in operator ()()
92 if (static_cast<uint32_t>(limit - p) < (*non_shared + *value_length)) { 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 ()()
118 *non_shared = reinterpret_cast<const unsigned char*>(p)[1]; in operator ()()
119 if ((*shared | *non_shared) < 128) { in operator ()()
124 if ((p = GetVarint32Ptr(p, limit, non_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()
525 key_.SetKey(Slice(p, non_shared), false /* copy */); in ParseNextDataKey()
529 key_.TrimAppend(shared, p, non_shared); in ParseNextDataKey()
558 value_ = Slice(p + non_shared, value_length); 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()
597 key_.SetKey(Slice(p, non_shared), false /* copy */); in ParseNextIndexKey()
601 key_.TrimAppend(shared, p, non_shared); in ParseNextIndexKey()
604 value_ = Slice(p + non_shared, value_length); in ParseNextIndexKey()
674 uint32_t shared, non_shared; in BinarySeek() local
676 data_ + region_offset, data_ + restarts_, &shared, &non_shared); in BinarySeek()
681 Slice mid_key(key_ptr, non_shared); in BinarySeek()
704 uint32_t shared, non_shared; in CompareBlockKey() local
708 &non_shared) in CompareBlockKey()
710 &non_shared); in CompareBlockKey()
715 Slice block_key(key_ptr, non_shared); in CompareBlockKey()