Searched refs:value_or_default (Results 1 – 11 of 11) sorted by relevance
36 << ", target=" << sdk.target_sdk_version.value_or_default(-1) in PrintTo()37 << ", max=" << sdk.max_sdk_version.value_or_default(-1); in PrintTo()
293 const ResourceId id(package->id.value_or_default(0), type->id.value_or_default(0), in PrintTable()294 entry->id.value_or_default(0)); in PrintTable()485 attr.compiled_attribute.value().id.value_or_default(ResourceId(0)).to_string()); in Visit()
119 const ResourceId resid = id.value_or_default(ResourceId(0)); in Flatten()1103 int cmp = a.name.value_or_default({}).compare(b.name.value_or_default({})); in operator <()
1359 attr->min_int = maybe_min.value_or_default(std::numeric_limits<int32_t>::min()); in ParseAttrImpl()1360 attr->max_int = maybe_max.value_or_default(std::numeric_limits<int32_t>::max()); in ParseAttrImpl()
92 T value_or_default(const T& def) const;262 T Maybe<T>::value_or_default(const T& def) const { in value_or_default() function
219 const ResourceId lhs_id = lhs.attr_ref->id.value_or_default(ResourceId(0)); in operator <()220 const ResourceId rhs_id = rhs.attr_ref->id.value_or_default(ResourceId(0)); in operator <()344 const ResourceId id = sorted_attributes[i].attr_ref->id.value_or_default(ResourceId(0)); in ProcessStyleable()
400 pb_ref->set_id(ref.id.value_or_default(ResourceId(0x0)).id); in SerializeReferenceToPb()682 const ResourceId attr_id = attr.compiled_attribute.value().id.value_or_default({}); in SerializeXmlToPb()688 pb_src->set_line_number(attr.compiled_value->GetSource().line.value_or_default(0)); in SerializeXmlToPb()
372 context->SetMinSdkVersion(out_options->app_info.min_sdk_version.value_or_default(0)); in ExtractAppDataFromManifest()
1235 options_.custom_java_package.value_or_default(context_->GetCompilationPackage()); in WriteManifestJavaFile()1627 app_info_.split_name.value_or_default("feature").c_str()); in WriteApk()1699 context_->SetMinSdkVersion(app_info_.min_sdk_version.value_or_default(0)); in Run()
128 if (!ResourceUtils::ParseBool(attr->value).value_or_default(false)) { in AutoGenerateIsFeatureSplit()
320 ResourceId id(package->id.value_or_default(0x0), type_spec->id, static_cast<size_t>(i)); in ParseTypeSpec()