Home
last modified time | relevance | path

Searched refs:keep_alive (Results 1 – 25 of 36) sorted by relevance

12

/external/python/pybind11/tests/
Dtest_call_policies.cpp57 .def(py::init([](Child *) { return new Parent(); }), py::keep_alive<1, 2>()) in TEST_SUBMODULE()
59 .def("addChildKeepAlive", &Parent::addChild, py::keep_alive<1, 2>()) in TEST_SUBMODULE()
61 .def("returnChildKeepAlive", &Parent::returnChild, py::keep_alive<1, 0>()) in TEST_SUBMODULE()
62 .def("returnNullChildKeepAliveChild", &Parent::returnNullChild, py::keep_alive<1, 0>()) in TEST_SUBMODULE()
63 .def("returnNullChildKeepAliveParent", &Parent::returnNullChild, py::keep_alive<0, 1>()); in TEST_SUBMODULE()
Dtest_sequences_and_iterators.cpp195 … py::keep_alive<0, 1>() /* Essential: keep object alive while iterator exists */) in TEST_SUBMODULE()
255 py::keep_alive<0, 1>()) in TEST_SUBMODULE()
257 py::keep_alive<0, 1>()) in TEST_SUBMODULE()
272 }, py::keep_alive<0, 1>()) in TEST_SUBMODULE()
275 }, py::keep_alive<0, 1>()) in TEST_SUBMODULE()
Dtest_opaque_types.cpp34 }, py::keep_alive<0, 1>()); in TEST_SUBMODULE()
/external/rust/crates/tokio/src/runtime/blocking/
Dpool.rs49 keep_alive: Duration, field
92 let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE); in new() localVariable
114 keep_alive, in new()
273 let lock_result = self.condvar.wait_timeout(shared, self.keep_alive).unwrap(); in run()
/external/libkmsxx/py/pykms/
Dpykmsbase.cpp129 py::keep_alive<1, 2>()) // Keep Card alive until this is destructed in init_pykmsbase()
161 py::keep_alive<1, 2>()) // Keep Card alive until this is destructed in init_pykmsbase()
163 py::keep_alive<1, 2>()) // Keep Card alive until this is destructed in init_pykmsbase()
168 py::keep_alive<1, 2>()) // Keep Card alive until this is destructed in init_pykmsbase()
170 py::keep_alive<1, 2>()) // Keep Card alive until this is destructed in init_pykmsbase()
268 py::keep_alive<1, 2>()) // Keep Card alive until this is destructed in init_pykmsbase()
Dpykmsomap.cpp29 py::keep_alive<1, 2>(), // Keep Card alive until this is destructed in init_pykmsomap()
32 py::keep_alive<1, 2>(), // Keep OmapCard alive until this is destructed in init_pykmsomap()
/external/freetype/src/base/
Dftdbgmem.c131 FT_Bool keep_alive; member
602 if ( table->keep_alive ) in ft_mem_table_remove()
685 if ( !table->keep_alive ) in ft_mem_debug_free()
773 if ( !table->keep_alive ) in ft_mem_debug_realloc()
842 FT_Long keep_alive = ft_strtol( p, NULL, 10 ); in ft_mem_debug_init() local
845 if ( keep_alive > 0 ) in ft_mem_debug_init()
846 table->keep_alive = 1; in ft_mem_debug_init()
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Drpc_server.rb27 def initialize(size, keep_alive: DEFAULT_KEEP_ALIVE)
35 @keep_alive = keep_alive
228 @pool = Pool.new(@pool_size, keep_alive: pool_keep_alive)
/external/rust/crates/tokio/src/runtime/
Dbuilder.rs80 pub(super) keep_alive: Option<Duration>, field
147 keep_alive: None, in new()
553 self.keep_alive = Some(duration); in thread_keep_alive()
/external/linux-kselftest/tools/testing/selftests/watchdog/
Dwatchdog-test.c44 static void keep_alive(void) in keep_alive() function
248 keep_alive(); in main()
/external/parameter-framework/asio-1.10.6/include/asio/
Dsocket_base.hpp166 ASIO_OS_DEF(SOL_SOCKET), ASIO_OS_DEF(SO_KEEPALIVE)> keep_alive; typedef in asio::socket_base
/external/libcups/cups/
Dhttp.c964 return (http ? http->keep_alive : HTTP_KEEPALIVE_OFF); in httpGetKeepAlive()
2182 http->keep_alive = HTTP_KEEPALIVE_OFF; in httpReadRequest()
2276 http->keep_alive = HTTP_KEEPALIVE_OFF; in httpReadRequest()
2281 http->keep_alive = HTTP_KEEPALIVE_ON; in httpReadRequest()
2367 http->keep_alive = HTTP_KEEPALIVE_OFF; in httpReconnect2()
2623 http_keepalive_t keep_alive) /* I - New Keep-Alive value */ in httpSetKeepAlive() argument
2626 http->keep_alive = keep_alive; in httpSetKeepAlive()
3358 if (status >= HTTP_STATUS_BAD_REQUEST && http->keep_alive) in httpWriteResponse()
3360 http->keep_alive = HTTP_KEEPALIVE_OFF; in httpWriteResponse()
3368 if (http->keep_alive) in httpWriteResponse()
[all …]
Dhttp-private.h220 http_keepalive_t keep_alive; /* Keep-alive supported? */ member
/external/tensorflow/tensorflow/compiler/xla/python/
Djax_jit.h145 std::vector<std::unique_ptr<xla::PjRtBuffer>> keep_alive; member
/external/python/pybind11/include/pybind11/
Dattr.h49 template <size_t Nurse, size_t Patient> struct keep_alive { }; struct
504 …ize_t Patient> struct process_attribute<keep_alive<Nurse, Patient>> : public process_attribute_def…
Dstl_bind.h320 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */
347 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */
632 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */
637 keep_alive<0, 1>() /* Essential: keep list alive while iterator exists */
/external/libwebsockets/include/libwebsockets/
Dlws-secure-streams-policy.h318 uint16_t keep_alive; member
Dlws-mqtt.h70 uint16_t keep_alive; /* MQTT keep alive member
/external/python/pybind11/docs/advanced/
Dfunctions.rst88 | | ``keep_alive<0, 1>`` *call policy* (described …
172 and another object is being added to the container. ``keep_alive<Nurse, Patient>``
192 .def("append", &List::append, py::keep_alive<1, 2>());
203 .def(py::init<Patient &>(), py::keep_alive<1, 2>());
207 ``keep_alive`` is analogous to the ``with_custodian_and_ward`` (if Nurse,
240 that demonstrates using `keep_alive` and `call_guard` in more detail.
/external/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client/
Dminimal-mqtt-client.c42 .keep_alive = 60,
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-policy2c/
Dminimal-secure-streams.c577 if (pol->u.mqtt.keep_alive) in main()
579 pol->u.mqtt.keep_alive); in main()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_value_gpr.h58 bool keep_alive() const {return m_keep_alive; } in keep_alive() function
Dsfn_liverange.cpp788 if (g.keep_alive()) { in run()
818 …temp_acc[v.sel()].record_read(v.keep_alive() ? 0x7fffff: line, cur_scope, 1 << v.chan(), is_array_… in record_read()
/external/libwebsockets/lib/secure-streams/protocols/
Dss-mqtt.c575 ct->ccp.keep_alive = h->policy->u.mqtt.keep_alive; in secstream_connect_munge_mqtt()
/external/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c133 c->keep_alive_secs = cp->keep_alive; in lws_create_client_mqtt_object()

12