Lines Matching refs:keyLen
114 ssize_t keyLen; in WriteEntityHeader() local
116 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()
267 size_t size = m_header.entity.keyLen; in ReadNextHeader()