Home
last modified time | relevance | path

Searched refs:strLen (Results 1 – 25 of 29) sorted by relevance

12

/external/webrtc/webrtc/voice_engine/
Dvoe_hardware_impl.cc164 const uint16_t strLen = 128; in GetRecordingDeviceName() local
167 static_assert(strLen == kAdmMaxDeviceNameSize, ""); in GetRecordingDeviceName()
168 static_assert(strLen == kAdmMaxGuidSize, ""); in GetRecordingDeviceName()
170 char name[strLen]; in GetRecordingDeviceName()
171 char guid[strLen]; in GetRecordingDeviceName()
181 strncpy(strNameUTF8, name, strLen); in GetRecordingDeviceName()
184 strncpy(strGuidUTF8, guid, strLen); in GetRecordingDeviceName()
206 const uint16_t strLen = 128; in GetPlayoutDeviceName() local
209 static_assert(strLen == kAdmMaxDeviceNameSize, ""); in GetPlayoutDeviceName()
210 static_assert(strLen == kAdmMaxGuidSize, ""); in GetPlayoutDeviceName()
[all …]
/external/icu/icu4c/source/common/
Duset.cpp88 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString() argument
90 UnicodeString s(strLen<0, str, strLen); in uset_addString()
95 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { in uset_addAllCodePoints() argument
97 UnicodeString s(str, strLen); in uset_addAllCodePoints()
112 uset_removeString(USet* set, const UChar* str, int32_t strLen) { in uset_removeString() argument
113 UnicodeString s(strLen==-1, str, strLen); in uset_removeString()
173 uset_containsString(const USet* set, const UChar* str, int32_t strLen) { in uset_containsString() argument
174 UnicodeString s(strLen==-1, str, strLen); in uset_containsString()
184 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) { in uset_containsAllCodePoints() argument
186 UnicodeString s(strLen==-1, str, strLen); in uset_containsAllCodePoints()
Dutext.cpp1198 int32_t strLen = ut->b; in utf8TextAccess() local
1200 if (strLen < 0) { in utf8TextAccess()
1201 strLen = 0x7fffffff; in utf8TextAccess()
1234 U8_NEXT_OR_FFFD(s8, srcIx, strLen, c); in utf8TextAccess()
1249 if (srcIx>=strLen) { in utf8TextAccess()
/external/icu/icu4c/source/common/unicode/
Duset.h571 uset_addString(USet* set, const UChar* str, int32_t strLen);
583 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
618 uset_removeString(USet* set, const UChar* str, int32_t strLen);
792 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
888 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/external/icu/icu4c/source/io/
Dufmt_cmn.h28 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar)) argument
/external/skia/src/ports/
DSkOSFile_posix.cpp141 size_t strLen = strlen(str); in issuffixfor() local
143 return strLen >= suffixLen && in issuffixfor()
144 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0; in issuffixfor()
DSkFontConfigInterface_direct.cpp53 uint32_t strLen, weight, width; in readFromMemory() local
54 (void)buffer.readU32(&strLen); in readFromMemory()
61 fString.resize(strLen); in readFromMemory()
62 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
DSkFontMgr_win_dw.cpp749 UINT32 strLen = static_cast<UINT32>( in onMatchFamilyStyleCharacter() local
774 new FontFallbackSource(str, strLen, *dwBcp47, numberSubstitution.get())); in onMatchFamilyStyleCharacter()
781 strLen, in onMatchFamilyStyleCharacter()
818 HRNM(fFactory->CreateTextLayout(str, strLen, fallbackFormat.get(), in onMatchFamilyStyleCharacter()
DSkRemotableFontMgr_win_dw.cpp435 UINT32 strLen = static_cast<UINT32>( in matchNameStyleCharacter() local
438 HR_GENERAL(dwFactory->CreateTextLayout(str, strLen, fallbackFormat.get(), in matchNameStyleCharacter()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java226 int strLen = str.length(); in escapeString() local
227 StringBuilder b = new StringBuilder(strLen); in escapeString()
228 for (int i = 0; i < strLen; i++) { in escapeString()
/external/skia/src/core/
DSkString.cpp43 size_t strLen = strlen(string); in SkStrEndsWith() local
45 return strLen >= suffixLen && in SkStrEndsWith()
46 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
51 size_t strLen = strlen(string); in SkStrEndsWith() local
52 if (0 == strLen) { in SkStrEndsWith()
55 return (suffixChar == string[strLen-1]); in SkStrEndsWith()
/external/deqp/execserver/
DxsProtocol.cpp135 int strLen = (int)strlen(value); in put() local
137 m_buf.resize(curPos + strLen+1); in put()
138 deMemcpy(&m_buf[curPos], &value[0], strLen+1); in put()
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp356 int32_t strLen = s->fStr->length(); in build() local
358 U_ASSERT(strLen >= previousStringLength); in build()
359 if (strLen == 1) { in build()
365 if ((strLen > previousStringLength) && (previousStringLength >= 4)) { in build()
372 previousStringLength = strLen; in build()
Ddtfmtsym.cpp1406 int32_t strLen = 0; in initField() local
1411 const UChar *resStr = ures_getStringByIndex(data, i, &strLen, &status); in initField()
1413 (*(field)+i)->setTo(TRUE, resStr, strLen); in initField()
1424 …nt32_t& length, const UChar *data, LastResortSize numStr, LastResortSize strLen, UErrorCode &statu… in initField() argument
1432 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1); in initField()
1446 int32_t strLen = 0; in initLeapMonthPattern() local
1447 const UChar *resStr = ures_getStringByKey(data, gNamesLeapTag, &strLen, &status); in initLeapMonthPattern()
1449 field[index].setTo(TRUE, resStr, strLen); in initLeapMonthPattern()
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c676 int32_t strLen =0; in TestNewTypes() local
677 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status); in TestNewTypes()
691 if(strLen != len ){ in TestNewTypes()
692 … log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
695 if(u_strlen(str) != strLen || str[strLen]!= 0 ){ in TestNewTypes()
698 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
713 int32_t strLen =0; in TestNewTypes() local
714 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status); in TestNewTypes()
729 if(strLen != len ){ in TestNewTypes()
730 … log_err("Did not get the expected len for translit_rules. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
[all …]
Dcapitst.c1682 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { in doOverrunTest() argument
1688 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0); in doOverrunTest()
1692 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i); in doOverrunTest()
1713 int32_t strLen = 0; in TestSortKeyBufferOverrun() local
1715 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1720 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1724 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1728 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1734 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
Dcldrtest.c1145 int32_t strLen; in TestExemplarSet() local
1206 strLen = uset_getItem(exemplarSet, m, &start, &end, ubuf, in TestExemplarSet()
1210 if (strLen == 0) { in TestExemplarSet()
1219 if (codeSets[j]!=NULL && uset_containsString(codeSets[j], ubuf, strLen)) { in TestExemplarSet()
/external/llvm/include/llvm/ADT/
DStringMap.h123 explicit StringMapEntry(unsigned strLen) in StringMapEntry() argument
124 : StringMapEntryBase(strLen), second() {} in StringMapEntry()
126 StringMapEntry(unsigned strLen, InitTy &&V) in StringMapEntry() argument
127 : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {} in StringMapEntry()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.cpp92 const size_t strLen = combinedStr.size(); in getSearchPath() local
93 const size_t numWords = strLen/4 + 1; // Must always end up with at least one 0 byte in getSearchPath()
96 deMemcpy(&words[0], combinedStr.c_str(), strLen); in getSearchPath()
/external/fonttools/Lib/fontTools/ttLib/tables/
DM_E_T_A_.py235 strLen = len(string)
237 while i < strLen:
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java1141 int strLen = s.fStr.length();
1143 assert (strLen >= previousStringLength);
1144 if (strLen == 1) {
1150 if ((strLen > previousStringLength) && (previousStringLength >= 4)) {
1157 previousStringLength = strLen;
DUTF16.java2648 final int strLen = s.length(); in compareCodePoint() local
2649 if (strLen == 0) { in compareCodePoint()
2657 return strLen == Character.charCount(codePoint) ? 0 : -1; in compareCodePoint()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSpoofChecker.java1104 int strLen = s.fStr.length();
1106 assert (strLen >= previousStringLength);
1107 if (strLen == 1) {
1113 if ((strLen > previousStringLength) && (previousStringLength >= 4)) {
1120 previousStringLength = strLen;
DUTF16.java2560 final int strLen = s.length(); in compareCodePoint() local
2561 if (strLen == 0) { in compareCodePoint()
2569 return strLen == Character.charCount(codePoint) ? 0 : -1; in compareCodePoint()
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DClassReader.java1927 int strLen = 0; in readUTF() local
1941 buf[strLen++] = (char) c; in readUTF()
1947 buf[strLen++] = (char) (((c & 0x1F) << 6) | (d & 0x3F)); in readUTF()
1953 buf[strLen++] = (char) (((c & 0x0F) << 12) in readUTF()
1958 return new String(buf, 0, strLen); in readUTF()

12