Searched refs:refcounted (Results 1 – 11 of 11) sorted by relevance
94 slice.data.refcounted.bytes = (uint8_t*)s; in grpc_slice_from_static_buffer()95 slice.data.refcounted.length = len; in grpc_slice_from_static_buffer()142 slice.data.refcounted.bytes = static_cast<uint8_t*>(p); in grpc_slice_new_with_user_data()143 slice.data.refcounted.length = len; in grpc_slice_new_with_user_data()192 slice.data.refcounted.bytes = static_cast<uint8_t*>(p); in grpc_slice_new_with_len()193 slice.data.refcounted.length = len; in grpc_slice_new_with_len()255 slice.data.refcounted.bytes = reinterpret_cast<uint8_t*>(rc + 1); in grpc_slice_malloc_large()257 slice.data.refcounted.length = length; in grpc_slice_malloc_large()281 GPR_ASSERT(source.data.refcounted.length >= end); in grpc_slice_sub_no_ref()286 subset.data.refcounted.bytes = source.data.refcounted.bytes + begin; in grpc_slice_sub_no_ref()[all …]
156 slice.data.refcounted.bytes = reinterpret_cast<uint8_t*>(s + 1); in materialize()157 slice.data.refcounted.length = s->length; in materialize()
86 } refcounted; member117 ((slice).refcount ? (slice).data.refcounted.bytes \120 ((slice).refcount ? (slice).data.refcounted.length \123 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \133 ((slice).refcount ? (slice).data.refcounted.bytes \136 ((slice).refcount ? (slice).data.refcounted.length \139 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \
92 auto* refcounted = new ReffedStatusCallback(std::move(callback)); in ComputeAsync() local108 refcounted->UpdateStatus(errors::Cancelled( in ComputeAsync()115 refcounted->Ref(); in ComputeAsync()117 [call_frame, refcounted, c_mgr, parent_mgr, in ComputeAsync()122 refcounted->UpdateStatus(func_status); in ComputeAsync()123 refcounted->Unref(); in ComputeAsync()128 refcounted->Unref(); in ComputeAsync()
50 GPR_ASSERT(slice.data.refcounted.bytes); in test_slice_malloc_returns_something_sensible()77 GPR_ASSERT(slice.data.refcounted.bytes == &x); in test_slice_new_returns_something_sensible()78 GPR_ASSERT(slice.data.refcounted.length == 1); in test_slice_new_returns_something_sensible()117 GPR_ASSERT(slice.data.refcounted.bytes == &x); in test_slice_new_with_len_returns_something_sensible()118 GPR_ASSERT(slice.data.refcounted.length == 1); in test_slice_new_with_len_returns_something_sensible()
106 res.data.refcounted.bytes = static_cast<uint8_t*>(buffer);107 res.data.refcounted.length = length;
73 outbuf.data.refcounted.length -= zs->avail_out; in zlib_body()
456 slice.data.refcounted.bytes = reinterpret_cast<uint8_t*>(rc + 1); in ru_slice_create()457 slice.data.refcounted.length = size; in ru_slice_create()
21 grpc_errors are refcounted objects, which means they need strict ownership
364 %swift.refcounted = type opaque370 define void @swifterror_isel(%swift.refcounted*) {376 …%3 = call i1 undef(i16 %2, %swift.refcounted* swiftself %0, %swift_error** nocapture swifterror %s…
1460 str->data.referenced.data.refcounted.bytes = const_cast<uint8_t*>(cur); in begin_parse_string()1461 str->data.referenced.data.refcounted.length = p->strlen; in begin_parse_string()