/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmServer.cc | 25 jbyteArray javaData, jint offset, jint length) { 28 DCHECK_LE(offset + length, static_cast<int32_t>(data.size())); 29 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset])); 24 DdmServer_nativeSendChunk(JNIEnv* env, jclass, jint type, jbyteArray javaData, jint offset, jint length) argument
|
H A D | java_lang_reflect_Array.cc | 43 static jobject Array_createObjectArray(JNIEnv* env, jclass, jclass javaElementClass, jint length) { argument 47 if (UNLIKELY(length < 0)) { 48 ThrowNegativeArraySizeException(length); 61 mirror::Array* new_array = mirror::Array::Alloc(soa.Self(), array_class, length);
|
H A D | dalvik_system_VMRuntime.cc | 52 static jobject VMRuntime_newNonMovableArray(JNIEnv* env, jobject, jclass javaElementClass, jint length) { argument 66 if (length < 0) { 67 ThrowNegativeArraySizeException(length); 76 mirror::Array* result = mirror::Array::Alloc(soa.Self(), array_class, length);
|
H A D | java_lang_System.cc | 181 static void System_arraycopy(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint length) { argument 211 if (UNLIKELY(srcPos < 0 || dstPos < 0 || length < 0 || srcPos > srcArray->GetLength() - length || dstPos > dstArray->GetLength() - length)) { 214 "src.length=%d srcPos=%d dst.length=%d dstPos=%d length=%d", 215 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos, length); 238 memmove(dstBytes + dstPos, srcBytes + srcPos, length); 241 move16(dstBytes + dstPos * 2, srcBytes + srcPos * 2, length * [all...] |
/art/test/022-interface/classes/ |
H A D | Main$SubInterfaceImpl.class | ... 4.4.4_r1/s?defs= " () public int length () public char charAt (int) public java.lang.CharSequence ... |
H A D | Main$1.class | ... hashCode () public java.lang.String toString () public int length () public char charAt (int) public java.lang.CharSequence ... |
/art/runtime/base/ |
H A D | stringprintf.cc | 50 int length = result+1; local 51 char* buf = new char[length]; 55 result = vsnprintf(buf, length, format, backup_ap); 58 if (result >= 0 && result < length) {
|
H A D | stringpiece.h | 61 int length() const { return length_; } function in class:art::StringPiece 181 // this observation to fold the odd-length case into the even-length case.
|
/art/runtime/gc/allocator/ |
H A D | dlmalloc.cc | 62 size_t length = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); local 63 int rc = madvise(start, length, MADV_DONTNEED); 69 *reclaimed += length;
|
/art/runtime/mirror/ |
H A D | dex_cache.cc | 62 size_t length = resolved_methods->GetLength(); local 63 for (size_t i = 0; i < length; i++) { 73 size_t length = resolved_methods->GetLength(); local 74 for (size_t i = 0; i < length; i++) {
|
H A D | array.h | 45 void SetLength(int32_t length) { argument 46 CHECK_GE(length, 0); 47 SetField32(OFFSET_OF_OBJECT_MEMBER(Array, length_), length, false); local 102 static PrimitiveArray<T>* Alloc(Thread* self, size_t length)
|
H A D | object_array-inl.h | 32 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, int32_t length) { argument 33 Array* array = Array::Alloc(self, object_array_class, length, sizeof(Object*)); 96 size_t length) { 98 src->IsValidIndex(src_pos+length-1) && 100 dst->IsValidIndex(dst_pos+length-1)) { 107 for (size_t i = 0; i < length; i++) { 118 for (size_t i = 0; i < length; i++) { 131 heap->WriteBarrierArray(dst, dst_pos, length); 94 Copy(const ObjectArray<T>* src, int src_pos, ObjectArray<T>* dst, int dst_pos, size_t length) argument
|
H A D | array.cc | 48 self->ThrowOutOfMemoryError(StringPrintf("%s of length %d would overflow", 104 // and has a length > 0 and <= 255. 146 PrimitiveArray<T>* PrimitiveArray<T>::Alloc(Thread* self, size_t length) { argument 148 Array* raw_array = Array::Alloc(self, array_class_, length, sizeof(T));
|
/art/test/011-array-copy/src/ |
H A D | Main.java | 32 for (int i = 0; i < stringArray.length; i++) 36 System.arraycopy(stringArray, 0, objectArray, 0, stringArray.length); 38 System.arraycopy(objectArray, 0, stringArray, 0, stringArray.length); 42 System.arraycopy(objectArray, 0, stringArray, 0,stringArray.length); 76 static void makeCopies(int srcPos, int dstPos, int length) { argument 87 System.arraycopy(byteArray, srcPos, byteArray, dstPos, length); 88 System.arraycopy(shortArray, srcPos, shortArray, dstPos, length); 89 System.arraycopy(intArray, srcPos, intArray, dstPos, length); 90 System.arraycopy(longArray, srcPos, longArray, dstPos, length); 108 System.out.println("copy: " + srcPos + "," + dstPos + "," + length [all...] |
/art/test/022-interface/src/ |
H A D | Main.java | 58 public int length() { 59 return toString().length(); 75 public int length() { method in class:Main.SubInterfaceImpl
|
/art/jdwpspy/ |
H A D | Main.cpp | 19 void printHexDump(const void* vaddr, size_t length) argument 21 printHexDumpEx(stdout, vaddr, length, kHexDumpLocal, ""); 23 void printHexDump2(const void* vaddr, size_t length, const char* prefix) argument 25 printHexDumpEx(stdout, vaddr, length, kHexDumpLocal, prefix); 33 void printHexDumpEx(FILE* fp, const void* vaddr, size_t length, argument 54 while (length) { 66 int count = ((int)length > 16-gap) ? 16-gap : (int) length; /* cap length */ 98 length [all...] |
/art/runtime/gc/collector/ |
H A D | mark_sweep-inl.h | 156 const size_t length = static_cast<size_t>(array->GetLength()); local 157 for (size_t i = 0; i < length; ++i) {
|
/art/runtime/ |
H A D | class_linker-inl.h | 97 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { argument 98 return mirror::ObjectArray<T>::Alloc(self, GetClassRoot(kObjectArrayClass), length); 102 size_t length) { 103 return mirror::ObjectArray<mirror::Class>::Alloc(self, GetClassRoot(kClassArrayClass), length); 107 size_t length) { 109 length); 113 size_t length) { 115 GetClassRoot(kJavaLangReflectArtMethodArrayClass), length); 124 size_t length) { 127 length); 101 AllocClassArray(Thread* self, size_t length) argument 106 AllocStringArray(Thread* self, size_t length) argument 112 AllocArtMethodArray(Thread* self, size_t length) argument 123 AllocArtFieldArray(Thread* self, size_t length) argument [all...] |
H A D | dex_file_test.cc | 62 size_t length; local 63 UniquePtr<byte[]> dex_bytes(DecodeBase64(base64, &length)); 69 if (!file->WriteFully(dex_bytes.get(), length)) { 162 int32_t length; local 163 std::string signature(raw->CreateMethodSignature(proto_idx, &length)); 177 int32_t length; local 178 std::string signature(raw->CreateMethodSignature(proto_idx, &length)); 190 int32_t length; local 191 std::string signature(raw->CreateMethodSignature(proto_idx, &length)); 248 int32_t length; local [all...] |
H A D | dex_instruction.cc | 348 // Handle special NOP encoded variable length sequences. 356 uint32_t length = insns[2] | (((uint32_t)insns[3]) << 16); local 358 return (4 + (element_size * length + 1) / 2);
|
H A D | oat.cc | 89 void OatHeader::UpdateChecksum(const void* data, size_t length) { argument 92 adler32_checksum_ = adler32(adler32_checksum_, bytes, length);
|
/art/runtime/jdwp/ |
H A D | jdwp_request.cc | 53 uint32_t length = Read4BE(); local 55 s.resize(length); 56 memcpy(&s[0], p_, length); 57 p_ += length;
|
H A D | jdwp_main.cc | 94 uint32_t length = Get4BE(input_buffer_); local 95 return (input_count_ >= length);
|
/art/runtime/verifier/ |
H A D | instruction_flags.h | 32 void SetLengthInCodeUnits(size_t length) { argument 33 DCHECK_LT(length, 65536u); 34 length_ = length;
|
/art/runtime/gc/accounting/ |
H A D | space_bitmap.cc | 235 int32_t length = obj_array->GetLength(); local 236 for (int32_t i = 0; i < length; i++) {
|