/art/runtime/jdwp/ |
jdwp_expand_buf.cc | 153 static void SetUtf8String(uint8_t* buf, const char* str, size_t strLen) { 154 Set4BE(buf, strLen); 155 memcpy(buf + sizeof(uint32_t), str, strLen); 167 int strLen = strlen(s); 168 ensureSpace(pBuf, sizeof(uint32_t) + strLen); 169 SetUtf8String(pBuf->storage + pBuf->curLen, s, strLen); 170 pBuf->curLen += sizeof(uint32_t) + strLen;
|
/external/chromium_org/third_party/icu/source/io/ |
ufmt_cmn.h | 27 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*UTF_MAX_CHAR_LENGTH*sizeof(UChar))
|
/external/icu4c/io/ |
ufmt_cmn.h | 28 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar))
|
/dalvik/vm/jdwp/ |
ExpandBuf.cpp | 170 int strLen = strlen((const char*)str); 172 ensureSpace(pBuf, sizeof(u4) + strLen); 174 pBuf->curLen += sizeof(u4) + strLen;
|
/external/chromium_org/third_party/icu/source/common/ |
uset.cpp | 88 uset_addString(USet* set, const UChar* str, int32_t strLen) { 89 // UnicodeString handles -1 for strLen 90 UnicodeString s(strLen<0, str, strLen); 95 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { 96 // UnicodeString handles -1 for strLen 97 UnicodeString s(str, strLen); 112 uset_removeString(USet* set, const UChar* str, int32_t strLen) { 113 UnicodeString s(strLen==-1, str, strLen); [all...] |
/external/icu4c/common/ |
uset.cpp | 88 uset_addString(USet* set, const UChar* str, int32_t strLen) { 89 // UnicodeString handles -1 for strLen 90 UnicodeString s(strLen<0, str, strLen); 95 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { 96 // UnicodeString handles -1 for strLen 97 UnicodeString s(str, strLen); 112 uset_removeString(USet* set, const UChar* str, int32_t strLen) { 113 UnicodeString s(strLen==-1, str, strLen); [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
MessageNanoPrinter.java | 167 int strLen = str.length(); 168 StringBuilder b = new StringBuilder(strLen); 169 for (int i = 0; i < strLen; i++) {
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
uset.h | 557 * uset_containsString(set, str, strLen) will return TRUE. 561 * @param strLen the length of the string or -1 if null terminated. 565 uset_addString(USet* set, const UChar* str, int32_t strLen); 573 * @param strLen the length of the string or -1 if null terminated. 577 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen); 604 * uset_containsString(set, str, strLen) will return FALSE. 608 * @param strLen the length of the string or -1 if null terminated. 612 uset_removeString(USet* set, const UChar* str, int32_t strLen); 781 * @param strLen the length of the string or -1 if null terminated. 786 uset_containsString(const USet* set, const UChar* str, int32_t strLen); [all...] |
/external/icu4c/common/unicode/ |
uset.h | 561 * uset_containsString(set, str, strLen) will return TRUE. 565 * @param strLen the length of the string or -1 if null terminated. 569 uset_addString(USet* set, const UChar* str, int32_t strLen); 577 * @param strLen the length of the string or -1 if null terminated. 581 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen); 608 * uset_containsString(set, str, strLen) will return FALSE. 612 * @param strLen the length of the string or -1 if null terminated. 616 uset_removeString(USet* set, const UChar* str, int32_t strLen); 785 * @param strLen the length of the string or -1 if null terminated. 790 uset_containsString(const USet* set, const UChar* str, int32_t strLen); [all...] |
/system/core/liblog/ |
logprint.c | 336 char *end = str + strlen(str) - 1; 505 unsigned int strLen; 509 strLen = get4LE(eventData); 513 if (eventDataLen < strLen) 516 if (strLen < outBufLen) { 517 memcpy(outBuf, eventData, strLen); 518 outBuf += strLen; 519 outBufLen -= strLen; 527 eventData += strLen; 528 eventDataLen -= strLen; [all...] |
/libcore/luni/src/main/java/java/lang/ |
StringBuilder.java | 555 * @param strLen 560 * {@code length()}, or {@code strOffset} and {@code strLen} do 565 int strLen) { 566 insert0(offset, str, strOffset, strLen);
|
/dalvik/dexopt/ |
OptMain.cpp | 473 bcpLen += strlen(*argp) + 1; 478 int strLen; 481 strLen = strlen(*argp); 484 memcpy(cp, *argp, strLen); 485 cp += strLen; 489 assert((int) strlen(bootClassPath) == bcpLen-1);
|
/external/llvm/include/llvm/ADT/ |
StringMap.h | 44 unsigned StrLen; 46 explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {} 48 unsigned getKeyLength() const { return StrLen; } 123 explicit StringMapEntry(unsigned strLen) 124 : StringMapEntryBase(strLen), second() {} 125 StringMapEntry(unsigned strLen, const ValueTy &V) 126 : StringMapEntryBase(strLen), second(V) {}
|
/bootable/recovery/minzip/ |
Bits.h | 351 unsigned int strLen = strlen((const char*)str); 353 set4BE(buf, strLen); 354 memcpy(buf + sizeof(unsigned int), str, strLen);
|
/dalvik/vm/ |
Bits.h | 352 u4 strLen = strlen((const char*)str); 354 set4BE(buf, strLen); 355 memcpy(buf + sizeof(u4), str, strLen);
|
/external/chromium_org/third_party/skia/src/utils/ |
SkOSFile.cpp | 35 size_t i, len = strlen(src); 36 size_t len2 = 3 + (suffix ? strlen(suffix) : 0); 59 size_t len = strlen(src); 203 size_t strLen = strlen(str); 205 return strLen >= suffixLen && 206 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0;
|
/external/skia/src/utils/ |
SkOSFile.cpp | 35 size_t i, len = strlen(src); 36 size_t len2 = 3 + (suffix ? strlen(suffix) : 0); 59 size_t len = strlen(src); 203 size_t strLen = strlen(str); 205 return strLen >= suffixLen && 206 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0;
|
/external/chromium_org/third_party/skia/src/core/ |
SkString.cpp | 42 size_t strLen = strlen(string); 43 size_t suffixLen = strlen(suffixStr); 44 return strLen >= suffixLen && 45 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); 50 size_t strLen = strlen(string); 51 if (0 == strLen) { 54 return (suffixChar == string[strLen-1]); 267 size_t len = text ? strlen(text) : 0 [all...] |
/external/skia/src/core/ |
SkString.cpp | 42 size_t strLen = strlen(string); 43 size_t suffixLen = strlen(suffixStr); 44 return strLen >= suffixLen && 45 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); 50 size_t strLen = strlen(string); 51 if (0 == strLen) { 54 return (suffixChar == string[strLen-1]); 267 size_t len = text ? strlen(text) : 0 [all...] |
/frameworks/base/include/androidfw/ |
ZipFileRO.h | 214 void addToHash(const char* str, int strLen, unsigned int hash);
|
/external/chromium_org/third_party/icu/source/i18n/ |
uspoof_conf.cpp | 330 int32_t strLen = s->fStr->length(); 332 U_ASSERT(strLen >= previousStringLength); 333 if (strLen == 1) { 339 if ((strLen > previousStringLength) && (previousStringLength >= 4)) { 346 previousStringLength = strLen;
|
/external/icu4c/i18n/ |
uspoof_conf.cpp | 333 int32_t strLen = s->fStr->length(); 335 U_ASSERT(strLen >= previousStringLength); 336 if (strLen == 1) { 342 if ((strLen > previousStringLength) && (previousStringLength >= 4)) { 349 previousStringLength = strLen;
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontConfigInterface_direct.cpp | 47 uint32_t strLen, weight, width; 48 (void)buffer.readU32(&strLen); 55 fString.resize(strLen); 56 (void)buffer.read(fString.writable_str(), strLen); 600 *sizes.append() = strlen(famName) + 1;
|
/external/skia/src/ports/ |
SkFontConfigInterface_direct.cpp | 47 uint32_t strLen, weight, width; 48 (void)buffer.readU32(&strLen); 55 fString.resize(strLen); 56 (void)buffer.read(fString.writable_str(), strLen); 600 *sizes.append() = strlen(famName) + 1;
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneFilterTypeAdapter.java | 274 final int strLen = string.length(); 278 for (int i = 0; i < strLen; i++) {
|