Searched defs:parsed (Results 1 - 25 of 116) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/platform/
H A DLinkHash.cpp44 url::Parsed parsed; local
48 return url::ResolveRelative(baseUTF8.data(), baseUTF8.length(), base.parsed(), relativeUTF8.data(), relativeUTF8.length(), 0, buffer, &parsed);
50 return url::ResolveRelative(baseUTF8.data(), baseUTF8.length(), base.parsed(), relative.characters16(), relative.length(), 0, buffer, &parsed);
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructsAction.cpp26 bool parsed = true; local
28 for (size_t i = 0; i < args.size() && parsed; ++i) {
40 parsed = false;
45 return parsed;
/external/oprofile/libop/tests/
H A Dparse_event_tests.c33 struct parsed_event parsed; local
35 parse_events(&parsed, 1, ev->tests);
37 if (strcmp(ev->expected.name, parsed.name) ||
38 ev->expected.count != parsed.count ||
39 ev->expected.unit_mask != parsed.unit_mask ||
40 ev->expected.kernel != parsed.kernel ||
41 ev->expected.user != parsed.user) {
46 ev->expected.user, parsed.name, parsed.count,
47 parsed
[all...]
/external/oprofile/libpp/
H A Dfilename_spec.cpp62 parsed_filename parsed = parse_filename(filename, extra); local
64 image = parsed.image;
65 lib_image = parsed.lib_image;
66 cg_image = parsed.cg_image;
67 event = parsed.event;
68 count = op_lexical_cast<int>(parsed.count);
69 unitmask = op_lexical_cast<unsigned int>(parsed.unitmask);
70 tgid.set(parsed.tgid);
71 tid.set(parsed.tid);
72 cpu.set(parsed
[all...]
/external/chromium_org/chrome/common/favicon/
H A Dfavicon_url_parser.cc37 ParsedFaviconPath* parsed) {
38 parsed->is_icon_url = false;
39 parsed->url = "";
40 parsed->size_in_dip = gfx::kFaviconSize;
41 parsed->device_scale_factor = 1.0f;
42 parsed->path_index = std::string::npos;
50 parsed->size_in_dip = 0;
71 if (!base::StringToInt(size_str, &parsed->size_in_dip))
74 if (parsed->size_in_dip != (gfx::kFaviconSize * 4) &&
75 parsed
35 ParseFaviconPath(const std::string& path, int icon_types, ParsedFaviconPath* parsed) argument
[all...]
H A Dfavicon_url_parser_unittest.cc39 chrome::ParsedFaviconPath parsed; local
42 EXPECT_TRUE(chrome::ParseFaviconPath(path1, icon_types, &parsed));
43 EXPECT_FALSE(parsed.is_icon_url);
44 EXPECT_EQ(url, parsed.url);
45 EXPECT_EQ(16, parsed.size_in_dip);
46 EXPECT_EQ(1.0f, parsed.device_scale_factor);
53 chrome::ParsedFaviconPath parsed; local
57 EXPECT_TRUE(chrome::ParseFaviconPath(path2, icon_types, &parsed));
58 EXPECT_FALSE(parsed.is_icon_url);
59 EXPECT_EQ(url, parsed
101 chrome::ParsedFaviconPath parsed; local
115 chrome::ParsedFaviconPath parsed; local
129 chrome::ParsedFaviconPath parsed; local
151 chrome::ParsedFaviconPath parsed; local
[all...]
/external/chromium_org/content/browser/
H A Dhistogram_internals_request_job.cc21 const url::Parsed& parsed = request->url().parsed_for_possibly_invalid_spec(); local
23 int offset = parsed.CountCharactersBefore(url::Parsed::PATH, false) + 1;
/external/chromium_org/net/cert/
H A Dct_serialization_unittest.cc33 ct::DigitallySigned parsed; local
35 ASSERT_TRUE(ct::DecodeDigitallySigned(&digitally_signed, &parsed));
38 parsed.hash_algorithm);
42 parsed.signature_algorithm);
51 parsed.signature_data);
59 ct::DigitallySigned parsed; local
61 ASSERT_FALSE(ct::DecodeDigitallySigned(&partial_digitally_signed, &parsed));
H A Dx509_cert_types_unittest.cc223 bool parsed = ParseCertificateDate( local
225 EXPECT_EQ(test_data_.is_valid, parsed);
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dversion_edit_test.cc13 VersionEdit parsed; local
14 Status s = parsed.DecodeFrom(encoded);
16 parsed.EncodeTo(&encoded2);
/external/chromium_org/third_party/libxml/src/
H A DtestURI.c26 xmlChar *res = NULL, *parsed = NULL; local
50 parsed = xmlSaveUri(uri);
51 res = xmlURIEscape(parsed);
69 if (parsed != NULL)
70 xmlFree(parsed);
/external/chromium_org/url/
H A Durl_parse_file.cc54 Parsed* parsed) {
61 parsed->host = Component(after_slashes, host_len);
63 parsed->host.reset();
64 parsed->path.reset();
73 parsed->host.reset();
75 &parsed->path, &parsed->query, &parsed->ref);
87 parsed->host = MakeRange(after_slashes, next_slash);
89 parsed
51 DoParseUNC(const CHAR* spec, int after_slashes, int spec_len, Parsed* parsed) argument
103 DoParseLocalFile(const CHAR* spec, int path_begin, int spec_len, Parsed* parsed) argument
117 DoParseFileURL(const CHAR* spec, int spec_len, Parsed* parsed) argument
214 ParseFileURL(const char* url, int url_len, Parsed* parsed) argument
218 ParseFileURL(const base::char16* url, int url_len, Parsed* parsed) argument
[all...]
H A Durl_canon_filesystemurl.cc23 const Parsed& parsed,
33 const Parsed* inner_parsed = parsed.inner_parsed();
42 if (!parsed.inner_parsed() || !parsed.inner_parsed()->scheme.is_valid())
53 success = CanonicalizeStandardURL(spec, parsed.inner_parsed()->Length(),
54 *parsed.inner_parsed(), charset_converter,
63 success &= parsed.inner_parsed()->path.len > 1;
65 success &= CanonicalizePath(source.path, parsed.path, output,
69 CanonicalizeQuery(source.query, parsed.query, charset_converter,
71 CanonicalizeRef(source.ref, parsed
21 DoCanonicalizeFileSystemURL(const CHAR* spec, const URLComponentSource<CHAR>& source, const Parsed& parsed, CharsetConverter* charset_converter, CanonOutput* output, Parsed* new_parsed) argument
80 CanonicalizeFileSystemURL(const char* spec, int spec_len, const Parsed& parsed, CharsetConverter* charset_converter, CanonOutput* output, Parsed* new_parsed) argument
91 CanonicalizeFileSystemURL(const base::char16* spec, int spec_len, const Parsed& parsed, CharsetConverter* charset_converter, CanonOutput* output, Parsed* new_parsed) argument
[all...]
H A Durl_canon_internal_file.h81 const ParsedURL& parsed,
109 source.host, parsed.host, output, &new_parsed->host);
117 int after_drive = FileDoDriveSpec(source.path, parsed.path.begin,
118 parsed.path.end(), output);
121 FileDoPath<CHAR, UCHAR>(source.path, after_drive, parsed.path.end(), output);
126 source.query, parsed.query, output, &new_parsed->query);
128 source.ref, parsed.ref, output, &new_parsed->ref);
80 DoCanonicalizeFileURL(const URLComponentSource<CHAR>& source, const ParsedURL& parsed, CanonOutput* output, ParsedURL* new_parsed) argument
H A Durl_canon_mailtourl.cc18 const Parsed& parsed,
37 if (parsed.path.is_valid()) {
43 int end = parsed.path.end();
44 for (int i = parsed.path.begin; i < end; ++i) {
59 CanonicalizeQuery(source.query, parsed.query, NULL,
69 const Parsed& parsed,
73 URLComponentSource<char>(spec), parsed, output, new_parsed);
78 const Parsed& parsed,
82 URLComponentSource<base::char16>(spec), parsed, output, new_parsed);
91 Parsed parsed(base_parse
17 DoCanonicalizeMailtoURL(const URLComponentSource<CHAR>& source, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument
67 CanonicalizeMailtoURL(const char* spec, int spec_len, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument
76 CanonicalizeMailtoURL(const base::char16* spec, int spec_len, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument
[all...]
H A Durl_canon_fileurl.cc89 const Parsed& parsed,
109 bool success = CanonicalizeHost(source.host, parsed.host,
111 success &= DoFileCanonicalizePath<CHAR, UCHAR>(source.path, parsed.path,
113 CanonicalizeQuery(source.query, parsed.query, query_converter,
117 CanonicalizeRef(source.ref, parsed.ref, output, &new_parsed->ref);
126 const Parsed& parsed,
131 URLComponentSource<char>(spec), parsed, query_converter,
137 const Parsed& parsed,
142 URLComponentSource<base::char16>(spec), parsed, query_converter,
169 Parsed parsed(base_parse
88 DoCanonicalizeFileURL(const URLComponentSource<CHAR>& source, const Parsed& parsed, CharsetConverter* query_converter, CanonOutput* output, Parsed* new_parsed) argument
124 CanonicalizeFileURL(const char* spec, int spec_len, const Parsed& parsed, CharsetConverter* query_converter, CanonOutput* output, Parsed* new_parsed) argument
135 CanonicalizeFileURL(const base::char16* spec, int spec_len, const Parsed& parsed, CharsetConverter* query_converter, CanonOutput* output, Parsed* new_parsed) argument
[all...]
H A Durl_canon_pathurl.cc51 const Parsed& parsed,
55 bool success = CanonicalizeScheme(source.scheme, parsed.scheme,
67 source.path, parsed.path, 0, output, &new_parsed->path);
69 source.query, parsed.query, '?', output, &new_parsed->query);
71 source.ref, parsed.ref, '#', output, &new_parsed->ref);
80 const Parsed& parsed,
84 URLComponentSource<char>(spec), parsed, output, new_parsed);
89 const Parsed& parsed,
93 URLComponentSource<base::char16>(spec), parsed, output, new_parsed);
102 Parsed parsed(base_parse
50 DoCanonicalizePathURL(const URLComponentSource<CHAR>& source, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument
78 CanonicalizePathURL(const char* spec, int spec_len, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument
87 CanonicalizePathURL(const base::char16* spec, int spec_len, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument
[all...]
H A Durl_canon_stdurl.cc18 const Parsed& parsed,
23 bool success = CanonicalizeScheme(source.scheme, parsed.scheme,
28 if (parsed.username.is_valid() || parsed.password.is_valid() ||
29 parsed.host.is_nonempty() || parsed.port.is_valid()) {
33 if (parsed.scheme.is_valid()) {
39 success &= CanonicalizeUserInfo(source.username, parsed.username,
40 source.password, parsed.password,
45 success &= CanonicalizeHost(source.host, parsed
17 DoCanonicalizeStandardURL(const URLComponentSource<CHAR>& source, const Parsed& parsed, CharsetConverter* query_converter, CanonOutput* output, Parsed* new_parsed) argument
127 CanonicalizeStandardURL(const char* spec, int spec_len, const Parsed& parsed, CharsetConverter* query_converter, CanonOutput* output, Parsed* new_parsed) argument
138 CanonicalizeStandardURL(const base::char16* spec, int spec_len, const Parsed& parsed, CharsetConverter* query_converter, CanonOutput* output, Parsed* new_parsed) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/dial/
H A Ddial_service_unittest.cc172 DialDeviceData parsed; local
174 kValidResponse, now, &parsed));
175 EXPECT_EQ("some_id", parsed.device_id());
176 EXPECT_EQ("http://127.0.0.1/dd.xml", parsed.device_description_url().spec());
177 EXPECT_EQ(1, parsed.config_id());
178 EXPECT_EQ(now, parsed.response_time());
/external/chromium_org/net/cookies/
H A Dcookie_util_unittest.cc17 std::vector<std::pair<std::string, std::string> > parsed; member in struct:__anon9127::RequestCookieParsingTest
22 net::cookie_util::ParsedRequestCookies parsed; local
24 parsed.push_back(std::make_pair(base::StringPiece(data[i].first),
27 return parsed;
33 net::cookie_util::ParsedRequestCookies parsed; local
34 net::cookie_util::ParseRequestCookieLine(str, &parsed);
35 EXPECT_EQ(MakeParsedRequestCookies(parsed_expected), parsed); local
39 const std::vector<std::pair<std::string, std::string> >& parsed,
42 MakeParsedRequestCookies(parsed);
158 tests.back().parsed
38 CheckSerialize( const std::vector<std::pair<std::string, std::string> >& parsed, const std::string& str_expected) argument
[all...]
/external/chromium_org/base/
H A Dversion.cc22 // when it reaches an invalid item (including the wildcard character). |parsed|
24 // parsed successfully, false otherwise.
26 std::vector<uint16>* parsed) {
49 parsed->push_back(static_cast<uint16>(num));
89 std::vector<uint16> parsed; local
90 if (!ParseVersionNumbers(version_str, &parsed))
93 components_.swap(parsed);
128 std::vector<uint16> parsed; local
130 wildcard_string.substr(0, wildcard_string.length() - 2), &parsed);
132 const int comparison = CompareVersionComponents(components_, parsed);
25 ParseVersionNumbers(const std::string& version_str, std::vector<uint16>* parsed) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DWebSocketExtensionDispatcherTest.cpp133 HashMap<String, String>::const_iterator parsed = parsedParameters.find(iterator->key); local
134 EXPECT_TRUE(parsed != parsedParameters.end());
136 EXPECT_TRUE(parsed->value.isNull());
138 EXPECT_EQ(iterator->value, parsed->value);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebURL.h84 const url::Parsed& parsed() const function in class:blink::WebURL
/external/chromium_org/tools/gn/
H A Dtest_with_scope.h72 const ParseNode* parsed() const { return parsed_.get(); } function in class:TestParseInput
/external/chromium_org/chrome/browser/ui/webui/
H A Dfavicon_source.cc74 chrome::ParsedFaviconPath parsed; local
75 bool success = chrome::ParseFaviconPath(path, icon_types_, &parsed);
81 GURL url(parsed.url);
83 std::ceil(parsed.size_in_dip * parsed.device_scale_factor);
85 if (parsed.is_icon_url) {
96 callback, url, parsed.size_in_dip, parsed.device_scale_factor)),
104 ui::GetSupportedScaleFactor(parsed.device_scale_factor);
121 callback, url, parsed
[all...]

Completed in 540 milliseconds

12345