/art/test/407-arrays/src/ |
Main.java | 32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, 41 assertEquals(0, chars[0]); 42 assertEquals(0, chars[index]); 63 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, 76 chars[0] = 'c'; 77 assertEquals('c', chars[0]); 78 chars[index] = 'd'; 79 assertEquals('d', chars[index]); 81 chars[0] = 65535; 82 assertEquals(65535, chars[0]) [all...] |
/external/guava/guava-tests/benchmark/com/google/common/base/ |
AsciiBenchmark.java | 24 import com.google.common.primitives.Chars; 43 @Param({"2", "20"}) int nonAlphaRatio; // one non-alpha char per this many chars 55 List<Character> chars = Lists.newArrayListWithCapacity(size); local 57 chars.add(randomAlpha()); 60 chars.add(randomNonAlpha()); 62 Collections.shuffle(chars, random); 63 char[] array = Chars.toArray(chars); 152 char[] chars = testString.toCharArray(); local 156 for (int n = 0; n < chars.length; n++) [all...] |
/external/icu/icu4c/source/layout/ |
ArabicLayoutEngine.cpp | 69 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, 77 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 97 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); 102 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage); 107 void ArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, 114 if (chars == NULL || offset < 0 || count < 0) { 120 OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); 128 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success); 176 void UnicodeArabicOpenTypeLayoutEngine::mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool /*mirror*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) 182 if (chars == NULL || offset < 0 || count < 0) [all...] |
IndicReordering.cpp | 597 le_int32 IndicReordering::findSyllable(const IndicClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount) 604 IndicClassTable::CharClass charClass = classTable->getCharClass(chars[cursor]); 625 le_int32 IndicReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 scriptCode, 654 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); 659 if (classTable->isStressMark(chars[markStart - 1])) { 661 output.noteStressMark(classTable, chars[markStart], markStart, tagArray1); 664 if (markStart != prev && classTable->isVowelModifier(chars[markStart - 1])) { 666 output.noteVowelModifier(classTable, chars[markStart], markStart, tagArray1); 671 while (output.noteMatra(classTable, chars[matra], matra, tagArray1, !lastInWord) && matra != prev) { 677 switch (classTable->getCharClass(chars[prev]) & CF_CLASS_MASK) [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
Charsets.java | 52 public static byte[] toAsciiBytes(char[] chars, int offset, int length) { 54 cb.put(chars, offset, length); 62 public static byte[] toIsoLatin1Bytes(char[] chars, int offset, int length) { 64 cb.put(chars, offset, length); 72 public static byte[] toUtf8Bytes(char[] chars, int offset, int length) { 74 cb.put(chars, offset, length); 82 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { 87 char ch = chars[i]; 102 public static void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars) { 103 if (bytes == null || chars == null) [all...] |
/external/v8/tools/ |
shell-utils.h | 54 byte* chars = new byte[*size + 1]; local 56 int read = static_cast<int>(fread(&chars[i], 1, file_size - i, file)); 62 chars[i] = chars[i - file_size]; 64 chars[*size] = 0; 66 return chars;
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
StringBuilder.java | 30 public char[] chars;
field in class:StringBuilder 55 return chars;
62 chars = new char[INITIAL_CAPACITY];
74 chars = new char[capacity];
88 chars = new char[length + INITIAL_CAPACITY];
89 System.arraycopy(builder.chars, 0, chars, 0, length);
99 chars = new char[length + INITIAL_CAPACITY];
100 string.getChars(0, length, chars, 0);
104 int newSize = (chars.length >> 1) + chars.length + 2; 1223 char[] chars = this.chars; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Strings.java | 205 char[] chars = string.toCharArray(); local 207 for (int i = 0; i != chars.length; i++) 209 char ch = chars[i]; 213 chars[i] = (char)(ch - 'a' + 'A'); 219 return new String(chars); 234 char[] chars = string.toCharArray(); local 236 for (int i = 0; i != chars.length; i++) 238 char ch = chars[i]; 242 chars[i] = (char)(ch - 'A' + 'a'); 248 return new String(chars); 310 char[] chars = new char[bytes.length]; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CharsTrieBuilder.java | 76 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength); 81 if(chars==null) { 82 chars=new char[1024]; 94 chars=null; 134 if(length>chars.length) { 135 int newCapacity=chars.length; 140 System.arraycopy(chars, chars.length-charsLength, 142 chars=newChars 272 private char[] chars; field in class:CharsTrieBuilder [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CharsTrieBuilder.java | 79 return CharBuffer.wrap(chars, chars.length-charsLength, charsLength); 84 if(chars==null) { 85 chars=new char[1024]; 98 chars=null; 138 if(length>chars.length) { 139 int newCapacity=chars.length; 144 System.arraycopy(chars, chars.length-charsLength, 146 chars=newChars 276 private char[] chars; field in class:CharsTrieBuilder [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
LigatureTree.java | 72 String ligatureString(int[] chars) 75 int len = chars.length - 1; 82 result.append(Utility.hex(chars[i], 6)); 85 result.append(" => " + Utility.hex(chars[len], 6)); 90 void insert(int[] chars, int index) 92 int c = chars[index]; 93 int len = chars.length; 97 System.out.println("ignoring ligature " + ligatureString(chars) + 109 subnodes[0].insert(chars, index + 1); 118 subnodes[i].insert(chars, index + 1) [all...] |
ArabicShaping.java | 62 * Chars in logical order. 67 public static void shape(char[] chars, int leftType, int rightType, ClassTable isolClassTable) { 89 for (int n = 0; n < chars.length; n++) { 90 char c = chars[n]; 102 chars[ern] += 2; 106 chars[n] = (char) (isolClassTable.getGlyphClassID(c) + 1); 110 chars[n] = (char) isolClassTable.getGlyphClassID(c); 120 chars[ern] += 2;
|
/external/v8/test/mjsunit/ |
cyrillic.js | 65 var chars = (lang == 0) ? cyrillic : greek; 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 [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
WriterChain.java | 34 * write(char[] chars) 35 * write(char[] chars, int start, int count) 36 * write(String chars) 37 * write(String chars, int start, int count) 56 public void write(char[] chars) throws IOException; 58 public void write(char[] chars, int start, int count) throws IOException; 60 public void write(String chars) throws IOException; 62 public void write(String chars, int start, int count) throws IOException;
|
/external/icu/icu4c/source/test/perf/leperf/ |
leperf.cpp | 19 LEUnicode *chars; member in class:Params 41 LEUnicode *chars = params->chars; local 42 glyphCount = engine->layoutChars(chars, 0, params->charLen, params->charLen, TRUE, 0.0, 0.0, status); 76 p.chars = ArabChars; 80 p.chars = new LEUnicode[257]; 82 p.chars[i] = i+1; 84 p.chars[256] = 0;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_pwd.py | 68 chars = list(fakename) 69 for i in xrange(len(chars)): 70 if chars[i] == 'z': 71 chars[i] = 'A' 73 elif chars[i] == 'Z': 76 chars[i] = chr(ord(chars[i]) + 1) 85 fakename = ''.join(chars)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_pwd.py | 68 chars = list(fakename) 69 for i in xrange(len(chars)): 70 if chars[i] == 'z': 71 chars[i] = 'A' 73 elif chars[i] == 'Z': 76 chars[i] = chr(ord(chars[i]) + 1) 85 fakename = ''.join(chars)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pwd.py | 68 chars = list(fakename) 69 for i in xrange(len(chars)): 70 if chars[i] == 'z': 71 chars[i] = 'A' 73 elif chars[i] == 'Z': 76 chars[i] = chr(ord(chars[i]) + 1) 85 fakename = ''.join(chars)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pwd.py | 68 chars = list(fakename) 69 for i in xrange(len(chars)): 70 if chars[i] == 'z': 71 chars[i] = 'A' 73 elif chars[i] == 'Z': 76 chars[i] = chr(ord(chars[i]) + 1) 85 fakename = ''.join(chars)
|
/external/clang/test/Driver/ |
aarch64-features.c | 4 // The AArch64 PCS states that chars should be unsigned.
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
PixelConverter.java | 48 public int convertHeightInCharsToPixels(int chars) { 49 return Dialog.convertHeightInCharsToPixels(fFontMetrics, chars); 69 public int convertWidthInCharsToPixels(int chars) { 70 return Dialog.convertWidthInCharsToPixels(fFontMetrics, chars);
|
/external/llvm/test/tools/llvm-objdump/Inputs/ |
file-aux-record.yaml | 13 File: eighteen-chars.obj
|
/external/llvm/test/tools/llvm-readobj/Inputs/ |
file-aux-record.yaml | 13 File: eighteen-chars.obj
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/ |
CharCache.java | 32 char[] chars = str.toCharArray(); local 34 int toWrite = chars.length < available ? chars.length : available; 35 System.arraycopy(chars, 0, cache, pos, toWrite);
|
/external/valgrind/none/tests/ |
cmd-with-special.vgtest | 2 # special chars that need escaping in the "Command:" line. We do the
|