/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/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/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/chromium_org/third_party/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | Strings.java | 169 char[] chars = string.toCharArray(); in toUpperCase() local 171 for (int i = 0; i != chars.length; i++) in toUpperCase() 173 char ch = chars[i]; in toUpperCase() 177 chars[i] = (char)(ch - 'a' + 'A'); in toUpperCase() 183 return new String(chars); in toUpperCase() 198 char[] chars = string.toCharArray(); in toLowerCase() local 200 for (int i = 0; i != chars.length; i++) in toLowerCase() 202 char ch = chars[i]; in toLowerCase() 206 chars[i] = (char)(ch - 'A' + 'a'); in toLowerCase() 212 return new String(chars); in toLowerCase() [all …]
|
/external/chromium_org/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 …]
|
D | ArabicLayoutEngine.cpp | 69 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, … in characterProcessing() argument 77 …if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { in characterProcessing() 97 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); in characterProcessing() 102 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage); in characterProcessing() 107 void ArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_… in adjustGlyphPositions() argument 114 if (chars == NULL || offset < 0 || count < 0) { in adjustGlyphPositions() 120 … OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); in adjustGlyphPositions() 128 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success); in adjustGlyphPositions() 176 void UnicodeArabicOpenTypeLayoutEngine::mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, … in mapCharsToGlyphs() argument 182 if (chars == NULL || offset < 0 || count < 0) { in mapCharsToGlyphs() [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/owasp/sanitizer/src/main/org/owasp/html/ |
D | Strings.java | 115 char[] chars = s.toCharArray(); in toLowerCase() local 116 chars[i] = LCASE_CHARS[c]; in toLowerCase() 118 c = chars[i]; in toLowerCase() 120 chars[i] = LCASE_CHARS[c]; in toLowerCase() 123 return String.valueOf(chars); in toLowerCase() 133 char[] chars = s.toCharArray(); in toUpperCase() local 134 chars[i] = UCASE_CHARS[c]; in toUpperCase() 136 c = chars[i]; in toUpperCase() 138 chars[i] = UCASE_CHARS[c]; in toUpperCase() 141 return String.valueOf(chars); in toUpperCase()
|
/external/chromium_org/mojo/public/cpp/bindings/ |
D | string.h | 22 String(const char* chars) : is_null_(!chars) { in String() argument 23 if (chars) in String() 24 value_ = chars; in String() 26 String(const char* chars, size_t num_chars) in String() argument 27 : value_(chars, num_chars), in String() 31 String(const char chars[N]) : value_(chars, N-1), is_null_(false) {} in String() 48 String& operator=(const char* chars) { 49 is_null_ = !chars; 50 if (chars) { 51 value_ = chars;
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
D | TextBoundaries.cpp | 62 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward) in findNextWordFromIndex() argument 64 TextBreakIterator* it = wordBreakIterator(chars, len); in findNextWordFromIndex() 71 if (position < len && isAlphanumeric(chars[position - 1])) in findNextWordFromIndex() 83 if (position > 0 && isAlphanumeric(chars[position])) in findNextWordFromIndex() 93 void findWordBoundary(const UChar* chars, int len, int position, int* start, int* end) in findWordBoundary() argument 95 TextBreakIterator* it = wordBreakIterator(chars, len); in findWordBoundary() 102 int findWordEndBoundary(const UChar* chars, int len, int position) in findWordEndBoundary() argument 104 TextBreakIterator* it = wordBreakIterator(chars, len); in findWordEndBoundary()
|
/external/chromium_org/third_party/icu/source/extra/scrptrun/ |
D | scrptrun.h | 38 ScriptRun(const UChar chars[], int32_t length); 40 ScriptRun(const UChar chars[], int32_t start, int32_t length); 46 void reset(const UChar chars[], int32_t start, int32_t length); 105 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) in ScriptRun() argument 107 reset(chars, 0, length); in ScriptRun() 110 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) in ScriptRun() argument 112 reset(chars, start, length); in ScriptRun() 146 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) in reset() argument 148 charArray = chars; in reset()
|
/external/icu/icu4c/source/extra/scrptrun/ |
D | scrptrun.h | 38 ScriptRun(const UChar chars[], int32_t length); 40 ScriptRun(const UChar chars[], int32_t start, int32_t length); 46 void reset(const UChar chars[], int32_t start, int32_t length); 105 inline ScriptRun::ScriptRun(const UChar chars[], int32_t length) in ScriptRun() argument 107 reset(chars, 0, length); in ScriptRun() 110 inline ScriptRun::ScriptRun(const UChar chars[], int32_t start, int32_t length) in ScriptRun() argument 112 reset(chars, start, length); in ScriptRun() 146 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) in reset() argument 148 charArray = chars; in reset()
|
/external/chromium_org/base/android/ |
D | jni_string.cc | 35 const jchar* chars = env->GetStringChars(str, NULL); in ConvertJavaStringToUTF8() local 36 DCHECK(chars); in ConvertJavaStringToUTF8() 37 UTF16ToUTF8(chars, env->GetStringLength(str), result); in ConvertJavaStringToUTF8() 38 env->ReleaseStringChars(str, chars); in ConvertJavaStringToUTF8() 72 const jchar* chars = env->GetStringChars(str, NULL); in ConvertJavaStringToUTF16() local 73 DCHECK(chars); in ConvertJavaStringToUTF16() 76 result->assign(chars, env->GetStringLength(str)); in ConvertJavaStringToUTF16() 77 env->ReleaseStringChars(str, chars); in ConvertJavaStringToUTF16()
|
/external/chromium_org/v8/tools/ |
D | shell-utils.h | 52 byte* chars = new byte[*size + 1]; in ReadFileAndRepeat() local 54 int read = static_cast<int>(fread(&chars[i], 1, file_size - i, file)); in ReadFileAndRepeat() 60 chars[i] = chars[i - file_size]; in ReadFileAndRepeat() 62 chars[*size] = 0; in ReadFileAndRepeat() 64 return chars; in ReadFileAndRepeat()
|
/external/chromium_org/third_party/icu/source/common/ |
D | unorm_it.c | 44 UChar *chars; member 95 UChar *chars; in reallocArrays() local 103 chars=(UChar *)(states+(capacity+1)); in reallocArrays() 115 uprv_memcpy(chars+delta+start, uni->chars+start, (limit-start)*4); in reallocArrays() 123 uprv_memcpy(chars+start, uni->chars+start, (limit-start)*4); in reallocArrays() 126 uni->chars=chars; in reallocArrays() 133 moveContentsTowardStart(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { in moveContentsTowardStart() argument 149 chars[destIndex]=chars[srcIndex]; in moveContentsTowardStart() 160 moveContentsTowardEnd(UCharIterator *api, UChar chars[], uint32_t states[], int32_t delta) { in moveContentsTowardEnd() argument 181 chars[--destIndex]=chars[--srcIndex]; in moveContentsTowardEnd() [all …]
|
/external/chromium_org/ui/gfx/ |
D | text_utils.cc | 18 base::i18n::UTF16CharIterator chars(&s); in RemoveAcceleratorChar() local 22 while (!chars.end()) { in RemoveAcceleratorChar() 23 int32 c = chars.get(); in RemoveAcceleratorChar() 24 int array_pos = chars.array_pos(); in RemoveAcceleratorChar() 25 chars.Advance(); in RemoveAcceleratorChar() 28 int span = chars.array_pos() - array_pos; in RemoveAcceleratorChar()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | leperf.cpp | 19 LEUnicode *chars; member in Params 41 LEUnicode *chars = params->chars; in iterate() local 42 …glyphCount = engine->layoutChars(chars, 0, params->charLen, params->charLen, TRUE, 0.0, 0.0, statu… in iterate() 76 p.chars = ArabChars; in main() 80 p.chars = new LEUnicode[257]; in main() 82 p.chars[i] = i+1; in main() 84 p.chars[256] = 0; in main()
|
/external/chromium_org/third_party/icu/source/test/perf/leperf/ |
D | leperf.cpp | 19 LEUnicode *chars; member in Params 41 LEUnicode *chars = params->chars; in iterate() local 42 …glyphCount = engine->layoutChars(chars, 0, params->charLen, params->charLen, TRUE, 0.0, 0.0, statu… in iterate() 76 p.chars = ArabChars; in main() 80 p.chars = new LEUnicode[257]; in main() 82 p.chars[i] = i+1; in main() 84 p.chars[256] = 0; in main()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | WriterToUTF8Buffered.java | 178 public void write(final char chars[], final int start, final int length) in write() argument 217 final char c = chars[end_chunk - 1]; in write() 218 int ic = chars[end_chunk - 1]; in write() 244 this.write(chars,start_chunk, len_chunk); in write() 263 for(; i < n && (c = chars[i])< 0x80 ; i++ ) in write() 269 final char c = chars[i]; in write() 290 low = chars[i]; in write() 379 final char[] chars = m_inputChars; in write() local 391 for(; i < n && (c = chars[i])< 0x80 ; i++ ) in write() 397 final char c = chars[i]; in write() [all …]
|
/external/stlport/test/unit/ |
D | alg_test.cpp | 277 char chars[] = {1, 2}; in find_first_of_test() local 286 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test() 291 unsigned char chars[] = {1, 2, 255}; in find_first_of_test() local 300 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test() 305 signed char chars[] = {93, 2, -101, 13}; in find_first_of_test() local 315 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test() 320 char chars[] = {1, 2}; in find_first_of_test() local 329 first = find_first_of(intv.begin(), intv.end(), chars, chars + sizeof(chars)); in find_first_of_test()
|
/external/chromium_org/v8/src/ |
D | utils.h | 307 size_t chars) { 308 memcpy(dest, src, chars); 324 size_t chars); 336 size_t chars) { 337 memcpy(dest, src, chars); 688 int chars) { 689 const lchar* limit = lhs + chars; 693 return memcmp(lhs, rhs, chars); 705 inline int CompareChars(const lchar* lhs, const rchar* rhs, int chars) { 712 chars); [all …]
|