Lines Matching refs:Maybe

38 Maybe<uint16_t> ParseTargetDensityParameter(const StringPiece& arg, IDiagnostics* diag) {  in ParseTargetDensityParameter()
248 static Maybe<std::string> ExtractCompiledString(const xml::Attribute& attr, in ExtractCompiledString()
272 static Maybe<uint32_t> ExtractCompiledInt(const xml::Attribute& attr, std::string* out_error) { in ExtractCompiledInt()
286 Maybe<uint32_t> integer = ResourceUtils::ParseInt(attr.value); in ExtractCompiledInt()
296 static Maybe<int> ExtractSdkVersion(const xml::Attribute& attr, std::string* out_error) { in ExtractSdkVersion()
310 Maybe<int> sdk_version = ResourceUtils::ParseSdkVersion(*compiled_str->value); in ExtractSdkVersion()
323 Maybe<int> sdk_version = ResourceUtils::ParseSdkVersion(attr.value); in ExtractSdkVersion()
333 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(const xml::XmlResource& xml_res, in ExtractAppInfoFromBinaryManifest()
355 Maybe<std::string> maybe_package = ExtractCompiledString(*package_attr, &error_msg); in ExtractAppInfoFromBinaryManifest()
365 Maybe<uint32_t> maybe_code = ExtractCompiledInt(*version_code_attr, &error_msg); in ExtractAppInfoFromBinaryManifest()
376 Maybe<uint32_t> maybe_code = ExtractCompiledInt(*version_code_major_attr, &error_msg); in ExtractAppInfoFromBinaryManifest()
387 Maybe<uint32_t> maybe_code = ExtractCompiledInt(*revision_code_attr, &error_msg); in ExtractAppInfoFromBinaryManifest()
397 Maybe<std::string> maybe_split_name = ExtractCompiledString(*split_name_attr, &error_msg); in ExtractAppInfoFromBinaryManifest()
409 Maybe<int> maybe_sdk = ExtractSdkVersion(*min_sdk, &error_msg); in ExtractAppInfoFromBinaryManifest()