/external/python/cpython2/Tools/scripts/ |
H A D | parseentities.py | 20 def parse(text,pos=0,endpos=None): 24 endpos = len(text) 27 m = entityRE.search(text,pos,endpos) 62 text = infile.read() variable 63 defs = parse(text)
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowClipboardManager.java | 3 import android.text.ClipboardManager; 9 private CharSequence text; field in class:ShadowClipboardManager 12 public void setText(CharSequence text) { argument 13 this.text = text; 18 return text; 23 return text != null && text.length() > 0;
|
/external/skia/gm/ |
H A D | fontcache.cpp | 16 static SkScalar draw_string(SkCanvas* canvas, const SkString& text, SkScalar x, argument 18 canvas->drawString(text, x, y, paint); 19 return x + paint.measureText(text.c_str(), text.size()); 55 SkString text("ABCDEFGHIJ"); 56 draw_string(canvas, text, x, y, paint); 65 draw_string(canvas, text, x, y, paint);
|
H A D | getpostextpath.cpp | 25 const char* text = "Ham bur ge fons"; local 26 int len = SkToInt(strlen(text)); 36 canvas->drawText(text, len, 0, 0, paint); 37 paint.getTextPath(text, len, 0, 0, &path); 43 paint.getTextWidths(text, len, &widths[0]); 55 canvas->drawPosText(text, len, &pos[0], paint); 56 paint.getPosTextPath(text, len, &pos[0], &path);
|
H A D | pdf_never_embed.cpp | 13 const char* text, 16 size_t textLen = strlen(text); 18 paint.getTextWidths(text, textLen, &widths[0]); 24 canvas->drawPosText(text, textLen, &pos[0], paint); 37 const char text[] = "HELLO, WORLD!"; local 40 excercise_draw_pos_text(canvas, text, 30, 90, p); 45 excercise_draw_pos_text(canvas, text, 30, 45, p); 51 excercise_draw_pos_text(canvas, text, 15, 70, p); 56 canvas->drawString(text, 30, 700, p); 12 excercise_draw_pos_text(SkCanvas* canvas, const char* text, SkScalar x, SkScalar y, const SkPaint& paint) argument
|
H A D | skbug_5321.cpp | 18 const char text[] = "x\314\200y"; // utf8(u"x\u0300y") local 20 size_t byteLength = strlen(text); 21 canvas->drawText(text, byteLength, x, y, paint); 23 int glyph_count = paint.countText(text, byteLength); 25 (void)paint.getTextWidths(text, byteLength, &widths[0]); 32 canvas->drawPosTextH(text, byteLength, &widths[0], y, paint);
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/ |
H A D | LineConverter.java | 42 * Check if the specified text is matching some conversions rules. 45 * <p>In case no rule can be applied, then the input text is 48 * @param text 51 public String[] getReplacement(String text) { argument 60 matcher = pattern.matcher(text); 62 // System.out.println("matching " + text); 65 text = matcher.replaceAll(replacementText); 73 return new String[] { text }; 75 return new String[] { text, additionalLine }; 79 public String getOneLineReplacement(String text) { argument [all...] |
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/leaf/ |
H A D | SmaliClassDescriptor.java | 9 public SmaliClassDescriptor(CharSequence text) { argument 10 super(SmaliTokens.CLASS_DESCRIPTOR, text);
|
/external/strace/tests/ |
H A D | rt_sigpending.c | 49 iterate(const char *const text, unsigned int size, void *set) argument 65 text, size);
|
/external/strace/tests-m32/ |
H A D | rt_sigpending.c | 49 iterate(const char *const text, unsigned int size, void *set) argument 65 text, size);
|
/external/strace/tests-mx32/ |
H A D | rt_sigpending.c | 49 iterate(const char *const text, unsigned int size, void *set) argument 65 text, size);
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
H A D | Diagnostics.cpp | 28 const std::string& text) 31 print(id, loc, text); 26 report(ID id, const SourceLocation& loc, const std::string& text) argument
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | BidiWriter.java | 14 package android.icu.text; 96 private static String doWriteForward(char[] text, int start, int limit, argument 99 return doWriteForward(new String(text, start, limit - start), options); 109 * The general strategy for this is to read the source text 234 static String doWriteReverse(char[] text, int start, int limit, int options) argument 236 return writeReverse(new String(text, start, limit - start), options); 243 char[] text = bidi.text; 275 * Iterate through all visual runs and copy the run text segments to 290 dest.append(doWriteForward(text, bidiRu [all...] |
H A D | CaseFoldTransliterator.java | 10 package android.icu.text; 61 protected synchronized void handleTransliterate(Replaceable text, argument 71 iter.setText(text); 115 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
|
H A D | EscapeTransliterator.java | 13 package android.icu.text; 179 protected void handleTransliterate(Replaceable text, argument 189 int c = grokSupplementals ? text.char32At(start) : text.charAt(start); 211 text.replace(start, start + charLen, buf.toString()); 222 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
|
H A D | FunctionReplacer.java | 14 package android.icu.text; 17 * A replacer that calls a transliterator to generate its output text. 18 * The input text to the transliterator is the output of another 31 * The replacer object. This generates text that is then 51 public int replace(Replaceable text, argument 57 int len = replacer.replace(text, start, limit, cursor); 61 limit = translit.transliterate(text, start, limit);
|
H A D | NameUnicodeTransliterator.java | 8 package android.icu.text; 51 protected void handleTransliterate(Replaceable text, argument 73 c = text.char32At(cursor); 79 int i = Utility.parsePattern(OPEN_PAT, text, cursor, limit); 129 text.replace(openPos, cursor, str); 175 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
|
H A D | NormalizationTransliterator.java | 14 package android.icu.text; 85 protected void handleTransliterate(Replaceable text, argument 96 * bulk mode, so that styled text is minimally disrupted. 100 * If it was known that the input text is not styled, then 106 int c = text.char32At(start); 115 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start))); 126 text.replace(prev, start, normalized.toString()); 155 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text [all...] |
H A D | UnicodeMatcher.java | 10 package android.icu.text; 20 * mismatch between the text and this matcher. The text contains 21 * a character which does not match, or the text does not contain 28 * partial match between the text and this matcher. This value is 30 * of the text match, but more characters are required for a 32 * all characters of the text match, and if more characters were 39 * complete match between the text and this matcher. For an 41 * the given text matches, and it is known that additional 49 * of text outsid 96 matches(Replaceable text, int[] offset, int limit, boolean incremental) argument [all...] |
H A D | UnicodeNameTransliterator.java | 8 package android.icu.text; 47 protected void handleTransliterate(Replaceable text, argument 58 int c = text.char32At(cursor); 65 text.replace(cursor, cursor+clen, str.toString()); 67 cursor += len; // advance cursor by 1 and adjust for new text 80 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet)
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | BidiWriter.java | 13 package com.ibm.icu.text; 95 private static String doWriteForward(char[] text, int start, int limit, argument 98 return doWriteForward(new String(text, start, limit - start), options); 108 * The general strategy for this is to read the source text 233 static String doWriteReverse(char[] text, int start, int limit, int options) argument 235 return writeReverse(new String(text, start, limit - start), options); 242 char[] text = bidi.text; 274 * Iterate through all visual runs and copy the run text segments to 289 dest.append(doWriteForward(text, bidiRu [all...] |
H A D | UnicodeMatcher.java | 9 package com.ibm.icu.text; 20 * mismatch between the text and this matcher. The text contains 21 * a character which does not match, or the text does not contain 29 * partial match between the text and this matcher. This value is 31 * of the text match, but more characters are required for a 33 * all characters of the text match, and if more characters were 41 * complete match between the text and this matcher. For an 43 * the given text matches, and it is known that additional 52 * of text outsid 101 matches(Replaceable text, int[] offset, int limit, boolean incremental) argument [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | CaseFoldTransliterator.java | 9 package com.ibm.icu.text; 60 protected synchronized void handleTransliterate(Replaceable text, argument 70 iter.setText(text); 114 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet)
|
H A D | FunctionReplacer.java | 13 package com.ibm.icu.text; 16 * A replacer that calls a transliterator to generate its output text. 17 * The input text to the transliterator is the output of another 30 * The replacer object. This generates text that is then 50 public int replace(Replaceable text, argument 56 int len = replacer.replace(text, start, limit, cursor); 60 limit = translit.transliterate(text, start, limit);
|
H A D | NameUnicodeTransliterator.java | 7 package com.ibm.icu.text; 50 protected void handleTransliterate(Replaceable text, argument 72 c = text.char32At(cursor); 78 int i = Utility.parsePattern(OPEN_PAT, text, cursor, limit); 128 text.replace(openPos, cursor, str); 174 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet)
|