Home
last modified time | relevance | path

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

123

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpbnu_setoctstr.c69 cpSize cpFromOctStr_BNU(BNU_CHUNK_T* pA, const Ipp8u* pStr, cpSize strLen) in cpFromOctStr_BNU() argument
74 for(; strLen>=(int)sizeof(BNU_CHUNK_T); nsA++,strLen-=(int)(sizeof(BNU_CHUNK_T))) { in cpFromOctStr_BNU()
78 +( (BNU_CHUNK_T)pStr[strLen-8]<<(8*7) ) in cpFromOctStr_BNU()
79 +( (BNU_CHUNK_T)pStr[strLen-7]<<(8*6) ) in cpFromOctStr_BNU()
80 +( (BNU_CHUNK_T)pStr[strLen-6]<<(8*5) ) in cpFromOctStr_BNU()
81 +( (BNU_CHUNK_T)pStr[strLen-5]<<(8*4) ) in cpFromOctStr_BNU()
83 +( (BNU_CHUNK_T)pStr[strLen-4]<<(8*3) ) in cpFromOctStr_BNU()
84 +( (BNU_CHUNK_T)pStr[strLen-3]<<(8*2) ) in cpFromOctStr_BNU()
85 +( (BNU_CHUNK_T)pStr[strLen-2]<<(8*1) ) in cpFromOctStr_BNU()
86 + (BNU_CHUNK_T)pStr[strLen-1]; in cpFromOctStr_BNU()
[all …]
Dpcpbnu32_setoctstr.c71 cpSize cpFromOctStr_BNU32(Ipp32u* pBNU, const Ipp8u* pOctStr, cpSize strLen) in cpFromOctStr_BNU32() argument
77 for(; strLen>=4; bnuSize++,strLen-=4) { in cpFromOctStr_BNU32()
79 *pBNU++ = ( pOctStr[strLen-4]<<(8*3) ) in cpFromOctStr_BNU32()
80 +( pOctStr[strLen-3]<<(8*2) ) in cpFromOctStr_BNU32()
81 +( pOctStr[strLen-2]<<(8*1) ) in cpFromOctStr_BNU32()
82 + pOctStr[strLen-1]; in cpFromOctStr_BNU32()
86 if(strLen) { in cpFromOctStr_BNU32()
88 for(x=0; strLen>0; strLen--) { in cpFromOctStr_BNU32()
Dpcpbnsetoctstr.c80 IPPFUN(IppStatus, ippsSetOctString_BN,(const Ipp8u* pOctStr, int strLen,
88 IPP_BADARG_RET((0>strLen), ippStsLengthErr);
91 while(strLen && (0==pOctStr[0])) {
92 strLen--;
97 IPP_BADARG_RET((int)(sizeof(BNU_CHUNK_T)*BN_ROOM(pBN))<strLen, ippStsSizeErr);
98 if(strLen)
99 BN_SIZE(pBN) = cpFromOctStr_BNU(BN_NUMBER(pBN), pOctStr, strLen);
Dpcpbnu32_getoctstr.c71 cpSize cpToOctStr_BNU32(Ipp8u* pStr, cpSize strLen, const Ipp32u* pBNU, cpSize bnuSize) in cpToOctStr_BNU32() argument
76 if(bnuBitSize <= strLen*BYTESIZE) { in cpToOctStr_BNU32()
79 ZEXPAND_BNU(pStr, 0, strLen); in cpToOctStr_BNU32()
80 pStr += strLen - BITS2WORD8_SIZE(bnuBitSize); in cpToOctStr_BNU32()
95 return strLen; in cpToOctStr_BNU32()
Dpcpbnu_getoctstr.c76 cpSize cpToOctStr_BNU(Ipp8u* pStr, cpSize strLen, const BNU_CHUNK_T* pA, cpSize nsA) in cpToOctStr_BNU() argument
81 if(bnuBitSize <= strLen*BYTESIZE) { in cpToOctStr_BNU()
85 ZEXPAND_BNU(pStr, 0, strLen); in cpToOctStr_BNU()
86 pStr += strLen - BITS2WORD8_SIZE(bnuBitSize); in cpToOctStr_BNU()
108 return strLen; in cpToOctStr_BNU()
Dpcpbngetoctstr.c79 IPPFUN(IppStatus, ippsGetOctString_BN,(Ipp8u* pOctStr, int strLen,
87 IPP_BADARG_RET((0>strLen), ippStsLengthErr);
89 … return cpToOctStr_BNU(pOctStr,strLen, BN_NUMBER(pBN),BN_SIZE(pBN))? ippStsNoErr : ippStsLengthErr;
Dpcpbnu32misc.h85 cpSize cpToOctStr_BNU32(Ipp8u* pStr, cpSize strLen, const Ipp32u* pBNU, cpSize bnuSize);
87 cpSize cpFromOctStr_BNU32(Ipp32u* pBNU, const Ipp8u* pOctStr, cpSize strLen);
Dpcpgfpecsetpointoctstring.c76 int strLen, IppsGFpECPoint* pPoint, IppsGFpECState* pEC)) {
85 IPP_BADARG_RET(strLen != elemLen * 2, ippStsSizeErr);
Dpcpgfpecgetpointoctstring.c76 Ipp8u* pStr, int strLen, IppsGFpECState* pEC)) {
86 IPP_BADARG_RET(strLen != elemLen * 2, ippStsSizeErr);
Dpcpbnu32arith.h71 int cpFromOS_BNU32(Ipp32u* pBNU, const Ipp8u* pOctStr, int strLen);
73 int cpToOS_BNU32(Ipp8u* pStr, int strLen, const Ipp32u* pBNU, int bnuSize);
/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.cpp90 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString() argument
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
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()
175 uset_containsString(const USet* set, const UChar* str, int32_t strLen) { in uset_containsString() argument
176 UnicodeString s(strLen==-1, str, strLen); in uset_containsString()
186 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) { in uset_containsAllCodePoints() argument
188 UnicodeString s(strLen==-1, str, strLen); in uset_containsAllCodePoints()
/external/syzkaller/vendor/golang.org/x/net/http2/hpack/
Dhpack.go467 strLen, p, err := readVarInt(7, p)
471 if d.maxStrLen != 0 && strLen > uint64(d.maxStrLen) {
474 if uint64(len(p)) < strLen {
479 s = string(p[:strLen])
481 return s, p[strLen:], nil
488 if err := huffmanDecode(buf, d.maxStrLen, p[:strLen]); err != nil {
495 return s, p[strLen:], nil
/external/skia/modules/canvaskit/
Dskottie.js30 var strLen = lengthBytesUTF8(key) + 1;
31 var strPtr = CanvasKit._malloc(strLen);
33 stringToUTF8(key, strPtr, strLen);
Dinterface.js390 var strLen = lengthBytesUTF8(str) + 1;
391 var strPtr = CanvasKit._malloc(strLen);
393 stringToUTF8(str, strPtr, strLen);
394 this._drawSimpleText(strPtr, strLen, x, y, font, paint);
475 var strLen = lengthBytesUTF8(str) + 1;
476 var strPtr = CanvasKit._malloc(strLen);
478 stringToUTF8(str, strPtr, strLen);
480 …var blob = CanvasKit.SkTextBlob._MakeFromText(strPtr, strLen - 1, font, CanvasKit.TextEncoding.UTF…
/external/icu/icu4c/source/common/unicode/
Duset.h579 uset_addString(USet* set, const UChar* str, int32_t strLen);
591 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
626 uset_removeString(USet* set, const UChar* str, int32_t strLen);
800 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
896 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/external/icu/libandroidicu/include/unicode/
Duset.h579 uset_addString(USet* set, const UChar* str, int32_t strLen);
591 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
626 uset_removeString(USet* set, const UChar* str, int32_t strLen);
800 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
896 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/external/skqp/tools/bookmaker/
DfiddleParser.cpp80 size_t strLen = textString.length(); in parseFiddles() local
81 if (strLen) { in parseFiddles()
83 && !this->textOut(example, textString.c_str(), textString.c_str() + strLen)) { in parseFiddles()
/external/skia/tools/bookmaker/
DfiddleParser.cpp83 size_t strLen = textString.length(); in parseFiddles() local
84 if (strLen) { in parseFiddles()
86 && !this->textOut(example, textString.c_str(), textString.c_str() + strLen)) { in parseFiddles()
/external/icu/icu4c/source/io/
Dufmt_cmn.h30 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar)) argument
/external/skia/src/ports/
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()
/external/skqp/src/ports/
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()
/external/skqp/experimental/canvaskit/
Dinterface.js389 var strLen = lengthBytesUTF8(str) + 1;
390 var strPtr = CanvasKit._malloc(strLen);
392 stringToUTF8(str, strPtr, strLen);
393 this._drawSimpleText(strPtr, strLen, x, y, font, paint);
471 var strLen = lengthBytesUTF8(str) + 1;
472 var strPtr = CanvasKit._malloc(strLen);
474 stringToUTF8(str, strPtr, strLen);
476 …var blob = CanvasKit.SkTextBlob._MakeFromText(strPtr, strLen - 1, font, CanvasKit.TextEncoding.UTF…
/external/skia/src/core/
DSkString.cpp73 size_t strLen = strlen(string); in SkStrEndsWith() local
75 return strLen >= suffixLen && in SkStrEndsWith()
76 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
81 size_t strLen = strlen(string); in SkStrEndsWith() local
82 if (0 == strLen) { in SkStrEndsWith()
85 return (suffixChar == string[strLen-1]); in SkStrEndsWith()
/external/skqp/src/core/
DSkString.cpp73 size_t strLen = strlen(string); in SkStrEndsWith() local
75 return strLen >= suffixLen && in SkStrEndsWith()
76 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
81 size_t strLen = strlen(string); in SkStrEndsWith() local
82 if (0 == strLen) { in SkStrEndsWith()
85 return (suffixChar == string[strLen-1]); in SkStrEndsWith()

123