Lines Matching refs:ptr
414 const char* ptr = reinterpret_cast<const char*>(&key_value_store_); in GetStoreValueByKey() local
415 const char* end = ptr + key_value_store_size_; in GetStoreValueByKey()
417 while (ptr < end) { in GetStoreValueByKey()
419 const char* str_end = ParseString(ptr, end); in GetStoreValueByKey()
421 if (strcmp(key, ptr) == 0) { in GetStoreValueByKey()
428 ptr = ParseString(str_end + 1, end) + 1; in GetStoreValueByKey()
440 const char* ptr = reinterpret_cast<const char*>(&key_value_store_); in GetStoreKeyValuePairByIndex() local
441 const char* end = ptr + key_value_store_size_; in GetStoreKeyValuePairByIndex()
444 while (ptr < end && counter >= 0) { in GetStoreKeyValuePairByIndex()
446 const char* str_end = ParseString(ptr, end); in GetStoreKeyValuePairByIndex()
448 const char* maybe_key = ptr; in GetStoreKeyValuePairByIndex()
449 ptr = ParseString(str_end + 1, end) + 1; in GetStoreKeyValuePairByIndex()
450 if (ptr <= end) { in GetStoreKeyValuePairByIndex()