/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
cacheflush.h | 27 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 31 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
cacheflush.h | 27 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 31 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/ |
cacheflush.h | 27 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 31 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/ |
cacheflush.h | 27 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 31 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/ |
cacheflush.h | 35 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 39 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 40 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/ |
cacheflush.h | 35 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 39 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 40 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/9/platforms/android-14/arch-x86/usr/include/asm/ |
cacheflush.h | 35 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 39 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 40 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/9/platforms/android-18/arch-x86/usr/include/asm/ |
cacheflush.h | 35 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 39 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 40 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/asm/ |
cacheflush.h | 35 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) 39 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) 40 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileReader.java | 43 int len; local 50 len = file.readInt(); 51 if (len > MAX_PROTOBUF_SIZE) { 54 len); 58 b = new byte[len];
|
/external/aac/libFDK/src/ |
scale.cpp | 114 * \param len must be larger than 4 121 INT len, /*!< Length */ 132 for (i = len&3; i--; ) 136 for (i = len>>2; i--; ) 145 for (i = len&3; i--; ) 149 for (i = len>>2; i--; ) 164 * \param len must be larger than 4 171 INT len, /*!< Length */ 182 for (i = len&3; i--; ) 186 for (i = len>>2; i--; [all...] |
/system/core/libcutils/ |
properties.c | 41 int len; local 43 len = __system_property_get(key, value); 44 if(len > 0) { 45 return len; 49 len = strlen(default_value); 50 memcpy(value, default_value, len + 1); 52 return len; 150 int len = -1; local 159 len = strlen(value); 161 return len; 273 int len; local 307 int len; local [all...] |
/external/qemu/ |
softmmu-semi.h | 37 static void *softmmu_lock_user(CPUState *env, uint32_t addr, uint32_t len, 42 p = malloc(len); 44 cpu_memory_rw_debug(env, addr, p, len, 0); 47 #define lock_user(type, p, len, copy) softmmu_lock_user(env, p, len, copy) 64 target_ulong len) 66 if (len) 67 cpu_memory_rw_debug(env, addr, p, len, 1); 70 #define unlock_user(s, args, len) softmmu_unlock_user(env, s, args, len) [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinystr.cpp | 49 TiXmlString& TiXmlString::assign(const char* str, size_type len) 52 if (len > cap || cap > 3*(len + 8)) 55 tmp.init(len); 56 memcpy(tmp.start(), str, len); 61 memmove(start(), str, len); local 62 set_size(len); 68 TiXmlString& TiXmlString::append(const char* str, size_type len) 70 size_type newsize = length() + len; 75 memmove(finish(), str, len); local [all...] |
/external/tinyxml/ |
tinystr.cpp | 53 TiXmlString& TiXmlString::assign(const char* str, size_type len) 56 if (len > cap || cap > 3*(len + 8)) 59 tmp.init(len); 60 memcpy(tmp.start(), str, len); 65 memmove(start(), str, len); local 66 set_size(len); 72 TiXmlString& TiXmlString::append(const char* str, size_type len) 74 size_type newsize = length() + len; 79 memmove(finish(), str, len); local [all...] |
/libcore/luni/src/main/native/ |
ZipUtilities.cpp | 44 void NativeZipStream::setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, 46 UniquePtr<jbyte[]> dictionaryBytes(new jbyte[len]); 51 env->GetByteArrayRegion(javaDictionary, off, len, &dictionaryBytes[0]); 55 err = inflateSetDictionary(&stream, dictionary, len); 57 err = deflateSetDictionary(&stream, dictionary, len); 66 void NativeZipStream::setInput(JNIEnv* env, jbyteArray buf, jint off, jint len) { 67 input.reset(new jbyte[len]); 73 inCap = len; 75 env->GetByteArrayRegion(buf, off, len, &input[0]); 78 stream.avail_in = len; [all...] |
/external/chromium/third_party/libevent/ |
event_tagging.c | 149 int len = EVBUFFER_LENGTH(evbuf); local 152 while (count++ < len) { 189 const void *data, ev_uint32_t len) 192 encode_int(evbuf, len); 193 evbuffer_add(evbuf, (void *)data, len); 231 int len = EVBUFFER_LENGTH(evbuf); local 234 if (!len) 238 if (nibbles > 8 || (nibbles >> 1) + 1 > len) 240 len = (nibbles >> 1) + 1; 252 evbuffer_drain(evbuf, len); 275 int res, len; local 298 int res, len; local 318 ev_uint32_t len; local 333 ev_uint32_t len; local 360 ev_uint32_t len; local [all...] |
/external/chromium_org/third_party/libevent/ |
event_tagging.c | 149 int len = EVBUFFER_LENGTH(evbuf); local 152 while (count++ < len) { 189 const void *data, ev_uint32_t len) 192 encode_int(evbuf, len); 193 evbuffer_add(evbuf, (void *)data, len); 231 int len = EVBUFFER_LENGTH(evbuf); local 234 if (!len) 238 if (nibbles > 8 || (nibbles >> 1) + 1 > len) 240 len = (nibbles >> 1) + 1; 252 evbuffer_drain(evbuf, len); 275 int res, len; local 298 int res, len; local 318 ev_uint32_t len; local 333 ev_uint32_t len; local 360 ev_uint32_t len; local [all...] |
/sdk/emulator/qtools/ |
thumbdis.cpp | 274 int len; local 294 len = sprintf(ptr, "blx\t"); 297 len = sprintf(ptr, "bl\t"); 299 ptr += len; 309 len = sprintf(ptr, "%c", *c); 310 ptr += len; 319 len = sprintf(ptr, "%%"); 320 ptr += len; 330 len = sprintf(ptr, "%s", arm_regnames[reg]); 331 ptr += len; [all...] |
/external/harfbuzz/src/ |
harfbuzz-khmer.c | 356 /* KHDEBUG("syllable from %d len %d, str='%s'", item->from, item->length, 359 int len = 0; local 400 reordered[len] = C_VOWEL_E; 401 properties[len] = PreForm; 402 ++len; 407 reordered[len] = item->string[i]; 408 properties[len] = PreForm; 409 ++len; 424 reordered[len] = C_COENG; 425 properties[len] = PreForm [all...] |
/bionic/libc/netbsd/nameser/ |
ns_print.c | 68 static void addlen(size_t len, char **buf, size_t *buflen); 69 static int addstr(const char *src, size_t len, 71 static int addtab(size_t len, size_t target, int spaced, 126 int len, x; local 134 len = prune_origin(name, origin); 137 } else if (len == 0) { 140 T(addstr(name, (size_t)len, &buf, &buflen)); 144 name[len] == '\0')) && name[len - 1] != '.') { 147 len++ [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
bytebuffer.cc | 48 ByteBuffer::ByteBuffer(const char* bytes, size_t len) { 50 end_ = len; 51 size_ = len; 122 bool ByteBuffer::ReadString(std::string* val, size_t len) { 125 if (len > Length()) { 128 val->append(bytes_ + start_, len); 129 start_ += len; 134 bool ByteBuffer::ReadBytes(char* val, size_t len) { 135 if (len > Length()) { 138 memcpy(val, bytes_ + start_, len); 184 size_t len = _min(end_ - start_, size); local [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
PageAllocator.cpp | 62 void* allocSuperPages(void* addr, size_t len) 64 ASSERT(!(len & kSuperPageOffsetMask)); 67 char* ptr = reinterpret_cast<char*>(mmap(addr, len, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0)); 74 int ret = munmap(ptr, len); 76 ptr = reinterpret_cast<char*>(mmap(0, len + kSuperPageSize - kSystemPageSize, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0)); 89 ret = munmap(ptr + len, kSystemPageSize * numSystemPagesAfter); 97 void* ret = VirtualAlloc(addr, len, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); 99 ret = VirtualAlloc(0, len, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); 105 void freeSuperPages(void* addr, size_t len) 108 ASSERT(!(len & kSuperPageOffsetMask)) [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkXMLParser_expat.cpp | 28 inline const char* ConvertUnicodeToChar(const short* ch16, size_t len, SkAutoMalloc& ch8Malloc) { 31 for (index = 0; index < len; index++) 41 size_t len = sk_wcslen((const short*) el); local 42 SkAutoMalloc el8(len + 1); 43 el = ConvertUnicodeToChar((const short*) el, len, el8); 72 size_t len = sk_wcslen((const short*) el); local 73 SkAutoMalloc el8(len + 1); 74 el = ConvertUnicodeToChar((const short*) el, len, el8); 80 static void XMLCALL text_proc(void* data, const char* text, int len) 83 SkAutoMalloc text8(len + 1) 116 size_t len = input.getLength(); local [all...] |
/external/qemu/slirp/ |
sbuf.c | 134 int len, n, nn; local 136 len = m->m_len; 140 if (n > len) n = len; 145 if (n > len) n = len; 147 len -= n; 148 if (len) { 151 if (nn > len) nn = len; [all...] |