Home
last modified time | relevance | path

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

12

/third_party/grpc/src/core/lib/slice/
Dslice.cc100 return s.data.refcounted.length; in grpc_slice_memory_usage()
118 slice.data.refcounted.bytes = static_cast<uint8_t*>(p); in grpc_slice_new_with_user_data()
119 slice.data.refcounted.length = len; in grpc_slice_new_with_user_data()
203 slice.data.refcounted.bytes = static_cast<uint8_t*>(p); in grpc_slice_new_with_len()
204 slice.data.refcounted.length = len; in grpc_slice_new_with_len()
244 slice.data.refcounted.bytes = ptr; in grpc_slice_from_moved_buffer()
245 slice.data.refcounted.length = len; in grpc_slice_from_moved_buffer()
262 slice.data.refcounted.bytes = in grpc_slice_from_cpp_string()
264 slice.data.refcounted.length = str.size(); in grpc_slice_from_cpp_string()
322 data.refcounted.bytes = reinterpret_cast<uint8_t*>(rc + 1); in HeapInit()
[all …]
Dslice_utils.h106 data.refcounted.bytes = nullptr; in ManagedMemorySlice()
107 data.refcounted.length = 0; in ManagedMemorySlice()
120 return data.refcounted.length == buflen.second && buflen.first != nullptr &&
121 memcmp(buflen.first, data.refcounted.bytes, buflen.second) == 0;
159 data.refcounted.length = length; in ExternallyManagedSlice()
160 data.refcounted.bytes = bytes; in ExternallyManagedSlice()
163 return data.refcounted.length == GRPC_SLICE_LENGTH(other) &&
164 memcmp(data.refcounted.bytes, GRPC_SLICE_START_PTR(other),
165 data.refcounted.length) == 0;
169 return gpr_murmur_hash3(data.refcounted.bytes, data.refcounted.length, in Hash()
[all …]
Dslice_internal.h218 return slice.data.refcounted.length; in grpc_refcounted_slice_length()
223 return slice.data.refcounted.bytes; in grpc_refcounted_slice_data()
Dslice_intern.cc111 data.refcounted.bytes = reinterpret_cast<uint8_t*>(s + 1); in InternedSlice()
112 data.refcounted.length = s->length; in InternedSlice()
/third_party/grpc/include/grpc/impl/codegen/
Dslice.h66 } refcounted; member
97 ((slice).refcount ? (slice).data.refcounted.bytes \
100 ((slice).refcount ? (slice).data.refcounted.length \
103 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \
113 ((slice).refcount ? (slice).data.refcounted.bytes \
116 ((slice).refcount ? (slice).data.refcounted.length \
119 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \
/third_party/grpc/src/core/lib/surface/
Dvalidate_metadata.h40 return grpc_key_is_binary_header(slice.data.refcounted.bytes, in grpc_is_refcounted_slice_binary_header()
41 slice.data.refcounted.length); in grpc_is_refcounted_slice_binary_header()
/third_party/grpc/test/core/slice/
Dslice_test.cc51 GPR_ASSERT(slice.data.refcounted.bytes); in test_slice_malloc_returns_something_sensible()
71 GPR_ASSERT(slice.data.refcounted.bytes == &x); in test_slice_new_returns_something_sensible()
72 GPR_ASSERT(slice.data.refcounted.length == 1); in test_slice_new_returns_something_sensible()
111 GPR_ASSERT(slice.data.refcounted.bytes == &x); in test_slice_new_with_len_returns_something_sensible()
112 GPR_ASSERT(slice.data.refcounted.length == 1); in test_slice_new_with_len_returns_something_sensible()
/third_party/boost/boost/flyweight/
Drefcounted_fwd.hpp20 struct refcounted;
Drefcounted.hpp179 struct refcounted:tracking_marker struct
Dflyweight.hpp138 args,tracking<>,refcounted
/third_party/boost/libs/flyweight/test/
Dtest_basic.cpp42 refcounted
/third_party/grpc/src/core/lib/transport/
Dtransport.cc78 res.data.refcounted.bytes = static_cast<uint8_t*>(buffer); in grpc_slice_from_stream_owned_buffer()
79 res.data.refcounted.length = length; in grpc_slice_from_stream_owned_buffer()
/third_party/ffmpeg/libavfilter/
Dbuffersrc.c170 int refcounted, ret; in av_buffersrc_add_frame_flags() local
185 refcounted = !!frame->buf[0]; in av_buffersrc_add_frame_flags()
210 if (refcounted && !(flags & AV_BUFFERSRC_FLAG_KEEP_REF)) { in av_buffersrc_add_frame_flags()
/third_party/grpc/src/core/lib/compression/
Dmessage_compress.cc77 outbuf.data.refcounted.length -= zs->avail_out; in zlib_body()
/third_party/glib/glib/
Dglib.stp.in603 * probe glib.rcbox_alloc - Called when a refcounted block is initially requested
606 * @atomic: Boolean value, %TRUE if this block is atomically refcounted
619 * probe glib.rcbox_acquire - Called when a refcounted block acquires a ref
629 * probe glib.rcbox_release - Called when a refcounted block acquires a ref
639 * probe glib.rcbox_free - Called when a refcounted block is freed
/third_party/grpc/src/core/lib/iomgr/
Derror.cc497 str->data.refcounted.bytes = in grpc_error_get_str()
499 str->data.refcounted.length = msg.len; in grpc_error_get_str()
Dresource_quota.cc477 slice.data.refcounted.bytes = reinterpret_cast<uint8_t*>(rc + 1); in ru_slice_create()
478 slice.data.refcounted.length = size; in ru_slice_create()
/third_party/gstreamer/gstreamer/docs/
DREADME102 "Caller owns returned reference" for refcounted classes
/third_party/grpc/doc/core/
Dgrpc-error.md21 grpc_errors are refcounted objects, which means they need strict ownership
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc1492 str->data.referenced.data.refcounted.bytes = const_cast<uint8_t*>(cur); in begin_parse_string()
1493 str->data.referenced.data.refcounted.length = p->strlen; in begin_parse_string()
/third_party/python/Misc/NEWS.d/
D3.10.0rc1.rst570 refcounted GC
/third_party/gstreamer/gstreamer/docs/random/
Dporting-to-1.0.txt194 A miniobject is now a simple refcounted structure holding the information
533 Also, tag lists are refcounted now, and can therefore not be freely
/third_party/openGLES/extensions/OES/
DOES_texture_view.txt102 how to interpret the data elements. The data store is refcounted and not
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_texture_view.txt87 how to interpret the data elements. The data store is refcounted and not
/third_party/openGLES/extensions/EXT/
DEXT_texture_view.txt87 how to interpret the data elements. The data store is refcounted and not

12