HomeSort by relevance Sort by last modified time
    Searched refs:Component (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /external/chromium/googleurl/src/
url_parse.h 45 // Component ------------------------------------------------------------------
48 struct Component {
49 Component() : begin(0), len(-1) {}
52 Component(int b, int l) : begin(b), len(l) {}
58 // Returns true if this component is valid, meaning the length is given. Even
64 // Returns true if the given component is specified on false, the component
75 bool operator==(const Component& other) const {
79 int begin; // Byte offset in the string of this component.
80 int len; // Will be -1 if the component is unspecified
    [all...]
url_canon_ip.h 41 // each component will be placed into |components| and it will return true.
59 const url_parse::Component& host,
60 url_parse::Component components[4]);
62 const url_parse::Component& host,
63 url_parse::Component components[4]);
78 const url_parse::Component& host,
83 const url_parse::Component& host,
93 const url_parse::Component& host,
96 const url_parse::Component& host,
url_canon_unittest.cc 58 url_parse::Component expected_component;
69 url_parse::Component expected_component;
79 url_parse::Component expected_component;
123 // Sets up a replacement for a single component. This is given pointers to
124 // the set and clear function for the component being replaced, and will
125 // either set the component (if it exists) or clear it (if the replacement
134 const url_parse::Component&),
141 (rep->*set)(str, url_parse::Component(0, static_cast<int>(strlen(str))));
322 {"http", "http:", url_parse::Component(0, 4), true},
323 {"HTTP", "http:", url_parse::Component(0, 4), true}
    [all...]
url_parse_internal.h 87 const Component& path,
88 Component* filepath,
89 Component* query,
90 Component* ref);
92 const Component& path,
93 Component* filepath,
94 Component* query,
95 Component* ref);
url_canon_etc.cc 110 const url_parse::Component& scheme,
112 url_parse::Component* out_scheme) {
115 *out_scheme = url_parse::Component(output->length(), 0);
174 const url_parse::Component& username,
176 const url_parse::Component& password,
178 url_parse::Component* out_username,
179 url_parse::Component* out_password) {
182 *out_username = url_parse::Component();
183 *out_password = url_parse::Component();
205 *out_password = url_parse::Component();
    [all...]
url_parse.cc 69 const Component& user,
70 Component* username,
71 Component* password) {
80 *username = Component(user.begin, colon_offset);
86 *password = Component();
92 const Component& serverinfo,
93 Component* hostname,
94 Component* port_num) {
142 const Component& auth,
143 Component* username
    [all...]
url_canon_stdstring.h 99 url_parse::Component(0, static_cast<int>(s.length())));
103 url_parse::Component(0, static_cast<int>(s.length())));
107 url_parse::Component(0, static_cast<int>(s.length())));
111 url_parse::Component(0, static_cast<int>(s.length())));
115 url_parse::Component(0, static_cast<int>(s.length())));
119 url_parse::Component(0, static_cast<int>(s.length())));
123 url_parse::Component(0, static_cast<int>(s.length())));
127 url_parse::Component(0, static_cast<int>(s.length())));
url_canon.h 275 // corresponding URL component to the given std::string. The spec and the
276 // previously-identified range of that component are the input. The range of
277 // the canonicalized component will be written to the output component.
287 // Scheme: Appends the scheme and colon to the URL. The output component will
297 const url_parse::Component& scheme,
299 url_parse::Component* out_scheme);
301 const url_parse::Component& scheme,
303 url_parse::Component* out_scheme);
316 const url_parse::Component& username
    [all...]
