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

1 2 3 4 5

  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/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...]
  /external/llvm/lib/DebugInfo/
DWARFAttribute.h 19 uint16_t Form;
21 DWARFAttribute(uint16_t attr, uint16_t form)
22 : Attribute(attr), Form(form) {}
25 uint16_t getForm() const { return Form; }
DWARFFormValue.cpp 83 // Read the value for the form into value and follow and DW_FORM_indirect
87 switch (Form) {
91 (Form == DW_FORM_addr)
159 // Set the string value to also be the data for inlined cstr form
161 // and DW_FORM_strp form values
165 Form = data.getULEB128(offset_ptr);
211 return DWARFFormValue::skipValue(Form, debug_info_data, offset_ptr, cu);
215 DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data,
219 switch (form) {
257 // 0 byte values - implied from the form
    [all...]
DWARFDebugInfoEntry.cpp 47 uint16_t form = AbbrevDecl->getFormByIndex(i); local
48 dumpAttribute(OS, cu, &offset, attr, form, indent);
72 uint16_t form,
81 const char *formString = FormEncodingString(form);
85 OS << format(" [DW_FORM_Unknown_%x]", form);
87 DWARFFormValue formValue(form);
114 uint16_t Form = AbbrevDecl->getFormByIndex(i);
120 (Form < DW_FORM_ref_sig8) ? FixedFormSizes[Form] : 0;
123 else if (!DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr
    [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 38 /// Form - Dwarf form code.
40 uint16_t Form;
42 DIEAbbrevData(uint16_t A, uint16_t F) : Attribute(A), Form(F) {}
46 uint16_t getForm() const { return Form; }
87 void AddAttribute(uint16_t Attribute, uint16_t Form) {
88 Data.push_back(DIEAbbrevData(Attribute, Form));
161 void addValue(unsigned Attribute, unsigned Form, DIEValue *Value) {
162 Abbrev.AddAttribute(Attribute, Form);
216 virtual void EmitValue(AsmPrinter *AP, unsigned Form) const = 0
    [all...]
DIE.cpp 38 ID.AddInteger(Form);
73 // Emit form type.
202 void DIEInteger::EmitValue(AsmPrinter *Asm, unsigned Form) const {
204 switch (Form) {
227 default: llvm_unreachable("DIE Value form not supported yet");
234 unsigned DIEInteger::SizeOf(AsmPrinter *AP, unsigned Form) const {
235 switch (Form) {
252 default: llvm_unreachable("DIE Value form not supported yet");
269 void DIEExpr::EmitValue(AsmPrinter *AP, unsigned Form) const {
270 AP->OutStreamer.EmitValue(Expr, SizeOf(AP, Form));
    [all...]
DwarfCompileUnit.h 203 void addUInt(DIE *Die, unsigned Attribute, unsigned Form, uint64_t Integer);
207 void addSInt(DIE *Die, unsigned Attribute, unsigned Form, int64_t Integer);
219 void addExpr(DIE *Die, unsigned Attribute, unsigned Form,
224 void addLabel(DIE *Die, unsigned Attribute, unsigned Form,
233 /// form given and an op of either DW_FORM_addr or DW_FORM_GNU_addr_index.
240 void addDelta(DIE *Die, unsigned Attribute, unsigned Form,
245 void addDIEEntry(DIE *Die, unsigned Attribute, unsigned Form, DIE *Entry);
249 void addBlock(DIE *Die, unsigned Attribute, unsigned Form, DIEBlock *Block);
  /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/llvm/include/llvm/DebugInfo/
DWARFFormValue.h 44 uint16_t Form; // Form for this value.
45 ValueType Value; // Contains all data for the form.
48 DWARFFormValue(uint16_t form = 0) : Form(form) {}
49 uint16_t getForm() const { return Form; }
61 /// the compile unit at a later time in order to work with the form
73 static bool skipValue(uint16_t form, DataExtractor debug_info_data,
75 static bool isBlockForm(uint16_t form);
    [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...]
UserSearch.java 27 import org.jivesoftware.smackx.Form;
60 * Returns the form for all search fields supported by the search service.
64 * @return the search form received by the server.
68 public Form getSearchForm(Connection con, String searchService) throws XMPPException {
86 return Form.getFormFrom(response);
90 * Sends the filled out answer form to be sent and queried by the search service.
93 * @param searchForm the <code>Form</code> to send for querying.
99 public ReportedData sendSearchForm(Connection con, Form searchForm, String searchService) throws XMPPException {
125 * Sends the filled out answer form to be sent and queried by the search service.
128 * @param searchForm the <code>Form</code> to send for querying
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/dialpad/
SmartDialNameMatcherTest.java 258 + " nfd=" + Normalizer.normalize(displayName, Normalizer.Form.NFD)
259 + " nfc=" + Normalizer.normalize(displayName, Normalizer.Form.NFC)
260 + " nfkd=" + Normalizer.normalize(displayName, Normalizer.Form.NFKD)
261 + " 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 318 milliseconds

1 2 3 4 5