Home
last modified time | relevance | path

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

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DXofUtils.java5 public static byte[] leftEncode(long strLen) in leftEncode() argument
9 long v = strLen; in leftEncode()
21 b[i] = (byte)(strLen >> (8 * (n - i))); in leftEncode()
27 public static byte[] rightEncode(long strLen) in rightEncode() argument
31 long v = strLen; in rightEncode()
43 b[i] = (byte)(strLen >> (8 * (n - i - 1))); in rightEncode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/
DXofUtils.java9 public static byte[] leftEncode(long strLen) in leftEncode() argument
13 long v = strLen; in leftEncode()
25 b[i] = (byte)(strLen >> (8 * (n - i))); in leftEncode()
31 public static byte[] rightEncode(long strLen) in rightEncode() argument
35 long v = strLen; in rightEncode()
47 b[i] = (byte)(strLen >> (8 * (n - i - 1))); in rightEncode()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/digests/
DXofUtils.java9 public static byte[] leftEncode(long strLen) in leftEncode() argument
13 long v = strLen; in leftEncode()
25 b[i] = (byte)(strLen >> (8 * (n - i))); in leftEncode()
31 public static byte[] rightEncode(long strLen) in rightEncode() argument
35 long v = strLen; in rightEncode()
47 b[i] = (byte)(strLen >> (8 * (n - i - 1))); in rightEncode()
/external/skia/modules/canvaskit/
Dfont.js7 var strLen = lengthBytesUTF8(str);
10 var strPtr = CanvasKit._malloc(strLen + 1);
11 stringToUTF8(str, strPtr, strLen + 1);
12 this._drawSimpleText(strPtr, strLen, x, y, font, paint);
205 var strLen = lengthBytesUTF8(str) + 1;
206 var strPtr = CanvasKit._malloc(strLen);
208 stringToUTF8(str, strPtr, strLen);
217 var blob = CanvasKit.TextBlob._MakeFromRSXform(strPtr, strLen - 1, rPtr, font);
268 var strLen = lengthBytesUTF8(str) + 1;
269 var strPtr = CanvasKit._malloc(strLen);
[all …]
Dparticles.js32 var strLen = lengthBytesUTF8(key) + 1;
33 var strPtr = CanvasKit._malloc(strLen);
35 stringToUTF8(key, strPtr, strLen);
Dskottie.js46 var strLen = lengthBytesUTF8(key) + 1;
47 var strPtr = CanvasKit._malloc(strLen);
49 stringToUTF8(key, strPtr, strLen);
/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/skia/experimental/skottiekit/
Dinterface.js91 var strLen = lengthBytesUTF8(key) + 1;
92 var strPtr = SkottieKit._malloc(strLen);
94 stringToUTF8(key, strPtr, strLen);
/external/swiftshader/src/Reactor/
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()
/external/icu/libandroidicu/include/unicode/
Duset.h582 uset_addString(USet* set, const UChar* str, int32_t strLen);
594 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
629 uset_removeString(USet* set, const UChar* str, int32_t strLen);
803 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
899 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/external/icu/libicu/cts_headers/unicode/
Duset.h582 uset_addString(USet* set, const UChar* str, int32_t strLen);
594 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
629 uset_removeString(USet* set, const UChar* str, int32_t strLen);
803 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
899 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/external/icu/icu4c/source/common/unicode/
Duset.h582 uset_addString(USet* set, const UChar* str, int32_t strLen);
594 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
629 uset_removeString(USet* set, const UChar* str, int32_t strLen);
803 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
899 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/icu/icu4c/source/io/
Dufmt_cmn.h30 #define MAX_UCHAR_BUFFER_NEEDED(strLen) ((strLen+1)*U16_MAX_LENGTH*sizeof(UChar)) argument
/external/perfetto/ui/src/base/
Dstring_utils.ts93 const strLen = str.length; constant
94 for (let i = 0; i < strLen; i++) {
/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/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
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)
148 : StringMapEntryBase(strLen) {} in StringMapEntryBase() argument
/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/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DMessageNanoPrinter.java240 int strLen = str.length(); in escapeString() local
241 StringBuilder b = new StringBuilder(strLen); in escapeString()
242 for (int i = 0; i < strLen; i++) { in escapeString()
/external/skia/src/core/
DSkString.cpp61 size_t strLen = strlen(string); in SkStrEndsWith() local
63 return strLen >= suffixLen && in SkStrEndsWith()
64 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()
69 size_t strLen = strlen(string); in SkStrEndsWith() local
70 if (0 == strLen) { in SkStrEndsWith()
73 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()
/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/test/cintltst/
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 != len ){ in TestNewTypes()
763 … log_err("Did not get the expected len for translit_rules. Expected: %i , Got: %i\n", len ,strLen); in TestNewTypes()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DFixedLengthBlockOutputStreamTest.java107 int strLen = msg.length * reps; in testMultiWriteBuf() local
109 String l = new String(output, 0, strLen); in testMultiWriteBuf()
110 StringBuilder buf = new StringBuilder(strLen); in testMultiWriteBuf()
115 for (int i = strLen; i < output.length; i++) { in testMultiWriteBuf()

123