/external/tensorflow/tensorflow/c/ |
D | while_loop_test.cc | 49 params_.reset(new TF_WhileParams( in Init() 55 params_->name = "test_loop"; in Init() 62 TF_FinishWhile(params_.get(), s_, &outputs_[0]); in ExpectOK() 67 TF_FinishWhile(params_.get(), s_, &outputs_[0]); in ExpectError() 108 TF_Operation* one = ScalarConst(1, params_->cond_graph, s_); in CreateCondGraph() 110 LessThan(params_->cond_inputs[0], {one, 0}, params_->cond_graph, s_); in CreateCondGraph() 112 params_->cond_output = {less_than, 0}; in CreateCondGraph() 130 std::unique_ptr<TF_WhileParams> params_; member in __anonfc0664950111::CApiWhileLoopTest 142 EXPECT_TRUE(params_->body_graph != nullptr); in TEST_F() 143 EXPECT_TRUE(params_->cond_graph != nullptr); in TEST_F() [all …]
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | camera.cc | 98 params_ = std::move(params); in Camera() 109 if (params_->image) { in GetNamespaces() 110 params_->image->GetNamespaces(ns_name_href_map); in GetNamespaces() 112 if (params_->light_estimate) { in GetNamespaces() 113 params_->light_estimate->GetNamespaces(ns_name_href_map); in GetNamespaces() 115 if (params_->pose) { in GetNamespaces() 116 params_->pose->GetNamespaces(ns_name_href_map); in GetNamespaces() 118 if (params_->depth_map) { in GetNamespaces() 119 params_->depth_map->GetNamespaces(ns_name_href_map); in GetNamespaces() 121 if (params_->imaging_model) { in GetNamespaces() [all …]
|
D | device.cc | 91 params_ = std::move(params); in Device() 132 const Cameras* Device::GetCameras() const { return params_->cameras.get(); } in GetCameras() 135 return params_->container.get(); in GetContainer() 139 return params_->earth_pose.get(); in GetEarthPose() 142 const Pose* Device::GetPose() const { return params_->pose.get(); } in GetPose() 144 const Planes* Device::GetPlanes() const { return params_->planes.get(); } in GetPlanes() 146 const Profiles* Device::GetProfiles() const { return params_->profiles.get(); } in GetProfiles() 149 return params_->vendor_info.get(); in GetVendorInfo() 152 const AppInfo* Device::GetAppInfo() const { return params_->app_info.get(); } in GetAppInfo() 184 if (params_->cameras == nullptr) { in Serialize() [all …]
|
D | depth_map.cc | 146 DepthMap::DepthMap(const DepthMapParams& params) : params_(params) {} in DepthMap() 260 depth_map->params_.confidence_uri = ""; in FromData() 279 DepthFormat DepthMap::GetFormat() const { return params_.format; } in GetFormat() 280 float DepthMap::GetNear() const { return params_.near; } in GetNear() 281 float DepthMap::GetFar() const { return params_.far; } in GetFar() 282 DepthUnits DepthMap::GetUnits() const { return params_.units; } in GetUnits() 283 const string DepthMap::GetDepthUri() const { return params_.depth_uri; } in GetDepthUri() 285 return params_.item_semantic; in GetItemSemantic() 288 return params_.confidence_uri; in GetConfidenceUri() 292 return params_.measure_type; in GetMeasureType() [all …]
|
D | imaging_model.cc | 94 : params_(params) {} in ImagingModel() 133 return params_.focal_length; in GetFocalLength() 137 return params_.principal_point; in GetPrincipalPoint() 140 Dimension ImagingModel::GetImageSize() const { return params_.image_size; } in GetImageSize() 142 double ImagingModel::GetSkew() const { return params_.skew; } in GetSkew() 145 return params_.pixel_aspect_ratio; in GetPixelAspectRatio() 149 return params_.distortion; in GetDistortion() 153 return static_cast<int>(floor(params_.distortion.size() / 2)); in GetDistortionCount() 165 std::to_string(params_.focal_length.x)) || in Serialize() 168 std::to_string(params_.focal_length.y)) || in Serialize() [all …]
|
D | item.cc | 22 Item::Item(const ItemParams& params) : params_(params) {} in Item() 103 const string& Item::GetMime() const { return params_.mime; } in GetMime() 104 unsigned int Item::GetLength() const { return params_.length; } in GetLength() 105 const string& Item::GetDataUri() const { return params_.data_uri; } in GetDataUri() 106 unsigned int Item::GetPadding() const { return params_.padding; } in GetPadding() 108 return params_.payload_to_serialize; in GetPayloadToSerialize() 120 params_.mime) && in Serialize() 122 std::to_string(params_.length)); in Serialize() 123 if (!params_.data_uri.empty()) { in Serialize() 125 params_.data_uri); in Serialize() [all …]
|
/external/webrtc/webrtc/video/ |
D | video_quality_test.cc | 612 ss << params_.common.codec; in GenerateGraphTitle() 613 ss << " (" << params_.common.target_bitrate_bps / 1000 << "kbps"; in GenerateGraphTitle() 614 ss << ", " << params_.common.fps << " FPS"; in GenerateGraphTitle() 615 if (params_.screenshare.scroll_duration) in GenerateGraphTitle() 616 ss << ", " << params_.screenshare.scroll_duration << "s scroll"; in GenerateGraphTitle() 617 if (params_.ss.streams.size() > 1) in GenerateGraphTitle() 618 ss << ", Stream #" << params_.ss.selected_stream; in GenerateGraphTitle() 619 if (params_.ss.num_spatial_layers > 1) in GenerateGraphTitle() 620 ss << ", Layer #" << params_.ss.selected_sl; in GenerateGraphTitle() 627 if (params_.ss.streams.empty()) in CheckParams() [all …]
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_model.cc | 55 BenchmarkModel::BenchmarkModel() : params_(DefaultParams()) {} in BenchmarkModel() 69 CreateFlag<int32_t>("num_runs", ¶ms_, in GetFlags() 72 "min_secs", ¶ms_, in GetFlags() 75 CreateFlag<float>("run_delay", ¶ms_, "delay between runs in seconds"), in GetFlags() 76 CreateFlag<int32_t>("num_threads", ¶ms_, "number of threads"), in GetFlags() 77 CreateFlag<std::string>("benchmark_name", ¶ms_, "benchmark name"), in GetFlags() 78 CreateFlag<std::string>("output_prefix", ¶ms_, in GetFlags() 81 "warmup_runs", ¶ms_, in GetFlags() 86 "warmup_min_secs", ¶ms_, in GetFlags() 93 TFLITE_LOG(INFO) << "Min num runs: [" << params_.Get<int32_t>("num_runs") in LogParams() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum_field.cc | 123 if (params_.generate_intdefs()) { in GenerateMembers() 128 if (params_.generate_has()) { in GenerateMembers() 139 if (params_.generate_has()) { in GenerateClearCode() 147 if (params_.store_unknown_fields()) { in GenerateMergingCode() 156 if (params_.generate_has()) { in GenerateMergingCode() 162 if (params_.store_unknown_fields()) { in GenerateMergingCode() 179 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode() 184 if (params_.generate_has()) { in GenerateSerializationCode() 199 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode() 204 if (params_.generate_has()) { in GenerateSerializedSizeCode() [all …]
|
D | javanano_file.cc | 90 params_(params), in FileGenerator() 100 if (UsesExtensions(file_proto) && !params_.store_unknown_fields()) { in Validate() 108 if (file_->service_count() != 0 && !params_.ignore_services()) { in Validate() 115 if (!IsOuterClassNeeded(params_, file_)) { in Validate() 120 if (!params_.has_java_outer_classname(file_->name()) in Validate() 141 if (params_.java_enum_style()) { in Validate() 188 ExtensionGenerator(file_->extension(i), params_).Generate(printer); in Generate() 193 EnumGenerator(file_->enum_type(i), params_).Generate(printer); in Generate() 197 if (!params_.java_multiple_files(file_->name())) { in Generate() 199 MessageGenerator(file_->message_type(i), params_).Generate(printer); in Generate() [all …]
|
D | javanano_message.cc | 82 : params_(params), in MessageGenerator() 94 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariables() 105 MessageGenerator(descriptor_->nested_type(i), params_) in GenerateStaticVariableInitializers() 111 if (!params_.store_unknown_fields() && in Generate() 119 params_.java_multiple_files(file_name) in Generate() 137 if (params_.store_unknown_fields() && params_.parcelable_messages()) { in Generate() 141 } else if (params_.store_unknown_fields()) { in Generate() 145 } else if (params_.parcelable_messages()) { in Generate() 152 if (params_.generate_clone()) { in Generate() 159 if (params_.parcelable_messages()) { in Generate() [all …]
|
/external/epid-sdk/epid/common-testhelper/ |
D | epid2params_wrapper-testhelper.cc | 29 Epid2ParamsObj::Epid2ParamsObj() : params_(nullptr) { in Epid2ParamsObj() 31 sts = CreateEpid2Params(¶ms_); in Epid2ParamsObj() 39 Epid2ParamsObj::~Epid2ParamsObj() { DeleteEpid2Params(¶ms_); } in ~Epid2ParamsObj() 41 Epid2Params_* Epid2ParamsObj::ctx() const { return params_; } in ctx() 43 Epid2ParamsObj::operator Epid2Params_*() const { return params_; } in operator Epid2Params_*() 45 Epid2ParamsObj::operator const Epid2Params_*() const { return params_; } in operator const Epid2Params_*() 47 FiniteField* Epid2ParamsObj::Fp() const { return params_->Fp; } in Fp() 49 EcGroup* Epid2ParamsObj::G1() const { return params_->G1; } in G1()
|
/external/tensorflow/tensorflow/core/framework/ |
D | dataset.h | 350 explicit IteratorContext(IteratorContext* ctx) : params_(Params{ctx}) {} in IteratorContext() 352 explicit IteratorContext(OpKernelContext* ctx) : params_(Params{ctx}) {} in IteratorContext() 354 explicit IteratorContext(Params params) : params_(std::move(params)) {} in IteratorContext() 357 return params_.allocator_getter(attrs); in allocator() 361 return params_.allocator_getter; in allocator_getter() 364 Env* env() const { return params_.env; } in env() 367 return params_.function_library; in function_library() 370 FunctionLibraryRuntime* lib() { return params_.lib; } in lib() 373 return params_.function_handle_cache; in function_handle_cache() 376 ResourceMgr* resource_mgr() { return params_.resource_mgr; } in resource_mgr() [all …]
|
D | op_kernel.cc | 282 : params_(params), in OpKernelContext() 286 params_->ensure_eigen_gpu_device(); in OpKernelContext() 287 if (params_->eigen_gpu_device != nullptr) { in OpKernelContext() 289 Status s = params_->device->ReinitializeGpuDevice( in OpKernelContext() 290 this, params_->eigen_gpu_device, params_->op_device_context, in OpKernelContext() 296 if (params_->record_tensor_accesses) { in OpKernelContext() 307 if (params_->record_tensor_accesses) referenced_tensors_.Destroy(); in ~OpKernelContext() 308 if (params_->track_allocations && !wrapped_allocators_.empty()) { in ~OpKernelContext() 320 allocator = params_->device->GetScopedAllocator(attr, step_id()); in get_allocator() 323 allocator = params_->device->GetAllocator(attr); in get_allocator() [all …]
|
D | op_kernel.h | 691 Env* env() const { return params_->device->env(); } in env() 693 int64 step_id() const { return params_->step_id; } in step_id() 695 const OpKernel& op_kernel() const { return *params_->op_kernel; } in op_kernel() 699 int num_inputs() const { return params_->inputs->size(); } in num_inputs() 798 GraphCollector* graph_collector() { return params_->graph_collector; } in graph_collector() 1033 DeviceContext* ret = params_->op_device_context; in op_device_context() 1042 if (params_->input_alloc_attrs == nullptr) { in input_alloc_attr() 1046 DCHECK_LT(index, params_->input_alloc_attrs->size()); in input_alloc_attr() 1047 return (*params_->input_alloc_attrs)[index]; in input_alloc_attr() 1052 return params_->output_attr_array[index]; in output_alloc_attr() [all …]
|
/external/flatbuffers/src/ |
D | flatc.cpp | 49 params_.warn_fn(this, warn, show_exe_name); in Warn() 54 params_.error_fn(this, err, usage, show_exe_name); in Error() 60 for (size_t i = 0; i < params_.num_generators; ++i) { in GetUsageString() 61 const Generator &g = params_.generators[i]; in GetUsageString() 155 if (params_.generators == nullptr || params_.num_generators == 0) { in Compile() 171 std::vector<bool> generator_enabled(params_.num_generators, false); in Compile() 311 for (size_t i = 0; i < params_.num_generators; ++i) { in Compile() 312 if (arg == params_.generators[i].generator_opt_long || in Compile() 313 (params_.generators[i].generator_opt_short && in Compile() 314 arg == params_.generators[i].generator_opt_short)) { in Compile() [all …]
|
/external/webrtc/webrtc/base/ |
D | sslidentity.cc | 41 params_.curve = EC_NIST_P256; in KeyParams() 44 params_.rsa.mod_size = kRsaDefaultModSize; in KeyParams() 45 params_.rsa.pub_exp = kRsaDefaultExponent; in KeyParams() 54 kt.params_.rsa.mod_size = mod_size; in RSA() 55 kt.params_.rsa.pub_exp = pub_exp; in RSA() 62 kt.params_.curve = curve; in ECDSA() 68 return (params_.rsa.mod_size >= kRsaMinModSize && in IsValid() 69 params_.rsa.mod_size <= kRsaMaxModSize && in IsValid() 70 params_.rsa.pub_exp > params_.rsa.mod_size); in IsValid() 72 return (params_.curve == EC_NIST_P256); in IsValid() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_primitive_field.cc | 231 if (IsFastStringHandling(descriptor_, params_)) { in GenerateMembers() 291 if (IsFastStringHandling(descriptor_, params_)) { in GenerateSerializationCode() 306 if (IsFastStringHandling(descriptor_, params_)) { in GenerateSerializedSizeCode() 345 if (IsFastStringHandling(descriptor_, params_)) { in GenerateMembers() 346 if (params_.java_use_vector()) { in GenerateMembers() 407 } else if (params_.java_use_vector()) { in GenerateMembers() 494 if (params_.java_use_vector()) { in GenerateMergingCode() 536 if (params_.java_use_vector()) { in GenerateSerializationCode() 548 if (params_.java_use_vector()) { in GenerateSerializationCode() 549 if (IsFastStringHandling(descriptor_, params_)) { in GenerateSerializationCode() [all …]
|
/external/libchrome/ipc/ |
D | ipc_cpu_perftest.cc | 109 params_ = params; in SetTestParams() 129 cpu_logger_ = std::make_unique<PerfCpuLogger>(GetLogTitle(label_, params_)); in OnHello() 131 frame_count_down_ = params_.frames_per_second * params_.duration_in_seconds; in OnHello() 133 timer_.Start(FROM_HERE, GetFrameTime(params_.frames_per_second), this, in OnHello() 140 for (count_down_ = params_.messages_per_frame; count_down_ > 0; in StartPingPong() 148 GetFrameTime(params_.frames_per_second)) { in StartPingPong() 164 count_down_ = params_.messages_per_frame; in StartPingPong() 194 TestParams params_; member in IPC::__anona349996c0111::ChannelSteadyPingPongListener 283 params_ = params; in RunPingPongServer() 299 cpu_logger_ = std::make_unique<PerfCpuLogger>(GetLogTitle(label_, params_)); in OnHello() [all …]
|
/external/libaom/libaom/test/ |
D | variance_test.cc | 413 params_ = this->GetParam(); in SetUp() 466 TestParams<FunctionType> params_; member in __anondaf906eb0111::MainTestClass 469 bool use_high_bit_depth() const { return params_.use_high_bit_depth; } in use_high_bit_depth() 470 int byte_shift() const { return params_.bit_depth - 8; } in byte_shift() 471 int block_size() const { return params_.block_size; } in block_size() 472 int width() const { return params_.width; } in width() 473 int height() const { return params_.height; } in height() 474 uint32_t mask() const { return params_.mask; } in mask() 498 var = params_.func(src_, width(), ref_, width(), &sse)); in ZeroTest() 519 var1 = params_.func(src_, stride, ref_, stride, &sse1)); in RefTest() [all …]
|
D | sum_squares_test.cc | 48 params_ = this->GetParam(); in SetUp() 83 TestFuncs params_; member in __anon6906355a0111::SumSquaresTest 102 const uint64_t res_ref = params_.ref_func(src_, stride, width, height); in RunTest() 105 params_.tst_func(src_, stride, width, height)); in RunTest() 130 params_.ref_func(src_, stride, width, height); in RunSpeedTest() 140 params_.tst_func(src_, stride, width, height); in RunSpeedTest() 197 const uint64_t ref_res = params_.ref_func(src, N); in TEST_P() 199 ASM_REGISTER_STATE_CHECK(tst_res = params_.tst_func(src, N)); in TEST_P() 218 const uint64_t ref_res = params_.ref_func(src, N); in TEST_P() 220 ASM_REGISTER_STATE_CHECK(tst_res = params_.tst_func(src, N)); in TEST_P() [all …]
|
D | intrapred_test.cc | 72 const int block_width = params_.block_width; in RunTest() 73 const int block_height = params_.block_height; in RunTest() 103 params_ = this->GetParam(); in SetUp() 104 stride_ = params_.block_width * 3; in SetUp() 105 mask_ = (1 << params_.bit_depth) - 1; in SetUp() 112 const int block_width = params_.block_width; in CheckPrediction() 113 const int block_height = params_.block_height; in CheckPrediction() 133 IntraPredFunc<FuncType> params_; member in __anon38ff106b0211::AV1IntraPredTest 139 const int bit_depth = params_.bit_depth; in Predict() 140 params_.ref_fn(ref_dst_, stride_, above_row_, left_col_, bit_depth); in Predict() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | decoration.h | 64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_() 69 std::vector<uint32_t>& params() { return params_; } in params() 70 const std::vector<uint32_t>& params() const { return params_; } in params() 73 return (dec_type_ == rhs.dec_type_ && params_ == rhs.params_ && 79 std::vector<uint32_t> params_; variable
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | decoration.h | 64 : dec_type_(t), params_(parameters), struct_member_index_(member_index) {} in dec_type_() 69 std::vector<uint32_t>& params() { return params_; } in params() 70 const std::vector<uint32_t>& params() const { return params_; } in params() 73 return (dec_type_ == rhs.dec_type_ && params_ == rhs.params_ && 79 std::vector<uint32_t> params_; variable
|
/external/tensorflow/tensorflow/core/kernels/ |
D | ops_testutil.h | 84 params_.reset(nullptr); in ~OpsTestBase() 167 params_.reset(new OpKernelContext::Params); in RunOpKernel() 168 params_.get()->device = device_.get(); in RunOpKernel() 169 params_.get()->frame_iter = FrameAndIter(0, 0); in RunOpKernel() 170 params_.get()->inputs = &inputs_; in RunOpKernel() 171 params_.get()->op_kernel = kernel_.get(); in RunOpKernel() 173 params_->step_container = step_container_.get(); in RunOpKernel() 175 test::SetOutputAttrs(params_.get(), &attrs); in RunOpKernel() 177 params_.get()->slice_reader_cache = &slice_reader_cache_wrapper; in RunOpKernel() 178 params_.get()->resource_manager = device_.get()->resource_manager(); in RunOpKernel() [all …]
|