/external/chromium_org/components/autofill/core/browser/ |
D | form_field_unittest.cc | 20 EXPECT_TRUE(FormField::Match(&field, base::string16(), in TEST() 21 FormField::MATCH_LABEL)); in TEST() 25 EXPECT_TRUE(FormField::Match(&field, base::string16(), in TEST() 26 FormField::MATCH_LABEL)); in TEST() 30 EXPECT_TRUE(FormField::Match(&field, ASCIIToUTF16("^$"), in TEST() 31 FormField::MATCH_LABEL)); in TEST() 35 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("^$"), in TEST() 36 FormField::MATCH_LABEL)); in TEST() 40 EXPECT_FALSE(FormField::Match(&field, ASCIIToUTF16("a"), in TEST() 41 FormField::MATCH_LABEL)); in TEST() [all …]
|
D | form_field.cc | 37 void FormField::ParseFormFields(const std::vector<AutofillField*>& fields, in ParseFormFields() 68 bool FormField::ParseField(AutofillScanner* scanner, in ParseField() 75 bool FormField::ParseFieldSpecifics(AutofillScanner* scanner, in ParseFieldSpecifics() 91 bool FormField::ParseEmptyLabel(AutofillScanner* scanner, in ParseEmptyLabel() 100 bool FormField::AddClassification(const AutofillField* field, in AddClassification() 111 bool FormField::MatchAndAdvance(AutofillScanner* scanner, in MatchAndAdvance() 116 if (FormField::Match(field, pattern, match_type)) { in MatchAndAdvance() 127 bool FormField::Match(const AutofillField* field, in Match() 130 if ((match_type & FormField::MATCH_LABEL) && in Match() 135 if ((match_type & FormField::MATCH_NAME) && in Match() [all …]
|
D | form_field.h | 23 class FormField { 25 virtual ~FormField() {} in ~FormField() 56 FormField() {} in FormField() function 94 typedef FormField* ParseFunction(AutofillScanner* scanner); 123 DISALLOW_COPY_AND_ASSIGN(FormField);
|
D | email_field.h | 14 class EmailField : public FormField { 16 static FormField* Parse(AutofillScanner* scanner);
|
D | name_field.h | 20 class NameField : public FormField { 22 static FormField* Parse(AutofillScanner* scanner);
|
D | credit_card_field.h | 21 class CreditCardField : public FormField { 24 static FormField* Parse(AutofillScanner* scanner);
|
D | phone_field.h | 24 class PhoneField : public FormField { 28 static FormField* Parse(AutofillScanner* scanner);
|
D | address_field.h | 22 class AddressField : public FormField { 24 static FormField* Parse(AutofillScanner* scanner);
|
D | email_field.cc | 15 FormField* EmailField::Parse(AutofillScanner* scanner) { in Parse()
|
D | name_field.cc | 62 FormField* NameField::Parse(AutofillScanner* scanner) { in Parse()
|
/external/smack/src/org/jivesoftware/smackx/ |
D | Form.java | 115 public void addField(FormField field) { in addField() 134 FormField field = getField(variable); in setAnswer() 138 if (!FormField.TYPE_TEXT_MULTI.equals(field.getType()) in setAnswer() 139 && !FormField.TYPE_TEXT_PRIVATE.equals(field.getType()) in setAnswer() 140 && !FormField.TYPE_TEXT_SINGLE.equals(field.getType()) in setAnswer() 141 && !FormField.TYPE_JID_SINGLE.equals(field.getType()) in setAnswer() 142 && !FormField.TYPE_HIDDEN.equals(field.getType())) { in setAnswer() 160 FormField field = getField(variable); in setAnswer() 164 if (!FormField.TYPE_TEXT_MULTI.equals(field.getType()) in setAnswer() 165 && !FormField.TYPE_TEXT_PRIVATE.equals(field.getType()) in setAnswer() [all …]
|
D | FormField.java | 37 public class FormField { class 64 public FormField(String variable) { in FormField() method in FormField 72 public FormField() { in FormField() method in FormField 73 this.type = FormField.TYPE_FIXED; in FormField() 308 if (!(obj instanceof FormField)) in equals() 311 FormField other = (FormField) obj; in equals()
|
D | ReportedData.java | 73 FormField field = (FormField)fields.next(); in ReportedData() 81 FormField field; in ReportedData() 83 field = (FormField) fields.next(); in ReportedData()
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
D | DataForm.java | 25 import org.jivesoftware.smackx.FormField; 45 private final List<FormField> fields = new ArrayList<FormField>(); 120 public Iterator<FormField> getFields() { in getFields() 122 return Collections.unmodifiableList(new ArrayList<FormField>(fields)).iterator(); in getFields() 169 public void addField(FormField field) { in addField() 207 for (FormField f : fields) { in hasHiddenFormTypeField() 234 for (Iterator<FormField> i = getFields(); i.hasNext();) { in toXML() 235 FormField field = i.next(); in toXML() 250 private List<FormField> fields = new ArrayList<FormField>(); 252 public ReportedData(List<FormField> fields) { in ReportedData() [all …]
|
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
D | ConfigureForm.java | 21 import org.jivesoftware.smackx.FormField; 93 addField(ConfigureNodeFields.access_model, FormField.TYPE_LIST_SINGLE); in setAccessModel() 116 addField(ConfigureNodeFields.body_xslt, FormField.TYPE_TEXT_SINGLE); in setBodyXSLT() 137 addField(ConfigureNodeFields.children, FormField.TYPE_TEXT_MULTI); in setChildren() 163 addField(ConfigureNodeFields.children_association_policy, FormField.TYPE_LIST_SINGLE); in setChildrenAssociationPolicy() 190 addField(ConfigureNodeFields.children_association_whitelist, FormField.TYPE_JID_MULTI); in setChildrenAssociationWhitelist() 211 addField(ConfigureNodeFields.children_max, FormField.TYPE_TEXT_SINGLE); in setChildrenMax() 232 addField(ConfigureNodeFields.collection, FormField.TYPE_TEXT_SINGLE); in setCollection() 257 addField(ConfigureNodeFields.dataform_xslt, FormField.TYPE_TEXT_SINGLE); in setDataformXSLT() 278 addField(ConfigureNodeFields.deliver_payloads, FormField.TYPE_BOOLEAN); in setDeliverPayloads() [all …]
|
D | SubscribeForm.java | 26 import org.jivesoftware.smackx.FormField; 73 addField(SubscribeOptionFields.deliver, FormField.TYPE_BOOLEAN); in setDeliverOn() 94 addField(SubscribeOptionFields.deliver, FormField.TYPE_BOOLEAN); in setDigestOn() 115 addField(SubscribeOptionFields.digest_frequency, FormField.TYPE_TEXT_SINGLE); in setDigestFrequency() 146 addField(SubscribeOptionFields.expire, FormField.TYPE_TEXT_SINGLE); in setExpiry() 169 addField(SubscribeOptionFields.include_body, FormField.TYPE_BOOLEAN); in setIncludeBody() 206 addField(SubscribeOptionFields.show_values, FormField.TYPE_LIST_MULTI); in setShowValues() 218 FormField formField = getField(field.getFieldName()); in getFieldValue() 225 FormField formField = getField(field.getFieldName()); in getFieldValues() 236 FormField field = new FormField(fieldName); in addField()
|
D | PubSubManager.java | 26 import org.jivesoftware.smackx.FormField; 128 FormField nodeTypeField = config.getField(ConfigureNodeFields.node_type.getFieldName()); in createNode()
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
D | DataFormProvider.java | 25 import org.jivesoftware.smackx.FormField; 77 private FormField parseField(XmlPullParser parser) throws Exception { in parseField() 79 FormField formField = new FormField(parser.getAttributeValue("", "var")); in parseField() 108 List<FormField> fields = new ArrayList<FormField>(); in parseItem() 126 List<FormField> fields = new ArrayList<FormField>(); in parseReported() 142 private FormField.Option parseOption(XmlPullParser parser) throws Exception { in parseOption() 144 FormField.Option option = null; in parseOption() 150 option = new FormField.Option(label, parser.nextText()); in parseOption()
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
D | FileTransferNegotiator.java | 42 import org.jivesoftware.smackx.FormField; 262 FormField streamMethodField = getStreamMethodField(si in selectStreamNegotiator() 294 private FormField getStreamMethodField(DataForm form) { in getStreamMethodField() 295 FormField field = null; in getStreamMethodField() 296 for (Iterator<FormField> it = form.getFields(); it.hasNext();) { in getStreamMethodField() 306 private StreamNegotiator getNegotiator(final FormField field) in getNegotiator() 311 for (Iterator<FormField.Option> it = field.getOptions(); it.hasNext();) { in getNegotiator() 441 private StreamNegotiator getOutgoingNegotiator(final FormField field) in getOutgoingNegotiator() 476 FormField field = new FormField(STREAM_DATA_FIELD_NAME); in createDefaultInitiationForm() 477 field.setType(FormField.TYPE_LIST_SINGLE); in createDefaultInitiationForm() [all …]
|
D | StreamNegotiator.java | 31 import org.jivesoftware.smackx.FormField; 66 FormField field = new FormField( in createInitiationAccept()
|
/external/smack/src/org/jivesoftware/smackx/entitycaps/ |
D | EntityCapsManager.java | 40 import org.jivesoftware.smackx.FormField; 536 List<FormField> foundFormTypes = new LinkedList<FormField>(); in verifyPacketExtensions() 541 for (Iterator<FormField> it = df.getFields(); it.hasNext();) { in verifyPacketExtensions() 542 FormField f = it.next(); in verifyPacketExtensions() 544 for (FormField fft : foundFormTypes) { in verifyPacketExtensions() 624 SortedSet<FormField> fs = new TreeSet<FormField>(new Comparator<FormField>() { in generateVerificationString() 625 public int compare(FormField f1, FormField f2) { in generateVerificationString() 630 FormField ft = null; in generateVerificationString() 632 for (Iterator<FormField> i = extendedInfo.getFields(); i.hasNext();) { in generateVerificationString() 633 FormField f = i.next(); in generateVerificationString() [all …]
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
D | RoomInfo.java | 24 import org.jivesoftware.smackx.FormField; 92 FormField descField = form.getField("muc#roominfo_description"); in RoomInfo() 95 FormField subjField = form.getField("muc#roominfo_subject"); in RoomInfo() 98 FormField occCountField = form.getField("muc#roominfo_occupants"); in RoomInfo()
|
/external/smack/src/org/jivesoftware/smackx/search/ |
D | SimpleUserSearch.java | 21 import org.jivesoftware.smackx.FormField; 69 Iterator<FormField> fields = form.getFields(); in getItemsToSearch() 71 FormField field = fields.next(); in getItemsToSearch() 82 private static String getSingleValue(FormField formField) { in getSingleValue()
|
D | UserSearch.java | 28 import org.jivesoftware.smackx.FormField; 219 FormField field = new FormField(name); in buildDataForm() 235 field.setType(FormField.TYPE_TEXT_SINGLE); in buildDataForm()
|
/external/smack/src/org/jivesoftware/smackx/workgroup/user/ |
D | Workgroup.java | 33 import org.jivesoftware.smackx.FormField; 395 FormField field = new FormField(escapedName); in joinQueue() 396 field.setType(FormField.TYPE_TEXT_SINGLE); in joinQueue()
|