/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 | 46 static jobject Array_createObjectArray(JNIEnv* env, jclass, jclass javaElementClass, jint length) { argument 49 if (UNLIKELY(length < 0)) { 50 ThrowNegativeArraySizeException(length); 62 mirror::Array* new_array = mirror::Array::Alloc<true>(soa.Self(), array_class, length,
|
H A D | java_lang_System.cc | 46 jint dstPos, jint length) { 47 // The API is defined in terms of length, but length is somewhat overloaded so we use count. 48 const jint count = length; 81 "src.length=%d srcPos=%d dst.length=%d dstPos=%d length=%d", 45 System_arraycopy(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint length) argument
|
/art/test/022-interface/classes/ |
H A D | Main$SubInterfaceImpl.class | ... 5.1.1_r6/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/mirror/ |
H A D | dex_cache.cc | 58 size_t length = resolved_methods->GetLength(); local 59 for (size_t i = 0; i < length; i++) { 69 size_t length = resolved_methods->GetLength(); local 70 for (size_t i = 0; i < length; i++) {
|
H A D | array.h | 57 void SetLength(int32_t length) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 58 CHECK_GE(length, 0); 61 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); local 115 static PrimitiveArray<T>* Alloc(Thread* self, size_t length)
|
H A D | array-inl.h | 72 self->ThrowOutOfMemoryError(StringPrintf("%s of length %d would overflow", 80 // Used for setting the array length in the allocation code path to ensure it is guarded by a 84 explicit SetLengthVisitor(int32_t length) : length_(length) { argument 102 // Similar to SetLengthVisitor, used for setting the array length to fill the usable size of an 115 int32_t length = (usable_size - header_size_) / component_size_; local 116 DCHECK_GE(length, minimum_length_); 118 byte* new_end = reinterpret_cast<byte*>(array->GetRawData(component_size_, length)); 121 array->SetLength(length); 173 inline PrimitiveArray<T>* PrimitiveArray<T>::Alloc(Thread* self, size_t length) { argument [all...] |
H A D | object_array-inl.h | 36 int32_t length, gc::AllocatorType allocator_type) { 37 Array* array = Array::Alloc<true>(self, object_array_class, length, 48 int32_t length) { 49 return Alloc(self, object_array_class, length, 271 const size_t length = static_cast<size_t>(GetLength()); local 272 for (size_t i = 0; i < length; ++i) { 35 Alloc(Thread* self, Class* object_array_class, int32_t length, gc::AllocatorType allocator_type) argument 47 Alloc(Thread* self, Class* object_array_class, int32_t length) argument
|
/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/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/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/runtime/ |
H A D | dex_file_verifier_test.cc | 108 size_t length; local 109 std::unique_ptr<byte[]> dex_bytes(DecodeBase64(base64, &length)); 115 if (!file->WriteFully(dex_bytes.get(), length)) { 169 static const DexFile* FixChecksumAndOpen(byte* bytes, size_t length, const char* location, argument 180 if (!file->WriteFully(bytes, length)) { 204 size_t length; local 205 std::unique_ptr<byte[]> dex_bytes(DecodeBase64(kGoodTestDex, &length)); 212 std::unique_ptr<const DexFile> file(FixChecksumAndOpen(dex_bytes.get(), length, location,
|
H A D | dex_instruction.cc | 98 // Handle special NOP encoded variable length sequences. 106 uint32_t length = insns[2] | (((uint32_t)insns[3]) << 16); local 108 return (4 + (element_size * length + 1) / 2);
|
H A D | class_linker-inl.h | 159 inline mirror::ObjectArray<T>* ClassLinker::AllocObjectArray(Thread* self, size_t length) { argument 160 return mirror::ObjectArray<T>::Alloc(self, GetClassRoot(kObjectArrayClass), length); 164 size_t length) { 165 return mirror::ObjectArray<mirror::Class>::Alloc(self, GetClassRoot(kClassArrayClass), length); 169 size_t length) { 171 length); 175 size_t length) { 177 GetClassRoot(kJavaLangReflectArtMethodArrayClass), length); 187 size_t length) { 193 self, GetClassRoot(kJavaLangReflectArtFieldArrayClass), length, 163 AllocClassArray(Thread* self, size_t length) argument 168 AllocStringArray(Thread* self, size_t length) argument 174 AllocArtMethodArray(Thread* self, size_t length) argument 186 AllocArtFieldArray(Thread* self, size_t length) argument [all...] |
H A D | dex_file_test.cc | 139 size_t length; local 140 std::unique_ptr<byte[]> dex_bytes(DecodeBase64(base64, &length)); 146 if (!file->WriteFully(dex_bytes.get(), length)) {
|
/art/runtime/jdwp/ |
H A D | jdwp_request.cc | 55 uint32_t length = Read4BE(); local 57 s.resize(length); 58 memcpy(&s[0], p_, length); 59 p_ += length;
|
H A D | jdwp_main.cc | 94 uint32_t length = Get4BE(input_buffer_); local 95 return (input_count_ >= length); 125 * Write a packet of "length" bytes. Grabs a mutex to assure atomicity. 127 ssize_t JdwpNetStateBase::WritePacket(ExpandBuf* pReply, size_t length) { argument 129 DCHECK_LE(length, expandBufGetLength(pReply)); 130 return TEMP_FAILURE_RETRY(write(clientSock, expandBufGetBuffer(pReply), 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++) {
|
/art/runtime/interpreter/ |
H A D | interpreter.cc | 32 int32_t length = args[1]; local 33 DCHECK_GE(length, 0); 39 result->SetL(mirror::Array::Alloc<true>(self, array_class, length,
|
H A D | interpreter_goto_table_impl.cc | 559 int32_t length = shadow_frame.GetVReg(inst->VRegB_22c(inst_data)); local 561 inst->VRegC_22c(), shadow_frame.GetMethod(), length, self, 602 "failed FILL_ARRAY_DATA; length=%d, index=%d",
|
H A D | interpreter_switch_impl.cc | 473 int32_t length = shadow_frame.GetVReg(inst->VRegB_22c(inst_data)); local 475 inst->VRegC_22c(), shadow_frame.GetMethod(), length, self, 517 "failed FILL_ARRAY_DATA; length=%d, index=%d",
|