Searched refs:haystack_bytes (Results 1 – 2 of 2) sorted by relevance
468 const uint8_t* haystack_bytes = GRPC_SLICE_START_PTR(haystack); in grpc_slice_slice() local479 const uint8_t* last = haystack_bytes + haystack_len - needle_len; in grpc_slice_slice()480 for (const uint8_t* cur = haystack_bytes; cur != last; ++cur) { in grpc_slice_slice()482 return static_cast<int>(cur - haystack_bytes); in grpc_slice_slice()
572 const uint8_t* haystack_bytes = GRPC_SLICE_START_PTR(haystack); in grpc_slice_slice() local585 const uint8_t* last = haystack_bytes + haystack_len - needle_len; in grpc_slice_slice()586 for (const uint8_t* cur = haystack_bytes; cur != last; ++cur) { in grpc_slice_slice()588 return static_cast<int>(cur - haystack_bytes); in grpc_slice_slice()