/frameworks/base/libs/androidfw/tests/ |
Idmap_test.cpp | 80 size_t strLen; 81 const char16_t* targetStr16 = pool->stringAt(val.data, &strLen); 83 ASSERT_EQ(String16("test2"), String16(targetStr16, strLen)); 95 targetStr16 = pool->stringAt(val.data, &strLen); 97 ASSERT_EQ(String16("test2-overlay"), String16(targetStr16, strLen));
|
/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/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/webrtc/voice_engine/ |
voe_hardware_impl.cc | 208 const uint16_t strLen = 128; 211 assert(strLen == kAdmMaxDeviceNameSize); 212 assert(strLen == kAdmMaxGuidSize); 214 char name[strLen]; 215 char guid[strLen]; 226 strncpy(strNameUTF8, name, strLen); 233 strncpy(strGuidUTF8, guid, strLen); 264 const uint16_t strLen = 128; 267 assert(strLen == kAdmMaxDeviceNameSize); 268 assert(strLen == kAdmMaxGuidSize) [all...] |
/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;
|
/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);
|
/external/deqp/execserver/ |
xsProtocol.cpp | 135 int strLen = (int)strlen(value); 137 m_buf.resize(curPos + strLen+1); 138 deMemcpy(&m_buf[curPos], &value[0], strLen+1);
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
MessageNanoPrinter.java | 222 int strLen = str.length(); 223 StringBuilder b = new StringBuilder(strLen); 224 for (int i = 0; i < strLen; i++) {
|
/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;
|
dtfmtsym.cpp | [all...] |
uspoof.cpp | 725 int32_t strLen = s.length(); 728 int32_t outputSize = uspoof_getSkeleton(sc, type, str, strLen, smallBuf, USPOOF_STACK_BUFFER_SIZE, status); 736 uspoof_getSkeleton(sc, type, str, strLen, buf, outputSize+1, status);
|
/external/icu/icu4c/source/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;
|
dtfmtsym.cpp | [all...] |
/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/chromium_org/third_party/skia/src/ports/ |
SkRemotableFontMgr_win_dw.cpp | 456 UINT32 strLen = static_cast<UINT32>( 459 HR_GENERAL(dwFactory->CreateTextLayout(str, strLen, fallbackFormat.get(),
|
SkFontConfigInterface_direct.cpp | 48 uint32_t strLen, weight, width; 49 (void)buffer.readU32(&strLen); 56 fString.resize(strLen); 57 (void)buffer.read(fString.writable_str(), strLen); 593 *sizes.append() = strlen(famName) + 1;
|
/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...] |
/external/skia/src/ports/ |
SkRemotableFontMgr_win_dw.cpp | 456 UINT32 strLen = static_cast<UINT32>( 459 HR_GENERAL(dwFactory->CreateTextLayout(str, strLen, fallbackFormat.get(),
|
SkFontConfigInterface_direct.cpp | 48 uint32_t strLen, weight, width; 49 (void)buffer.readU32(&strLen); 56 fString.resize(strLen); 57 (void)buffer.read(fString.writable_str(), strLen); 593 *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++) {
|
/system/core/liblog/ |
logprint.c | 310 char *end = str + strlen(str) - 1; 484 unsigned int strLen; 488 strLen = get4LE(eventData); 492 if (eventDataLen < strLen) 495 if (strLen < outBufLen) { 496 memcpy(outBuf, eventData, strLen); 497 outBuf += strLen; 498 outBufLen -= strLen; 506 eventData += strLen; 507 eventDataLen -= strLen; [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
custrtrn.c | [all...] |
cldrtest.c | [all...] |
/external/icu/icu4c/source/test/cintltst/ |
citertst.c | [all...] |
custrtrn.c | [all...] |