Lines Matching refs:read_from
33 const char* read_from = GetReadPointerAndAdvance<Type>(); in ReadBuiltinType() local
34 if (!read_from) in ReadBuiltinType()
37 memcpy(result, read_from, sizeof(*result)); in ReadBuiltinType()
39 *result = *reinterpret_cast<const Type*>(read_from); in ReadBuiltinType()
125 const char* read_from = GetReadPointerAndAdvance<float>(); in ReadFloat() local
126 if (!read_from) in ReadFloat()
128 memcpy(result, read_from, sizeof(*result)); in ReadFloat()
137 const char* read_from = GetReadPointerAndAdvance<double>(); in ReadDouble() local
138 if (!read_from) in ReadDouble()
140 memcpy(result, read_from, sizeof(*result)); in ReadDouble()
148 const char* read_from = GetReadPointerAndAdvance(len); in ReadString() local
149 if (!read_from) in ReadString()
152 result->assign(read_from, len); in ReadString()
160 const char* read_from = GetReadPointerAndAdvance(len); in ReadStringPiece() local
161 if (!read_from) in ReadStringPiece()
164 *result = StringPiece(read_from, len); in ReadStringPiece()
172 const char* read_from = GetReadPointerAndAdvance(len, sizeof(char16)); in ReadString16() local
173 if (!read_from) in ReadString16()
176 result->assign(reinterpret_cast<const char16*>(read_from), len); in ReadString16()
184 const char* read_from = GetReadPointerAndAdvance(len, sizeof(char16)); in ReadStringPiece16() local
185 if (!read_from) in ReadStringPiece16()
188 *result = StringPiece16(reinterpret_cast<const char16*>(read_from), len); in ReadStringPiece16()
203 const char* read_from = GetReadPointerAndAdvance(length); in ReadBytes() local
204 if (!read_from) in ReadBytes()
206 *data = read_from; in ReadBytes()