Home
last modified time | relevance | path

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

/frameworks/base/libs/utils/
DBackupData.cpp120 ssize_t keyLen; in WriteEntityHeader() local
122 keyLen = k.length(); in WriteEntityHeader()
125 header.keyLen = tolel(keyLen); in WriteEntityHeader()
136 if (DEBUG) LOGI("writing entity header key, %d bytes", keyLen+1); in WriteEntityHeader()
137 amt = write(m_fd, k.string(), keyLen+1); in WriteEntityHeader()
138 if (amt != keyLen+1) { in WriteEntityHeader()
144 amt = write_padding_for(keyLen+1); in WriteEntityHeader()
262 m_header.entity.keyLen = fromlel(m_header.entity.keyLen); in ReadNextHeader()
263 if (m_header.entity.keyLen <= 0) { in ReadNextHeader()
265 (int)m_header.entity.keyLen); in ReadNextHeader()
[all …]
/frameworks/base/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.cpp40 size_t keyLen = strlen(key); in GetAttribute() local
52 if (len >= keyLen + 1 && s[keyLen] == '=' in GetAttribute()
53 && !strncasecmp(s, key, keyLen)) { in GetAttribute()
54 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.h55 size_t keyLen = strlen(key); in GetAttribute() local
63 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()
64 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
DMyHandler.h71 size_t keyLen = strlen(key); in GetAttribute() local
83 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute()
84 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_rel.c549 int32_t keyLen; in drm_relParser() local
554 keyLen = drm_decodeBase64(NULL, 0, pValue, &valueLen); in drm_relParser()
555 if (keyLen < 0) in drm_relParser()
558 if (DRM_KEY_LEN != drm_decodeBase64(pRights->KeyValue, keyLen, pValue, &valueLen)) in drm_relParser()
/frameworks/base/include/utils/
DBackupHelpers.h32 int keyLen; // length of the key name, not including the null terminator member
/frameworks/compile/libbcc/lib/ExecutionEngine/
DMCCacheWriter.cpp163 size_t keyLen = strlen(key); in preparePragmaList() local
167 pragma->key_strp_index = addString(key, keyLen); in preparePragmaList()
/frameworks/base/keystore/java/android/security/
DSystemKeyStore.java54 int keyLen = keyData.length; in toHexString() local
/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/
DCacheWriter.cpp210 size_t keyLen = strlen(key); in preparePragmaList() local
214 pragma->key_strp_index = addString(key, keyLen); in preparePragmaList()