Home
last modified time | relevance | path

Searched refs:refcounted (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc/src/core/lib/slice/
Dslice.cc94 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 …]
Dslice_intern.cc156 slice.data.refcounted.bytes = reinterpret_cast<uint8_t*>(s + 1); in materialize()
157 slice.data.refcounted.length = s->length; in materialize()
/external/grpc-grpc/include/grpc/impl/codegen/
Dslice.h86 } refcounted; member
117 ((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)) \
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_defun_op.cc92 auto* refcounted = new ReffedStatusCallback(std::move(callback)); in ComputeAsync() local
108 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()
/external/grpc-grpc/test/core/slice/
Dslice_test.cc50 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()
/external/grpc-grpc/src/core/lib/transport/
Dtransport.cc106 res.data.refcounted.bytes = static_cast<uint8_t*>(buffer);
107 res.data.refcounted.length = length;
/external/grpc-grpc/src/core/lib/compression/
Dmessage_compress.cc73 outbuf.data.refcounted.length -= zs->avail_out; in zlib_body()
/external/grpc-grpc/src/core/lib/iomgr/
Dresource_quota.cc456 slice.data.refcounted.bytes = reinterpret_cast<uint8_t*>(rc + 1); in ru_slice_create()
457 slice.data.refcounted.length = size; in ru_slice_create()
/external/grpc-grpc/doc/core/
Dgrpc-error.md21 grpc_errors are refcounted objects, which means they need strict ownership
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dswifterror.ll364 %swift.refcounted = type opaque
370 define void @swifterror_isel(%swift.refcounted*) {
376 …%3 = call i1 undef(i16 %2, %swift.refcounted* swiftself %0, %swift_error** nocapture swifterror %s…
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc1460 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()