/external/valgrind/none/tests/ |
D | unit_debuglog.stderr.exp | 2 |%f| printf = |0.000000| wrote 10 chars 3 |%f| debuglog = |0.000000| wrote 10 chars 4 |%2f| printf = |0.000000| wrote 10 chars 5 |%2f| debuglog = |0.000000| wrote 10 chars 6 |%9f| printf = | 0.000000| wrote 11 chars 7 |%9f| debuglog = | 0.000000| wrote 11 chars 8 |%8.0f| printf = | 0| wrote 10 chars 9 |%8.0f| debuglog = | 0| wrote 10 chars 10 |%8.1f| printf = | 0.0| wrote 10 chars 11 |%8.1f| debuglog = | 0.0| wrote 10 chars [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
D | DistinguishedNameParser.java | 37 private char[] chars; field in DistinguishedNameParser 51 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 62 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) { in nextAT() 75 if (chars[pos] == ' ') { in nextAT() 76 for (; pos < length && chars[pos] != '=' && chars[pos] == ' '; pos++) { in nextAT() 79 if (chars[pos] != '=' || pos == length) { in nextAT() 88 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 93 if ((end - beg > 4) && (chars[beg + 3] == '.') in nextAT() 94 && (chars[beg] == 'O' || chars[beg] == 'o') in nextAT() 95 && (chars[beg + 1] == 'I' || chars[beg + 1] == 'i') in nextAT() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | StringBuilder.java | 30 public char[] chars; field in StringBuilder 55 return chars; in getValue() 62 chars = new char[INITIAL_CAPACITY]; in StringBuilder() 74 chars = new char[capacity]; in StringBuilder() 88 chars = new char[length + INITIAL_CAPACITY]; in StringBuilder() 89 System.arraycopy(builder.chars, 0, chars, 0, length); in StringBuilder() 99 chars = new char[length + INITIAL_CAPACITY]; in StringBuilder() 100 string.getChars(0, length, chars, 0); in StringBuilder() 104 int newSize = (chars.length >> 1) + chars.length + 2; in enlargeBuffer() 106 System.arraycopy(chars, 0, newData, 0, length); in enlargeBuffer() [all …]
|
D | DataInput.java | 26 private char[] chars = new char[32]; field in DataInput 66 if (chars.length < charCount) chars = new char[charCount]; in readString() 67 char[] chars = this.chars; in readString() local 74 chars[charIndex++] = (char)b; in readString() 78 return new String(chars, 0, charCount); in readString() 82 char[] chars = this.chars; in readUtf8_slow() local 93 chars[charIndex] = (char)b; in readUtf8_slow() 97 chars[charIndex] = (char)((b & 0x1F) << 6 | read() & 0x3F); in readUtf8_slow() 100 chars[charIndex] = (char)((b & 0x0F) << 12 | (read() & 0x3F) << 6 | read() & 0x3F); in readUtf8_slow()
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3string.c | 55 static pANTLR3_UINT8 set8 (pANTLR3_STRING string, const char * chars); 56 static pANTLR3_UINT8 setUTF16_8 (pANTLR3_STRING string, const char * chars); 57 static pANTLR3_UINT8 setUTF16_UTF16 (pANTLR3_STRING string, const char * chars); 65 static pANTLR3_UINT8 setS (pANTLR3_STRING string, pANTLR3_STRING chars); 243 if (string->chars) in stringFree() 245 ANTLR3_FREE(string->chars); in stringFree() 264 string->chars = NULL; in stringInit8() 301 string->chars = NULL; in stringInitUTF16() 339 string->chars = NULL; in stringInitUTF8() 351 return string->factory->newPtr(string->factory, (pANTLR3_UINT8)(string->chars), string->len); in toUTF8_8() [all …]
|
/external/caliper/examples/src/main/java/examples/ |
D | CharacterBenchmark.java | 33 private char[] chars; field in CharacterBenchmark 36 this.chars = characterSet.chars; in setUp() 44 final char[] chars; field in CharacterBenchmark.CharacterSet 46 this.chars = new char[65536]; in CharacterSet() 48 chars[i] = (char) (i % size); in CharacterSet() 76 Character.digit(chars[ch], 10); in digit() 82 Character.digit((int) chars[ch], 10); in digit() 92 Character.getNumericValue(chars[ch]); in getNumericValue() 98 Character.getNumericValue((int) chars[ch]); in getNumericValue() 108 Character.isDigit(chars[ch]); in isDigit() [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | WCMatcher.java | 25 final char [] chars = pattern.toCharArray (); // is this faster than using charAt()? in compile() local 26 final int charsLength = chars.length; in compile() 37 final char ch = chars [c]; in compile() 44 chars [patternLength ++] = '*'; in compile() 51 chars [patternLength ++] = ch; in compile() 61 else if (chars [0] == '*') in compile() 62 return new EndsWithMatcher (chars, patternLength); in compile() 63 else if (chars [patternLength - 1] == '*') in compile() 64 return new StartsWithMatcher (chars, patternLength); in compile() 67 return new PatternMatcher (chars, patternLength); in compile() [all …]
|
/external/speex/libspeex/ |
D | bits.c | 50 bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME); in speex_bits_init() 51 if (!bits->chars) in speex_bits_init() 63 bits->chars = (char*)buff; in speex_bits_init_buffer() 73 bits->chars = (char*)buff; in speex_bits_set_bit_buffer() 88 speex_free(bits->chars); in speex_bits_destroy() 95 bits->chars[0]=0; in speex_bits_reset() 109 EXPORT void speex_bits_read_from(SpeexBits *bits, char *chars, int len) in speex_bits_read_from() argument 118 char *tmp = (char*)speex_realloc(bits->chars, nchars); in speex_bits_read_from() 122 bits->chars=tmp; in speex_bits_read_from() 139 bits->chars[i]=HTOLS(chars[i]); in speex_bits_read_from() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Ascii.java | 441 char[] chars = string.toCharArray(); in toLowerCase() local 443 char c = chars[i]; in toLowerCase() 445 chars[i] = (char) (c ^ 0x20); in toLowerCase() 448 return String.valueOf(chars); in toLowerCase() 461 public static String toLowerCase(CharSequence chars) { in toLowerCase() argument 462 if (chars instanceof String) { in toLowerCase() 463 return toLowerCase((String) chars); in toLowerCase() 465 int length = chars.length(); in toLowerCase() 468 builder.append(toLowerCase(chars.charAt(i))); in toLowerCase() 490 char[] chars = string.toCharArray(); in toUpperCase() local [all …]
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
D | HttpWriter.java | 110 char[] chars = _out._chars; in write() local 111 s.getChars(offset, offset + length, chars, 0); in write() 112 write(chars, 0, length); in write() 124 int chars = length>MAX_OUTPUT_CHARS?MAX_OUTPUT_CHARS:length; in write() local 131 converter.write(s, offset, chars); in write() 141 if (chars>buffer.length-bytes) in write() 142 chars=buffer.length-bytes; in write() 144 for (int i = 0; i < chars; i++) in write() 160 if (bytes+chars>buffer.length) in write() 161 chars=buffer.length-bytes; in write() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
D | CharArr.java | 21 private char[] chars; field in CharArr 26 public CharArr(char[] chars) { in CharArr() argument 27 this.chars = chars; in CharArr() 31 return Arrays.toString(chars); in toString() 35 return chars; in getChars() 38 public void setChars(char[] chars) { in setChars() argument 39 this.chars = chars; in setChars()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CharsTrieBuilder.java | 79 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength); in buildCharSequence() 84 if(chars==null) { in buildChars() 85 chars=new char[1024]; in buildChars() 98 chars=null; in clear() 138 if(length>chars.length) { in ensureCapacity() 139 int newCapacity=chars.length; in ensureCapacity() 144 System.arraycopy(chars, chars.length-charsLength, in ensureCapacity() 146 chars=newChars; in ensureCapacity() 160 chars[chars.length-charsLength]=(char)unit; in write() 174 int charsOffset=chars.length-charsLength; in write() [all …]
|
D | CharsTrie.java | 85 private CharSequence chars; field in CharsTrie.State 99 state.chars=chars_; in saveState() 117 if(chars_==state.chars && chars_!=null && root_==state.root) { in resetToState() 423 public CharSequence chars; field in CharsTrie.Entry 546 entry_.chars=str_; in next() 587 entry_.chars=str_; in truncateAndStop() 612 entry_.chars=str_; in branchNext() 647 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument 652 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue() 654 value=(chars.charAt(pos)<<16)|chars.charAt(pos+1); in readValue() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CharsTrieBuilder.java | 76 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength); in buildCharSequence() 81 if(chars==null) { in buildChars() 82 chars=new char[1024]; in buildChars() 94 chars=null; in clear() 134 if(length>chars.length) { in ensureCapacity() 135 int newCapacity=chars.length; in ensureCapacity() 140 System.arraycopy(chars, chars.length-charsLength, in ensureCapacity() 142 chars=newChars; in ensureCapacity() 156 chars[chars.length-charsLength]=(char)unit; in write() 170 int charsOffset=chars.length-charsLength; in write() [all …]
|
D | CharsTrie.java | 81 private CharSequence chars; field in CharsTrie.State 94 state.chars=chars_; in saveState() 111 if(chars_==state.chars && chars_!=null && root_==state.root) { in resetToState() 403 public CharSequence chars; field in CharsTrie.Entry 521 entry_.chars=str_; in next() 561 entry_.chars=str_; in truncateAndStop() 586 entry_.chars=str_; in branchNext() 621 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument 626 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue() 628 value=(chars.charAt(pos)<<16)|chars.charAt(pos+1); in readValue() [all …]
|
/external/v8/test/mjsunit/ |
D | cyrillic.js | 65 var chars = (lang == 0) ? cyrillic : greek; variable 69 var first = lc ? chars.first : chars.FIRST; 70 var middle = lc ? chars.middle : chars.MIDDLE; 71 var last = lc ? chars.last : chars.LAST; 72 var first_other_case = lc ? chars.FIRST : chars.first; 73 var middle_other_case = lc ? chars.MIDDLE : chars.middle; 74 var last_other_case = lc ? chars.LAST : chars.last; 92 if (chars.BetweenCases) { 93 assertFalse(Range(first, last).test(chars.BetweenCases), 13); 94 assertFalse(Range(first, last, "i").test(chars.BetweenCases), 14); [all …]
|
/external/icu/icu4c/source/layout/ |
D | IndicReordering.cpp | 597 le_int32 IndicReordering::findSyllable(const IndicClassTable *classTable, const LEUnicode *chars, l… in findSyllable() argument 604 IndicClassTable::CharClass charClass = classTable->getCharClass(chars[cursor]); in findSyllable() 625 le_int32 IndicReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 scriptCode, in reorder() argument 654 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); in reorder() 659 if (classTable->isStressMark(chars[markStart - 1])) { in reorder() 661 output.noteStressMark(classTable, chars[markStart], markStart, tagArray1); in reorder() 664 if (markStart != prev && classTable->isVowelModifier(chars[markStart - 1])) { in reorder() 666 output.noteVowelModifier(classTable, chars[markStart], markStart, tagArray1); in reorder() 671 …while (output.noteMatra(classTable, chars[matra], matra, tagArray1, !lastInWord) && matra != prev)… in reorder() 677 switch (classTable->getCharClass(chars[prev]) & CF_CLASS_MASK) { in reorder() [all …]
|
D | KhmerReordering.cpp | 336 le_int32 KhmerReordering::findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, l… in findSyllable() argument 342 …KhmerClassTable::CharClass charClass = (classTable->getCharClass(chars[cursor]) & KhmerClassTable:… in findSyllable() 359 le_int32 KhmerReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 /*scriptCode… in reorder() argument 372 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); in reorder() 381 charClass = classTable->getCharClass(chars[i]); in reorder() 392 output.writeChar(chars[i], i, tagPref); in reorder() 401 …( (classTable->getCharClass(chars[i + 1]) & KhmerClassTable::CF_CLASS_MASK) == KhmerClassTable::CC… in reorder() 417 if (classTable->getCharClass(chars[prev]) & KhmerClassTable::CF_DOTTED_CIRCLE) { in reorder() 423 charClass = classTable->getCharClass(chars[i]); in reorder() 438 output.writeChar(chars[i], i, tagAbvf); in reorder() [all …]
|
/external/smali/util/src/main/java/org/jf/util/ |
D | Utf8Utils.java | 86 char[] chars = localBuffer.get(); in utf8BytesToString() local 87 if (chars == null || chars.length < length) { in utf8BytesToString() 88 chars = new char[length]; in utf8BytesToString() 89 localBuffer.set(chars); in utf8BytesToString() 163 chars[outAt] = out; in utf8BytesToString() 167 return new String(chars, 0, outAt); in utf8BytesToString() 193 char[] chars = localBuffer.get(); in utf8BytesWithUtf16LengthToString() local 194 if (chars == null || chars.length < utf16Length) { in utf8BytesWithUtf16LengthToString() 195 chars = new char[utf16Length]; in utf8BytesWithUtf16LengthToString() 196 localBuffer.set(chars); in utf8BytesWithUtf16LengthToString() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | Strings.java | 205 char[] chars = string.toCharArray(); in toUpperCase() local 207 for (int i = 0; i != chars.length; i++) in toUpperCase() 209 char ch = chars[i]; in toUpperCase() 213 chars[i] = (char)(ch - 'a' + 'A'); in toUpperCase() 219 return new String(chars); in toUpperCase() 234 char[] chars = string.toCharArray(); in toLowerCase() local 236 for (int i = 0; i != chars.length; i++) in toLowerCase() 238 char ch = chars[i]; in toLowerCase() 242 chars[i] = (char)(ch - 'A' + 'a'); in toLowerCase() 248 return new String(chars); in toLowerCase() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
D | BaseEncoding.java | 192 public final byte[] decode(CharSequence chars) { in decode() argument 194 return decodeChecked(chars); in decode() 207 final byte[] decodeChecked(CharSequence chars) throws DecodingException { in decodeChecked() argument 208 chars = padding().trimTrailingFrom(chars); in decodeChecked() 209 ByteInput decodedInput = decodingStream(asCharInput(chars)); in decodeChecked() 210 byte[] tmp = new byte[maxDecodedSize(chars.length())]; in decodeChecked() 230 abstract int maxDecodedSize(int chars); in maxDecodedSize() argument 392 private final char[] chars; field in BaseEncoding.Alphabet 400 Alphabet(String name, char[] chars) { in Alphabet() argument 402 this.chars = checkNotNull(chars); in Alphabet() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | UScriptRun.java | 112 public UScriptRun(char[] chars) in UScriptRun() argument 114 reset(chars); in UScriptRun() 129 public UScriptRun(char[] chars, int start, int count) in UScriptRun() argument 131 reset(chars, start, count); in UScriptRun() 206 public final void reset(char[] chars, int start, int count) in reset() argument 208 if (chars == null) { in reset() 209 chars = emptyCharArray; in reset() 212 text = chars; in reset() 227 public final void reset(char[] chars) in reset() argument 231 if (chars != null) { in reset() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
D | UScriptRun.java | 114 public UScriptRun(char[] chars) in UScriptRun() argument 116 reset(chars); in UScriptRun() 131 public UScriptRun(char[] chars, int start, int count) in UScriptRun() argument 133 reset(chars, start, count); in UScriptRun() 208 public final void reset(char[] chars, int start, int count) in reset() argument 210 if (chars == null) { in reset() 211 chars = emptyCharArray; in reset() 214 text = chars; in reset() 229 public final void reset(char[] chars) in reset() argument 233 if (chars != null) { in reset() [all …]
|
/external/pdfium/core/src/fxcrt/ |
D | fx_arabic.cpp | 822 void FX_BidiReverseString(CFX_ArrayTemplate<baseType>& chars, in FX_BidiReverseString() argument 825 FXSYS_assert(iStart > -1 && iStart < chars.GetSize()); in FX_BidiReverseString() 826 FXSYS_assert(iCount >= 0 && iStart + iCount <= chars.GetSize()); in FX_BidiReverseString() 830 pStart = chars.GetDataPtr(iStart++); in FX_BidiReverseString() 831 pEnd = chars.GetDataPtr(iEnd--); in FX_BidiReverseString() 837 void FX_BidiSetDeferredRun(CFX_ArrayTemplate<baseType>& chars, in FX_BidiSetDeferredRun() argument 842 FXSYS_assert(iStart > -1 && iStart <= chars.GetSize()); in FX_BidiSetDeferredRun() 848 pTC = chars.GetDataPtr(i); in FX_BidiSetDeferredRun() 853 pTC = chars.GetDataPtr(i); in FX_BidiSetDeferredRun() 858 void FX_BidiClassify(CFX_ArrayTemplate<baseType>& chars, in FX_BidiClassify() argument [all …]
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
D | DemoTextBox.java | 19 this.chars = new char[text.length()]; in DemoTextBox() 20 text.getChars(0, text.length(), chars, 0); in DemoTextBox() 41 g.drawChars(chars, index, breakPos[i] - index, x, y); in draw() 46 g.drawChars(chars, index, chars.length - index, x, y); in draw() 52 if (metrics.charsWidth(chars, 0, chars.length) > width) in breakText() 63 int w = metrics.charsWidth(chars, start, pos - start); in breakText() 89 private char[] chars; field in DemoTextBox
|