Home
last modified time | relevance | path

Searched refs:keyLength (Results 1 – 25 of 50) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrProgramDesc.h51 uint32_t keyLength() const { in keyLength() function
57 uint32_t keyLength = other.keyLength();
58 fKey.reset(SkToInt(keyLength));
59 memcpy(fKey.begin(), other.fKey.begin(), keyLength);
64 if (this->keyLength() != that.keyLength()) {
68 SkASSERT(SkIsAlign4(this->keyLength()));
69 int l = this->keyLength() >> 2;
/third_party/skia/third_party/externals/icu/source/i18n/
Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength && in masks()
315 (right == right2 && keyLength <= r2.keyLength)) && in masks()
534 int32_t limit = anteContextLength + keyLength; in addSourceSetTo()
Drbt_rule.h127 int32_t keyLength; variable
/third_party/node/deps/icu-small/source/i18n/
Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength && in masks()
315 (right == right2 && keyLength <= r2.keyLength)) && in masks()
534 int32_t limit = anteContextLength + keyLength; in addSourceSetTo()
Drbt_rule.h127 int32_t keyLength; variable
/third_party/icu/icu4c/source/i18n/
Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength && in masks()
315 (right == right2 && keyLength <= r2.keyLength)) && in masks()
534 int32_t limit = anteContextLength + keyLength; in addSourceSetTo()
Drbt_rule.h127 int32_t keyLength; variable
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength && in masks()
315 (right == right2 && keyLength <= r2.keyLength)) && in masks()
534 int32_t limit = anteContextLength + keyLength; in addSourceSetTo()
Drbt_rule.h127 int32_t keyLength; variable
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRule.java106 private int keyLength; field in TransliterationRule
173 keyLength = input.length() - anteContextLength; in TransliterationRule()
179 keyLength = postContextPos - anteContextLength; in TransliterationRule()
209 if (keyLength > 0) { in TransliterationRule()
210 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
214 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
217 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
322 keyLength <= r2.keyLength && in masks()
332 (right == right2 && keyLength <= r2.keyLength)) && in masks()
560 int limit = anteContextLength + keyLength; in addSourceTargetSet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTransliterationRule.java107 private int keyLength; field in TransliterationRule
174 keyLength = input.length() - anteContextLength; in TransliterationRule()
180 keyLength = postContextPos - anteContextLength; in TransliterationRule()
210 if (keyLength > 0) { in TransliterationRule()
211 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
215 int postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
218 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
323 keyLength <= r2.keyLength && in masks()
333 (right == right2 && keyLength <= r2.keyLength)) && in masks()
561 int limit = anteContextLength + keyLength; in addSourceTargetSet()
/third_party/skia/src/gpu/
DGrProgramDesc.h120 uint32_t keyLength() const { in keyLength() function
162 static bool BuildFromData(GrProgramDesc* desc, const void* keyData, size_t keyLength) { in BuildFromData() argument
163 if (!SkTFitsIn<int>(keyLength) || !SkIsAlign4(keyLength)) { in BuildFromData()
166 desc->fKey.reset(keyLength / 4); in BuildFromData()
167 memcpy(desc->fKey.begin(), keyData, keyLength); in BuildFromData()
DGrDDLContext.cpp102 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()()
/third_party/openssl/crypto/asn1/
Dp5_scrypt.c28 ASN1_OPT(SCRYPT_PARAMS, keyLength, ASN1_INTEGER),
179 sparam->keyLength = ASN1_INTEGER_new(); in pkcs5_scrypt_set()
180 if (sparam->keyLength == NULL) in pkcs5_scrypt_set()
182 if (ASN1_INTEGER_set_int64(sparam->keyLength, keylen) == 0) in pkcs5_scrypt_set()
246 if (sparam->keyLength) { in PKCS5_v2_scrypt_keyivgen_ex()
248 if ((ASN1_INTEGER_get_uint64(&spkeylen, sparam->keyLength) == 0) in PKCS5_v2_scrypt_keyivgen_ex()
/third_party/skia/third_party/externals/icu/source/common/
Dloadednormalizer2impl.cpp309 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
310 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
315 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp348 int keyLength = desc->key().count(); in Build() local
349 SkASSERT(0 == (keyLength % 4)); in Build()
350 desc->fShaderKeyLength = SkToU32(keyLength); in Build()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dloadednormalizer2impl.cpp309 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
310 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
315 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/third_party/node/deps/icu-small/source/common/
Dloadednormalizer2impl.cpp309 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
310 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
315 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/third_party/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp309 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
310 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
315 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUResource.java57 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
60 length = keyLength; in Key()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUResource.java54 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
57 length = keyLength; in Key()
/third_party/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1364 int32_t keyLength; in getCollationKey() local
1365 const uint8_t *keyBytes = key.getByteArray(keyLength); in getCollationKey()
1366 if(keyLength == 0 || keyBytes[keyLength - 1] != 0) { in getCollationKey()
1386 for(int32_t i = 0; i < (keyLength - 1); ++i) { in getCollationKey()
1418 if(keyLength != parts.length() || uprv_memcmp(keyBytes, parts.data(), keyLength) != 0) { in getCollationKey()
1527 int32_t keyLength; in getDifferenceLevel() local
1528 const uint8_t *bytes = key.getByteArray(keyLength); in getDifferenceLevel()
/third_party/skia/experimental/graphite/src/
DResourceProvider.h60 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/third_party/skia/src/gpu/mtl/
DGrMtlResourceProvider.h77 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm434 int keyLength = desc->key().count();
435 SkASSERT(0 == (keyLength % 4));
436 desc->fShaderKeyLength = SkToU32(keyLength);

12