Searched defs:len (Results 1 - 13 of 13) sorted by relevance

/art/runtime/
H A Dmonitor_android.cc43 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 Dutf.cc27 size_t len = 0; local
30 len++;
44 return len;
H A Dcheck_jni.cc933 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 Dutils.cc999 int len = s - thread_name; local
1000 if (len < 15 || hasAt || !hasDot) {
1003 s = thread_name + len - 15;
H A Djni_internal.cc431 uint32_t len = 0; local
434 shorty = m->GetShorty(&len);
436 return android::NativeBridgeGetTrampoline(handle_, symbol_name.c_str(), shorty, len);
/art/runtime/base/
H A Dhash_set_test.cc42 std::string RandomString(size_t len) { argument
44 for (size_t i = 0; i < len; ++i) {
H A Dstringpiece.h53 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...]
/art/compiler/
H A Dcommon_compiler_test.cc251 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/runtime/gc/collector/
H A Dmark_compact.cc503 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/test/115-native-bridge/
H A Dnativebridge.cc227 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/runtime/mirror/
H A Dclass-inl.h177 inline void Class::SetEmbeddedVTableLength(int32_t len) { argument
178 SetField32<false>(EmbeddedVTableLengthOffset(), len); local
590 sizeof(int32_t) /* vtable len */ +
/art/compiler/driver/
H A Dcompiler_driver.h866 uint32_t len = static_cast<uint32_t>(array.size()); local
868 const int nblocks = len / 4;
885 switch (len & 3) {
899 hash ^= len;
/art/compiler/dex/quick/
H A Dmir_to_lir.h629 size_t len = strlen(str) + 1; local
630 char* res = reinterpret_cast<char*>(arena_->Alloc(len, kArenaAllocMisc));
632 strncpy(res, str, len);

Completed in 342 milliseconds