Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DBackupData.cpp115 ssize_t keyLen; in WriteEntityHeader() local
117 keyLen = k.length(); in WriteEntityHeader()
120 header.keyLen = tolel(keyLen); in WriteEntityHeader()
131 if (kIsDebug) ALOGI("writing entity header key, %zd bytes", keyLen+1); in WriteEntityHeader()
132 amt = write(m_fd, k.string(), keyLen+1); in WriteEntityHeader()
133 if (amt != keyLen+1) { in WriteEntityHeader()
139 amt = write_padding_for(keyLen+1); in WriteEntityHeader()
258 m_header.entity.keyLen = fromlel(m_header.entity.keyLen); in ReadNextHeader()
259 if (m_header.entity.keyLen <= 0) { in ReadNextHeader()
261 (int)m_header.entity.keyLen); in ReadNextHeader()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAAMRAssembler.cpp36 size_t keyLen = strlen(key); in GetAttribute() local
44 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()
DAMPEG4ElementaryAssembler.cpp41 size_t keyLen = strlen(key); in GetAttribute() local
53 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()
DAMPEG4AudioAssembler.cpp38 size_t keyLen = strlen(key); in GetAttribute() local
50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()
51 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
DAPacketSource.cpp47 size_t keyLen = strlen(key); in GetAttribute() local
59 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()
60 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
DMyTransmitter.h56 size_t keyLen = strlen(key); in GetAttribute() local
64 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()
65 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
DMyHandler.h76 size_t keyLen = strlen(key); in GetAttribute() local
88 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()
89 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp256 size_t keyLen = strlen(key); in GetAttribute() local
268 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()
269 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
/frameworks/base/include/androidfw/
DBackupHelpers.h34 int keyLen; // length of the key name, not including the null terminator member
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java52 int keyLen = keyData.length; in toHexString() local