Home
last modified time | relevance | path

Searched refs:parent_ (Results 1 – 25 of 143) sorted by relevance

123456

/external/webrtc/webrtc/common_audio/
Dlapped_transform.cc27 RTC_CHECK_EQ(num_input_channels, parent_->num_in_channels_); in ProcessBlock()
28 RTC_CHECK_EQ(num_output_channels, parent_->num_out_channels_); in ProcessBlock()
29 RTC_CHECK_EQ(parent_->block_length_, num_frames); in ProcessBlock()
32 memcpy(parent_->real_buf_.Row(i), input[i], in ProcessBlock()
34 parent_->fft_->Forward(parent_->real_buf_.Row(i), in ProcessBlock()
35 parent_->cplx_pre_.Row(i)); in ProcessBlock()
40 RTC_CHECK_EQ(parent_->cplx_length_, block_length); in ProcessBlock()
41 parent_->block_processor_->ProcessAudioBlock(parent_->cplx_pre_.Array(), in ProcessBlock()
43 parent_->cplx_length_, in ProcessBlock()
45 parent_->cplx_post_.Array()); in ProcessBlock()
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dunion_find.h30 UnionFind() : size_(1), parent_(nullptr) {} in UnionFind()
31 explicit UnionFind(const T& v) : size_(1), parent_(nullptr), value_(v) {} in UnionFind()
52 UnionFind* parent_; variable
62 b->parent_ = a; in Merge()
68 if (!parent_) return this; in FindRoot()
71 parent_ = parent_->FindRoot(); in FindRoot()
72 return parent_; in FindRoot()
/external/tensorflow/tensorflow/compiler/jit/
Dunion_find.h28 UnionFind() : rank_(0), size_(1), parent_(nullptr) {} in UnionFind()
47 UnionFind* parent_; variable
57 b->parent_ = a; in Merge()
62 a->parent_ = b; in Merge()
72 if (!parent_) return this; in FindRoot()
75 parent_ = parent_->FindRoot(); in FindRoot()
76 return parent_; in FindRoot()
/external/bcc/src/cc/frontends/b/
Dscope.h45 Scope(Scope<T>* scope, int id) : parent_(scope), id_(id) {} in Scope()
55 if (stype == SCOPE_LOCAL || !parent_) in lookup()
57 return parent_->lookup(name, stype); in lookup()
68 Scope<T> *parent_; variable
103 scope->parent_ = current_var_scope_; in push_var()
110 current_var_scope_ = old->parent_; in pop_var()
111 old->parent_ = nullptr; in pop_var()
117 scope->parent_ = current_state_scope_; in push_state()
124 current_state_scope_ = old->parent_; in pop_state()
125 old->parent_ = nullptr; in pop_state()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h119 explicit HloEvaluatorTypedVisitor(HloEvaluator* p) : parent_(p) {} in HloEvaluatorTypedVisitor()
156 TF_ASSIGN_OR_RETURN(parent_->evaluated_[abs], in HandleAbs()
167 TF_ASSIGN_OR_RETURN(parent_->evaluated_[abs], in HandleAbs()
179 parent_->GetEvaluatedLiteralFor(abs->operand(0)); in HandleAbs()
181 parent_->evaluated_[abs], in HandleAbs()
206 parent_->evaluated_[round], in HandleRound()
228 TF_ASSIGN_OR_RETURN(parent_->evaluated_[ceil], in HandleCeil()
250 parent_->GetEvaluatedLiteralFor(operand).Convert( in HandleConvert()
252 parent_->evaluated_[convert] = std::move(result); in HandleConvert()
260 parent_->GetEvaluatedLiteralFor(operand).BitcastConvert( in HandleBitcastConvert()
[all …]
Ddynamic_dimension_inference.cc31 : param_bindings_(param_bindings), parent_(parent) {} in DynamicDimensionInferenceVisitor()
95 DynamicDimensionInference* parent_; member in xla::DynamicDimensionInferenceVisitor
117 parent_->SetDynamicSize(hlo, new_index, dimension, dynamic_size); in HandleGetTupleElement()
128 parent_->SetDynamicSize(hlo, index, dimension, dynamic_size); in HandleTuple()
138 parent_->SetDynamicSize(hlo, {}, broadcast_dim, dynamic_size); in HandleBroadcast()
156 parent_->SetDynamicSize(hlo, {}, dimension, dynamic_size); in HandlePad()
186 parent_->SetDynamicSize(reduce, {}, dimensions_not_reduced_count, in HandleReduce()
244 parent_->SetDynamicSize(dot, {}, iter->second, dynamic_size); in HandleDot()
255 parent_->SetDynamicSize(hlo, {}, hlo->dimensions()[dimension], in HandleTranspose()
272 parent_->SetDynamicSize(conv, {}, in HandleConvolution()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dkernel.cc62 : parent_(from.parent_), in KernelBase()
67 from.parent_ = nullptr; in KernelBase()
71 : parent_(parent), in KernelBase()
76 : parent_(parent), implementation_(implementation) {} in KernelBase()
79 if (parent_) { in ~KernelBase()
80 parent_->UnloadKernel(this); in ~KernelBase()
Dtemporary_device_memory.cc23 parent_->temporary_memory_manager()->MarkFinalized(device_memory_, in ~TemporaryDeviceMemoryBase()
42 parent_->temporary_memory_manager()->MarkFinalized(device_memory_, in Finalize()
48 return parent_->temporary_memory_manager()->IsFinalized( in IsFinalized()
53 return parent_->temporary_memory_manager()->HasAllocated( in IsAllocated()
62 parent_(parent) { in TemporaryDeviceMemoryBase()
Dtimer.cc27 : parent_(parent), in Timer()
28 implementation_(parent_->implementation()->GetTimerImplementation()) {} in Timer()
30 Timer::~Timer() { parent_->DeallocateTimer(this); } in ~Timer()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dgpu_stream.cc26 if (!GpuDriver::CreateStream(parent_->gpu_context(), &gpu_stream_)) { in Init()
29 return GpuDriver::CreateEvent(parent_->gpu_context(), &completed_event_, in Init()
37 GpuDriver::DestroyEvent(parent_->gpu_context(), &completed_event_); in Destroy()
43 GpuDriver::DestroyStream(parent_->gpu_context(), &gpu_stream_); in Destroy()
47 return GpuDriver::IsStreamIdle(parent_->gpu_context(), gpu_stream_); in IsIdle()
Dgpu_event.cc26 : parent_(parent), gpu_event_(nullptr) {} in GpuEvent()
31 return GpuDriver::CreateEvent(parent_->gpu_context(), &gpu_event_, in Init()
36 return GpuDriver::DestroyEvent(parent_->gpu_context(), &gpu_event_); in Destroy()
40 return GpuDriver::RecordEvent(parent_->gpu_context(), gpu_event_, in Record()
Dgpu_timer.cc28 GpuContext* context = parent_->gpu_context(); in Init()
52 GpuContext* context = parent_->gpu_context(); in Destroy()
70 parent_->gpu_context(), &elapsed_milliseconds, start_event_, stop_event_); in GetElapsedMilliseconds()
76 parent_->gpu_context(), start_event_, stream->gpu_stream()); in Start()
85 parent_->gpu_context(), stop_event_, stream->gpu_stream()); in Stop()
/external/protobuf/src/google/protobuf/util/internal/
Dstructured_objectwriter.h73 : parent_(parent), level_(parent == NULL ? 0 : parent->level() + 1) {} in BaseElement()
79 return down_cast<ElementType*>(parent_.release()); in pop()
83 bool is_root() const { return parent_ == NULL; } in is_root()
90 virtual BaseElement* parent() const { return parent_.get(); } in parent()
94 google::protobuf::scoped_ptr<BaseElement> parent_;
Dprotostream_objectwriter.cc179 : parent_(parent), in AnyWriter()
199 parent_->InvalidValue("Any", in StartObject()
201 parent_->master_type_.name())); in StartObject()
208 parent_->InvalidValue("Any", in StartObject()
243 parent_->InvalidValue("Any", in StartList()
245 parent_->master_type_.name())); in StartList()
250 parent_->InvalidValue("Any", in StartList()
280 parent_->InvalidValue("Any", in RenderDataPiece()
282 parent_->master_type_.name())); in RenderDataPiece()
287 parent_->InvalidValue("Any", in RenderDataPiece()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dglobal_data.cc49 : handle_(std::move(handle)), parent_(parent) {} in GlobalData()
52 if (parent_ != nullptr) { in ~GlobalData()
53 ReleaseHandles(parent_, {handle_}); in ~GlobalData()
62 if (instance->parent_ != nullptr) { in Release()
63 parent_handles_map[instance->parent_].push_back(instance->Release()); in Release()
/external/webrtc/webrtc/base/
Dtaskparent.cc22 : parent_(parent) { in TaskParent()
26 parent_->AddChild(derived_instance); in TaskParent()
31 : parent_(NULL), in TaskParent()
52 return task->parent_ == this && children_->find(task) != children_->end(); in IsChildTask()
89 parent_->OnChildStopped(task); in OnStopped()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_rng.cc120 GpuRng::GpuRng(GpuExecutor* parent) : parent_(parent), rng_(nullptr) {} in GpuRng()
124 wrap::hiprandDestroyGenerator(parent_, rng_); in ~GpuRng()
133 wrap::hiprandCreateGenerator(parent_, &rng_, HIPRAND_RNG_PSEUDO_DEFAULT); in Init()
145 wrap::hiprandSetStream(parent_, rng_, AsGpuStreamValue(stream)); in SetStream()
183 parent_, rng_, reinterpret_cast<float*>(GpuMemoryMutable(v)), in DoPopulateRandUniformInternal()
187 parent_, rng_, reinterpret_cast<double*>(GpuMemoryMutable(v)), in DoPopulateRandUniformInternal()
231 func(parent_, rng_, GpuMemoryMutable(v), element_count, mean, stddev); in DoPopulateRandGaussianInternal()
269 parent_, rng_, *(reinterpret_cast<const uint64*>(seed))); in SetSeed()
275 ret = wrap::hiprandSetGeneratorOffset(parent_, rng_, 0); in SetSeed()
Drocm_fft.cc164 parent_ = parent; in Initialize()
342 return Initialize(parent_, stream, rank, elem_count, in Initialize()
349 ROCMFftPlan::~ROCMFftPlan() { wrap::hipfftDestroy(parent_, plan_); } in ~ROCMFftPlan()
378 parent_, stream, 1, elem_count, type, /*scratch_allocator=*/nullptr); in Create1dPlan()
393 port::Status status = fft_plan_ptr->Initialize(parent_, stream, 1, elem_count, in Create1dPlanWithScratchAllocator()
409 parent_, stream, 1, elem_count, type, /*scratch_allocator=*/nullptr); in Create2dPlan()
422 port::Status status = fft_plan_ptr->Initialize(parent_, stream, 2, elem_count, in Create2dPlanWithScratchAllocator()
439 parent_, stream, 3, elem_count, type, /*scratch_allocator=*/nullptr); in Create3dPlan()
452 port::Status status = fft_plan_ptr->Initialize(parent_, stream, 3, elem_count, in Create3dPlanWithScratchAllocator()
469 parent_, stream, rank, elem_count, input_embed, input_stride, in CreateBatchedPlan()
[all …]
Drocm_fft.h48 : parent_(nullptr), in ROCMFftPlan()
82 GpuExecutor *parent_;
102 explicit ROCMFft(GpuExecutor *parent) : parent_(parent) {} in ROCMFft()
108 GpuExecutor *parent_;
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_fft.cc96 parent_ = parent; in Initialize()
237 return Initialize(parent_, stream, rank, elem_count, in Initialize()
255 cuda::ScopedActivateExecutorContext sac(parent_); in UpdateScratchAllocator()
266 cuda::ScopedActivateExecutorContext sac(parent_); in ~CUDAFftPlan()
297 parent_, stream, 1, elem_count, type, /*scratch_allocator=*/nullptr); in Create1dPlan()
313 port::Status status = fft_plan_ptr->Initialize(parent_, stream, 1, elem_count, in Create1dPlanWithScratchAllocator()
330 parent_, stream, 1, elem_count, type, /*scratch_allocator=*/nullptr); in Create2dPlan()
344 port::Status status = fft_plan_ptr->Initialize(parent_, stream, 2, elem_count, in Create2dPlanWithScratchAllocator()
362 parent_, stream, 3, elem_count, type, /*scratch_allocator=*/nullptr); in Create3dPlan()
377 port::Status status = fft_plan_ptr->Initialize(parent_, stream, 3, elem_count, in Create3dPlanWithScratchAllocator()
[all …]
Dcuda_rng.cc64 GpuRng::GpuRng(GpuExecutor* parent) : parent_(parent), rng_(nullptr) {} in GpuRng()
68 cuda::ScopedActivateExecutorContext sac(parent_); in ~GpuRng()
77 cuda::ScopedActivateExecutorContext sac(parent_); in Init()
89 cuda::ScopedActivateExecutorContext sac(parent_); in SetStream()
124 cuda::ScopedActivateExecutorContext sac(parent_); in DoPopulateRandUniformInternal()
173 cuda::ScopedActivateExecutorContext sac(parent_); in DoPopulateRandGaussianInternal()
211 cuda::ScopedActivateExecutorContext sac(parent_); in SetSeed()
/external/tensorflow/tensorflow/core/kernels/
Dcollective_nccl_reducer_test.cc218 : parent_(parent), device_name_(device_name), rank_(rank) { in DeviceInstance()
219 TF_CHECK_OK(parent_->dev_mgr_->LookupDevice(device_name_, &device_)) in DeviceInstance()
221 << parent_->dev_mgr_->DebugString(); in DeviceInstance()
222 col_params_.name = parent_->col_params_.name; in DeviceInstance()
224 col_params_.group.group_key = parent_->col_params_.group.group_key; in DeviceInstance()
225 col_params_.group.device_type = parent_->col_params_.group.device_type; in DeviceInstance()
226 col_params_.group.group_size = parent_->col_params_.group.group_size; in DeviceInstance()
276 parent_->GetCollectiveReduce(col_params_, &tensor_, device_); in DoReduce()
291 CollectiveContext col_ctx(parent_->col_exec_, parent_->dev_mgr_.get(), in DoReduce()
305 NcclReducerTest* parent_; member in tensorflow::NcclReducerTest::DeviceInstance
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_descriptor.h56 parent_(nullptr), in Loop()
175 inline Loop* GetParent() { return parent_; } in GetParent()
176 inline const Loop* GetParent() const { return parent_; } in GetParent()
178 inline bool HasParent() const { return parent_; } in HasParent()
181 inline bool IsNested() const { return parent_ != nullptr; } in IsNested()
208 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in AddBasicBlock()
217 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in RemoveBasicBlock()
297 inline void SetParent(Loop* parent) { parent_ = parent; } in SetParent()
375 Loop* parent_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.h56 parent_(nullptr), in Loop()
175 inline Loop* GetParent() { return parent_; } in GetParent()
176 inline const Loop* GetParent() const { return parent_; } in GetParent()
178 inline bool HasParent() const { return parent_; } in HasParent()
181 inline bool IsNested() const { return parent_ != nullptr; } in IsNested()
208 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in AddBasicBlock()
217 for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { in RemoveBasicBlock()
297 inline void SetParent(Loop* parent) { parent_ = parent; } in SetParent()
375 Loop* parent_; variable
/external/v8/src/compiler/
Dloop-analysis.h39 Loop* parent() const { return parent_; } in parent()
52 : parent_(nullptr), in Loop()
59 Loop* parent_; variable
78 for (Loop* c = ContainingLoop(node); c != nullptr; c = c->parent_) { in Contains()
142 child->parent_ = parent; in SetParent()

123456