Lines Matching refs:ptr
354 const char* ptr = reinterpret_cast<const char*>(&key_value_store_); in GetStoreValueByKey() local
355 const char* end = ptr + key_value_store_size_; in GetStoreValueByKey()
357 while (ptr < end) { in GetStoreValueByKey()
359 const char* str_end = reinterpret_cast<const char*>(memchr(ptr, 0, end - ptr)); in GetStoreValueByKey()
371 if (key_view == std::string_view(ptr, str_end - ptr)) { in GetStoreValueByKey()
376 ptr = value_end + 1; in GetStoreValueByKey()
385 const char* ptr = reinterpret_cast<const char*>(&key_value_store_); in GetStoreKeyValuePairByIndex() local
386 const char* end = ptr + key_value_store_size_; in GetStoreKeyValuePairByIndex()
389 while (ptr < end) { in GetStoreKeyValuePairByIndex()
391 const char* str_end = reinterpret_cast<const char*>(memchr(ptr, 0, end - ptr)); in GetStoreKeyValuePairByIndex()
404 *key = ptr; in GetStoreKeyValuePairByIndex()
411 ptr = value_end + 1; in GetStoreKeyValuePairByIndex()