/external/qemu/hw/android/goldfish/ |
trace.c | 143 int len = strlen(exec_path); local 144 if (exec_path[len - 1] == '\n') { 145 exec_path[len - 1] = 0;
|
/external/qemu/include/exec/ |
softmmu-semi.h | 39 static void *softmmu_lock_user(CPUArchState *env, uint32_t addr, uint32_t len, 44 p = malloc(len); 46 cpu_memory_rw_debug(ENV_GET_CPU(env), addr, p, len, 0); local 50 #define lock_user(type, p, len, copy) softmmu_lock_user(env, p, len, copy) 70 target_ulong len) 72 if (len) { 73 cpu_memory_rw_debug(ENV_GET_CPU(env), addr, p, len, 1); local 77 #define unlock_user(s, args, len) softmmu_unlock_user(env, s, args, len) [all...] |
/external/qemu/ |
os-win32.c | 85 DWORD len; local 87 len = GetModuleFileName(NULL, buf, sizeof(buf) - 1); 88 if (len == 0) { 92 buf[len] = 0; 93 p = buf + len - 1; 126 int len; local 138 len = snprintf(buffer, sizeof(buffer), "%ld\n", (long)getpid()); 139 ret = WriteFileEx(file, (LPCVOID)buffer, (DWORD)len,
|
/external/qemu/slirp/ |
tcp_output.c | 70 register long len, win; local 137 len = min(so->so_snd.sb_cc, win) - off; 139 if (len < 0) { 143 * len will be -1. Otherwise, window shrank 150 len = 0; 157 if (len > tp->t_maxseg) { 158 len = tp->t_maxseg; 161 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc)) 176 if (len) { 177 if (len == tp->t_maxseg [all...] |
/external/qemu/slirp-android/ |
tcp_output.c | 70 register long len, win; local 137 len = min(so->so_snd.sb_cc, win) - off; 139 if (len < 0) { 143 * len will be -1. Otherwise, window shrank 150 len = 0; 157 if (len > tp->t_maxseg) { 158 len = tp->t_maxseg; 161 if (SEQ_LT(tp->snd_nxt + len, tp->snd_una + so->so_snd.sb_cc)) 176 if (len) { 177 if (len == tp->t_maxseg [all...] |
/external/qemu/telephony/ |
modem_driver.c | 44 int len = strlen(message); local 46 qemu_chr_write(md->cs, (const uint8_t*)message, len); 60 modem_driver_read( void* _md, const uint8_t* src, int len ) 63 const uint8_t* end = src + len; 66 D( "%s: reading %d from %p bytes:", __FUNCTION__, len, src ); 67 for (nn = 0; nn < len; nn++) { 106 len = strlen(answer); 107 if (len == 2 && answer[0] == '>' && answer[1] == ' ') 110 qemu_chr_write(md->cs, (const uint8_t*)answer, len);
|
/external/skia/bench/ |
PicturePlaybackBench.cpp | 80 size_t len = strlen(text); variable 81 const SkScalar textWidth = paint.measureText(text, len); 85 canvas->drawText(text, len, x, y, paint); 105 size_t len = strlen(text); variable 106 const SkScalar textWidth = paint.measureText(text, len); 108 SkScalar* adv = new SkScalar[len]; 109 paint.getTextWidths(text, len, adv); 114 SkPoint* pos = new SkPoint[len]; 117 for (size_t i = 0; i < len; i++) { 125 canvas->drawPosText(text, len, pos, paint) [all...] |
TextBench.cpp | 62 size_t len = strlen(text); local 63 SkScalar* adv = new SkScalar[len]; 64 fPaint.getTextWidths(text, len, adv); 65 fPos = new SkPoint[len]; 67 for (size_t i = 0; i < len; ++i) {
|
/external/skia/experimental/Intersection/ |
DataTypes.cpp | 81 size_t len = strlen(str); local 83 for (size_t idx = 0; idx < len; ++idx) { 85 if (len + 2 >= bufferLen) { 88 memmove(&str[idx + 2], &str[idx + 1], len - idx); 91 ++len;
|
/external/skia/experimental/LightSymbolsUtil/lightsymbols/ |
lightsymbols.cc | 30 bool LightSymbol::GetCallStack(char* sz, int len, const char* separator) {
35 return ls->GetCallStackCore(sz, len, separator);
53 bool LightSymbol::GetCallStackCore(char* sz, int len, const char* separator) const {
122 while (ls != NULL && len > 1000) {
124 while (*szOut && len > 0) {
126 len--;
159 int len = strlen(sz);
local 161 sz = sz + (len - 1);
|
/external/skia/gm/ |
gradtext.cpp | 116 size_t len = strlen(text); local 117 canvas->drawText(text, len, 0, 0, paint);
|
lumafilter.cpp | 21 size_t len = strlen(label); local 23 SkScalar width = paint.measureText(label, len); 24 canvas->drawText(label, len, offset.x() - width / 2, offset.y(),
|
/external/skia/samplecode/ |
SampleAnimator.cpp | 97 size_t len = stream->getLength(); local 98 char* text = (char*)sk_malloc_throw(len); 99 stream->read(text, len); 101 const SkDOM::Node* root = dom.build(text, len);
|
SampleMeasure.cpp | 47 size_t len = strlen(text); local 48 SkAutoTMalloc<SkScalar> autoWidths(len); 50 SkAutoTMalloc<SkRect> autoRects(len); 60 int n = p.getTextWidths(text, len, widths, rects); 61 SkScalar w = p.measureText(text, len, &bounds, scale); 67 canvas->drawText(text, len, 0, 0, p);
|
SampleTextOnPath.cpp | 44 size_t len = strlen(text); local 46 canvas->drawTextOnPathHV(text, len, path, 0, 69 size_t len = strlen(text); local 74 canvas->drawTextOnPath(text, len, path, NULL, paint); 79 canvas->drawTextOnPath(text, len, path, &matrix, paint); 83 canvas->drawTextOnPath(text, len, path, &matrix, paint); 88 canvas->drawTextOnPath(text, len, path, &matrix, paint); 122 size_t len = strlen(text); local 128 canvas->drawTextOnPathHV(text, len, fPath, 132 canvas->drawTextOnPathHV(text, len, fPath [all...] |
/external/skia/src/core/ |
SkGraphics.cpp | 154 size_t len = strlen(flags); local 155 const char* paramEnd = flags + len;
|
/external/skia/src/utils/ |
SkOSFile.cpp | 35 size_t i, len = strlen(src); local 37 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t)); 39 for (i = 0; i < len; i++) 52 SkASSERT(i + 1 <= len + len2); 59 size_t len = strlen(src); local 61 fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t)); 63 for (i = 0; i < len; i++)
|
/external/skia/src/views/ |
SkViewInflate.cpp | 101 SkView* SkViewInflate::inflate(const char xml[], size_t len, SkView* root) 104 const SkDOM::Node* node = dom.build(xml, len); 125 size_t len = strlen(str) + 1; local 128 pair->fStr = (char*)fStrings.alloc(len, SkChunkAlloc::kThrow_AllocFailType); 129 memcpy(pair->fStr, str, len);
|
/external/skia/tools/ |
CrashHandler.cpp | 29 size_t len = kMax; local 30 abi::__cxa_demangle(mangled, demangled, &len, &ok);
|
/external/skia/tools/lua/ |
lua_pictures.cpp | 55 size_t len = stream->getLength(); local 56 void* buffer = sk_malloc_throw(len); 57 stream->read(buffer, len); 58 return SkData::NewFromMalloc(buffer, len);
|
/external/smack/src/org/apache/harmony/javax/security/auth/ |
SubjectDomainCombiner.java | 85 int len = 0; local 87 len += currentDomains.length; 90 len += assignedDomains.length; 92 if (len == 0) { 96 ProtectionDomain[] pd = new ProtectionDomain[len];
|
/external/smali/util/src/main/java/org/jf/util/ |
Utf8Utils.java | 43 int len = string.length(); local 44 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 47 for (int i = 0; i < len; i++) {
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_main.c | 363 int len; local 366 len = (int) strlen(src); 367 if (len < size) 368 dest[len] = 0;
|
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_main.c | 363 int len; local 366 len = (int) strlen(src); 367 if (len < size) 368 dest[len] = 0;
|
/external/sonivox/arm-wt-22k/host_src/ |
eas_main.c | 366 int len; local 369 len = (int) strlen(src); 370 if (len < size) 371 dest[len] = 0;
|