Home
last modified time | relevance | path

Searched refs:strLen (Results 1 - 25 of 53) sorted by relevance

123

/third_party/icu/icu4c/source/common/
H A Duset.cpp90 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString() argument
91 // UnicodeString handles -1 for strLen in uset_addString()
92 UnicodeString s(strLen<0, str, strLen); in uset_addString()
97 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { in uset_addAllCodePoints() argument
98 // UnicodeString handles -1 for strLen in uset_addAllCodePoints()
99 UnicodeString s(str, strLen); in uset_addAllCodePoints()
114 uset_removeString(USet* set, const UChar* str, int32_t strLen) { in uset_removeString() argument
115 UnicodeString s(strLen==-1, str, strLen); in uset_removeString()
215 uset_containsString(const USet* set, const UChar* str, int32_t strLen) uset_containsString() argument
226 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) uset_containsAllCodePoints() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duset.cpp90 uset_addString(USet* set, const char16_t* str, int32_t strLen) { in uset_addString() argument
91 // UnicodeString handles -1 for strLen in uset_addString()
92 UnicodeString s(strLen<0, str, strLen); in uset_addString()
97 uset_addAllCodePoints(USet* set, const char16_t *str, int32_t strLen) { in uset_addAllCodePoints() argument
98 // UnicodeString handles -1 for strLen in uset_addAllCodePoints()
99 UnicodeString s(str, strLen); in uset_addAllCodePoints()
114 uset_removeString(USet* set, const char16_t* str, int32_t strLen) { in uset_removeString() argument
115 UnicodeString s(strLen==-1, str, strLen); in uset_removeString()
215 uset_containsString(const USet* set, const char16_t* str, int32_t strLen) uset_containsString() argument
226 uset_containsAllCodePoints(const USet* set, const char16_t *str, int32_t strLen) uset_containsAllCodePoints() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Duset.cpp90 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString() argument
91 // UnicodeString handles -1 for strLen in uset_addString()
92 UnicodeString s(strLen<0, str, strLen); in uset_addString()
97 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { in uset_addAllCodePoints() argument
98 // UnicodeString handles -1 for strLen in uset_addAllCodePoints()
99 UnicodeString s(str, strLen); in uset_addAllCodePoints()
114 uset_removeString(USet* set, const UChar* str, int32_t strLen) { in uset_removeString() argument
115 UnicodeString s(strLen==-1, str, strLen); in uset_removeString()
210 uset_containsString(const USet* set, const UChar* str, int32_t strLen) uset_containsString() argument
221 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) uset_containsAllCodePoints() argument
[all...]
/third_party/skia/modules/canvaskit/
H A Dparticles.js32 var strLen = lengthBytesUTF8(key) + 1;
33 var strPtr = CanvasKit._malloc(strLen);
35 stringToUTF8(key, strPtr, strLen);
H A Dskottie.js46 var strLen = lengthBytesUTF8(key) + 1;
47 var strPtr = CanvasKit._malloc(strLen);
49 stringToUTF8(key, strPtr, strLen);
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
H A DPostScriptTable.java436 int strLen = this.data.readUByte(index); in parse()
437 byte[] nameBytes = new byte[strLen]; in parse()
438 this.data.readBytes(index + 1, nameBytes, 0, strLen); in parse()
444 index += 1 + strLen; in parse()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DReactorDebugInfo.cpp38 size_t strLen = str.size(); in endswith_lower() local
41 if(strLen < suffixLen) in endswith_lower()
46 return to_lower(str).substr(strLen - suffixLen) == to_lower(suffix); in endswith_lower()
/third_party/skia/experimental/skottiekit/
H A Dinterface.js91 var strLen = lengthBytesUTF8(key) + 1;
92 var strPtr = SkottieKit._malloc(strLen);
94 stringToUTF8(key, strPtr, strLen);
/third_party/icu/icu4c/source/common/unicode/
H A Duset.h574 * uset_containsString(set, str, strLen) will return true.
578 * @param strLen the length of the string or -1 if null terminated.
582 uset_addString(USet* set, const UChar* str, int32_t strLen);
590 * @param strLen the length of the string or -1 if null terminated.
594 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
621 * uset_containsString(set, str, strLen) will return false.
625 * @param strLen the length of the string or -1 if null terminated.
629 uset_removeString(USet* set, const UChar* str, int32_t strLen);
888 * @param strLen the length of the string or -1 if null terminated.
893 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/third_party/node/deps/icu-small/source/common/unicode/
H A Duset.h604 * uset_containsString(set, str, strLen) will return true.
608 * @param strLen the length of the string or -1 if null terminated.
612 uset_addString(USet* set, const UChar* str, int32_t strLen);
620 * @param strLen the length of the string or -1 if null terminated.
624 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
651 * uset_containsString(set, str, strLen) will return false.
655 * @param strLen the length of the string or -1 if null terminated.
659 uset_removeString(USet* set, const UChar* str, int32_t strLen);
920 * @param strLen the length of the string or -1 if null terminated.
925 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Duset.h574 * uset_containsString(set, str, strLen) will return true.
578 * @param strLen the length of the string or -1 if null terminated.
582 uset_addString(USet* set, const UChar* str, int32_t strLen);
590 * @param strLen the length of the string or -1 if null terminated.
594 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
621 * uset_containsString(set, str, strLen) will return false.
625 * @param strLen the length of the string or -1 if null terminated.
629 uset_removeString(USet* set, const UChar* str, int32_t strLen);
881 * @param strLen the length of the string or -1 if null terminated.
886 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
[all...]
/third_party/icu/icu4c/source/io/
H A Dufmt_cmn.h30 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar))
/third_party/skia/third_party/externals/icu/source/io/
H A Dufmt_cmn.h30 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DStringMap.h131 explicit StringMapEntryStorage(size_t strLen) in StringMapEntryStorage() argument
132 : StringMapEntryBase(strLen), second() {} in StringMapEntryStorage()
134 StringMapEntryStorage(size_t strLen, InitTy &&... InitVals) in StringMapEntryStorage() argument
135 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {} in StringMapEntryStorage()
147 explicit StringMapEntryStorage(size_t strLen, NoneType none = None) in StringMapEntryStorage() argument
148 : StringMapEntryBase(strLen) {} in StringMapEntryStorage()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dwpa_debug.c543 int strLen = os_strlen(str); in anonymize_ssid() local
554 if (strLen < minHiddenSize) { in anonymize_ssid()
555 os_memset(s, hiddenChar, strLen); in anonymize_ssid()
559 if (strLen < minHiddenSize + headKeepSize + tailKeepSize) { in anonymize_ssid()
561 int hiddenSize = strLen - minHiddenSize + 1; in anonymize_ssid()
566 os_memset(s + headKeepSize, hiddenChar, strLen - headKeepSize - tailKeepSize); in anonymize_ssid()
589 int strLen = os_strlen(str); in anonymize_common() local
600 if (strLen < minHiddenSize) { in anonymize_common()
601 os_memset(temp, hiddenChar, strLen); in anonymize_common()
605 if (strLen < minHiddenSiz in anonymize_common()
[all...]
/third_party/skia/src/ports/
H A DSkOSFile_posix.cpp173 size_t strLen = strlen(str); in issuffixfor() local
175 return strLen >= suffixLen && in issuffixfor()
176 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0; in issuffixfor()
H A DSkFontConfigInterface_direct.cpp91 uint32_t strLen, weight, width; in readFromMemory() local
92 (void)buffer.readU32(&strLen); in readFromMemory()
99 fString.resize(strLen); in readFromMemory()
100 (void)buffer.read(fString.writable_str(), strLen); in readFromMemory()
H A DSkFontMgr_win_dw.cpp861 UINT32 strLen = SkTo<UINT32>(SkUTF::ToUTF16(character, reinterpret_cast<uint16_t*>(str))); in fallback() local
872 new FontFallbackSource(str, strLen, dwBcp47, numberSubstitution.get())); in fallback()
883 strLen, in fallback()
930 UINT32 strLen = SkTo<UINT32>(SkUTF::ToUTF16(character, reinterpret_cast<uint16_t*>(str))); in layoutFallback() local
950 str, strLen, fallbackFormat.get(), 200.0f, 200.0f, &fallbackLayout), in layoutFallback()
956 HRNM(fallbackLayout->SetFontCollection(fFontCollection.get(), {0, strLen}), in layoutFallback()
/third_party/skia/src/core/
H A DSkString.cpp62 size_t strLen = strlen(string); in SkStrEndsWith() local
64 return strLen >= suffixLen && in SkStrEndsWith()
65 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
70 size_t strLen = strlen(string); in SkStrEndsWith() local
71 if (0 == strLen) { in SkStrEndsWith()
74 return (suffixChar == string[strLen-1]); in SkStrEndsWith()
/third_party/vk-gl-cts/execserver/
H A 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()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dstring_utils.cpp25 const size_t strLen, in EndsWithSuffix()
29 return suffixLen <= strLen && strncmp(str + strLen - suffixLen, suffix, suffixLen) == 0; in EndsWithSuffix()
24 EndsWithSuffix(const char *str, const size_t strLen, const char *suffix, const size_t suffixLen) EndsWithSuffix() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DStringMap.h132 explicit StringMapEntry(unsigned strLen) in StringMapEntry() argument
133 : StringMapEntryBase(strLen), second() {} in StringMapEntry()
135 StringMapEntry(unsigned strLen, InitTy &&... InitVals) in StringMapEntry() argument
136 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {} in StringMapEntry()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcreststn.c709 int32_t strLen =0; in TestNewTypes() local
710 const UChar* str = tres_getString(theBundle, -1, "testincludeUTF",&strLen,&status); in TestNewTypes()
724 if(strLen != len ){ in TestNewTypes()
725 log_err("Did not get the expected len for riwords. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
728 if(u_strlen(str) != strLen || str[strLen]!= 0 ){ in TestNewTypes()
731 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes()
746 int32_t strLen =0; in TestNewTypes() local
747 const UChar* str = tres_getString(theBundle, -1, "testinclude",&strLen,&status); in TestNewTypes()
762 if(strLen ! in TestNewTypes()
2229 int32_t strLen = 0, seqLen = 0;/*, binLen = 0, binSeqLen = 0;*/ TestResourceLevelAliasing() local
[all...]
H A Dcapitst.c1806 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { in doOverrunTest() argument
1812 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0); in doOverrunTest()
1816 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i); in doOverrunTest()
1837 int32_t strLen = 0; in TestSortKeyBufferOverrun() local
1839 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1844 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1848 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1852 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1858 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkBinaryRegistry.cpp171 const size_t strLen = combinedStr.size(); in getSearchPath() local
172 const size_t numWords = strLen/4 + 1; // Must always end up with at least one 0 byte in getSearchPath()
175 deMemcpy(&words[0], combinedStr.c_str(), strLen); in getSearchPath()

Completed in 30 milliseconds

123