Home
last modified time | relevance | path

Searched refs:take_ownership (Results 1 – 25 of 32) sorted by relevance

12

/external/grpc-grpc/src/cpp/common/
Dsecure_auth_context.cc26 bool take_ownership) in SecureAuthContext() argument
27 : ctx_(ctx), take_ownership_(take_ownership) {} in SecureAuthContext()
Dsecure_auth_context.h30 SecureAuthContext(grpc_auth_context* ctx, bool take_ownership);
/external/python/pybind11/tests/
Dtest_custom_type_casters.cpp124 py::return_value_policy::take_ownership); // Takes ownership: destroy when finished in TEST_SUBMODULE()
126 … py::return_value_policy::take_ownership); // Likewise (const doesn't inhibit destruction) in TEST_SUBMODULE()
Dtest_stl.cpp309 py::return_value_policy::take_ownership); in TEST_SUBMODULE()
/external/tensorflow/tensorflow/compiler/xla/python/
Ddlpack.h29 bool take_ownership);
Ddlpack.cc251 bool take_ownership) { in BufferToDLPackManagedTensor() argument
261 if (take_ownership) { in BufferToDLPackManagedTensor()
Dxla_client_test.py1968 take_ownership),
1971 "take_ownership": take_ownership
1973 for take_ownership in [False, True])
1975 def testRoundTrip(self, dtype, shape, take_ownership): argument
1982 buffer, take_ownership=take_ownership)
1993 buffer, take_ownership=True)
2007 buffer, take_ownership=True)
2013 buffer, take_ownership=True)
2019 buffer, take_ownership=False)
2021 buffer, take_ownership=False)
/external/llvm/bindings/python/llvm/
Dbit_reader.py23 m.take_ownership(mem_buffer)
Dcommon.py44 def take_ownership(self, obj): member in LLVMObject
Dobject.py121 self.take_ownership(contents)
Dcore.py202 Context.GetGlobalContext().take_ownership(m)
/external/llvm-project/llvm/bindings/python/llvm/
Dbit_reader.py23 m.take_ownership(mem_buffer)
Dcommon.py43 def take_ownership(self, obj): member in LLVMObject
Dobject.py120 self.take_ownership(contents)
Dcore.py204 Context.GetGlobalContext().take_ownership(m)
/external/rust/crates/quiche/deps/boringssl/src/crypto/bio/
Dbio_mem.c324 int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership) { in BIO_set_mem_buf() argument
325 return BIO_ctrl(bio, BIO_C_SET_BUF_MEM, take_ownership, (char *) b); in BIO_set_mem_buf()
/external/boringssl/src/crypto/bio/
Dbio_mem.c324 int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership) { in BIO_set_mem_buf() argument
325 return BIO_ctrl(bio, BIO_C_SET_BUF_MEM, take_ownership, (char *) b); in BIO_set_mem_buf()
/external/libkmsxx/kms++/inc/kms++/
Dcard.h32 Card(int fd, bool take_ownership);
/external/curl/lib/
Dmime.h144 int take_ownership);
Dmime.c1526 struct curl_slist *headers, int take_ownership) in curl_mime_headers() argument
1537 if(headers && take_ownership) in curl_mime_headers()
1567 curl_mime *subparts, int take_ownership) in Curl_mime_set_subparts() argument
1604 part->freefunc = take_ownership? mime_subparts_free: mime_subparts_unbind; in Curl_mime_set_subparts()
2044 struct curl_slist *headers, int take_ownership) in curl_mime_headers() argument
2048 (void) take_ownership; in curl_mime_headers()
/external/libkmsxx/kms++/src/
Dcard.cpp164 Card::Card(int fd, bool take_ownership) in Card() argument
166 if (take_ownership) { in Card()
/external/llvm-project/mlir/lib/Bindings/Python/
DMainModule.cpp175 py::cast(new PyGlobals, py::return_value_policy::take_ownership); in PYBIND11_MODULE()
/external/python/pybind11/include/pybind11/
Dcast.h526 case return_value_policy::take_ownership:
914 st.first, return_value_policy::take_ownership, {}, st.second,
976 … if (policy == return_value_policy::take_ownership || policy == return_value_policy::automatic)
992 if (policy == return_value_policy::take_ownership) { \
1452 if (policy == return_value_policy::take_ownership) {
1760 policy = std::is_pointer<no_ref_T>::value ? return_value_policy::take_ownership :
/external/boringssl/src/include/openssl/
Dbio.h408 OPENSSL_EXPORT int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership);
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dbio.h404 OPENSSL_EXPORT int BIO_set_mem_buf(BIO *bio, BUF_MEM *b, int take_ownership);

12