Home
last modified time | relevance | path

Searched refs:get_context (Results 1 – 25 of 84) sorted by relevance

1234

/external/python/cpython3/Lib/multiprocessing/
Dcontext.py55 m = SyncManager(ctx=self.get_context())
67 return Lock(ctx=self.get_context())
72 return RLock(ctx=self.get_context())
77 return Condition(lock, ctx=self.get_context())
82 return Semaphore(value, ctx=self.get_context())
87 return BoundedSemaphore(value, ctx=self.get_context())
92 return Event(ctx=self.get_context())
97 return Barrier(parties, action, timeout, ctx=self.get_context())
102 return Queue(maxsize, ctx=self.get_context())
107 return JoinableQueue(maxsize, ctx=self.get_context())
[all …]
Dsharedctypes.py14 from . import get_context
78 ctx = ctx or get_context()
92 ctx = ctx or get_context()
105 ctx = ctx or get_context()
187 ctx = ctx or get_context(force=True)
/external/libxcam/modules/ocl/
Dcl_blender.cpp35 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
127 SmartPtr<CLContext> context = get_context (); in prepare_parameters()
173 SmartPtr<CLContext> context = CLDevice::instance ()->get_context (); in create_ocl_blender()
Dcl_wavelet_denoise_handler.cpp53 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
135 _approx_image = new CLBuffer (get_context (), buffer_size, in prepare_output_buf()
143 _details_image = new CLBuffer (get_context (), buffer_size, in prepare_output_buf()
Dcl_video_buffer.cpp128 SmartPtr<CLContext> context = CLDevice::instance ()->get_context (); in allocate_data()
139 SmartPtr<CLContext> context = CLDevice::instance ()->get_context (); in create_buffer_from_data()
Dcl_memory.cpp109 SmartPtr<CLContext> context = get_context (); in enqueue_unmap()
216 SmartPtr<CLContext> context = get_context (); in enqueue_read()
232 SmartPtr<CLContext> context = get_context (); in enqueue_write()
249 SmartPtr<CLContext> context = get_context (); in enqueue_map()
520 SmartPtr<CLContext> context = get_context (); in enqueue_map()
Dcl_defog_dcp_handler.cpp69 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
157 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
245 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
325 SmartPtr<CLContext> context = get_context (); in allocate_transmit_bufs()
Dcl_gauss_handler.cpp113 get_context (), scale_size, in set_gaussian()
122 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
Dcl_image_processor.cpp83 _context = CLDevice::instance ()->get_context (); in CLImageProcessor()
302 CLDevice::instance()->get_context ()->finish (); in process_cl_buffer_queue()
Dcl_device.h72 SmartPtr<CLContext> get_context ();
Dcl_fisheye_handler.cpp235 SmartPtr<CLContext> context = get_context (); in prepare_parameters()
306 SmartPtr<CLContext> context = get_context (); in create_cl_image()
352 SmartPtr<CLContext> context = get_context (); in generate_fisheye_table()
480 SmartPtr<CLContext> context = get_context (); in generate_lsc_table()
Dcv_context.cpp47 _context = CLDevice::instance()->get_context(); in init_opencv_ocl()
Dcl_image_scaler.cpp45 SmartPtr<CLContext> context = get_context (); in prepare_arguments()
203 get_context ()->finish(); in execute_done()
Dcl_kernel.h83 SmartPtr<CLContext> &get_context () { in get_context() function
/external/python/cpython2/Lib/idlelib/
DCodeContext.py107 def get_context(self, new_topvisible, stopline=1, stopindent=0): member in CodeContext
142 lines, lastindent = self.get_context(new_topvisible,
155 lines, lastindent = self.get_context(new_topvisible,
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py28 from multiprocessing import get_context
85 mgr = get_context(ctx).Manager()
116 mp_context=self.get_context(),
135 def get_context(self): member in ExecutorMixin
136 return get_context(self.ctx)
155 def get_context(self): member in ProcessPoolForkMixin
158 return super().get_context()
170 def get_context(self): member in ProcessPoolForkserverMixin
173 return super().get_context()
220 self.mp_context = self.get_context()
[all …]
Dmp_preload.py11 ctx = multiprocessing.get_context("forkserver")
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.cc142 *function_def, outer_context->get_context()->attrs(), in InferShapesForFunction()
164 node, this, outer_context->get_context()); in InferShapesForFunction()
196 nested_inferences[node_name]->get_context()->node_def_ = in InferShapesForFunction()
230 InferenceContext* c = it->second->get_context(); in AddNode()
319 InferenceContext* node_context = node_ext_context->get_context(); in UpdateNode()
340 InferenceContext* c = iter->second->get_context(); in UpdateNode()
631 auto* c = ec->get_context(); in RunShapeFn()
Dshape_refiner.h57 shape_inference::InferenceContext* get_context() { in get_context() function
134 return it->second->get_context(); in GetContext()
/external/python/cpython3/Lib/idlelib/
Dcodecontext.py134 def get_context(self, new_topvisible, stopline=1, stopindent=0): member in CodeContext
176 lines, lastindent = self.get_context(new_topvisible,
189 lines, lastindent = self.get_context(new_topvisible,
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DProgramState.h385 typename ProgramStateTrait<T>::context_type get_context() const;
615 typename ProgramStateTrait<T>::context_type get_context() { in get_context() function
766 return getStateManager().add<T>(this, K, get_context<T>()); in add()
770 typename ProgramStateTrait<T>::context_type ProgramState::get_context() const { in get_context() function
771 return getStateManager().get_context<T>(); in get_context()
776 return getStateManager().remove<T>(this, K, get_context<T>()); in remove()
798 return getStateManager().set<T>(this, K, E, get_context<T>()); in set()
/external/libxcam/plugins/smart/dvs/
Dxcam_plugin_dvs.cpp79 cl_context cl_context_id = XCam::CLDevice::instance()->get_context()->get_context_id(); in dvs_create_context()
128 XCam::SmartPtr<XCam::CLContext> cl_Context = XCam::CLDevice::instance()->get_context(); in dvs_analyze()
/external/autotest/client/cros/
Ddark_resume_listener.py40 context = loop.get_context()
/external/libxcam/tests/
Dtest-binary-kernel.cpp115 context = CLDevice::instance ()->get_context (); in main()
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
Dp2p_flush.py105 gobject.MainLoop().get_context().iteration(True)

1234