/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 __anonffb6d2970111::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/libgav1/libgav1/src/ |
D | film_grain.cc | 267 : params_(params), in FilmGrain() 286 const bool use_luma = params_.num_y_points > 0; in Init() 288 GenerateLumaGrain(params_, luma_grain_); in Init() 291 if (params_.auto_regression_coeff_lag > 0) { in Init() 293 .luma_auto_regression[params_.auto_regression_coeff_lag - 1]( in Init() 294 params_, luma_grain_); in Init() 301 GenerateChromaGrains(params_, template_uv_width_, template_uv_height_, in Init() 303 if (params_.auto_regression_coeff_lag > 0 || use_luma) { in Init() 305 use_luma)][params_.auto_regression_coeff_lag]( in Init() 306 params_, luma_grain_, subsampling_x_, subsampling_y_, u_grain_, in Init() [all …]
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_model.cc | 44 BenchmarkModel::BenchmarkModel() : params_(DefaultParams()) {} in BenchmarkModel() 59 "num_runs", ¶ms_, in GetFlags() 62 "min_secs", ¶ms_, in GetFlags() 66 "max_secs", ¶ms_, in GetFlags() 71 CreateFlag<float>("run_delay", ¶ms_, "delay between runs in seconds"), in GetFlags() 72 CreateFlag<int32_t>("num_threads", ¶ms_, "number of threads"), in GetFlags() 73 CreateFlag<std::string>("benchmark_name", ¶ms_, "benchmark name"), in GetFlags() 74 CreateFlag<std::string>("output_prefix", ¶ms_, in GetFlags() 77 "warmup_runs", ¶ms_, in GetFlags() 82 "warmup_min_secs", ¶ms_, in GetFlags() [all …]
|
D | benchmark_tflite_model.cc | 297 CreateFlag<std::string>("graph", ¶ms_, "graph file name"), in GetFlags() 298 CreateFlag<std::string>("input_layer", ¶ms_, "input layer names"), in GetFlags() 299 CreateFlag<std::string>("input_layer_shape", ¶ms_, in GetFlags() 302 "input_layer_value_range", ¶ms_, in GetFlags() 307 CreateFlag<bool>("use_legacy_nnapi", ¶ms_, "use legacy nnapi api"), in GetFlags() 308 CreateFlag<bool>("allow_fp16", ¶ms_, "allow fp16"), in GetFlags() 309 CreateFlag<bool>("require_full_delegation", ¶ms_, in GetFlags() 311 CreateFlag<bool>("enable_op_profiling", ¶ms_, "enable op profiling"), in GetFlags() 312 CreateFlag<int32_t>("max_profiling_buffer_entries", ¶ms_, in GetFlags() 318 auto delegate_flags = delegate_util->CreateFlags(¶ms_); in GetFlags() [all …]
|
D | benchmark_params.h | 90 params_[name] = std::move(value); in AddParam() 94 return params_.find(name) != params_.end(); in HasParam() 97 bool Empty() const { return params_.empty(); } in Empty() 100 const auto& entry = params_.find(name); in GetParam() 101 if (entry == params_.end()) return nullptr; in GetParam() 108 params_.at(name)->AsTyped<T>()->Set(value); in Set() 114 return params_.at(name)->AsTyped<T>()->Get(); in Get() 122 std::unordered_map<std::string, std::unique_ptr<BenchmarkParam>> params_; variable
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
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 …]
|
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_enum_field.cc | 123 if (params_.generate_intdefs()) { in GenerateMembers() 128 if (params_.generate_has()) { in GenerateMembers() 139 if (params_.generate_has()) { in GenerateClearCode() 153 if (params_.generate_has()) { in GenerateMergingCode() 167 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode() 172 if (params_.generate_has()) { in GenerateSerializationCode() 187 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode() 192 if (params_.generate_has()) { in GenerateSerializedSizeCode() 207 if (params_.use_reference_types_for_primitives() in GenerateEqualsCode() 208 && !params_.reftypes_primitive_enums()) { in GenerateEqualsCode() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | dataset.h | 388 explicit IteratorContext(IteratorContext* ctx) : params_(Params{ctx}) {} in IteratorContext() 390 explicit IteratorContext(OpKernelContext* ctx) : params_(Params{ctx}) {} in IteratorContext() 392 explicit IteratorContext(Params params) : params_(std::move(params)) {} in IteratorContext() 395 return params_.allocator_getter(attrs); in allocator() 399 return params_.allocator_getter; in allocator_getter() 403 return params_.cancellation_manager; in cancellation_manager() 406 Env* env() const { return params_.env; } in env() 408 FunctionLibraryRuntime* flr() { return params_.flr; } in flr() 411 return params_.function_handle_cache; in function_handle_cache() 414 ResourceMgr* resource_mgr() { return params_.resource_mgr; } in resource_mgr() [all …]
|
D | op_kernel.cc | 317 : params_(params), outputs_(num_outputs) { in OpKernelContext() 318 if (params_->record_tensor_accesses || params_->track_allocations) { in OpKernelContext() 322 params_->ensure_eigen_gpu_device(); in OpKernelContext() 323 if (params_->eigen_gpu_device != nullptr) { in OpKernelContext() 325 Status s = params_->device->ReinitializeGpuDevice( in OpKernelContext() 326 this, params_->eigen_gpu_device, params_->op_device_context, in OpKernelContext() 340 if (params_->track_allocations && in ~OpKernelContext() 353 allocator = params_->device->GetScopedAllocator(attr, step_id()); in get_allocator() 356 allocator = params_->device->GetAllocator(attr); in get_allocator() 367 new TrackingAllocator(allocator, params_->track_allocations); in get_allocator() [all …]
|
D | op_kernel.h | 742 Env* env() const { return params_->device->env(); } in env() 744 int64 step_id() const { return params_->step_id; } in step_id() 746 bool is_eager() const { return params_->is_eager; } in is_eager() 748 const OpKernel& op_kernel() const { return *params_->op_kernel; } in op_kernel() 752 int num_inputs() const { return params_->inputs->size(); } in num_inputs() 851 GraphCollector* graph_collector() { return params_->graph_collector; } in graph_collector() 1074 DeviceContext* ret = params_->op_device_context; in op_device_context() 1083 if (params_->input_alloc_attrs == nullptr) { in input_alloc_attr() 1087 DCHECK_LT(index, params_->input_alloc_attrs->size()); in input_alloc_attr() 1088 return (*params_->input_alloc_attrs)[index]; in input_alloc_attr() [all …]
|
/external/flatbuffers/src/ |
D | flatc.cpp | 51 params_.warn_fn(this, warn, show_exe_name); in Warn() 56 params_.error_fn(this, err, usage, show_exe_name); in Error() 62 for (size_t i = 0; i < params_.num_generators; ++i) { in GetUsageString() 63 const Generator &g = params_.generators[i]; in GetUsageString() 161 if (params_.generators == nullptr || params_.num_generators == 0) { in Compile() 177 std::vector<bool> generator_enabled(params_.num_generators, false); in Compile() 319 for (size_t i = 0; i < params_.num_generators; ++i) { in Compile() 320 if (arg == params_.generators[i].generator_opt_long || in Compile() 321 (params_.generators[i].generator_opt_short && in Compile() 322 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/libaom/libaom/test/ |
D | sum_squares_test.cc | 49 params_ = this->GetParam(); in SetUp() 84 TestFuncs params_; member in __anon9dfbf25c0111::SumSquaresTest 103 const uint64_t res_ref = params_.ref_func(src_, stride, width, height); in RunTest() 106 params_.tst_func(src_, stride, width, height)); in RunTest() 131 params_.ref_func(src_, stride, width, height); in RunSpeedTest() 141 params_.tst_func(src_, stride, width, height); in RunSpeedTest() 198 const uint64_t ref_res = params_.ref_func(src, N); in TEST_P() 200 ASM_REGISTER_STATE_CHECK(tst_res = params_.tst_func(src, N)); in TEST_P() 219 const uint64_t ref_res = params_.ref_func(src, N); in TEST_P() 221 ASM_REGISTER_STATE_CHECK(tst_res = params_.tst_func(src, N)); in TEST_P() [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::__anondc12ad2e0111::ChannelSteadyPingPongListener 283 params_ = params; in RunPingPongServer() 299 cpu_logger_ = std::make_unique<PerfCpuLogger>(GetLogTitle(label_, params_)); in OnHello() [all …]
|
/external/angle/third_party/spirv-tools/src/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/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
|