/external/tensorflow/tensorflow/core/kernels/ |
D | mkl_pooling_ops_common.cc | 43 context_.alg_kind = fwdParams.alg_kind; in Setup() 44 context_.prop_kind = fwdParams.prop_kind; in Setup() 53 context_.src_fmt = is_2d ? memory::format::nhwc : memory::format::ndhwc; in Setup() 55 context_.src_fmt = get_desired_format(fwdParams.src_dims[1], is_2d); in Setup() 57 context_.src_md.reset(new memory::desc({fwdParams.src_dims}, MklDnnType<T>(), in Setup() 58 context_.src_fmt)); in Setup() 59 context_.dst_md.reset(new memory::desc({fwdParams.dst_dims}, MklDnnType<T>(), in Setup() 63 context_.fwd_desc.reset(new pooling_forward::desc( in Setup() 64 fwdParams.prop_kind, fwdParams.alg_kind, *context_.src_md, in Setup() 65 *context_.dst_md, fwdParams.strides, fwdParams.filter_dims, in Setup() [all …]
|
D | mkl_fused_batch_norm_op.cc | 51 context_.fwd_stream.reset(new mkldnn::stream(mkldnn::stream::kind::eager)); in MklFusedBatchNormFwdPrimitive() 52 if (context_.bn_fwd == nullptr) Setup(fwdParams); in MklFusedBatchNormFwdPrimitive() 65 context_.src_mem->set_data_handle( in Execute() 67 context_.dst_mem->set_data_handle(static_cast<void*>(dst_data)); in Execute() 69 if (context_.flags & use_scale_shift) in Execute() 70 context_.weights_mem->set_data_handle( in Execute() 73 if ((context_.pkind == prop_kind::forward_training) || in Execute() 74 (context_.flags & use_global_stats)) { in Execute() 75 context_.mean_mem->set_data_handle(static_cast<void*>(mean_data)); in Execute() 76 context_.variance_mem->set_data_handle(static_cast<void*>(variance_data)); in Execute() [all …]
|
D | mkl_conv_grad_filter_ops.cc | 84 context_.bwd_filter_stream.reset(new stream(stream::kind::eager)); in MklConvBwdFilterPrimitive() 86 if (context_.conv_bwd_filter == nullptr) { in MklConvBwdFilterPrimitive() 100 context_.src_mem->set_data_handle( in Execute() 102 context_.diff_filter_mem->set_data_handle( in Execute() 104 context_.diff_bias_mem->set_data_handle( in Execute() 106 context_.diff_dst_mem->set_data_handle( in Execute() 109 context_.bwd_filter_stream->submit(context_.bwd_filter_primitives); in Execute() 111 context_.src_mem->set_data_handle(DummyData); in Execute() 112 context_.diff_filter_mem->set_data_handle(DummyData); in Execute() 113 context_.diff_bias_mem->set_data_handle(DummyData); in Execute() [all …]
|
D | mkl_conv_grad_input_ops.cc | 84 context_.bwd_input_stream.reset(new stream(stream::kind::eager)); in MklConvBwdInputPrimitive() 87 if (context_.conv_bwd_input == nullptr) { in MklConvBwdInputPrimitive() 100 context_.diff_src_mem->set_data_handle( in Execute() 102 context_.filter_mem->set_data_handle( in Execute() 104 context_.diff_dst_mem->set_data_handle( in Execute() 107 context_.bwd_input_stream->submit(context_.bwd_input_primitives); in Execute() 110 context_.diff_src_mem->set_data_handle(DummyData); in Execute() 111 context_.filter_mem->set_data_handle(DummyData); in Execute() 112 context_.diff_dst_mem->set_data_handle(DummyData); in Execute() 116 memory::format GetFilterMemoryFormat() const { return context_.filter_fmt; } in GetFilterMemoryFormat() [all …]
|
D | mkl_relu_op.cc | 64 context_.src_fmt = in MklEltwiseFwdPrimitive() 66 context_.fwd_stream.reset(new stream(stream::kind::eager)); in MklEltwiseFwdPrimitive() 69 if (context_.eltwise_fwd == nullptr) { in MklEltwiseFwdPrimitive() 80 context_.src_mem->set_data_handle( in Execute() 82 context_.dst_mem->set_data_handle(static_cast<void*>(dst_data)); in Execute() 83 context_.fwd_stream->submit(context_.fwd_primitives); in Execute() 86 context_.src_mem->set_data_handle(DummyData); in Execute() 87 context_.dst_mem->set_data_handle(DummyData); in Execute() 91 return context_.fwd_pd; in GetEltwiseFwdPd() 94 memory::format GetSrcMemoryFormat() { return context_.src_fmt; } in GetSrcMemoryFormat() [all …]
|
/external/perfetto/src/trace_processor/ |
D | trace_processor_impl.cc | 227 context_.storage.reset(new TraceStorage()); in TraceProcessorImpl() 228 context_.args_tracker.reset(new ArgsTracker(&context_)); in TraceProcessorImpl() 229 context_.slice_tracker.reset(new SliceTracker(&context_)); in TraceProcessorImpl() 230 context_.event_tracker.reset(new EventTracker(&context_)); in TraceProcessorImpl() 231 context_.process_tracker.reset(new ProcessTracker(&context_)); in TraceProcessorImpl() 232 context_.syscall_tracker.reset(new SyscallTracker(&context_)); in TraceProcessorImpl() 233 context_.clock_tracker.reset(new ClockTracker(&context_)); in TraceProcessorImpl() 234 context_.heap_profile_tracker.reset(new HeapProfileTracker(&context_)); in TraceProcessorImpl() 236 ArgsTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() 237 ProcessTable::RegisterTable(*db_, context_.storage.get()); in TraceProcessorImpl() [all …]
|
D | thread_table_unittest.cc | 40 context_.storage.reset(new TraceStorage()); in ThreadTableUnittest() 41 context_.args_tracker.reset(new ArgsTracker(&context_)); in ThreadTableUnittest() 42 context_.process_tracker.reset(new ProcessTracker(&context_)); in ThreadTableUnittest() 43 context_.event_tracker.reset(new EventTracker(&context_)); in ThreadTableUnittest() 45 ThreadTable::RegisterTable(db_.get(), context_.storage.get()); in ThreadTableUnittest() 46 ProcessTable::RegisterTable(db_.get(), context_.storage.get()); in ThreadTableUnittest() 61 ~ThreadTableUnittest() override { context_.storage->ResetStorage(); } in ~ThreadTableUnittest() 64 TraceProcessorContext context_; member in perfetto::trace_processor::__anon2d070d180111::ThreadTableUnittest 77 context_.event_tracker->PushSchedSwitch(cpu, timestamp, /*tid=*/1, in TEST_F() 80 context_.event_tracker->PushSchedSwitch(cpu, timestamp + 1, /*tid=*/4, in TEST_F() [all …]
|
D | trace_sorter_unittest.cc | 77 context_.storage.reset(storage_); in TraceSorterTest() 78 context_.sorter.reset(new TraceSorter(&context_, 0 /*window_size*/)); in TraceSorterTest() 79 parser_ = new MockTraceParser(&context_); in TraceSorterTest() 80 context_.parser.reset(parser_); in TraceSorterTest() 84 TraceProcessorContext context_; member in perfetto::trace_processor::__anoneb0575660111::TraceSorterTest 93 context_.sorter->PushFtraceEvent(0 /*cpu*/, 1000 /*timestamp*/, in TEST_F() 95 context_.sorter->FinalizeFtraceEventBatch(0); in TEST_F() 96 context_.sorter->ExtractEventsForced(); in TEST_F() 102 context_.sorter->PushTracePacket(1000, std::move(view)); in TEST_F() 103 context_.sorter->FinalizeFtraceEventBatch(1000); in TEST_F() [all …]
|
D | sched_slice_table_unittest.cc | 43 context_.storage.reset(new TraceStorage()); in SchedSliceTableTest() 44 context_.args_tracker.reset(new ArgsTracker(&context_)); in SchedSliceTableTest() 45 context_.process_tracker.reset(new ProcessTracker(&context_)); in SchedSliceTableTest() 46 context_.event_tracker.reset(new EventTracker(&context_)); in SchedSliceTableTest() 48 SchedSliceTable::RegisterTable(db_.get(), context_.storage.get()); in SchedSliceTableTest() 59 ~SchedSliceTableTest() override { context_.storage->ResetStorage(); } in ~SchedSliceTableTest() 62 TraceProcessorContext context_; member in perfetto::trace_processor::__anon3ca8d4360111::SchedSliceTableTest 76 context_.event_tracker->PushSchedSwitch(cpu, timestamp, pid_1, kCommProc2, in TEST_F() 79 context_.event_tracker->PushSchedSwitch(cpu, timestamp + 3, pid_2, kCommProc1, in TEST_F() 82 context_.event_tracker->PushSchedSwitch(cpu, timestamp + 4, pid_1, kCommProc2, in TEST_F() [all …]
|
D | process_table_unittest.cc | 37 context_.storage.reset(new TraceStorage()); in ProcessTableUnittest() 38 context_.process_tracker.reset(new ProcessTracker(&context_)); in ProcessTableUnittest() 40 ProcessTable::RegisterTable(db_.get(), context_.storage.get()); in ProcessTableUnittest() 55 ~ProcessTableUnittest() override { context_.storage->ResetStorage(); } in ~ProcessTableUnittest() 58 TraceProcessorContext context_; member in perfetto::trace_processor::__anon522334ff0111::ProcessTableUnittest 66 context_.process_tracker->UpdateProcess(1, base::nullopt, kCommProc1); in TEST_F() 67 context_.process_tracker->UpdateProcess(2, base::nullopt, kCommProc2); in TEST_F() 88 context_.process_tracker->UpdateProcess(1, base::nullopt, kCommProc1); in TEST_F() 89 context_.process_tracker->UpdateProcess(2, base::nullopt, kCommProc2); in TEST_F() 103 context_.process_tracker->UpdateProcess(1, base::nullopt, kCommProc1); in TEST_F() [all …]
|
D | proto_trace_parser.cc | 160 : context_(context), in ProtoTraceParser() 335 context_->args_tracker->Flush(); in ParseTracePacket() 347 context_->storage->IncrementStats(stats::meminfo_unknown_keys); in ParseSysStats() 351 context_->event_tracker->PushCounter( in ParseSysStats() 360 context_->storage->IncrementStats(stats::vmstat_unknown_keys); in ParseSysStats() 363 context_->event_tracker->PushCounter(ts, vm.value(), vmstat_strs_id_[key], in ParseSysStats() 371 context_->storage->IncrementStats(stats::invalid_cpu_times); in ParseSysStats() 374 context_->event_tracker->PushCounter(ts, ct.user_ns(), in ParseSysStats() 377 context_->event_tracker->PushCounter(ts, ct.user_ice_ns(), in ParseSysStats() 380 context_->event_tracker->PushCounter(ts, ct.system_mode_ns(), in ParseSysStats() [all …]
|
D | event_tracker.cc | 35 EventTracker::EventTracker(TraceProcessorContext* context) : context_(context) { in EventTracker() 62 context_->storage->IncrementStats(stats::sched_switch_out_of_order); in PushSchedSwitch() 68 auto* slices = context_->storage->mutable_slices(); in PushSchedSwitch() 70 StringId next_comm_id = context_->storage->InternString(next_comm); in PushSchedSwitch() 72 context_->process_tracker->UpdateThreadName(next_pid, next_comm_id); in PushSchedSwitch() 91 context_->storage->IncrementStats(stats::mismatched_sched_switch_tids); in PushSchedSwitch() 98 StringId prev_comm_id = context_->storage->InternString(prev_comm); in PushSchedSwitch() 100 context_->process_tracker->UpdateThreadName(prev_pid, prev_comm_id); in PushSchedSwitch() 104 auto rid = context_->storage->mutable_raw_events()->AddRawEvent( in PushSchedSwitch() 115 context_->args_tracker->AddArg(row_id, key, key, var); in PushSchedSwitch() [all …]
|
/external/v8/src/debug/ |
D | debug-scopes.cc | 34 context_ = Handle<Context>::cast(frame_inspector->GetContext()); in ScopeIterator() 47 if (!context_->IsNativeContext()) { in GetFunctionDebugName() 49 ScopeInfo* closure_info = context_->closure_context()->scope_info(); in GetFunctionDebugName() 58 context_(function->context(), isolate), in ScopeIterator() 61 context_ = Handle<Context>(); in ScopeIterator() 72 context_(generator->context(), isolate), in ScopeIterator() 75 context_ = Handle<Context>(); in ScopeIterator() 84 context_ = Handle<Context>::cast(frame_inspector_->GetContext()); in Restart() 96 context_ = handle(function_->context(), isolate_); in TryParseAndRetrieveScopes() 129 if (!context_->IsNativeContext()) { in TryParseAndRetrieveScopes() [all …]
|
/external/ImageMagick/Magick++/lib/ |
D | Drawable.cpp | 69 void Magick::DrawableBase::operator()(MagickCore::DrawingWand * context_) const in operator ()() 71 (void) context_; in operator ()() 118 void Magick::Drawable::operator()(MagickCore::DrawingWand * context_) const in operator ()() 121 dp->operator()(context_); in operator ()() 167 void Magick::VPath::operator()( MagickCore::DrawingWand * context_ ) const in operator ()() 170 dp->operator()( context_ ); in operator ()() 196 void Magick::DrawableAffine::operator()( MagickCore::DrawingWand * context_ ) const in operator ()() 198 DrawAffine( context_, &_affine ); in operator ()() 209 void Magick::DrawableAlpha::operator()(MagickCore::DrawingWand * context_) const in operator ()() 211 DrawAlpha(context_,_x,_y,_paintMethod); in operator ()() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 38 context_->GetDominatorAnalysis(enclosing_function_); in Apply() 39 context_->cfg(); in Apply() 40 context_->GetStructuredCFGAnalysis(); in Apply() 59 context_->InvalidateAnalysesExceptFor(IRContext::Analysis::kAnalysisNone); in Apply() 66 context_->InvalidateAnalysesExceptFor(IRContext::Analysis::kAnalysisNone); in Apply() 74 for (auto pred : context_->cfg()->preds(original_target_id)) { in RedirectToClosestMergeBlock() 82 if (!context_->GetDominatorAnalysis(enclosing_function_) in RedirectToClosestMergeBlock() 95 if (context_->cfg()->block(pred)->MergeBlockIdIfAny()) { in RedirectToClosestMergeBlock() 96 new_merge_target = context_->cfg()->block(pred)->MergeBlockIdIfAny(); in RedirectToClosestMergeBlock() 98 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 40 context_->GetDominatorAnalysis(enclosing_function_); in Apply() 41 context_->cfg(); in Apply() 42 context_->GetStructuredCFGAnalysis(); in Apply() 61 context_->InvalidateAnalysesExceptFor(IRContext::Analysis::kAnalysisNone); in Apply() 68 context_->InvalidateAnalysesExceptFor(IRContext::Analysis::kAnalysisNone); in Apply() 76 for (auto pred : context_->cfg()->preds(original_target_id)) { in RedirectToClosestMergeBlock() 84 if (!context_->GetDominatorAnalysis(enclosing_function_) in RedirectToClosestMergeBlock() 97 if (context_->cfg()->block(pred)->MergeBlockIdIfAny()) { in RedirectToClosestMergeBlock() 98 new_merge_target = context_->cfg()->block(pred)->MergeBlockIdIfAny(); in RedirectToClosestMergeBlock() 100 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock() [all …]
|
/external/webrtc/webrtc/libjingle/xmllite/ |
D | xmlparser.cc | 64 context_.Reset(); in Reset() 79 if (context_.RaisedError() != XML_ERROR_NONE) in ExpatStartElement() 82 context_.StartElement(); in ExpatStartElement() 86 context_.StartNamespace("", *(att + 1)); in ExpatStartElement() 91 context_.RaiseError(XML_ERROR_SYNTAX); in ExpatStartElement() 94 context_.StartNamespace((*att) + 6, *(att + 1)); in ExpatStartElement() 98 context_.SetPosition(XML_GetCurrentLineNumber(expat_), in ExpatStartElement() 101 pxph_->StartElement(&context_, name, atts); in ExpatStartElement() 106 if (context_.RaisedError() != XML_ERROR_NONE) in ExpatEndElement() 108 context_.EndElement(); in ExpatEndElement() [all …]
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.cc | 142 : context_(&owned_context_), in Subgraph() 147 context_->impl_ = static_cast<void*>(this); in Subgraph() 148 context_->ResizeTensor = ResizeTensor; in Subgraph() 149 context_->ReportError = ReportErrorC; in Subgraph() 150 context_->AddTensors = AddTensors; in Subgraph() 151 context_->tensors = nullptr; in Subgraph() 152 context_->tensors_size = 0; in Subgraph() 153 context_->allow_fp32_relax_to_fp16 = false; in Subgraph() 154 context_->recommended_num_threads = -1; in Subgraph() 155 context_->GetExternalContext = GetExternalContext; in Subgraph() [all …]
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | array_data_view.h | 30 : data_(data), context_(context) {} in ArrayDataViewImpl() 38 SerializationContext* context_; variable 50 : data_(data), context_(context) {} in ArrayDataViewImpl() 56 SerializationContext* context_; variable 70 : data_(data), context_(context) {} in ArrayDataViewImpl() 83 SerializationContext* context_; variable 99 : data_(data), context_(context) {} in ArrayDataViewImpl() 104 bool ret = Deserialize<T>(&data_->at(index), &result, context_); in Take() 111 SerializationContext* context_; variable 123 : data_(data), context_(context) {} in ArrayDataViewImpl() [all …]
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Drawable.h | 171 virtual void operator()( MagickCore::DrawingWand *context_ ) const = 0; 201 void operator()( MagickCore::DrawingWand *context_ ) const; 236 /*virtual*/ void operator()( MagickCore::DrawingWand *context_ ) const; 315 void operator()(MagickCore::DrawingWand *context_) const; 375 /*virtual*/ void operator()( MagickCore::DrawingWand *context_ ) const; 457 /*virtual*/ void operator()( MagickCore::DrawingWand *context_ ) const; 478 void operator()(MagickCore::DrawingWand *context_) const; 500 void operator()(MagickCore::DrawingWand *context_) const; 522 void operator()(MagickCore::DrawingWand *context_) const; 546 /*virtual*/ void operator()( MagickCore::DrawingWand *context_ ) const; [all …]
|
/external/tensorflow/tensorflow/lite/experimental/micro/ |
D | micro_interpreter.cc | 82 context_.tensors_size = tensors_->Length(); in MicroInterpreter() 83 context_.tensors = in MicroInterpreter() 85 sizeof(TfLiteTensor) * context_.tensors_size, 4)); in MicroInterpreter() 91 &context_.tensors[tensor_index]); in MicroInterpreter() 125 &context_.tensors[tensor_index]); in MicroInterpreter() 140 &context_.tensors[i]); in MicroInterpreter() 146 context_.impl_ = static_cast<void*>(this); in MicroInterpreter() 147 context_.GetExecutionPlan = nullptr; in MicroInterpreter() 148 context_.ResizeTensor = nullptr; in MicroInterpreter() 149 context_.ReportError = ReportOpError; in MicroInterpreter() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | loop_unswitch_pass.cpp | 60 context_(context), in LoopUnswitch() 73 CFG& cfg = *context_->cfg(); in CanUnswitchLoop() 100 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBasicBlock() 105 context_, SpvOpLabel, 0, context_->TakeNextId(), {}))))); in CreateBasicBlock() 108 context_->set_instr_block(bb->GetLabelInst(), bb); in CreateBasicBlock() 120 CFG& cfg = *context_->cfg(); in PerformUnswitch() 122 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch() 123 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in PerformUnswitch() 124 LoopUtils loop_utils(context_, loop_); in PerformUnswitch() 147 context_, loop_merge_block, in PerformUnswitch() [all …]
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_gpu_executor.cc | 106 GpuDriver::UnloadModule(context_, it.second); in ~GpuExecutor() 109 GpuDriver::UnloadModule(context_, it.second); in ~GpuExecutor() 111 if (context_ != nullptr) { in ~GpuExecutor() 112 GpuDriver::DestroyContext(context_); in ~GpuExecutor() 133 GpuDriver::UnloadModule(context_, module); in UnloadGpuBinary() 158 &context_); in Init() 244 if (!GpuDriver::LoadHsaco(context_, hsaco, &module)) { in GetKernel() 256 if (!GpuDriver::GetModuleFunction(context_, module, kernelname->c_str(), in GetKernel() 400 if (!GpuDriver::LoadHsaco(context_, hsaco, module)) { in LoadModuleFromHsaco() 426 return GpuDriver::DeviceAllocate(context_, size); in Allocate() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_generator_factory.cc | 56 Context* context) : context_(context) { in ImmutableGeneratorFactory() 62 if (HasDescriptorMethods(descriptor, context_->EnforceLite())) { in NewMessageGenerator() 63 return new ImmutableMessageGenerator(descriptor, context_); in NewMessageGenerator() 65 return new ImmutableMessageLiteGenerator(descriptor, context_); in NewMessageGenerator() 71 if (HasDescriptorMethods(descriptor->file(), context_->EnforceLite())) { in NewExtensionGenerator() 72 return new ImmutableExtensionGenerator(descriptor, context_); in NewExtensionGenerator() 74 return new ImmutableExtensionLiteGenerator(descriptor, context_); in NewExtensionGenerator() 80 return new ImmutableServiceGenerator(descriptor, context_); in NewServiceGenerator()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | loop_unswitch_pass.cpp | 58 context_(context), in LoopUnswitch() 71 CFG& cfg = *context_->cfg(); in CanUnswitchLoop() 102 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in CreateBasicBlock() 107 context_, SpvOpLabel, 0, context_->TakeNextId(), {}))))); in CreateBasicBlock() 110 context_->set_instr_block(bb->GetLabelInst(), bb); in CreateBasicBlock() 139 context_, static_cast<Instruction*>(nullptr), in GetValueForDefaultPathForSwitch() 151 CFG& cfg = *context_->cfg(); in PerformUnswitch() 153 &context_->GetDominatorAnalysis(function_)->GetDomTree(); in PerformUnswitch() 154 analysis::DefUseManager* def_use_mgr = context_->get_def_use_mgr(); in PerformUnswitch() 155 LoopUtils loop_utils(context_, loop_); in PerformUnswitch() [all …]
|