Home
last modified time | relevance | path

Searched refs:haystack_bytes (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/lib/slice/
Dslice.cc468 const uint8_t* haystack_bytes = GRPC_SLICE_START_PTR(haystack); in grpc_slice_slice() local
479 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()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice.cc572 const uint8_t* haystack_bytes = GRPC_SLICE_START_PTR(haystack); in grpc_slice_slice() local
585 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()