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

1 2 3 4 5

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
NormalizerTest.java 21 import java.text.Normalizer.Form;
27 * @tests java.text.Normalizer.Form#values()
30 Form[] forms = Form.values();
32 assertEquals(Form.NFD, forms[0]);
33 assertEquals(Form.NFC, forms[1]);
34 assertEquals(Form.NFKD, forms[2]);
35 assertEquals(Form.NFKC, forms[3]);
39 * @tests java.text.Normalizer.Form#valueOf(String)
43 Form.valueOf(null)
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
NormalizerTest.java 26 assertEquals(src, Normalizer.normalize(src, Normalizer.Form.NFC));
30 Normalizer.normalize(src, Normalizer.Form.NFD));
33 assertEquals("\u038e\u03ab\u1e61", Normalizer.normalize(src, Normalizer.Form.NFKC));
37 Normalizer.normalize(src, Normalizer.Form.NFKD));
40 assertEquals("\u00e9", Normalizer.normalize("\u0065\u0301", Normalizer.Form.NFC));
43 assertEquals("\u1e69", Normalizer.normalize("\u1e9b\u0323", Normalizer.Form.NFKC));
46 Normalizer.normalize(null, Normalizer.Form.NFC);
57 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC));
58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD));
59 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC))
    [all...]
  /libcore/luni/src/main/java/java/text/
