/dalvik/tests/045-reflect-array/src/ |
Main.java | 72 Object charArray = Array.newInstance(Character.TYPE, 7); 74 char[] array = (char[]) charArray; 82 Array.setChar(charArray, 1, '1'); 83 Array.setChar(charArray, 4, '4'); 85 Array.setShort(charArray, 3, (short) 'Y'); 89 Array.setInt(charArray, 5, 'Z'); 95 if (Array.getInt(charArray, i) - '0' != i) { 100 if (Array.getInt(charArray, 4) != '4') { 104 System.err.println("Couldn't Array.getInt(charArray)"); 107 Array.getByte(charArray, 2) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedWriterTest.java | 147 char[] charArray = testString.toCharArray(); 157 bw.write(charArray, -1, 0); 164 bw.write(charArray, 0, -1); 171 bw.write(charArray, charArray.length + 1, 0); 178 bw.write(charArray, charArray.length, 1); 185 bw.write(charArray, 0, charArray.length + 1); 192 bw.write(charArray, 1, charArray.length) [all...] |
OldPushbackReaderTest.java | 165 char[] charArray = new char[10]; 175 pbr.read(charArray, 0, -1); 182 pbr.read(charArray, -1, 0); 189 pbr.read(charArray, charArray.length + 1, 0); 196 pbr.read(charArray, charArray.length, 1); 203 pbr.read(charArray, 1, charArray.length); 210 pbr.read(charArray, 0, charArray.length + 1) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
SignatureTest.java | 82 char[] charArray = signature.toChars(); 83 String actualString = new String(charArray); 93 char[] charArray = signature.toChars(existingCharArray, intArray); 96 existingCharArray == charArray); 98 String actualString = new String(charArray); 111 char[] charArray = signature.toChars(existingCharArray, intArray); 114 existingCharArray == charArray); 116 String actualString = new String(charArray); 129 char[] charArray = signature.toChars(existingCharArray, intArray); 132 existingCharArray == charArray); [all...] |
/art/test/045-reflect-array/src/ |
Main.java | 73 Object charArray = Array.newInstance(Character.TYPE, 7); 75 char[] array = (char[]) charArray; 83 Array.setChar(charArray, 1, '1'); 84 Array.setChar(charArray, 4, '4'); 86 Array.setShort(charArray, 3, (short) 'Y'); 90 Array.setInt(charArray, 5, 'Z'); 96 if (Array.getInt(charArray, i) - '0' != i) { 101 if (Array.getInt(charArray, 4) != '4') { 108 Array.getByte(charArray, 2); 112 Array.setChar(charArray, 3, (char) 0xffff) [all...] |
/art/runtime/mirror/ |
string.h | 46 const CharArray* GetCharArray() const; 82 static String* Alloc(Thread* self, Class* java_lang_String, CharArray* array) 136 void SetArray(CharArray* new_array) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 139 CharArray* array_; 156 CharArray* ASCII_;
|
string.cc | 31 const CharArray* String::GetCharArray() const { 32 return GetFieldObject<const CharArray*>(ValueOffset(), false); 61 void String::SetArray(CharArray* new_array) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 125 CharArray* array = const_cast<CharArray*>(string->GetCharArray()); 162 SirtRef<CharArray> array(self, CharArray::Alloc(self, utf16_length)); 169 String* String::Alloc(Thread* self, Class* java_lang_String, CharArray* array) { 171 SirtRef<CharArray> array_ref(self, array);
|
object-inl.h | 175 inline CharArray* Object::AsCharArray() { 178 return down_cast<CharArray*>(this);
|
object.h | 42 typedef PrimitiveArray<uint16_t> CharArray; 143 CharArray* AsCharArray();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PushbackReaderTest.java | 130 char[] charArray = new char[10]; 138 pbr.read(charArray, 0, -1); 143 pbr.read(charArray, -1, 0); 148 pbr.read(charArray, 0, 0); 149 pbr.read(charArray, 0, charArray.length); 150 pbr.read(charArray, charArray.length, 0); 153 pbr.read(charArray, charArray.length + 1, 0) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_arrays.py | 43 CharArray = ARRAY(c_char, 3) 45 ca = CharArray("a", "b", "c") 48 # CharArray("abc") 49 self.assertRaises(TypeError, CharArray, "abc")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_arrays.py | 43 CharArray = ARRAY(c_char, 3) 45 ca = CharArray("a", "b", "c") 48 # CharArray("abc") 49 self.assertRaises(TypeError, CharArray, "abc")
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/io/ |
BufferedReaderTest.java | 379 char[] charArray = testString.toCharArray(); 417 br.read(charArray, -1, -1); 424 br.read(charArray, -1, 0); 430 br.read(charArray, 0, 0); 431 br.read(charArray, 0, charArray.length); 432 br.read(charArray, charArray.length, 0); 435 br.read(charArray, charArray.length + 1, 0) [all...] |
/external/icu4c/extra/scrptrun/ |
scrptrun.h | 76 const UChar *charArray; 148 charArray = chars;
|
scrptrun.cpp | 125 UChar high = charArray[scriptEnd]; 132 UChar low = charArray[scriptEnd + 1];
|
/libcore/support/src/test/java/libcore/java/io/ |
NullPrintStream.java | 40 public void print(char[] charArray) {} 50 public void println(char[] charArray) {}
|
/art/runtime/ |
utf.h | 34 typedef PrimitiveArray<uint16_t> CharArray; 75 int32_t ComputeUtf16Hash(const mirror::CharArray* chars, int32_t offset, size_t char_count)
|
utf.cc | 70 int32_t ComputeUtf16Hash(const mirror::CharArray* chars, int32_t offset,
|
/external/chromium_org/third_party/WebKit/ManualTests/resources/ |
ArrayParameterTestApplet.class | |
ArrayParameterTestApplet.java | 49 System.out.println("charArray called");
|
/frameworks/base/core/java/com/android/internal/os/ |
LoggingPrintStream.java | 197 public synchronized void print(char[] charArray) { 198 builder.append(charArray); 253 public synchronized void println(char[] charArray) { 254 builder.append(charArray);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
IAidlTest.aidl | 35 char[] charArray(in char[] a0, out char[] a1, inout char[] a2);
|
/frameworks/base/core/jni/ |
android_text_AndroidCharacter.cpp | 147 static jboolean mirror(JNIEnv* env, jobject obj, jcharArray charArray, int start, int count) 149 ScopedCharArrayRW data(env, charArray); 155 || env->GetArrayLength(charArray) < start + count) {
|
/libcore/luni/src/main/java/java/io/ |
Reader.java | 124 char[] charArray = new char[1]; 125 if (read(charArray, 0, 1) != -1) { 126 return charArray[0];
|
/frameworks/base/core/java/com/android/internal/util/ |
FastPrintWriter.java | 419 * @param charArray 423 public void print(char[] charArray) { 426 appendLocked(charArray, 0, charArray.length);
|