/art/runtime/base/ |
H A D | stringpiece.h | 53 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) { } argument 68 void set(const char* data, int len) { argument 70 length_ = len; 79 void set(const void* data, int len) { argument 81 length_ = len; 162 int len = x.size(); local 163 if (len != y.size()) { 172 if (len <= 0) { 177 if (p1[len [all...] |
H A D | hash_set_test.cc | 42 std::string RandomString(size_t len) { argument 44 for (size_t i = 0; i < len; ++i) {
|
/art/runtime/ |
H A D | monitor_android.cc | 43 static char* EventLogWriteString(char* dst, const char* value, size_t len) { argument 45 len = len < 32 ? len : 32; 46 Set4LE(reinterpret_cast<uint8_t*>(dst), len); 48 memcpy(dst, value, len); 49 return dst + len; 65 size_t len = strlen(procName); 66 cp = EventLogWriteString(cp, procName, len);
|
H A D | utf.cc | 27 size_t len = 0; local 30 len++; 44 return len;
|
H A D | check_jni.cc | 933 static void* Create(const void* buf, size_t len, bool modOkay) { argument 934 size_t newLen = ActualLength(len); 943 // Copy the data in; note "len" could be zero. 944 memcpy(newBuf + kGuardLen / 2, buf, len); 950 adler = adler32(adler, reinterpret_cast<const Bytef*>(buf), len); 958 pExtra->original_length = len; 969 size_t len = pExtra->original_length; local 970 DebugFree(dataBuf, len); 997 size_t len = pExtra->original_length; local 1007 int offset = kGuardLen / 2 + len; 1041 DebugAlloc(size_t len) argument 1049 DebugFree(void* dataBuf, size_t len) argument 1104 size_t len = GuardedCopy::FromData(dataBuf)->original_length; local 1480 NewString(JNIEnv* env, const jchar* unicodeChars, jsize len) argument 1684 GetStringRegion(JNIEnv* env, jstring str, jsize start, jsize len, jchar* buf) argument 1690 GetStringUTFRegion(JNIEnv* env, jstring str, jsize start, jsize len, char* buf) argument [all...] |
H A D | utils.cc | 999 int len = s - thread_name; local 1000 if (len < 15 || hasAt || !hasDot) { 1003 s = thread_name + len - 15;
|
H A D | debugger.h | 586 static void DdmSendChunk(uint32_t type, size_t len, const uint8_t* buf)
|
H A D | jni_internal.cc | 431 uint32_t len = 0; local 434 shorty = m->GetShorty(&len); 436 return android::NativeBridgeGetTrampoline(handle_, symbol_name.c_str(), shorty, len);
|
/art/tools/ |
H A D | generate-operator-out.py | 64 if len(enclosing_classes) > 0: 79 namespaces = namespaces[0:len(namespaces) - 1] 89 enclosing_classes = enclosing_classes[0:len(enclosing_classes) - 1] 115 if len(line) == 0: 135 rest = rest[(len(m_literal.group(0))):] 148 if len(rest): 151 if len(enclosing_classes) > 0:
|
H A D | cpplint.py | 778 return fullname[len(prefix) + 1:] 794 # return fullname[len(prefix) + 1:] 795 return "art/" + fullname[len(prefix) + 1:] 935 while lineix < len(lines): 941 return len(lines) 946 while lineix < len(lines): 950 return len(lines) 964 while lineix < len(lines): 966 if lineix_begin >= len(lines): 969 if lineix_end >= len(line [all...] |
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 227 size_t len = strlen(libpath); local 228 char* tmp = new char[len + 10]; 229 strncpy(tmp, libpath, len); 230 tmp[len - 3] = '2'; 231 tmp[len - 2] = '.'; 232 tmp[len - 1] = 's'; 233 tmp[len] = 'o'; 234 tmp[len + 1] = 0; 251 uint32_t len) { 250 native_bridge_getTrampoline(void* handle, const char* name, const char* shorty, uint32_t len) argument
|
/art/compiler/ |
H A D | common_compiler_test.cc | 251 uintptr_t len = limit - base; local 252 int result = mprotect(reinterpret_cast<void*>(base), len, PROT_READ | PROT_WRITE | PROT_EXEC); 258 __builtin___clear_cache(reinterpret_cast<void*>(base), reinterpret_cast<void*>(base + len));
|
/art/compiler/driver/ |
H A D | compiler_driver.h | 866 uint32_t len = static_cast<uint32_t>(array.size()); local 868 const int nblocks = len / 4; 885 switch (len & 3) { 899 hash ^= len;
|
/art/runtime/gc/collector/ |
H A D | mark_compact.h | 189 void MoveObject(mirror::Object* obj, size_t len) EXCLUSIVE_LOCKS_REQUIRED(Locks::mutator_lock_);
|
H A D | mark_compact.cc | 503 void MarkCompact::MoveObject(mirror::Object* obj, size_t len) { argument 510 memmove(reinterpret_cast<void*>(dest_addr), reinterpret_cast<const void*>(obj), len); local
|
/art/runtime/native/ |
H A D | dalvik_system_DexFile.cc | 273 off_t len; 274 if (sendfile(dst.get(), src.get(), 0, &len, nullptr, 0) == -1) {
|
/art/runtime/mirror/ |
H A D | class-inl.h | 177 inline void Class::SetEmbeddedVTableLength(int32_t len) { argument 178 SetField32<false>(EmbeddedVTableLengthOffset(), len); local 590 sizeof(int32_t) /* vtable len */ +
|
H A D | class.h | 726 void SetEmbeddedVTableLength(int32_t len) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
/art/compiler/dex/quick/ |
H A D | mir_to_lir.h | 629 size_t len = strlen(str) + 1; local 630 char* res = reinterpret_cast<char*>(arena_->Alloc(len, kArenaAllocMisc)); 632 strncpy(res, str, len);
|
/art/test/083-compiler-regressions/src/ |
H A D | Main.java | 970 int len = nn.length; 973 System.out.println(len % 3);
|