Searched refs:keyLen (Results 1 – 13 of 13) sorted by relevance
209 private static void checkValidOrThrow(String name, int keyLen, int truncLen) { in checkValidOrThrow() argument215 isValidLen = keyLen == 128 || keyLen == 192 || keyLen == 256; in checkValidOrThrow()218 isValidLen = keyLen == 128; in checkValidOrThrow()222 isValidLen = keyLen == 160; in checkValidOrThrow()226 isValidLen = keyLen == 256; in checkValidOrThrow()230 isValidLen = keyLen == 384; in checkValidOrThrow()234 isValidLen = keyLen == 512; in checkValidOrThrow()239 isValidLen = keyLen == 128 + 32 || keyLen == 192 + 32 || keyLen == 256 + 32; in checkValidOrThrow()247 throw new IllegalArgumentException("Invalid key material keyLength: " + keyLen); in checkValidOrThrow()
114 ssize_t keyLen; in WriteEntityHeader() local116 keyLen = k.length(); in WriteEntityHeader()119 header.keyLen = tolel(keyLen); in WriteEntityHeader()130 if (kIsDebug) ALOGI("writing entity header key, %zd bytes", keyLen+1); in WriteEntityHeader()131 amt = write(m_fd, k.string(), keyLen+1); in WriteEntityHeader()132 if (amt != keyLen+1) { in WriteEntityHeader()138 amt = write_padding_for(keyLen+1); in WriteEntityHeader()257 m_header.entity.keyLen = fromlel(m_header.entity.keyLen); in ReadNextHeader()258 if (m_header.entity.keyLen <= 0) { in ReadNextHeader()260 (int)m_header.entity.keyLen); in ReadNextHeader()[all …]
36 size_t keyLen = strlen(key); in GetAttribute() local44 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()45 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()48 if (len == keyLen && !strncmp(s, key, keyLen)) { in GetAttribute()
41 size_t keyLen = strlen(key); in GetAttribute() local53 if (len >= keyLen + 1 && s[keyLen] == '=' in GetAttribute()54 && !strncasecmp(s, key, keyLen)) { in GetAttribute()55 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
38 size_t keyLen = strlen(key); in GetAttribute() local50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()51 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
46 size_t keyLen = strlen(key); in GetAttribute() local58 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()59 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
56 size_t keyLen = strlen(key); in GetAttribute() local64 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()65 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
78 size_t keyLen = strlen(key); in GetAttribute() local90 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()91 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
256 size_t keyLen = strlen(key); in GetAttribute() local268 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()269 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
34 int keyLen; // length of the key name, not including the null terminator member
52 int keyLen = keyData.length; in toHexString() local
353 off64_t keyLen; in decryptBuffer() local354 if (keySrc == NULL || keySrc->getSize(&keyLen) != OK || keyLen < 0) { in decryptBuffer()358 key = new ABuffer(keyLen); in decryptBuffer()359 keySrc->readAt(0, key->data(), keyLen); in decryptBuffer()360 key->setRange(0, keyLen); in decryptBuffer()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...