Searched refs:text (Results 226 - 250 of 4837) sorted by relevance

1234567891011>>

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DRuleCharacterIterator.java13 import java.text.ParsePosition;
15 import com.ibm.icu.text.SymbolTable;
16 import com.ibm.icu.text.UTF16;
38 private String text; field in class:RuleCharacterIterator
92 * Constructs an iterator over the given text, starting at the given
94 * @param text the text to be iterated
102 public RuleCharacterIterator(String text, SymbolTable sym, argument
104 if (text == null || pos.getIndex() > text
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
H A DCollatorProviderICU.java7 package com.ibm.icu.impl.javaspi.text;
9 import java.text.Collator;
10 import java.text.spi.CollatorProvider;
20 com.ibm.icu.text.Collator icuCollator = com.ibm.icu.text.Collator.getInstance(
H A DDateFormatSymbolsProviderICU.java7 package com.ibm.icu.impl.javaspi.text;
9 import java.text.DateFormatSymbols;
10 import java.text.spi.DateFormatSymbolsProvider;
20 com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance(
H A DDecimalFormatSymbolsProviderICU.java7 package com.ibm.icu.impl.javaspi.text;
9 import java.text.DecimalFormatSymbols;
10 import java.text.spi.DecimalFormatSymbolsProvider;
21 com.ibm.icu.text.DecimalFormatSymbols icuDecfs = com.ibm.icu.text.DecimalFormatSymbols.getInstance(
H A DNumberFormatProviderICU.java7 package com.ibm.icu.impl.javaspi.text;
9 import java.text.NumberFormat;
10 import java.text.spi.NumberFormatProvider;
51 com.ibm.icu.text.NumberFormat icuNfmt;
55 icuNfmt = com.ibm.icu.text.NumberFormat.getNumberInstance(actual);
58 icuNfmt = com.ibm.icu.text.NumberFormat.getIntegerInstance(actual);
61 icuNfmt = com.ibm.icu.text.NumberFormat.getCurrencyInstance(actual);
64 icuNfmt = com.ibm.icu.text.NumberFormat.getPercentInstance(actual);
70 if (!(icuNfmt instanceof com.ibm.icu.text.DecimalFormat)) {
77 nf = DecimalFormatICU.wrap((com.ibm.icu.text
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DCollatorICU.java9 import java.text.CollationKey;
11 import com.ibm.icu.text.Collator;
15 * implements java.text.Collator APIs.
17 public class CollatorICU extends java.text.Collator {
25 public static java.text.Collator wrap(Collator icuCollator) {
66 com.ibm.icu.text.CollationKey icuCollKey = fIcuCollator.getCollationKey(source);
71 int mode = java.text.Collator.NO_DECOMPOSITION;
74 return java.text.Collator.FULL_DECOMPOSITION;
78 mode = java.text.Collator.CANONICAL_DECOMPOSITION;
81 // mode = java.text
[all...]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
H A DTokenizer.java9 import java.text.ParsePosition;
16 import com.ibm.icu.text.SymbolTable;
17 import com.ibm.icu.text.UTF16;
18 import com.ibm.icu.text.UnicodeMatcher;
19 import com.ibm.icu.text.UnicodeSet;
287 * @see com.ibm.icu.text.SymbolTable#lookup(java.lang.String)
295 * @see com.ibm.icu.text.SymbolTable#lookupMatcher(int)
303 * @see com.ibm.icu.text.SymbolTable#parseReference(java.lang.String, java.text.ParsePosition, int)
305 public String parseReference(String text, ParsePositio argument
[all...]
/external/skia/gm/
H A Dlargeglyphblur.cpp18 const char text[] = "Hamburgefons"; local
34 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, 0);
40 size_t len = strlen(text);
41 canvas->drawText(text, len, 10, 500, blurPaint);
42 canvas->drawText(text, len, 10, 500, paint);
/external/skia/src/views/animated/
H A DSkStaticTextView.cpp84 size_t SkStaticTextView::getText(SkString* text) const
86 if (text)
87 *text = fText;
91 size_t SkStaticTextView::getText(char text[]) const
93 if (text)
94 memcpy(text, fText.c_str(), fText.size());
98 void SkStaticTextView::setText(const SkString& text) argument
100 this->setText(text.c_str(), text.size());
103 void SkStaticTextView::setText(const char text[]) argument
110 setText(const char text[], size_t len) argument
176 const char* text = dom.findAttr(node, "text"); local
[all...]
/external/doclava/src/com/google/doclava/
H A DComment.java49 public Comment(String text, ContainerInfo base, SourcePositionInfo sp) { argument
50 mText = text;
52 // sp now points to the end of the text, not the beginning!
53 mPosition = SourcePositionInfo.findBeginning(sp, text);
56 private void parseCommentTags(String text) { argument
58 int length = text.length();
59 while (i < length && isWhitespaceChar(text.charAt(i++))) {}
65 text = text.substring(i-1);
66 length = text
111 findEndOfMainOrBlock(String text, int start, int end) argument
159 findStartIndexOfInlineTag(String text, int fromIndex, int toIndex) argument
169 findEndIndexOfInlineTag(String text, int fromIndex, int toIndex) argument
185 parseInlineTag(String text, int start, int end, SourcePositionInfo pos) argument
231 findStartOfBlock(String text, int start) argument
269 getPossibleStartOfBlock(String text, int index) argument
281 parseBlock(String text, int startOfBlock, int endOfBlock) argument
321 tag(String name, String text, boolean isInline, SourcePositionInfo pos) argument
[all...]
/external/protobuf/src/google/protobuf/io/
H A Dprinter.cc59 void Printer::Print(const map<string, string>& variables, const char* text) { argument
60 int size = strlen(text);
64 if (text[i] == '\n') {
65 // Saw newline. If there is more text, we may need to insert an indent
67 WriteRaw(text + pos, i - pos + 1);
74 } else if (text[i] == variable_delimiter_) {
78 WriteRaw(text + pos, i - pos);
82 const char* end = strchr(text + pos, variable_delimiter_);
85 end = text + pos;
87 int endpos = end - text;
113 Print(const char* text) argument
118 Print(const char* text, const char* variable, const string& value) argument
125 Print(const char* text, const char* variable1, const string& value1, const char* variable2, const string& value2) argument
134 Print(const char* text, const char* variable1, const string& value1, const char* variable2, const string& value2, const char* variable3, const string& value3) argument
[all...]
/external/webrtc/webrtc/libjingle/xmllite/
H A Dxmlprinter.cc27 void PrintQuotedValue(const std::string& text);
28 void PrintBodyText(const std::string& text);
29 void PrintCDATAText(const std::string& text);
129 void XmlPrinterImpl::PrintQuotedValue(const std::string& text) { argument
132 size_t unsafe = text.find_first_of("<>&\"", safe);
134 unsafe = text.length();
135 *pout_ << text.substr(safe, unsafe - safe);
136 if (unsafe == text.length())
138 switch (text[unsafe]) {
145 if (safe == text
150 PrintBodyText(const std::string& text) argument
170 PrintCDATAText(const std::string& text) argument
171 *pout_ << "<![CDATA[" << text << "]]>"; local
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DCommonToken.cs48 * We need to be able to change the text once in a while. If
53 string text; field in class:Antlr.Runtime.CommonToken
79 public CommonToken(int type, string text) { argument
82 this.text = text;
86 text = oldToken.Text;
102 if (text != null)
103 return text;
108 text = input.Substring(start, stop - start + 1);
110 text
[all...]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DDecimalFormatPerformanceTest.java9 import java.text.ParseException;
22 com.ibm.icu.text.DecimalFormat[] icuDecimalFormat;
24 java.text.DecimalFormat[] javaDecimalFormat;
41 icuDecimalFormat = new com.ibm.icu.text.DecimalFormat[threads];
42 javaDecimalFormat = new java.text.DecimalFormat[threads];
44 icuDecimalFormat[i] = new com.ibm.icu.text.DecimalFormat(pattern,
45 new com.ibm.icu.text.DecimalFormatSymbols(locale));
46 javaDecimalFormat[i] = new java.text.DecimalFormat(pattern,
47 new java.text.DecimalFormatSymbols(locale));
64 new com.ibm.icu.text
[all...]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DANTLRTreePrinter.g149 : id=ID {out(gtype+"grammar "+$id.text);}
150 (cmt=DOC_COMMENT {out($cmt.text+"\n");} )?
170 {scope=$id1.text; name=$a1.text; action=$a1.text;}
172 {scope=null; name=$id1.text; action=$a2.text;}
191 : ^( ASSIGN id=ID {out($id.text+"=");} optionValue )
195 : id=ID {out($id.text);}
196 | s=STRING_LITERAL {out($s.text);}
[all...]
/external/icu/icu4c/source/common/
H A Ddictbe.cpp44 DictionaryBreakEngine::findBreaks( UText *text, argument
53 // The span to break begins at the current position in the text, and
54 // extends towards the start or end of the text, depending on 'reverse'.
56 int32_t start = (int32_t)utext_getNativeIndex(text);
60 UChar32 c = utext_current32(text);
63 while((current = (int32_t)utext_getNativeIndex(text)) > startPos && isDict) {
64 c = utext_previous32(text);
72 utext_next32(text);
73 rangeStart = utext_getNativeIndex(text);
77 utext_setNativeIndex(text, star
154 candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) argument
246 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument
485 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument
678 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument
883 divideUpDictionaryRange( UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks ) const argument
[all...]
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DTagBalancingHtmlStreamRendererTest.java64 balancer.text("Hello, <<World>>!");
70 balancer.text("Hello,");
72 balancer.text("<<World>>!");
87 balancer.text("a");
89 balancer.text("b");
91 balancer.text("c");
104 balancer.text("foo");
108 balancer.text("bar");
123 balancer.text("Hello, World!");
125 balancer.text("Hell
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DDOTTreeGenerator.java68 new StringTemplate("$name$ [label=\"$text$\"];\n");
143 // for each child, do a "<unique-name> [label=text]" node def
185 String text = adaptor.getText(t);
190 nodeST.setAttribute("text", fixString(text));
208 String text = in;
210 if (text!=null) {
212 text = text.replaceAll("\"", "\\\\\"");
213 text
[all...]
/external/harfbuzz_ng/test/shaping/
H A Drecord-test.sh32 text="$arg"
36 text=`cat`
38 unicodes=`echo "$text" | ./hb-unicode-decode`
39 glyphs=`echo "$text" | $hb_shape $options "$fontfile"`
50 --text="$text"
57 glyphs_subset=`echo "$text" | $hb_shape $options "$dir/font.ttf.subset"`
63 echo "$text" | $hb_view $options "$dir/font.ttf" --output-format=png --output-file="$dir/orig.png"
64 echo "$text" | $hb_view $options "$dir/font.ttf.subset" --output-format=png --output-file="$dir/subset.png"
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
H A DIsoDate.java75 public static Date stringToDate(String text, int type) { argument
82 Integer.parseInt(text.substring(0, 4)));
85 Integer.parseInt(text.substring(5, 7))
90 Integer.parseInt(text.substring(8, 10)));
92 if (type != DATE_TIME || text.length() < 11) {
99 text = text.substring(11);
106 Integer.parseInt(text.substring(0, 2)));
110 Integer.parseInt(text.substring(3, 5)));
113 Integer.parseInt(text
[all...]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
H A DSmaliClassTypeElementTest.java47 String text = ".class public Lmy/pkg/blah; " +
51 text.replace("<ref>", ""));
54 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>"));
79 String text = ".class public Lsmali; " +
82 SmaliFile file = (SmaliFile)myFixture.addFileToProject("smali.smali", text.replace("<ref>", ""));
85 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>"));
101 String text = ".class public Lsmali; " +
104 SmaliFile file = (SmaliFile)myFixture.addFileToProject("smali.smali", text.replace("<ref>", ""));
107 (SmaliClassTypeElement)file.findReferenceAt(text.indexOf("<ref>"));
125 String text
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
H A Dt012lexerXML.g21 {this.output("ROOTELEMENT: "+$rootElementName.text)}
25 {this.output("SYSTEM: "+$sys1.text)}
28 {this.output("PUBLIC: "+$pub.text)}
29 {this.output("SYSTEM: "+$sys2.text)}
34 {this.output("INTERNAL DTD: "+$dtd.text)}
43 {this.output("PI: "+$target.text)}
58 {this.output("PCDATA: \""+$t.text+"\"")}
60 {this.output("CDATA: \""+$t.text+"\"")}
62 {this.output("Comment: \""+$t.text+"\"")}
72 {this.output("Start Tag: "+$name.text)}
[all...]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
H A Drdataclass.py72 def from_text(text):
73 """Convert text into a DNS rdata class value.
74 @param text: the text
75 @type text: string
81 value = _by_text.get(text.upper())
83 match = _unknown_class_pattern.match(text)
92 """Convert a DNS rdata class to text.
101 text = _by_value.get(value)
102 if text i
[all...]
H A Dreversename.py31 def from_address(text):
34 @param text: an IPv4 or IPv6 address in textual form (e.g. '127.0.0.1',
36 @type text: str
40 parts = list(dns.ipv6.inet_aton(text).encode('hex_codec'))
43 parts = ['%d' % ord(byte) for byte in dns.ipv4.inet_aton(text)]
58 text = '.'.join(labels)
60 return dns.ipv4.inet_ntoa(dns.ipv4.inet_aton(text))
71 text = ':'.join(parts)
73 return dns.ipv6.inet_ntoa(dns.ipv6.inet_aton(text))
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DDoublePropertyEditor.java18 import java.text.MessageFormat;
63 protected boolean setEditorText(Property property, String text) throws Exception { argument
64 text = text.trim();
66 if (text.length() == 0) {
72 value = Double.valueOf(text);
77 MessageFormat.format(ModelMessages.DoublePropertyEditor_notValidDouble, text));

Completed in 2255 milliseconds

1234567891011>>