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

1 2 3 4

  /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.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...]
DWARFFormValue.cpp 96 // Read the value for the form into value and follow and DW_FORM_indirect
100 switch (Form) {
166 // Set the string value to also be the data for inlined cstr form
168 // and DW_FORM_strp form values
172 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,
220 switch (form) {
256 // 0 byte values - implied from the form.
299 form = debug_info_data.getULEB128(offset_ptr)
    [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 36 /// Form - Dwarf form code.
38 uint16_t Form;
40 DIEAbbrevData(uint16_t A, uint16_t F) : Attribute(A), Form(F) {}
44 uint16_t getForm() const { return Form; }
85 void AddAttribute(uint16_t Attribute, uint16_t Form) {
86 Data.push_back(DIEAbbrevData(Attribute, Form));
91 void AddFirstAttribute(uint16_t Attribute, uint16_t Form) {
92 Data.insert(Data.begin(), DIEAbbrevData(Attribute, Form));
164 void addValue(unsigned Attribute, unsigned Form, DIEValue *Value)
    [all...]
DIE.cpp 36 ID.AddInteger(Form);
74 // Emit form type.
193 void DIEInteger::EmitValue(AsmPrinter *Asm, unsigned Form) const {
195 switch (Form) {
218 default: llvm_unreachable("DIE Value form not supported yet");
225 unsigned DIEInteger::SizeOf(AsmPrinter *AP, unsigned Form) const {
226 switch (Form) {
243 default: llvm_unreachable("DIE Value form not supported yet");
260 void DIELabel::EmitValue(AsmPrinter *AP, unsigned Form) const {
261 AP->OutStreamer.EmitSymbolValue(Label, SizeOf(AP, Form));
    [all...]
  /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...]
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...]
  /external/llvm/utils/TableGen/
X86RecognizableInstr.cpp 141 /// @param form - The form of the instruction.
142 /// @return - true if the form implies that a ModR/M byte is required, false
144 static bool needsModRMForDecode(uint8_t form) {
145 if (form == X86Local::MRMDestReg ||
146 form == X86Local::MRMDestMem ||
147 form == X86Local::MRMSrcReg ||
148 form == X86Local::MRMSrcMem ||
149 (form >= X86Local::MRM0r && form <= X86Local::MRM7r) |
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/dialpad/
SmartDialNameMatcherTest.java 256 + " nfd=" + Normalizer.normalize(displayName, Normalizer.Form.NFD)
257 + " nfc=" + Normalizer.normalize(displayName, Normalizer.Form.NFC)
258 + " nfkd=" + Normalizer.normalize(displayName, Normalizer.Form.NFKD)
259 + " 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...]
  /external/smack/src/org/jivesoftware/smackx/packet/
DataForm.java 24 import org.jivesoftware.smackx.Form;
33 * Represents a form that could be use for gathering data as well as for reporting data
52 * Returns the meaning of the data within the context. The data could be part of a form
53 * to fill out, a form submission or data results.<p>
55 * Possible form types are:
57 * <li>form -> This packet contains a form to fill out. Display it to the user (if your
59 * <li>submit -> The form is filled out, and this is the data that is being returned from
60 * the form.</li>
61 * <li>cancel -> The form was cancelled. Tell the asker that piece of information.</li
    [all...]

Completed in 1547 milliseconds

1 2 3 4