Home
last modified time | relevance | path

Searched refs:Parsed (Results 1 – 25 of 80) sorted by relevance

1234

/external/cronet/url/third_party/mozilla/
Durl_parse.h79 struct COMPONENT_EXPORT(URL) Parsed { in COMPONENT_EXPORT()
94 Parsed(); in COMPONENT_EXPORT()
95 Parsed(const Parsed&); in COMPONENT_EXPORT()
96 Parsed& operator=(const Parsed&); in COMPONENT_EXPORT()
97 ~Parsed(); in COMPONENT_EXPORT()
193 Parsed* inner_parsed() const { in COMPONENT_EXPORT()
197 void set_inner_parsed(const Parsed& inner_parsed) { in COMPONENT_EXPORT()
199 inner_parsed_ = new Parsed(inner_parsed); in COMPONENT_EXPORT()
212 Parsed* inner_parsed_; // This object is owned and managed by this struct. in COMPONENT_EXPORT()
233 void ParseStandardURL(const char* url, int url_len, Parsed* parsed);
[all …]
Durl_parse.cc315 Parsed* parsed) { in DoParseAfterScheme()
344 void DoParseStandardURL(const CHAR* spec, int spec_len, Parsed* parsed) { in DoParseStandardURL()
365 void DoParseFileSystemURL(const CHAR* spec, int spec_len, Parsed* parsed) { in DoParseFileSystemURL()
421 Parsed inner_parsed; in DoParseFileSystemURL()
484 Parsed* parsed) { in DoParsePathURL()
529 void DoParseMailtoURL(const CHAR* spec, int spec_len, Parsed* parsed) { in DoParseMailtoURL()
711 Parsed::Parsed() : potentially_dangling_markup(false), inner_parsed_(NULL) {} in Parsed() function in url::Parsed
713 Parsed::Parsed(const Parsed& other) in Parsed() function in url::Parsed
728 Parsed& Parsed::operator=(const Parsed& other) { in operator =()
747 Parsed::~Parsed() { in ~Parsed()
[all …]
/external/openscreen/third_party/mozilla/
Durl_parse.h68 struct Parsed { struct
83 Parsed(); argument
84 Parsed(const Parsed&);
85 Parsed& operator=(const Parsed&); argument
86 ~Parsed();
182 Parsed* inner_parsed() const { return inner_parsed_; } in inner_parsed() argument
184 void set_inner_parsed(const Parsed& inner_parsed) { in set_inner_parsed() argument
186 inner_parsed_ = new Parsed(inner_parsed); in set_inner_parsed()
199 Parsed* inner_parsed_; // This object is owned and managed by this struct. argument
219 void ParseStandardURL(const char* url, int url_len, Parsed* parsed);
[all …]
Durl_parse.cc286 Parsed* parsed) { in DoParseAfterScheme()
314 void DoParseStandardURL(const char* spec, int spec_len, Parsed* parsed) { in DoParseStandardURL()
334 void DoParseFileSystemURL(const char* spec, int spec_len, Parsed* parsed) { in DoParseFileSystemURL()
390 Parsed inner_parsed; in DoParseFileSystemURL()
452 Parsed* parsed) { in DoParsePathURL()
496 void DoParseMailtoURL(const char* spec, int spec_len, Parsed* parsed) { in DoParseMailtoURL()
670 Parsed::Parsed() : potentially_dangling_markup(false), inner_parsed_(NULL) {} in Parsed() function in openscreen::Parsed
672 Parsed::Parsed(const Parsed& other) in Parsed() function in openscreen::Parsed
687 Parsed& Parsed::operator=(const Parsed& other) { in operator =()
706 Parsed::~Parsed() { in ~Parsed()
[all …]
/external/cronet/url/
Durl_canon.h599 const Parsed& parsed,
603 Parsed* new_parsed);
607 const Parsed& parsed,
611 Parsed* new_parsed);
617 const Parsed& parsed,
620 Parsed* new_parsed);
624 const Parsed& parsed,
627 Parsed* new_parsed);
633 const Parsed& parsed,
636 Parsed* new_parsed);
[all …]
Durl_canon_filesystemurl.cc23 const Parsed& parsed, in DoCanonicalizeFileSystemURL()
26 Parsed* new_parsed) { in DoCanonicalizeFileSystemURL()
33 const Parsed* inner_parsed = parsed.inner_parsed(); in DoCanonicalizeFileSystemURL()
34 Parsed new_inner_parsed; in DoCanonicalizeFileSystemURL()
88 const Parsed& parsed, in CanonicalizeFileSystemURL()
91 Parsed* new_parsed) { in CanonicalizeFileSystemURL()
99 const Parsed& parsed, in CanonicalizeFileSystemURL()
102 Parsed* new_parsed) { in CanonicalizeFileSystemURL()
109 const Parsed& base_parsed, in ReplaceFileSystemURL()
113 Parsed* new_parsed) { in ReplaceFileSystemURL()
[all …]
Durl_canon_mailtourl.cc35 const Parsed& parsed, in DoCanonicalizeMailtoURL()
37 Parsed* new_parsed) { in DoCanonicalizeMailtoURL()
86 const Parsed& parsed, in CanonicalizeMailtoURL()
88 Parsed* new_parsed) { in CanonicalizeMailtoURL()
95 const Parsed& parsed, in CanonicalizeMailtoURL()
97 Parsed* new_parsed) { in CanonicalizeMailtoURL()
103 const Parsed& base_parsed, in ReplaceMailtoURL()
106 Parsed* new_parsed) { in ReplaceMailtoURL()
108 Parsed parsed(base_parsed); in ReplaceMailtoURL()
115 const Parsed& base_parsed, in ReplaceMailtoURL()
[all …]
Durl_canon_pathurl.cc52 const Parsed& parsed, in DoCanonicalizePathURL()
54 Parsed* new_parsed) { in DoCanonicalizePathURL()
87 const Parsed& parsed, in CanonicalizePathURL()
89 Parsed* new_parsed) { in CanonicalizePathURL()
96 const Parsed& parsed, in CanonicalizePathURL()
98 Parsed* new_parsed) { in CanonicalizePathURL()
120 const Parsed& base_parsed, in ReplacePathURL()
123 Parsed* new_parsed) { in ReplacePathURL()
125 Parsed parsed(base_parsed); in ReplacePathURL()
132 const Parsed& base_parsed, in ReplacePathURL()
[all …]
Durl_parse_unittest.cc140 Parsed parsed; in TEST()
150 Parsed::ComponentType component; in TEST()
157 {"http://u:p@h:8/p?q#r", Parsed::SCHEME, true, 0}, in TEST()
158 {"http://u:p@h:8/p?q#r", Parsed::SCHEME, false, 0}, in TEST()
159 {"http://u:p@h:8/p?q#r", Parsed::USERNAME, true, 7}, in TEST()
160 {"http://u:p@h:8/p?q#r", Parsed::USERNAME, false, 7}, in TEST()
161 {"http://u:p@h:8/p?q#r", Parsed::PASSWORD, true, 9}, in TEST()
162 {"http://u:p@h:8/p?q#r", Parsed::PASSWORD, false, 9}, in TEST()
163 {"http://u:p@h:8/p?q#r", Parsed::HOST, true, 11}, in TEST()
164 {"http://u:p@h:8/p?q#r", Parsed::HOST, false, 11}, in TEST()
[all …]
Durl_parse_perftest.cc19 url::Parsed parsed; in TEST()
41 url::Parsed parsed1; in TEST()
42 url::Parsed parsed2; in TEST()
43 url::Parsed parsed3; in TEST()
57 url::Parsed parsed1; in TEST()
58 url::Parsed parsed2; in TEST()
59 url::Parsed parsed3; in TEST()
62 url::Parsed out_parsed; in TEST()
91 url::Parsed parsed1; in TEST()
92 url::Parsed parsed2; in TEST()
[all …]
Durl_canon_stdurl.cc18 const Parsed& parsed, in DoCanonicalizeStandardURL()
22 Parsed* new_parsed) { in DoCanonicalizeStandardURL()
147 const Parsed& parsed, in CanonicalizeStandardURL()
151 Parsed* new_parsed) { in CanonicalizeStandardURL()
159 const Parsed& parsed, in CanonicalizeStandardURL()
163 Parsed* new_parsed) { in CanonicalizeStandardURL()
179 const Parsed& base_parsed, in ReplaceStandardURL()
184 Parsed* new_parsed) { in ReplaceStandardURL()
186 Parsed parsed(base_parsed); in ReplaceStandardURL()
195 const Parsed& base_parsed, in ReplaceStandardURL()
[all …]
Durl_canon_fileurl.cc125 const Parsed& parsed, in DoCanonicalizeFileURL()
128 Parsed* new_parsed) { in DoCanonicalizeFileURL()
184 const Parsed& parsed, in CanonicalizeFileURL()
187 Parsed* new_parsed) { in CanonicalizeFileURL()
195 const Parsed& parsed, in CanonicalizeFileURL()
198 Parsed* new_parsed) { in CanonicalizeFileURL()
221 const Parsed& base_parsed, in ReplaceFileURL()
225 Parsed* new_parsed) { in ReplaceFileURL()
227 Parsed parsed(base_parsed); in ReplaceFileURL()
234 const Parsed& base_parsed, in ReplaceFileURL()
[all …]
Durl_canon_relative.cc104 const Parsed& base_parsed, in DoIsRelativeURL()
311 const Parsed& base_parsed, in DoResolveRelativePath()
317 Parsed* out_parsed) { in DoResolveRelativePath()
420 const Parsed& base_parsed, in DoResolveRelativeHost()
425 Parsed* out_parsed) { in DoResolveRelativeHost()
428 Parsed relative_parsed; // Everything but the scheme is valid. in DoResolveRelativeHost()
447 base_parsed.CountCharactersBefore(Parsed::USERNAME, false)); in DoResolveRelativeHost()
465 Parsed* out_parsed) { in DoResolveAbsoluteFile()
469 Parsed relative_parsed; in DoResolveAbsoluteFile()
481 const Parsed& base_parsed, in DoResolveRelativeURL()
[all …]
Durl_util.h231 Parsed* output_parsed);
238 Parsed* output_parsed);
253 const Parsed& base_parsed,
258 Parsed* output_parsed);
262 const Parsed& base_parsed,
267 Parsed* output_parsed);
276 const Parsed& parsed,
280 Parsed* out_parsed);
284 const Parsed& parsed,
288 Parsed* out_parsed);
Durl_util_unittest.cc155 Parsed parsed; in TEST_F()
157 Parsed new_parsed; in TEST_F()
180 Parsed original_parsed; in CheckReplaceScheme()
189 Parsed output_parsed; in CheckReplaceScheme()
414 Parsed base_parsed; in TEST_F()
419 Parsed resolved_parsed; in TEST_F()
438 Parsed base_parsed; in TEST_F()
443 Parsed resolved_parsed; in TEST_F()
483 Parsed base_parsed; in TEST_F()
488 Parsed resolved_parsed; in TEST_F()
[all …]
Durl_util.cc236 Parsed* output_parsed) { in DoCanonicalize()
254 Parsed parsed_input; in DoCanonicalize()
319 const Parsed& base_parsed, in DoResolveRelative()
324 Parsed* output_parsed) { in DoResolveRelative()
365 Parsed base_parsed_authority; in DoResolveRelative()
399 const Parsed& parsed, in DoReplaceComponents()
403 Parsed* out_parsed) { in DoReplaceComponents()
438 Parsed recanonicalized_parsed; in DoReplaceComponents()
787 Parsed* output_parsed) { in Canonicalize()
797 Parsed* output_parsed) { in Canonicalize()
[all …]
Durl_parse_file.cc54 Parsed* parsed) { in DoParseUNC()
82 Parsed* parsed) { in DoParseLocalFile()
93 void DoParseFileURL(const CHAR* spec, int spec_len, Parsed* parsed) { in DoParseFileURL()
190 void ParseFileURL(const char* url, int url_len, Parsed* parsed) { in ParseFileURL()
194 void ParseFileURL(const char16_t* url, int url_len, Parsed* parsed) { in ParseFileURL()
/external/OpenCSD/decoder/tests/snapshot_parser_lib/include/
Dss_to_dcdtree.h64 bool createPEDecoder(const std::string &coreName, Parser::Parsed *devSrc);
66 …bool createETMv4Decoder(const std::string &coreName, Parser::Parsed *devSrc, const bool bDataChann…
67 bool createETMv3Decoder(const std::string &coreName, Parser::Parsed *devSrc);
68 bool createPTMDecoder(const std::string &coreName, Parser::Parsed *devSrc);
69 bool createETEDecoder(const std::string &coreName, Parser::Parsed *devSrc);
73 bool createSTDecoder(Parser::Parsed *devSrc);
75 bool createSTMDecoder(Parser::Parsed *devSrc);
Dsnapshot_parser.h66 struct Parsed struct
68 Parsed() : foundGlobal() {} in Parsed() function
87 Parsed ParseSingleDevice(std::istream& input); argument
/external/cronet/url/android/java/src/org/chromium/url/
DParsed.java17 /* package */ class Parsed { class
34 private final Parsed mInnerUrl;
37 /* package */ static Parsed createEmpty() { in createEmpty()
38 return new Parsed(0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, false, null); in createEmpty()
42 private Parsed(int schemeBegin, int schemeLength, int usernameBegin, int usernameLength, in Parsed() method in Parsed
45 int refBegin, int refLength, boolean potentiallyDanglingMarkup, Parsed innerUrl) { in Parsed()
103 /* package */ static Parsed deserialize(String[] tokens, int startIndex) { in deserialize()
121 Parsed innerParsed = null; in deserialize()
123 innerParsed = Parsed.deserialize(tokens, startIndex); in deserialize()
125 return new Parsed(schemeBegin, schemeLength, usernameBegin, usernameLength, passwordBegin, in deserialize()
/external/rust/crates/chrono/src/format/
Dparse.rs14 use super::{Fixed, InternalFixed, InternalInternal, Item, Numeric, Pad, Parsed};
19 fn set_weekday_with_num_days_from_sunday(p: &mut Parsed, v: i64) -> ParseResult<()> { in set_weekday_with_num_days_from_sunday() argument
32 fn set_weekday_with_number_from_monday(p: &mut Parsed, v: i64) -> ParseResult<()> { in set_weekday_with_number_from_monday() argument
45 fn parse_rfc2822<'a>(parsed: &mut Parsed, mut s: &'a str) -> ParseResult<(&'a str, ())> { in parse_rfc2822() argument
151 fn parse_rfc3339<'a>(parsed: &mut Parsed, mut s: &'a str) -> ParseResult<(&'a str, ())> { in parse_rfc3339() argument
234 pub fn parse<'a, I, B>(parsed: &mut Parsed, s: &str, items: I) -> ParseResult<()> in parse() argument
243 parsed: &mut Parsed, in parse_internal() argument
297 type Setter = fn(&mut Parsed, i64) -> ParseResult<()>; in parse_internal()
300 Year => (4, true, Parsed::set_year), in parse_internal()
301 YearDiv100 => (2, false, Parsed::set_year_div_100), in parse_internal()
[all …]
Dparsed.rs27 pub struct Parsed { struct
129 impl Default for Parsed { implementation
130 fn default() -> Parsed { in default()
131 Parsed { in default()
157 impl Parsed { impl
159 pub fn new() -> Parsed { in new()
160 Parsed::default() in new()
423 (Some(year), _, &Parsed { month: Some(month), day: Some(day), .. }) => { in to_naive_date()
429 (Some(year), _, &Parsed { ordinal: Some(ordinal), .. }) => { in to_naive_date()
438 &Parsed { week_from_sun: Some(week_from_sun), weekday: Some(weekday), .. }, in to_naive_date()
[all …]
/external/cronet/url/android/
Dparsed_android.cc21 const Parsed& parsed, in CreateJavaParsed()
44 const Parsed& parsed) { in InitFromParsed()
70 Parsed* parsed = new Parsed(); in JNI_Parsed_CreateNative()
88 Parsed* inner = reinterpret_cast<Parsed*>(inner_parsed); in JNI_Parsed_CreateNative()
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/
Dsnapshot_parser.cpp172 GlobalSection(Parsed& result) : m_result(result), m_got_core() in GlobalSection()
197 Parsed& m_result;
205 DumpSection(Parsed& result) in DumpSection()
260 Parsed& m_result;
277 ExtendRegsSection(Parsed& result) : m_result(result) in ExtendRegsSection()
288 Parsed& m_result;
295 SymbolicRegsSection(Parsed& result) : m_result(result) in SymbolicRegsSection()
307 Parsed& m_result;
314 … DeviceSection(Parsed& result) : m_result(result), gotName(false), gotClass(false), gotType(false) in DeviceSection()
339 Parsed& m_result;
[all …]
Dss_to_dcdtree.cpp116 Parser::Parsed *etm_dev, *core_dev; in createDecodeTree()
218 bool CreateDcdTreeFromSnapShot::createPEDecoder(const std::string &coreName, Parser::Parsed *devSrc) in createPEDecoder()
250 bool CreateDcdTreeFromSnapShot::createETMv4Decoder(const std::string &coreName, Parser::Parsed *dev… in createETMv4Decoder()
300 bool CreateDcdTreeFromSnapShot::createETEDecoder(const std::string &coreName, Parser::Parsed *devSr… in createETEDecoder()
348 bool CreateDcdTreeFromSnapShot::createETMv3Decoder(const std::string &coreName, Parser::Parsed *dev… in createETMv3Decoder()
385 bool CreateDcdTreeFromSnapShot::createPTMDecoder(const std::string &coreName, Parser::Parsed *devSr… in createPTMDecoder()
423 bool CreateDcdTreeFromSnapShot::createSTDecoder(Parser::Parsed *devSrc) in createSTDecoder()
441 bool CreateDcdTreeFromSnapShot::createSTMDecoder(Parser::Parsed *devSrc) in createSTMDecoder()

1234