Home
last modified time | relevance | path

Searched refs:GetAttribute (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/extensions/common/
Dupdate_manifest.cc73 static std::string GetAttribute(xmlNode* node, const char* attribute_name) { in GetAttribute() function
132 result->extension_id = GetAttribute(app_node, "appid"); in ParseSingleAppTag()
151 if (GetAttribute(updatecheck, "status") == "noupdate") { in ParseSingleAppTag()
156 result->crx_url = GURL(GetAttribute(updatecheck, "codebase")); in ParseSingleAppTag()
165 result->version = GetAttribute(updatecheck, "version"); in ParseSingleAppTag()
179 result->browser_min_version = GetAttribute(updatecheck, "prodversionmin"); in ParseSingleAppTag()
192 result->package_hash = GetAttribute(updatecheck, "hash"); in ParseSingleAppTag()
195 if (base::StringToInt(GetAttribute(updatecheck, "size"), &size)) { in ParseSingleAppTag()
201 result->package_fingerprint = GetAttribute(updatecheck, "fp"); in ParseSingleAppTag()
204 result->diff_crx_url = GURL(GetAttribute(updatecheck, "codebasediff")); in ParseSingleAppTag()
[all …]
/external/chromium_org/components/component_updater/
Dupdate_response.cc68 static std::string GetAttribute(xmlNode* node, const char* attribute_name) { in GetAttribute() function
110 p.name = GetAttribute(package, "name"); in ParsePackageTag()
116 p.namediff = GetAttribute(package, "namediff"); in ParsePackageTag()
120 p.fingerprint = GetAttribute(package, "fp"); in ParsePackageTag()
122 p.hash_sha256 = GetAttribute(package, "hash_sha256"); in ParsePackageTag()
124 if (base::StringToInt(GetAttribute(package, "size"), &size)) { in ParsePackageTag()
128 p.hashdiff_sha256 = GetAttribute(package, "hashdiff_sha256"); in ParsePackageTag()
130 if (base::StringToInt(GetAttribute(package, "sizediff"), &sizediff)) { in ParsePackageTag()
144 result->manifest.version = GetAttribute(manifest, "version"); in ParseManifestTag()
159 GetAttribute(manifest, "prodversionmin"); in ParseManifestTag()
[all …]
/external/chromium_org/third_party/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc86 const TiXmlAttribute* num_cmaps_attr = GetAttribute(cmap_table->at(0), in TEST_P()
93 int32_t platform_id = GetAttribute(*it, "platform_id")->IntValue(); in TEST_P()
94 int32_t encoding_id = GetAttribute(*it, "encoding_id")->IntValue(); in TEST_P()
99 GetAttribute(*it, "format")->IntValue()); in TEST_P()
109 sscanf_s(GetAttribute(*jt, "char")->Value(), "%x", &character); in TEST_P()
111 sscanf(GetAttribute(*jt, "char")->Value(), "%x", &character); in TEST_P()
113 int32_t glyph_id = GetAttribute(*jt, "gid")->IntValue(); in TEST_P()
/external/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc86 const TiXmlAttribute* num_cmaps_attr = GetAttribute(cmap_table->at(0), in TEST_P()
93 int32_t platform_id = GetAttribute(*it, "platform_id")->IntValue(); in TEST_P()
94 int32_t encoding_id = GetAttribute(*it, "encoding_id")->IntValue(); in TEST_P()
99 GetAttribute(*it, "format")->IntValue()); in TEST_P()
109 sscanf_s(GetAttribute(*jt, "char")->Value(), "%x", &character); in TEST_P()
111 sscanf(GetAttribute(*jt, "char")->Value(), "%x", &character); in TEST_P()
113 int32_t glyph_id = GetAttribute(*jt, "gid")->IntValue(); in TEST_P()
/external/chromium_org/chrome/utility/importer/
Dbookmark_html_reader.cc26 bool GetAttribute(const std::string& attribute_list, in GetAttribute() function
287 if (GetAttribute(attribute_list, kAddDateAttribute, &value)) { in ParseFolderNameFromLine()
295 if (GetAttribute(attribute_list, kToolbarFolderAttribute, &value) && in ParseFolderNameFromLine()
343 if (GetAttribute(attribute_list, kFeedURLAttribute, &value)) in ParseBookmarkFromLine()
352 if (GetAttribute(attribute_list, kHrefAttribute, &value)) { in ParseBookmarkFromLine()
362 if (GetAttribute(attribute_list, kIconAttribute, &value)) in ParseBookmarkFromLine()
366 if (GetAttribute(attribute_list, kShortcutURLAttribute, &value)) { in ParseBookmarkFromLine()
373 if (GetAttribute(attribute_list, kAddDateAttribute, &value)) { in ParseBookmarkFromLine()
382 if (GetAttribute(attribute_list, kPostDataAttribute, &value)) { in ParseBookmarkFromLine()
423 if (GetAttribute(attribute_list, kHrefAttributeUpper, &value) || in ParseMinimumBookmarkFromLine()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dstun.cc112 GetAttribute(STUN_ATTR_MAPPED_ADDRESS); in GetAddress()
114 mapped_address = GetAttribute(STUN_ATTR_XOR_MAPPED_ADDRESS); in GetAddress()
119 return static_cast<const StunAddressAttribute*>(GetAttribute(type)); in GetAddress()
124 return static_cast<const StunUInt32Attribute*>(GetAttribute(type)); in GetUInt32()
128 return static_cast<const StunUInt64Attribute*>(GetAttribute(type)); in GetUInt64()
132 return static_cast<const StunByteStringAttribute*>(GetAttribute(type)); in GetByteString()
137 GetAttribute(STUN_ATTR_ERROR_CODE)); in GetErrorCode()
142 GetAttribute(STUN_ATTR_UNKNOWN_ATTRIBUTES)); in GetUnknownAttributes()
418 const StunAttribute* StunMessage::GetAttribute(int type) const { in GetAttribute() function in cricket::StunMessage
Dstun.h214 const StunAttribute* GetAttribute(int type) const;
/external/chromium_org/third_party/sfntly/cpp/src/test/
Dtest_xml_utils.h29 const TiXmlAttribute* GetAttribute(const TiXmlNode* node,
Dtest_xml_utils.cc40 const TiXmlAttribute* GetAttribute(const TiXmlNode* node, in GetAttribute() function
/external/sfntly/cpp/src/test/
Dtest_xml_utils.h29 const TiXmlAttribute* GetAttribute(const TiXmlNode* node,
Dtest_xml_utils.cc40 const TiXmlAttribute* GetAttribute(const TiXmlNode* node, in GetAttribute() function