Home
last modified time | relevance | path

Searched refs:releaser (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dtensor_cord.h77 TensorCord(absl::string_view view, CordRepReleaser releaser,
79 : chunks_({new CordRep(view, releaser, memory)}) {}
104 void Append(absl::string_view view, CordRepReleaser releaser,
206 CordRep(absl::string_view view, CordRepReleaser releaser,
208 : is_inline_(false), rep_(view, releaser, arg) {} in is_inline_()
231 CordRepReleaser releaser; member
236 : view(view_), releaser(releaser_), arg(arg_) {} in ExternalRep()
254 _rep_union(absl::string_view view, CordRepReleaser releaser, void* arg) in _rep_union() argument
255 : external(view, releaser, arg) {} in _rep_union()
308 inline void TensorCord::Append(absl::string_view view, CordRepReleaser releaser, in Append() argument
[all …]
Dtensor_cord.cc28 if (!is_inline_ && rep_.external.releaser) { in ~CordRep()
29 rep_.external.releaser(rep_.external.arg); in ~CordRep()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dcord_internal.h137 void InvokeReleaser(Rank0, Releaser&& releaser, absl::string_view data) { in InvokeReleaser() argument
138 ::absl::base_internal::invoke(std::forward<Releaser>(releaser), data); in InvokeReleaser()
143 void InvokeReleaser(Rank1, Releaser&& releaser, absl::string_view) { in InvokeReleaser() argument
144 ::absl::base_internal::invoke(std::forward<Releaser>(releaser)); in InvokeReleaser()
155 CordRepExternalImpl(T&& releaser, int) in CordRepExternalImpl()
156 : CordRepExternalImpl::CompressedTuple(std::forward<T>(releaser)) { in CordRepExternalImpl()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dcord_internal.h137 void InvokeReleaser(Rank0, Releaser&& releaser, absl::string_view data) { in InvokeReleaser() argument
138 ::absl::base_internal::invoke(std::forward<Releaser>(releaser), data); in InvokeReleaser()
143 void InvokeReleaser(Rank1, Releaser&& releaser, absl::string_view) { in InvokeReleaser() argument
144 ::absl::base_internal::invoke(std::forward<Releaser>(releaser)); in InvokeReleaser()
155 CordRepExternalImpl(T&& releaser, int) in CordRepExternalImpl()
156 : CordRepExternalImpl::CompressedTuple(std::forward<T>(releaser)) { in CordRepExternalImpl()
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dcord_internal.h184 void InvokeReleaser(Rank0, Releaser&& releaser, absl::string_view data) { in InvokeReleaser() argument
185 ::absl::base_internal::invoke(std::forward<Releaser>(releaser), data); in InvokeReleaser()
190 void InvokeReleaser(Rank1, Releaser&& releaser, absl::string_view) { in InvokeReleaser() argument
191 ::absl::base_internal::invoke(std::forward<Releaser>(releaser)); in InvokeReleaser()
202 CordRepExternalImpl(T&& releaser, int) in CordRepExternalImpl()
203 : CordRepExternalImpl::CompressedTuple(std::forward<T>(releaser)) { in CordRepExternalImpl()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor_bridge.cc209 auto* releaser = reinterpret_cast<TensorReleaser*>( in ArrayFromMemory() local
211 releaser->destructor = new std::function<void()>(std::move(destructor)); in ArrayFromMemory()
212 if (PyArray_SetBaseObject(np_array, reinterpret_cast<PyObject*>(releaser)) == in ArrayFromMemory()
214 Py_DECREF(releaser); in ArrayFromMemory()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcord_internal.h283 void InvokeReleaser(Rank0, Releaser&& releaser, absl::string_view data) { in InvokeReleaser() argument
284 ::absl::base_internal::invoke(std::forward<Releaser>(releaser), data); in InvokeReleaser()
289 void InvokeReleaser(Rank1, Releaser&& releaser, absl::string_view) { in InvokeReleaser() argument
290 ::absl::base_internal::invoke(std::forward<Releaser>(releaser)); in InvokeReleaser()
301 CordRepExternalImpl(T&& releaser, int) in CordRepExternalImpl()
302 : CordRepExternalImpl::CompressedTuple(std::forward<T>(releaser)) { in CordRepExternalImpl()
/external/skqp/include/private/
DSkArenaAlloc.h89 FooterAction* releaser = [](char* objEnd) { in make()
94 this->installFooter(releaser, padding); in make()
153 void installFooter(FooterAction* releaser, uint32_t padding);
/external/abseil-cpp/absl/strings/
Dcord_test.cc935 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
937 auto c = absl::MakeCordFromExternal("", releaser); in TEST()
949 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
951 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
959 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
963 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
996 auto releaser = [data_array, &invoked](absl::string_view data) { in TEST() local
1000 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
1007 auto* releaser = in TEST() local
1013 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
[all …]
Dcord.h148 friend Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser);
674 CordRep* NewExternalRep(absl::string_view data, Releaser&& releaser) { in NewExternalRep() argument
688 ReleaserType(std::forward<Releaser>(releaser)), data); in NewExternalRep()
700 data, releaser_invoker, sizeof(releaser)); in NewExternalRep()
702 ReleaserType(std::forward<Releaser>(releaser)); in NewExternalRep()
710 void (&releaser)(absl::string_view)) { in NewExternalRep()
711 return NewExternalRep(data, &releaser); in NewExternalRep()
717 Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser) { in MakeCordFromExternal() argument
720 data, std::forward<Releaser>(releaser))); in MakeCordFromExternal()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc983 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
985 auto c = absl::MakeCordFromExternal("", releaser); in TEST()
997 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
999 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1007 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1011 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1044 auto releaser = [data_array, &invoked](absl::string_view data) { in TEST() local
1048 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
1055 auto* releaser = in TEST() local
1061 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
[all …]
Dcord.h201 friend Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser);
848 CordRep* NewExternalRep(absl::string_view data, Releaser&& releaser) { in NewExternalRep() argument
852 InvokeReleaser(Rank0{}, ReleaserType(std::forward<Releaser>(releaser)), in NewExternalRep()
858 std::forward<Releaser>(releaser), 0); in NewExternalRep()
867 void (&releaser)(absl::string_view)) { in NewExternalRep()
868 return NewExternalRep(data, &releaser); in NewExternalRep()
874 Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser) { in MakeCordFromExternal() argument
877 data, std::forward<Releaser>(releaser))); in MakeCordFromExternal()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcord_test.cc983 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
985 auto c = absl::MakeCordFromExternal("", releaser); in TEST()
997 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
999 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1007 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1011 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1044 auto releaser = [data_array, &invoked](absl::string_view data) { in TEST() local
1048 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
1055 auto* releaser = in TEST() local
1061 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
[all …]
Dcord.h201 friend Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser);
848 CordRep* NewExternalRep(absl::string_view data, Releaser&& releaser) { in NewExternalRep() argument
852 InvokeReleaser(Rank0{}, ReleaserType(std::forward<Releaser>(releaser)), in NewExternalRep()
858 std::forward<Releaser>(releaser), 0); in NewExternalRep()
867 void (&releaser)(absl::string_view)) { in NewExternalRep()
868 return NewExternalRep(data, &releaser); in NewExternalRep()
874 Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser) { in MakeCordFromExternal() argument
877 data, std::forward<Releaser>(releaser))); in MakeCordFromExternal()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc935 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
937 auto c = absl::MakeCordFromExternal("", releaser); in TEST()
949 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
951 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
959 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
963 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
996 auto releaser = [data_array, &invoked](absl::string_view data) { in TEST() local
1000 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
1007 auto* releaser = in TEST() local
1013 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
[all …]
Dcord.h148 friend Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser);
674 CordRep* NewExternalRep(absl::string_view data, Releaser&& releaser) { in NewExternalRep() argument
688 ReleaserType(std::forward<Releaser>(releaser)), data); in NewExternalRep()
700 data, releaser_invoker, sizeof(releaser)); in NewExternalRep()
702 ReleaserType(std::forward<Releaser>(releaser)); in NewExternalRep()
710 void (&releaser)(absl::string_view)) { in NewExternalRep()
711 return NewExternalRep(data, &releaser); in NewExternalRep()
717 Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser) { in MakeCordFromExternal() argument
720 data, std::forward<Releaser>(releaser))); in MakeCordFromExternal()
Dcord.cc341 void* releaser = GetExternalReleaser(rep_external); in UnrefInternal() local
342 size_t releaser_size = rep_external->releaser_invoker(releaser, data); in UnrefInternal()
/external/openscreen/third_party/abseil/src/absl/strings/
Dcord_test.cc999 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1001 auto c = absl::MakeCordFromExternal("", releaser); in TEST()
1013 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1015 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1023 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1027 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1060 auto releaser = [data_array, &invoked](absl::string_view data) { in TEST() local
1064 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
1071 auto* releaser = in TEST() local
1077 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
[all …]
Dcord.h202 friend Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser);
865 CordRep* NewExternalRep(absl::string_view data, Releaser&& releaser) { in NewExternalRep() argument
869 InvokeReleaser(Rank0{}, ReleaserType(std::forward<Releaser>(releaser)), in NewExternalRep()
875 std::forward<Releaser>(releaser), 0); in NewExternalRep()
884 void (&releaser)(absl::string_view)) { in NewExternalRep()
885 return NewExternalRep(data, &releaser); in NewExternalRep()
891 Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser) { in MakeCordFromExternal() argument
894 data, std::forward<Releaser>(releaser))); in MakeCordFromExternal()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord_test.cc1046 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1048 auto c = absl::MakeCordFromExternal("", releaser); in TEST()
1060 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1062 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1070 auto releaser = [&invoked](absl::string_view) { invoked = true; }; in TEST() local
1074 auto c = absl::MakeCordFromExternal(large_dummy, releaser); in TEST()
1107 auto releaser = [data_array, &invoked](absl::string_view data) { in TEST() local
1111 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
1118 auto* releaser = in TEST() local
1124 (void)absl::MakeCordFromExternal(data, releaser); in TEST()
[all …]
Dcord.h210 friend Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser);
963 CordRep* NewExternalRep(absl::string_view data, Releaser&& releaser) { in NewExternalRep() argument
967 InvokeReleaser(Rank0{}, ReleaserType(std::forward<Releaser>(releaser)), in NewExternalRep()
973 std::forward<Releaser>(releaser), 0); in NewExternalRep()
982 void (&releaser)(absl::string_view)) { in NewExternalRep()
983 return NewExternalRep(data, &releaser); in NewExternalRep()
989 Cord MakeCordFromExternal(absl::string_view data, Releaser&& releaser) { in MakeCordFromExternal() argument
992 data, std::forward<Releaser>(releaser))) { in MakeCordFromExternal()
/external/clang/test/SemaObjCXX/
Darc-nsconsumed-errors.mm28 void releaser(__attribute__((ns_consumed)) id); function
29 releaser_t r2 = releaser; // no-warning
/external/llvm-project/clang/test/SemaObjCXX/
Darc-nsconsumed-errors.mm28 void releaser(__attribute__((ns_consumed)) id); function
29 releaser_t r2 = releaser; // no-warning
/external/skia/src/core/
DSkArenaAlloc.h137 FooterAction* releaser = [](char* objEnd) {
142 this->installFooter(releaser, padding);
215 void installFooter(FooterAction* releaser, uint32_t padding);
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.cpp901 CReleaser releaser(*this); in Code() local

12