Lines Matching refs:len
47 uint32_t len = loadU32(); in loadString() local
48 const char *s = rsuCopyString((const char *)&mData[mPos], len); in loadString()
49 mPos += len; in loadString()
54 OStream::OStream(uint64_t len, bool use64) { in OStream() argument
55 mData = (uint8_t*)malloc(len); in OStream()
56 mLength = len; in OStream()
93 void OStream::addString(const char *s, size_t len) { in addString() argument
94 addU32(len); in addString()
95 if (mPos + len*sizeof(char) >= mLength) { in addString()
99 memcpy(stringData, s, len); in addString()
100 mPos += len*sizeof(char); in addString()