Lines Matching refs:grpc_slice
33 GPRAPI grpc_slice grpc_slice_ref(grpc_slice s);
41 GPRAPI void grpc_slice_unref(grpc_slice s);
44 GPRAPI grpc_slice grpc_slice_copy(grpc_slice s);
49 GPRAPI grpc_slice grpc_slice_new(void* p, size_t len, void (*destroy)(void*));
55 GPRAPI grpc_slice grpc_slice_new_with_user_data(void* p, size_t len,
61 GPRAPI grpc_slice grpc_slice_new_with_len(void* p, size_t len,
67 GPRAPI grpc_slice grpc_slice_malloc(size_t length);
68 GPRAPI grpc_slice grpc_slice_malloc_large(size_t length);
76 GPRAPI grpc_slice grpc_slice_intern(grpc_slice slice);
82 grpc_slice slice = grpc_slice_malloc(len);
84 GPRAPI grpc_slice grpc_slice_from_copied_string(const char* source);
88 grpc_slice slice = grpc_slice_malloc(len);
90 GPRAPI grpc_slice grpc_slice_from_copied_buffer(const char* source, size_t len);
93 GPRAPI grpc_slice grpc_slice_from_static_string(const char* source);
96 GPRAPI grpc_slice grpc_slice_from_static_buffer(const void* source, size_t len);
103 GPRAPI grpc_slice grpc_slice_sub(grpc_slice s, size_t begin, size_t end);
106 GPRAPI grpc_slice grpc_slice_sub_no_ref(grpc_slice s, size_t begin, size_t end);
111 GPRAPI grpc_slice grpc_slice_split_tail(grpc_slice* s, size_t split);
122 GPRAPI grpc_slice grpc_slice_split_tail_maybe_ref(grpc_slice* s, size_t split,
128 GPRAPI grpc_slice grpc_slice_split_head(grpc_slice* s, size_t split);
130 GPRAPI grpc_slice grpc_empty_slice(void);
132 GPRAPI uint32_t grpc_slice_default_hash_impl(grpc_slice s);
133 GPRAPI int grpc_slice_default_eq_impl(grpc_slice a, grpc_slice b);
135 GPRAPI int grpc_slice_eq(grpc_slice a, grpc_slice b);
140 GPRAPI int grpc_slice_cmp(grpc_slice a, grpc_slice b);
141 GPRAPI int grpc_slice_str_cmp(grpc_slice a, const char* b);
144 GPRAPI int grpc_slice_buf_start_eq(grpc_slice a, const void* b, size_t blen);
147 GPRAPI int grpc_slice_rchr(grpc_slice s, char c);
148 GPRAPI int grpc_slice_chr(grpc_slice s, char c);
152 GPRAPI int grpc_slice_slice(grpc_slice haystack, grpc_slice needle);
154 GPRAPI uint32_t grpc_slice_hash(grpc_slice s);
158 GPRAPI int grpc_slice_is_equivalent(grpc_slice a, grpc_slice b);
162 GPRAPI grpc_slice grpc_slice_dup(grpc_slice a);
166 GPRAPI char* grpc_slice_to_c_string(grpc_slice s);