/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...] |
/external/icu/icu4c/source/i18n/ |
standardplural.h | 24 * Standard CLDR plural form/category constants. 29 enum Form { 40 * @return the lowercase CLDR keyword string for the plural form 42 static const char *getKeyword(Form p); 46 * @return the plural form corresponding to the keyword, or OTHER 48 static Form orOtherFromString(const char *keyword) { 49 return static_cast<Form>(indexOrOtherIndexFromString(keyword)); 54 * @return the plural form corresponding to the keyword, or OTHER 56 static Form orOtherFromString(const UnicodeString &keyword) { 57 return static_cast<Form>(indexOrOtherIndexFromString(keyword)) [all...] |
quantityformatter.h | 69 * Adds a plural variant if there is none yet for the plural form. 111 * Selects the standard plural form for the number/formatter/rules. 113 static StandardPlural::Form selectPlural(
|
standardplural.cpp | 27 const char *StandardPlural::getKeyword(Form p) {
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
DWARFAbbreviationDeclaration.h | 23 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} 25 uint16_t Form; 43 return idx < AttributeSpecs.size() ? AttributeSpecs[idx].Form : 0;
|
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; } 74 /// DWARFFormValue has form class is suitable for representing Foo. 85 static bool skipValue(uint16_t form, DataExtractor debug_info_data, 87 static bool skipValue(uint16_t form, DataExtractor debug_info_data [all...] |
DWARFAcceleratorTable.h | 33 typedef uint16_t Form; 35 SmallVector<std::pair<AtomType, Form>, 3> Atoms;
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DIE.cpp | 44 ID.AddInteger(unsigned(Form)); 79 // Emit form type. 200 getDIE##T().EmitValue(AP, Form); \ 212 return getDIE##T().SizeOf(AP, Form); 242 void DIEInteger::EmitValue(const AsmPrinter *Asm, dwarf::Form Form) const { 244 switch (Form) { 272 default: llvm_unreachable("DIE Value form not supported yet"); 279 unsigned DIEInteger::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const [all...] |
DwarfUnit.h | 180 Optional<dwarf::Form> Form, uint64_t Integer); 182 void addUInt(DIEValueList &Block, dwarf::Form Form, uint64_t Integer); 186 Optional<dwarf::Form> Form, int64_t Integer); 188 void addSInt(DIELoc &Die, Optional<dwarf::Form> Form, int64_t Integer); 201 dwarf::Form Form, [all...] |
DwarfUnit.cpp | 196 Optional<dwarf::Form> Form, uint64_t Integer) { 197 if (!Form) 198 Form = DIEInteger::BestForm(false, Integer); 199 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); 202 void DwarfUnit::addUInt(DIEValueList &Block, dwarf::Form Form, 204 addUInt(Block, (dwarf::Attribute)0, Form, Integer); 208 Optional<dwarf::Form> Form, int64_t Integer) [all...] |
/external/llvm/include/llvm/CodeGen/ |
DIE.h | 40 /// Form - Dwarf form code. 42 dwarf::Form Form; 45 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F) : Attribute(A), Form(F) {} 49 dwarf::Form getForm() const { return Form; } 91 void AddAttribute(dwarf::Attribute Attribute, dwarf::Form Form) { [all...] |
/libcore/ojluni/src/main/java/java/text/ |
Normalizer.java | 43 * text into an equivalent composed or decomposed form, allowing for easier 52 * In Unicode, this can be encoded as a single character (the "composed" form): 58 * or as two separate characters (the "decomposed" form): 125 public enum Form { 149 Form(android.icu.text.Normalizer.Mode icuMode) { 160 * @param form The normalization form; one of 161 * {@link java.text.Normalizer.Form#NFC}, 162 * {@link java.text.Normalizer.Form#NFD}, 163 * {@link java.text.Normalizer.Form#NFKC} [all...] |
/external/llvm/lib/DebugInfo/DWARF/ |
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 | 112 // First, check DWARF4 form classes. 113 if (Form < makeArrayRef(DWARF4FormClasses).size() && 114 DWARF4FormClasses[Form] == FC) 117 switch (Form) { 130 return (Form == DW_FORM_data4 || Form == DW_FORM_data8) && 139 // Read the value for the form into value and follow and DW_FORM_indirect 143 switch (Form) { 149 (Form == DW_FORM_addr) 211 Form = data.getULEB128(offset_ptr) [all...] |
DWARFDebugInfoEntry.cpp | 60 dumpAttribute(OS, u, &offset, AttrSpec.Attr, AttrSpec.Form, indent); 114 uint16_t attr, uint16_t form, 125 const char *formString = FormEncodingString(form); 129 OS << format(" [DW_FORM_Unknown_%x]", form); 131 DWARFFormValue formValue(form); 209 uint16_t Form = AttrSpec.Form; 212 (Form < FixedFormSizes.size()) ? FixedFormSizes[Form] : 0; 215 else if (!DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, U)) [all...] |
/external/curl/lib/ |
formdata.h | 26 FORM_DATA, /* form metadata (convert to network encoding if necessary) */ 27 FORM_CONTENT, /* form content (never convert) */ 31 to create the form data (never convert) */ 42 struct Form { 43 struct FormData *data; /* current form line to send */ 71 int Curl_FormInit(struct Form *form, struct FormData *formdata );
|
/external/chromium-trace/catapult/third_party/webtest/webtest/ |
__init__.py | 13 from webtest.forms import Form
|
/external/llvm/unittests/DebugInfo/DWARF/ |
DWARFFormValueTest.cpp | 31 // Check that we don't have fixed form sizes for weird address sizes. 35 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { 36 return DWARFFormValue(Form).isFormClass(FC); 54 DWARFFormValue createDataXFormValue(uint16_t Form, RawTypeT Value) { 58 DWARFFormValue Result(Form);
|
/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)
|
/libcore/ojluni/src/main/java/sun/misc/ |
FormattedFloatingDecimal.java | 47 public enum Form { SCIENTIFIC, COMPATIBLE, DECIMAL_FLOAT, GENERAL }; 49 private Form form; field in class:FormattedFloatingDecimal 51 private FormattedFloatingDecimal( boolean negSign, int decExponent, char []digits, int n, boolean e, int precision, Form form ) 59 this.form = form; 469 this(d, Integer.MAX_VALUE, Form.COMPATIBLE); 472 public FormattedFloatingDecimal( double d, int precision, Form form ) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutTest.java | 611 private List<CharSequence> buildTestCharSequences(String testString, Normalizer.Form[] forms) { 615 for (Normalizer.Form form: forms) { 616 normalizedStrings.add(Normalizer.normalize(testString, form)); 631 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { 633 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { 635 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) { 637 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKD)) { 640 throw new IllegalStateException("Normalized form is not NFC/NFD/NFKC/NFKD"); 657 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) [all...] |
/art/compiler/debug/dwarf/ |
debug_abbrev_writer.h | 59 void AddAbbrevAttribute(Attribute name, Form type) {
|
/art/test/092-locale/src/ |
Main.java | 126 res = Normalizer.normalize(composed, Normalizer.Form.NFD); 132 res = Normalizer.normalize(decomposed, Normalizer.Form.NFC);
|
/external/chromium-libpac/test/js-unittest/ |
passthrough.js | 13 // Form a string that kind-of resembles a host. We will replace any
|