Home
last modified time | relevance | path

Searched refs:m_context (Results 1 – 13 of 13) sorted by relevance

/third_party/boost/boost/compute/
Dcontext.hpp53 : m_context(0) in context()
68 m_context = clCreateContext(properties, 1, &device_id, 0, 0, &error); in context()
70 if(!m_context){ in context()
85 m_context = clCreateContext( in context()
94 if(!m_context){ in context()
102 : m_context(context) in context()
104 if(m_context && retain){ in context()
105 clRetainContext(m_context); in context()
111 : m_context(other.m_context) in context()
113 if(m_context){ in context()
[all …]
/third_party/boost/boost/compute/allocator/
Dbuffer_allocator.hpp37 : m_context(context), in buffer_allocator()
43 : m_context(other.m_context), in buffer_allocator()
51 m_context = other.m_context; in operator =()
60 : m_context(std::move(other.m_context)), in buffer_allocator()
67 m_context = std::move(other.m_context); in operator =()
80 buffer buf(m_context, n * sizeof(T), m_mem_flags); in allocate()
87 BOOST_ASSERT(p.get_buffer().get_context() == m_context); in deallocate()
96 return m_context.get_device().max_memory_alloc_size() / sizeof(T); in max_size()
101 return m_context; in get_context()
111 context m_context; member in boost::compute::buffer_allocator
/third_party/libcoap/src/
Dcoap_mbedtls.c304 coap_mbedtls_context_t *m_context = in cert_verify_callback_mbedtls() local
306 coap_dtls_pki_t *setup_data = &m_context->setup_data; in cert_verify_callback_mbedtls()
456 coap_mbedtls_context_t *m_context, in setup_pki_credentials() argument
694 if (m_context->root_ca_file) { in setup_pki_credentials()
695 ret = mbedtls_x509_crt_parse_file(cacert, m_context->root_ca_file); in setup_pki_credentials()
703 if (m_context->root_ca_path) { in setup_pki_credentials()
704 ret = mbedtls_x509_crt_parse_file(cacert, m_context->root_ca_path); in setup_pki_credentials()
742 coap_mbedtls_context_t *m_context = in pki_sni_callback() local
755 for (i = 0; i < m_context->pki_sni_count; i++) { in pki_sni_callback()
756 if (strcasecmp(name, m_context->pki_sni_entry_list[i].sni) == 0) { in pki_sni_callback()
[all …]
/third_party/boost/boost/compute/memory/
Dsvm_ptr.hpp92 m_context(context) in svm_ptr()
98 m_context(other.m_context) in svm_ptr()
105 m_context = other.m_context; in operator =()
120 return svm_ptr<T>(m_ptr + n, m_context); in operator +()
125 BOOST_ASSERT(other.m_context == m_context); in operator -()
131 return m_context; in get_context()
136 return (other.m_context == m_context) && (m_ptr == other.m_ptr); in operator ==()
141 return (other.m_context != m_context) || (m_ptr != other.m_ptr); in operator !=()
160 context m_context; member in boost::compute::svm_ptr
/third_party/boost/boost/compute/random/
Dthreefry_engine.hpp45 m_context(queue.get_context()) in threefry_engine()
55 m_context(other.m_context), in threefry_engine()
66 m_context = other.m_context; in operator =()
143 program_cache::get_global_cache(m_context); in load_program()
304 m_program = cache->get_or_build(cache_key, std::string(), source, m_context); in load_program()
311 context m_context; member in boost::compute::threefry_engine
Dmersenne_twister_engine.hpp45 : m_context(queue.get_context()), in mersenne_twister_engine()
46 m_state_buffer(m_context, n * sizeof(result_type)) in mersenne_twister_engine()
57 : m_context(other.m_context), in mersenne_twister_engine()
68 m_context = other.m_context; in operator =()
187 program_cache::get_global_cache(m_context); in load_program()
239 m_program = cache->get_or_build(cache_key, std::string(), source, m_context); in load_program()
243 context m_context; member in boost::compute::mersenne_twister_engine
Dlinear_congruential_engine.hpp52 : m_context(queue.get_context()), in linear_congruential_engine()
53 m_multiplicands(m_context, threads * sizeof(result_type)) in linear_congruential_engine()
67 : m_context(other.m_context), in linear_congruential_engine()
79 m_context = other.m_context; in operator =()
201 program_cache::get_global_cache(m_context); in load_program()
225 m_program = cache->get_or_build(cache_key, std::string(), source, m_context); in load_program()
229 context m_context; member in boost::compute::linear_congruential_engine
/third_party/boost/boost/compute/exception/
Dcontext_error.hpp41 : m_context(context), in context_error()
63 return m_context; in get_context_ptr()
79 const context *m_context; member in boost::compute::context_error
/third_party/boost/libs/compute/example/
Dnbody.cpp91 compute::context m_context; member in NBodyWidget
126 m_context = compute::opengl_create_shared_context(); in initializeGL()
127 m_queue = compute::command_queue(m_context, m_context.get_device()); in initializeGL()
128 m_program = compute::program::create_with_source(source, m_context); in initializeGL()
149 m_position = compute::opengl_buffer(m_context, vbo); in initializeGL()
153 m_velocity = new compute::vector<float4_>(m_particles, m_context); in initializeGL()
Dopengl_sphere.cpp163 m_context = compute::opengl_create_shared_context(); in Initialize()
164 compute::device device = m_context.get_device(); in Initialize()
168 m_command_queue = compute::command_queue(m_context, device); in Initialize()
197 compute::context m_context; member in gpu_sphere_mapper
/third_party/boost/boost/log/sinks/
Dbasic_sink_frontend.hpp283 formatting_context& m_context; member in boost::sinks::basic_formatting_sink_frontend::formatting_context::cleanup_guard
286 explicit cleanup_guard(formatting_context& ctx) BOOST_NOEXCEPT : m_context(ctx) in cleanup_guard()
292 m_context.m_FormattedRecord.clear(); in ~cleanup_guard()
293m_context.m_FormattingStream.rdbuf()->max_size(m_context.m_FormattedRecord.max_size()); in ~cleanup_guard()
294 m_context.m_FormattingStream.rdbuf()->storage_overflow(false); in ~cleanup_guard()
295 m_context.m_FormattingStream.clear(); in ~cleanup_guard()
/third_party/boost/boost/test/impl/
Dframework.ipp819 m_context.clear();
897 context_data m_context;
1432 … impl::s_frk_state().m_context.push_back( state::context_frame( buffer.str(), res_idx, sticky ) );
1459 for( int i=static_cast<int>(impl::s_frk_state().m_context.size())-1; i>=0; i-- )
1460 if( !impl::s_frk_state().m_context[i].is_sticky )
1461 impl::s_frk_state().m_context.erase( impl::s_frk_state().m_context.begin()+i );
1466 …std::find_if( impl::s_frk_state().m_context.begin(), impl::s_frk_state().m_context.end(), frame_wi…
1468 … if( it != impl::s_frk_state().m_context.end() ) // really an internal error if this is not true
1469 impl::s_frk_state().m_context.erase( it );
1494 return impl::s_frk_state().m_context.empty();
[all …]
Dexecution_monitor.ipp360 , m_context( 0 )
367 m_context = c;
374 void* m_context; // signal context