Home
last modified time | relevance | path

Searched refs:keyLen (Results 1 – 25 of 34) sorted by relevance

12

/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp345 int32_t keyLen; in main() local
346 for (keyLen = 0; keyLen < fileLine.length() && !u_isspace(fileLine[keyLen]); ++keyLen) {} in main()
347 if (keyLen == 0) { in main()
353 for (valueStart = keyLen; in main()
357 if (keyLen < valueStart) { in main()
373 dict.addWord(fileLine.tempSubString(0, keyLen), (int32_t)value, status); in main()
376 if (keyLen < minlen) minlen = keyLen; in main()
377 if (keyLen > maxlen) maxlen = keyLen; in main()
379 dict.addWord(fileLine.tempSubString(0, keyLen), 0, status); in main()
382 if (keyLen < minlen) minlen = keyLen; in main()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DKeyParameter.java19 int keyLen) in KeyParameter() argument
21 this.key = new byte[keyLen]; in KeyParameter()
23 System.arraycopy(key, keyOff, this.key, 0, keyLen); in KeyParameter()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/
DRbnfScannerProviderImpl.java144 int keyLen = 0; in findText() local
153 while (p < str.length() && keyLen == 0) { in findText()
154 keyLen = prefixLength(str.substring(p), key); in findText()
155 if (keyLen != 0) { in findText()
156 return new int[] { p, keyLen }; in findText()
/external/icu/android_icu4j/src/main/java/android/icu/impl/text/
DRbnfScannerProviderImpl.java146 int keyLen = 0; in findText() local
155 while (p < str.length() && keyLen == 0) { in findText()
156 keyLen = prefixLength(str.substring(p), key); in findText()
157 if (keyLen != 0) { in findText()
158 return new int[] { p, keyLen }; in findText()
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.c39 int rijndael_makeKey(keyInstance *key, BYTE direction, int keyLen, char *keyMaterial) { in rijndael_makeKey() argument
54 if ((keyLen == 128) || (keyLen == 192) || (keyLen == 256)) { in rijndael_makeKey()
55 key->keyLen = keyLen; in rijndael_makeKey()
61 bcopy(keyMaterial, key->keyMaterial, keyLen/8); in rijndael_makeKey()
64 key->ROUNDS = keyLen/32 + 6; in rijndael_makeKey()
68 for (i = 0; i < key->keyLen/8; i++) { in rijndael_makeKey()
Drijndael-api-fst.h55 int keyLen; /* Length of the key */ member
84 int rijndael_makeKey(keyInstance *key, u_int8_t direction, int keyLen, char *keyMaterial);
/external/boringssl/src/ssl/test/runner/
Dprf.go161 …e *cipherSuite, masterSecret, clientRandom, serverRandom []byte, macLen, keyLen, ivLen int) (clien… argument
166 n := 2*macLen + 2*keyLen + 2*ivLen
173 clientKey = keyMaterial[:keyLen]
174 keyMaterial = keyMaterial[keyLen:]
175 serverKey = keyMaterial[:keyLen]
176 keyMaterial = keyMaterial[keyLen:]
461 key := hkdfExpandLabel(suite.hash(), secret, keyTLS13, nil, suite.keyLen)
Dcipher_suites.go85 keyLen int member
Dhandshake_client.go1235 …ecret, hs.hello.random, hs.serverHello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen(c.…
Dhandshake_server.go1631 …ecret, hs.clientHello.random, hs.hello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen(c.…
/external/icu/icu4c/source/tools/ctestfw/
Ddatamap.cpp88 int32_t keyLen = 0; in init() local
92 key = ures_getStringByIndex(headers, i, &keyLen, &status); in init()
93 fData->put(UnicodeString(key, keyLen), new ResourceBundle(t, status), status); in init()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DAESEngine.java285 int keyLen = key.length; in generateWorkingKey() local
286 if (keyLen < 16 || keyLen > 32 || (keyLen & 7) != 0) in generateWorkingKey()
291 int KC = keyLen >>> 2; in generateWorkingKey()
DAESFastEngine.java614 int keyLen = key.length; in generateWorkingKey() local
615 if (keyLen < 16 || keyLen > 32 || (keyLen & 7) != 0) in generateWorkingKey()
620 int KC = keyLen >>> 2; in generateWorkingKey()
/external/icu/icu4c/source/i18n/
Dzonemeta.cpp716 int32_t keyLen = 0; in getZoneIdByMetazone() local
723 keyLen = mzid.extract(0, mzid.length(), keyBuf, ZID_KEY_MAX + 1, US_INV); in getZoneIdByMetazone()
724 keyBuf[keyLen] = 0; in getZoneIdByMetazone()
733 keyLen = region.extract(0, region.length(), keyBuf, ZID_KEY_MAX + 1, US_INV); in getZoneIdByMetazone()
734 keyBuf[keyLen] = 0; in getZoneIdByMetazone()
Dnfrule.cpp1516 int32_t keyLen = 0; in findTextLenient() local
1527 while (p < str.length() && keyLen == 0) { in findTextLenient()
1529 keyLen = prefixLength(temp, key, status); in findTextLenient()
1533 if (keyLen != 0) { in findTextLenient()
1534 *length = keyLen; in findTextLenient()
Dtznames_impl.cpp1281 int32_t keyLen; in mergeTimeZoneKey() local
1283 keyLen = mzID.extract(0, mzID.length(), mzIdChar, ZID_KEY_MAX + 1, US_INV); in mergeTimeZoneKey()
1285 uprv_memcpy((void *)(result + prefixLen), (void *)mzIdChar, keyLen); in mergeTimeZoneKey()
1286 result[keyLen + prefixLen] = '\0'; in mergeTimeZoneKey()
Dcalendar.cpp248 int32_t keyLen = 0; in getCalendarKeyword() local
254 keyLen = id.extract(keywordIdx+1, id.length(), targetBuffer, targetBufferSize, US_INV); in getCalendarKeyword()
256 targetBuffer[keyLen] = 0; in getCalendarKeyword()
/external/icu/icu4c/source/test/intltest/
Dregcoll.cpp1182 int32_t keyLen; in calcKeyIncremental() local
1186 keyLen = 0; in calcKeyIncremental()
1188 … int32_t keyPartLen = ucol_nextSortKeyPart(coll, &uiter, state, &keyBuf[keyLen], count, &status); in calcKeyIncremental()
1195 keyLen += keyPartLen; in calcKeyIncremental()
1197 return keyLen; in calcKeyIncremental()
/external/icu/icu4c/source/common/
Dlocid.cpp1023 …int32_t keyLen = locale_getKeywords(variantStart+1, '@', keywords, keywordCapacity, NULL, 0, NULL,… in createKeywords() local
1024 if(keyLen) { in createKeywords()
1025 result = new KeywordEnumeration(keywords, keyLen, 0, status); in createKeywords()
/external/clang/lib/Lex/
DPTHLexer.cpp332 unsigned keyLen = in ReadKeyDataLength() local
335 return std::make_pair(keyLen, dataLen); in ReadKeyDataLength()
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c4812 size_t keyLen; in SMBRegistrationThread() local
4825 keyLen = strlen( "netbios=" ); in SMBRegistrationThread()
4828 *txtPtr++ = ( mDNSu8 ) ( keyLen + valLen ); in SMBRegistrationThread()
4829 memcpy( txtPtr, "netbios=", keyLen ); in SMBRegistrationThread()
4830 txtPtr += keyLen; in SMBRegistrationThread()
4832 keyLen = strlen( "domain=" ); in SMBRegistrationThread()
4835 *txtPtr++ = ( mDNSu8 )( keyLen + valLen ); in SMBRegistrationThread()
4836 memcpy( txtPtr, "domain=", keyLen ); in SMBRegistrationThread()
4837 txtPtr += keyLen; in SMBRegistrationThread()
/external/skia/src/core/
DSkPictureRecord.cpp811 size_t keyLen = fWriter.WriteStringSize(key); in onDrawAnnotation() local
813 size_t size = 4 + sizeof(SkRect) + keyLen + valueLen; in onDrawAnnotation()
/external/vulkan-validation-layers/windowsRuntimeInstaller/
Dconfigure_runtime.c310 DWORD keyCount, keyLen; in find_installations() local
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp5685 jint keyLen = env->CallIntMethod(sslHandshakeCallbacks, methodID, in psk_client_callback() local
5691 if (keyLen <= 0) { in psk_client_callback()
5694 } else if ((unsigned int) keyLen > max_psk_len) { in psk_client_callback()
5703 memcpy(psk, keyJavaRo.get(), static_cast<size_t>(keyLen)); in psk_client_callback()
5713 return static_cast<unsigned int>(keyLen); in psk_client_callback()
5750 jint keyLen = env->CallIntMethod(sslHandshakeCallbacks, methodID, in psk_server_callback() local
5756 if (keyLen <= 0) { in psk_server_callback()
5759 } else if ((unsigned int) keyLen > max_psk_len) { in psk_server_callback()
5768 memcpy(psk, keyJavaRo.get(), static_cast<size_t>(keyLen)); in psk_server_callback()
5771 return static_cast<unsigned int>(keyLen); in psk_server_callback()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12