Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/webrtc/voice_engine/
Dvoe_hardware_impl.cc208 const uint16_t strLen = 128; in GetRecordingDeviceName() local
211 assert(strLen == kAdmMaxDeviceNameSize); in GetRecordingDeviceName()
212 assert(strLen == kAdmMaxGuidSize); in GetRecordingDeviceName()
214 char name[strLen]; in GetRecordingDeviceName()
215 char guid[strLen]; in GetRecordingDeviceName()
226 strncpy(strNameUTF8, name, strLen); in GetRecordingDeviceName()
233 strncpy(strGuidUTF8, guid, strLen); in GetRecordingDeviceName()
264 const uint16_t strLen = 128; in GetPlayoutDeviceName() local
267 assert(strLen == kAdmMaxDeviceNameSize); in GetPlayoutDeviceName()
268 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()
/external/chromium_org/third_party/icu/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()
/external/icu/icu4c/source/common/unicode/
Duset.h569 uset_addString(USet* set, const UChar* str, int32_t strLen);
581 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
616 uset_removeString(USet* set, const UChar* str, int32_t strLen);
790 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
886 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/external/chromium_org/third_party/icu/source/common/unicode/
Duset.h569 uset_addString(USet* set, const UChar* str, int32_t strLen);
581 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
616 uset_removeString(USet* set, const UChar* str, int32_t strLen);
790 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
886 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/external/chromium_org/third_party/icu/source/io/
Dufmt_cmn.h28 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar)) argument
/external/icu/icu4c/source/io/
Dufmt_cmn.h28 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar)) argument
/external/chromium_org/third_party/skia/src/utils/
DSkOSFile.cpp207 size_t strLen = strlen(str); in issuffixfor() local
209 return strLen >= suffixLen && in issuffixfor()
210 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0; in issuffixfor()
/external/skia/src/utils/
DSkOSFile.cpp203 size_t strLen = strlen(str); in issuffixfor() local
205 return strLen >= suffixLen && in issuffixfor()
206 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0; in issuffixfor()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java222 int strLen = str.length(); in escapeString() local
223 StringBuilder b = new StringBuilder(strLen); in escapeString()
224 for (int i = 0; i < strLen; i++) { in escapeString()
/external/skia/src/core/
DSkString.cpp42 size_t strLen = strlen(string); in SkStrEndsWith() local
44 return strLen >= suffixLen && in SkStrEndsWith()
45 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
50 size_t strLen = strlen(string); in SkStrEndsWith() local
51 if (0 == strLen) { in SkStrEndsWith()
54 return (suffixChar == string[strLen-1]); in SkStrEndsWith()
/external/chromium_org/third_party/skia/src/core/
DSkString.cpp42 size_t strLen = strlen(string); in SkStrEndsWith() local
44 return strLen >= suffixLen && in SkStrEndsWith()
45 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
50 size_t strLen = strlen(string); in SkStrEndsWith() local
51 if (0 == strLen) { in SkStrEndsWith()
54 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/chromium_org/third_party/icu/source/i18n/
Duspoof_conf.cpp333 int32_t strLen = s->fStr->length(); in build() local
335 U_ASSERT(strLen >= previousStringLength); in build()
336 if (strLen == 1) { in build()
342 if ((strLen > previousStringLength) && (previousStringLength >= 4)) { in build()
349 previousStringLength = strLen; in build()
Ddtfmtsym.cpp1255 int32_t strLen = 0; in initField() local
1260 const UChar *resStr = ures_getStringByIndex(data, i, &strLen, &status); in initField()
1262 (*(field)+i)->setTo(TRUE, resStr, strLen); in initField()
1273 …nt32_t& length, const UChar *data, LastResortSize numStr, LastResortSize strLen, UErrorCode &statu… in initField() argument
1281 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1); in initField()
1295 int32_t strLen = 0; in initLeapMonthPattern() local
1296 const UChar *resStr = ures_getStringByKey(data, gNamesLeapTag, &strLen, &status); in initLeapMonthPattern()
1298 field[index].setTo(TRUE, resStr, strLen); in initLeapMonthPattern()
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp333 int32_t strLen = s->fStr->length(); in build() local
335 U_ASSERT(strLen >= previousStringLength); in build()
336 if (strLen == 1) { in build()
342 if ((strLen > previousStringLength) && (previousStringLength >= 4)) { in build()
349 previousStringLength = strLen; in build()
Ddtfmtsym.cpp1265 int32_t strLen = 0; in initField() local
1270 const UChar *resStr = ures_getStringByIndex(data, i, &strLen, &status); in initField()
1272 (*(field)+i)->setTo(TRUE, resStr, strLen); in initField()
1283 …nt32_t& length, const UChar *data, LastResortSize numStr, LastResortSize strLen, UErrorCode &statu… in initField() argument
1291 (*(field)+i)->setTo(TRUE, data+(i*((int32_t)strLen)), -1); in initField()
1305 int32_t strLen = 0; in initLeapMonthPattern() local
1306 const UChar *resStr = ures_getStringByKey(data, gNamesLeapTag, &strLen, &status); in initLeapMonthPattern()
1308 field[index].setTo(TRUE, resStr, strLen); in initLeapMonthPattern()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcreststn.c678 int32_t strLen =0; in TestNewTypes() local
679 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status); in TestNewTypes()
693 if(strLen != len ){ in TestNewTypes()
694 … log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
697 if(u_strlen(str) != strLen || str[strLen]!= 0 ){ in TestNewTypes()
700 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
715 int32_t strLen =0; in TestNewTypes() local
716 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status); in TestNewTypes()
731 if(strLen != len ){ in TestNewTypes()
732 … log_err("Did not get the expected len for translit_rules. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c680 int32_t strLen =0; in TestNewTypes() local
681 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status); in TestNewTypes()
695 if(strLen != len ){ in TestNewTypes()
696 … log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
699 if(u_strlen(str) != strLen || str[strLen]!= 0 ){ in TestNewTypes()
702 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
717 int32_t strLen =0; in TestNewTypes() local
718 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status); in TestNewTypes()
733 if(strLen != len ){ in TestNewTypes()
734 … log_err("Did not get the expected len for translit_rules. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h118 explicit StringMapEntry(unsigned strLen) in StringMapEntry() argument
119 : StringMapEntryBase(strLen), second() {} in StringMapEntry()
120 StringMapEntry(unsigned strLen, ValueTy V) in StringMapEntry() argument
121 : StringMapEntryBase(strLen), second(std::move(V)) {} in StringMapEntry()
/external/chromium_org/third_party/skia/src/ports/
DSkFontConfigInterface_direct.cpp48 uint32_t strLen, weight, width; in readFromMemory() local
49 (void)buffer.readU32(&strLen); in readFromMemory()
56 fString.resize(strLen); in readFromMemory()
57 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
DSkRemotableFontMgr_win_dw.cpp467 UINT32 strLen = static_cast<UINT32>( in matchNameStyleCharacter() local
470 HR_GENERAL(dwFactory->CreateTextLayout(str, strLen, fallbackFormat.get(), in matchNameStyleCharacter()
/external/skia/src/ports/
DSkFontConfigInterface_direct.cpp48 uint32_t strLen, weight, width; in readFromMemory() local
49 (void)buffer.readU32(&strLen); in readFromMemory()
56 fString.resize(strLen); in readFromMemory()
57 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
DSkRemotableFontMgr_win_dw.cpp456 UINT32 strLen = static_cast<UINT32>( in matchNameStyleCharacter() local
459 HR_GENERAL(dwFactory->CreateTextLayout(str, strLen, fallbackFormat.get(), in matchNameStyleCharacter()
/external/fonttools/Lib/fontTools/ttLib/tables/
DM_E_T_A_.py235 strLen = len(string)
237 while i < strLen:

12