url_canon_query.cc 70 bool IsAllASCII(const CHAR* spec, const url_parse::Component& query) {
97 const url_parse::Component& query,
111 const url_parse::Component& query,
119 const url_parse::Component& query,
144 const url_parse::Component& query,
147 url_parse::Component* out_query) {
149 *out_query = url_parse::Component();
164 const url_parse::Component& query,
167 url_parse::Component* out_query) {
173 const url_parse::Component& query
    [all...]
url_canon_ip.cc 59 const url_parse::Component& host,
60 url_parse::Component components[4]) {
64 int cur_component = 0; // Index of the component we're working on.
65 int cur_component_begin = host.begin; // Start of the current component.
69 // Found the end of the current component.
72 url_parse::Component(cur_component_begin, component_len);
74 // The next component starts after the dot.
79 // allow an empty component at the end (this would indicate that the
80 // input ends in a dot). We also want to error if the component is
81 // empty and it's the only component (cur_component == 1)
    [all...]
url_util.h 94 url_parse::Component* found_scheme);
98 url_parse::Component* found_scheme);
101 url_parse::Component* found_scheme) {
107 url_parse::Component* found_scheme) {
115 const url_parse::Component& scheme);
117 const url_parse::Component& scheme);
122 const url_parse::Component& scheme) {
  /external/chromium/chrome/browser/net/
url_fixer_upper_unittest.cc 26 std::ostream& operator<<(std::ostream& os, const Component& part) {
35 const url_parse::Component scheme;
36 const url_parse::Component username;
37 const url_parse::Component password;
38 const url_parse::Component host;
39 const url_parse::Component port;
40 const url_parse::Component path;
41 const url_parse::Component query;
42 const url_parse::Component ref;
47 url_parse::Component(0, 4), // schem
    [all...]
url_fixer_upper.h 15 struct Component;
64 // negative. In some cases, the desired component does not exist at the given
66 // scheme component no longer exists. In such a case, the beginning index is
69 void OffsetComponent(int offset, url_parse::Component* part);
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
IController.java 30 import java.awt.Component;
34 public Component getView() ;
  /external/webkit/Source/WebCore/manual-tests/resources/
CheckerApplet.java 3 import java.awt.Component;
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
ICalendarTest.java 39 ICalendar.Component component = new ICalendar.Component("DUMMY", null); local
41 component.addProperty(new ICalendar.Property("prop2", "value3"));
42 component.addProperty(new ICalendar.Property("prop1", "value1"));
43 component.addProperty(new ICalendar.Property("prop1", "value2"));
44 assertEquals(text, component.toString());
57 ICalendar.Component parent = new ICalendar.Component("DUMMY", null);
59 ICalendar.Component child = new ICalendar.Component("DUMMY2", parent)
75 ICalendar.Component component = ICalendar.parseComponent(text); local
93 ICalendar.Component component local
110 ICalendar.Component component local
146 ICalendar.Component component = new ICalendar.Component("DUMMY", null); local
250 ICalendar.Component component = ICalendar.parseComponent(text); local
259 ICalendar.Component component = ICalendar.parseComponent(text); local
268 ICalendar.Component component = ICalendar.parseComponent(text); local
    [all...]
  /external/proguard/src/proguard/gui/
MessageDialogRunnable.java 35 private final Component parentComponent;
43 * @see JOptionPane#showMessageDialog(Component, Object, String, int)
45 public static void showMessageDialog(Component parentComponent,
66 * @see JOptionPane#showMessageDialog(Component, Object, String, int)
68 public MessageDialogRunnable(Component parentComponent,
  /frameworks/rs/
rsComponent.h 29 class Component {
31 Component();
32 ~Component();
rsComponent.cpp 22 Component::Component() {
26 Component::~Component() {
29 void Component::set(RsDataType dt, RsDataKind dk, bool norm, uint32_t vecSize) {
188 bool Component::isReference() const {
242 void Component::dumpLOGV(const char *prefix) const {
244 ALOGV("%s Component: %s, %s, vectorSize=%i, bits=%i",
247 ALOGV("%s Component: %s, %s, vectorSize=%i, bits=%i",
252 void Component::serialize(OStream *stream) const
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
ICalendar.java 56 * A component within an iCalendar (VEVENT, VTODO, VJOURNAL, VFEEBUSY,
59 public static class Component {
74 private final Component mParent; // see if we can get rid of this
75 private LinkedList<Component> mChildren = null;
80 * Creates a new component with the provided name.
81 * @param name The name of the component.
83 public Component(String name, Component parent) {
89 * Returns the name of the component.
90 * @return The name of the component
    [all...]
  /cts/tests/tests/calendarcommon/src/com/android/calendarcommon2/
RecurrenceSet.java 31 public static void addPropertiesForRuleStr(ICalendar.Component component,
34 component.addProperty(new ICalendar.Property(CTS_PROPERTY_NAME));
ICalendar.java 29 * Component and Property, for use in the test.
36 * A component within an iCalendar (VEVENT, VTODO, VJOURNAL, VFEEBUSY,
39 public static class Component {
45 * Creates a new component with the provided name.
46 * @param name The name of the component.
48 public Component(String name, Component parent) {
53 * Adds a Property to this component.
78 * A property within an iCalendar component (e.g., DTSTART, DTEND, etc.,
  /cts/tests/tests/calendarcommon/src/android/calendarcommon2/cts/
Calendarcommon2Test.java 38 ICalendar.Component component = new ICalendar.Component("CTS", null); local
40 component.getProperties(RecurrenceSet.CTS_PROPERTY_NAME);
43 recurSet.addPropertiesForRuleStr(component, null, null);
48 properties = component.getProperties(RecurrenceSet.CTS_PROPERTY_NAME);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/laf/
UnifiedContentBorder.java 28 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
38 public Insets getBorderInsets(Component component) {
  /external/chromium/chrome/browser/autocomplete/
autocomplete_unittest.cc 420 using url_parse::Component;
421 Component kInvalidComponent(0, -1);
424 const Component scheme;
425 const Component host;
431 { ASCIIToUTF16("foo/bar baz"), kInvalidComponent, Component(0, 3) },
432 { ASCIIToUTF16("http://foo/bar baz"), Component(0, 4), Component(7, 3) },
433 { ASCIIToUTF16("link:foo.com"), Component(0, 4), kInvalidComponent },
434 { ASCIIToUTF16("www.foo.com:81"), kInvalidComponent, Component(0, 11) },
435 { WideToUTF16(L"\u6d4b\u8bd5"), kInvalidComponent, Component(0, 2) }
    [all...]

Completed in 365 milliseconds

1 2 3 4 5