Lines Matching refs:ptr
406 const char* ptr = reinterpret_cast<const char*>(&key_value_store_); in GetStoreValueByKey() local
407 const char* end = ptr + key_value_store_size_; in GetStoreValueByKey()
409 while (ptr < end) { in GetStoreValueByKey()
411 const char* str_end = ParseString(ptr, end); in GetStoreValueByKey()
413 if (strcmp(key, ptr) == 0) { in GetStoreValueByKey()
420 ptr = ParseString(str_end + 1, end) + 1; in GetStoreValueByKey()
432 const char* ptr = reinterpret_cast<const char*>(&key_value_store_); in GetStoreKeyValuePairByIndex() local
433 const char* end = ptr + key_value_store_size_; in GetStoreKeyValuePairByIndex()
436 while (ptr < end && counter >= 0) { in GetStoreKeyValuePairByIndex()
438 const char* str_end = ParseString(ptr, end); in GetStoreKeyValuePairByIndex()
440 const char* maybe_key = ptr; in GetStoreKeyValuePairByIndex()
441 ptr = ParseString(str_end + 1, end) + 1; in GetStoreKeyValuePairByIndex()
442 if (ptr <= end) { in GetStoreKeyValuePairByIndex()