Normalizer.java 35 public static enum Form {
37 * Normalization Form D - Canonical Decomposition.
42 * Normalization Form C - Canonical Decomposition, followed by Canonical Composition.
47 * Normalization Form KD - Compatibility Decomposition.
52 * Normalization Form KC - Compatibility Decomposition, followed by Canonical Composition.
59 * according to the normalization method <code>form</code>.
62 * @param form normalization form to check against
63 * @return true if normalized according to <code>form</code>
65 public static boolean isNormalized(CharSequence src, Form form)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/
FormType.java 16 import org.jivesoftware.smackx.Form;
19 * Defines the allowable types for a {@link Form}
25 form, submit, cancel, result; enum constant in enum:FormType
FormNode.java 16 import org.jivesoftware.smackx.Form;
19 * Generic packet extension which represents any pubsub form that is
22 * Form types are defined in {@link FormNodeType}.
28 private Form configForm;
31 * Create a {@link FormNode} which contains the specified form.
33 * @param formType The type of form being sent
34 * @param submitForm The form
36 public FormNode(FormNodeType formType, Form submitForm)
41 throw new IllegalArgumentException("Submit form cannot be null");
46 * Create a {@link FormNode} which contains the specified form, which is
    [all...]
ConfigureNodeFields.java 18 import org.jivesoftware.smackx.Form;
21 * This enumeration represents all the fields of a node configuration form. This enumeration
23 * for generic UI's using only a {@link Form} for configuration.
  /libcore/luni/src/main/java/libcore/icu/
NativeNormalizer.java 19 import java.text.Normalizer.Form;
22 public static boolean isNormalized(CharSequence src, Form form) {
23 return isNormalizedImpl(src.toString(), toUNormalizationMode(form));
26 public static String normalize(CharSequence src, Form form) {
27 return normalizeImpl(src.toString(), toUNormalizationMode(form));
30 private static int toUNormalizationMode(Form form) {
33 switch (form) {
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
DIE.h 37 /// Form - Dwarf form code.
39 dwarf::Form Form;
42 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F) : Attribute(A), Form(F) {}
46 dwarf::Form getForm() const { return Form; }
88 void AddAttribute(dwarf::Attribute Attribute, dwarf::Form Form) {
    [all...]
DIE.cpp 41 ID.AddInteger(unsigned(Form));
76 // Emit form type.
205 void DIEInteger::EmitValue(AsmPrinter *Asm, dwarf::Form Form) const {
207 switch (Form) {
230 default: llvm_unreachable("DIE Value form not supported yet");
237 unsigned DIEInteger::SizeOf(AsmPrinter *AP, dwarf::Form Form) const {
238 switch (Form) {
256 default: llvm_unreachable("DIE Value form not supported yet")
    [all...]
DwarfUnit.h 266 void addUInt(DIE &Die, dwarf::Attribute Attribute, Optional<dwarf::Form> Form,
269 void addUInt(DIE &Block, dwarf::Form Form, uint64_t Integer);
272 void addSInt(DIE &Die, dwarf::Attribute Attribute, Optional<dwarf::Form> Form,
275 void addSInt(DIELoc &Die, Optional<dwarf::Form> Form, int64_t Integer);
285 void addExpr(DIELoc &Die, dwarf::Form Form, const MCExpr *Expr)
    [all...]
  /external/llvm/lib/DebugInfo/
DWARFAbbreviationDeclaration.h 26 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {}
28 uint16_t Form;
47 return idx < AttributeSpecs.size() ? AttributeSpecs[idx].Form : 0;
DWARFAbbreviationDeclaration.cpp 47 uint16_t Form = Data.getULEB128(OffsetPtr);
52 if (Attr == 0 && Form == 0)
54 AttributeSpecs.push_back(AttributeSpec(Attr, Form));
80 const char *formString = FormEncodingString(Spec.Form);
84 OS << format("DW_FORM_Unknown_%x", Spec.Form);
DWARFFormValue.cpp 109 // First, check DWARF4 form classes.
110 if (Form < ArrayRef<FormClass>(DWARF4FormClasses).size() &&
111 DWARF4FormClasses[Form] == FC)
114 if (Form == DW_FORM_ref_sig8)
117 if (Form == DW_FORM_GNU_addr_index)
119 if (Form == DW_FORM_GNU_str_index)
124 if ((Form == DW_FORM_data4 || Form == DW_FORM_data8) &&
135 // Read the value for the form into value and follow and DW_FORM_indirect
139 switch (Form) {
    [all...]
  /external/llvm/include/llvm/DebugInfo/
DWARFFormValue.h 51 uint16_t Form; // Form for this value.
52 ValueType Value; // Contains all data for the form.
55 DWARFFormValue(uint16_t Form = 0) : Form(Form) {}
56 uint16_t getForm() const { return Form; }
67 /// DWARFFormValue has form class is suitable for representing Foo.
76 static bool skipValue(uint16_t form, DataExtractor debug_info_data,
  /external/smack/src/org/jivesoftware/smackx/pubsub/util/
NodeUtils.java 17 import org.jivesoftware.smackx.Form;
34 * @return The configuration form
39 Form formReply = config.getForm();
  /external/smack/src/org/jivesoftware/smackx/commands/
AdHocCommand.java 24 import org.jivesoftware.smackx.Form;
35 * list and the result is stored as a form in the command instance, i.e. the
36 * <code>getForm</code> method retrieves a form with all the users.
74 // TODO: information related to the execution, e.g. the form to fill. Maybe this
178 * Returns the form of the current stage. Usually it is the form that must
184 * @return the form of the current stage to fill out or the result of the
187 public Form getForm() {
192 return new Form(data.getForm());
197 * Sets the form of the current stage. This should be used when setting a
    [all...]
RemoteCommand.java 30 import org.jivesoftware.smackx.Form;
42 * state of "completed" and a form or notes that applies.
94 public void complete(Form form) throws XMPPException {
95 executeAction(Action.complete, form, packetReplyTimeout);
105 * in the Form. This form must be the anwser form of the previous stage. If
108 * @param form the form anwser of the previous stage
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/provider/
FormNodeProvider.java 20 import org.jivesoftware.smackx.Form;
27 * Parses one of several elements used in pubsub that contain a form of some kind as a child element. The
37 return new FormNode(FormNodeType.valueOfFromElementName(currentElement, currentNamespace), attributeMap.get("node"), new Form((DataForm)content.iterator().next()));
  /external/smack/src/org/jivesoftware/smackx/workgroup/agent/
TranscriptSearchManager.java 29 import org.jivesoftware.smackx.Form;
33 * A TranscriptSearchManager helps to retrieve the form to use for searching transcripts
34 * {@link #getSearchForm(String)} or to submit a search form and return the results of
35 * the search {@link #submitSearch(String, Form)}.
47 * Returns the Form to use for searching transcripts. It is unlikely that the server
48 * will change the form (without a restart) so it is safe to keep the returned form
52 * @return the Form to use for searching transcripts.
55 public Form getSearchForm(String serviceJID) throws XMPPException {
75 return Form.getFormFrom(response);
    [all...]
  /external/smack/src/org/jivesoftware/smackx/muc/
RoomInfo.java 23 import org.jivesoftware.smackx.Form;
90 Form form = Form.getFormFrom(info); local
91 if (form != null) {
92 FormField descField = form.getField("muc#roominfo_description");
95 FormField subjField = form.getField("muc#roominfo_subject");
98 FormField occCountField = form.getField("muc#roominfo_occupants");
  /external/smack/src/org/jivesoftware/smackx/search/
UserSearchManager.java 21 import org.jivesoftware.smackx.Form;
41 * Form searchForm = search.getSearchForm();
42 * Form answerForm = searchForm.createAnswerForm();
66 * Returns the form to fill out to perform a search.
69 * @return the form to fill out to perform a search.
72 public Form getSearchForm(String searchService) throws XMPPException {
77 * Submits a search form to the server and returns the resulting information
78 * in the form of <code>ReportedData</code>
80 * @param searchForm the <code>Form</code> to submit for searching.
85 public ReportedData getSearchResults(Form searchForm, String searchService) throws XMPPException
    [all...]
SimpleUserSearch.java 20 import org.jivesoftware.smackx.Form;
32 * regardless of the form of the data returned from the server.
38 private Form form; field in class:SimpleUserSearch
41 public void setForm(Form form) {
42 this.form = form;
61 if (form == null) {
62 form = Form.getFormFrom(this)
    [all...]
  /external/llvm/unittests/DebugInfo/
DWARFFormValueTest.cpp 27 // Check that we don't have fixed form sizes for weird address sizes.
31 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) {
32 return DWARFFormValue(Form).isFormClass(FC);
  /packages/apps/Dialer/tests/src/com/android/dialer/dialpad/
SmartDialNameMatcherTest.java 259 + " nfd=" + Normalizer.normalize(displayName, Normalizer.Form.NFD)
260 + " nfc=" + Normalizer.normalize(displayName, Normalizer.Form.NFC)
261 + " nfkd=" + Normalizer.normalize(displayName, Normalizer.Form.NFKD)
262 + " nfkc=" + Normalizer.normalize(displayName, Normalizer.Form.NFKC)
  /external/smack/src/org/jivesoftware/smackx/
Form.java 33 * Represents a Form for gathering data. The form could be of the following types:
35 * <li>form -> Indicates a form to fill out.</li>
36 * <li>submit -> The form is filled out, and this is the data that is being returned from
37 * the form.</li>
38 * <li>cancel -> The form was cancelled. Tell the asker that piece of information.</li>
42 * Depending of the form's type different operations are available. For example, it's only possible
43 * to set answers if the form is of type "submit".
49 public class Form {
527 Form form = new Form(TYPE_SUBMIT); local
    [all...]

Completed in 802 milliseconds

1 2 3 4 5