Home
last modified time | relevance | path

Searched refs:strLen (Results 26 - 50 of 63) sorted by relevance

123

/kernel/liteos_a/kernel/extended/dynload/src/
H A Dlos_load_elf.c640 UINT32 offset, strLen; in OsCopyParams() local
658 strLen = strlen(strPtr) + 1; in OsCopyParams()
660 strLen = LOS_StrnlenUser(strPtr, PATH_MAX); in OsCopyParams()
662 if (strLen < 1) { in OsCopyParams()
667 if (offset < strLen) { in OsCopyParams()
672 loadInfo->topOfMem -= strLen; in OsCopyParams()
673 offset -= strLen; in OsCopyParams()
677 err = memcpy_s((VOID *)(UINTPTR)(kvaddr + offset), strLen, strPtr, strLen); in OsCopyParams()
679 err = LOS_ArchCopyFromUser((VOID *)(UINTPTR)(kvaddr + offset), strPtr, strLen); in OsCopyParams()
[all...]
/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/src/ports/
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()
H A DSkRemotableFontMgr_win_dw.cpp401 UINT32 strLen = static_cast<UINT32>( variable
404 HR_GENERAL(dwFactory->CreateTextLayout(str, strLen, fallbackFormat.get(),
/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()
H A Dcitertst.c1065 int strLen = u_unescape(src[count], str, 20); in TestDiscontiguos() local
1068 ucol_setText(iter, str, strLen, &status); in TestDiscontiguos()
H A Dcldrtest.c1173 int32_t strLen; in TestExemplarSet() local
1234 strLen = uset_getItem(exemplarSet, m, &start, &end, ubuf, in TestExemplarSet()
1238 if (strLen == 0) { in TestExemplarSet()
1247 if (codeSets[j]!=NULL && uset_containsString(codeSets[j], ubuf, strLen)) { in TestExemplarSet()
/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()
/third_party/skia/include/core/
H A DSkFontMgr.h33 uint32_t strLen; member
/third_party/icu/icu4c/source/i18n/
H A Duspoof_conf.cpp343 int32_t strLen = s->fStr->length(); in build() local
345 if (strLen == 1) { in build()
/third_party/node/deps/icu-small/source/i18n/
H A Duspoof_conf.cpp343 int32_t strLen = s->fStr->length(); in build() local
345 if (strLen == 1) { in build()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Duspoof_conf.cpp344 int32_t strLen = s->fStr->length(); in build() local
346 if (strLen == 1) { in build()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cGlSpirvTests.cpp68 deUint8 strLen = (deUint8)binary.shaderEntryPoints[i].size(); in writeSpirV() local
69 fwrite((void*)&strLen, 1, 1, file); in writeSpirV()
70 fwrite((void*)binary.shaderEntryPoints[i].data(), 1, strLen, file); in writeSpirV()
96 deUint8 strLen; in readSpirV() local
97 resource->read(&strLen, 1); in readSpirV()
99 binary.shaderEntryPoints[i].resize(strLen); in readSpirV()
100 resource->read((deUint8*)binary.shaderEntryPoints[i].data(), strLen); in readSpirV()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DStringRef.h77 static constexpr size_t strLen(const char *Str) { in strLen() function in llvm::StringRef
104 : Data(Str), Length(Str ? strLen(Str) : 0) {} in StringRef()
/kernel/liteos_a/syscall/
H A Dfs_syscall.c342 uint8_t strLen = 0; in ProcRealProcessDirGet() local
355 char *pidStr = NextName(fullPath + procLen, &strLen); in ProcRealProcessDirGet()
366 if (memcpy_s(pidBuf, PATH_MAX, pidStr, strLen) != EOK) { in ProcRealProcessDirGet()
370 pidBuf[strLen] = '\0'; in ProcRealProcessDirGet()
384 if (snprintf_s(path, PATH_MAX + 1, PATH_MAX, "/proc/%d%s", rootPid, (pidStr + strLen)) < 0) { in ProcRealProcessDirGet()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUTF16.java2656 final int strLen = s.length(); in compareCodePoint()
2657 if (strLen == 0) { in compareCodePoint()
2665 return strLen == Character.charCount(codePoint) ? 0 : -1; in compareCodePoint()
H A DSpoofChecker.java974 int strLen = s.fStr.length(); in build()
976 if (strLen == 1) { in build()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DUTF16.java2566 final int strLen = s.length(); in compareCodePoint()
2567 if (strLen == 0) { in compareCodePoint()
2575 return strLen == Character.charCount(codePoint) ? 0 : -1; in compareCodePoint()
H A DSpoofChecker.java922 int strLen = s.fStr.length(); in build()
924 if (strLen == 1) { in build()
/third_party/icu/icu4c/source/common/
H A Dutext.cpp1205 int32_t strLen = ut->b; in utf8TextAccess()
1207 if (strLen < 0) { in utf8TextAccess()
1208 strLen = 0x7fffffff; in utf8TextAccess()
1241 U8_NEXT_OR_FFFD(s8, srcIx, strLen, c); in utf8TextAccess()
1256 if (srcIx>=strLen) { in utf8TextAccess()
/third_party/node/deps/icu-small/source/common/
H A Dutext.cpp1208 int32_t strLen = ut->b; in utf8TextAccess()
1210 if (strLen < 0) { in utf8TextAccess()
1211 strLen = 0x7fffffff; in utf8TextAccess()
1244 U8_NEXT_OR_FFFD(s8, srcIx, strLen, c); in utf8TextAccess()
1259 if (srcIx>=strLen) { in utf8TextAccess()

Completed in 47 milliseconds

123