Lines Matching refs:fieldId
61 ProtoOutputStream::internalWrite(uint64_t fieldId, T val, const char* typeName) in internalWrite() argument
64 const uint32_t id = (uint32_t)fieldId; in internalWrite()
65 switch (fieldId & FIELD_TYPE_MASK) { in internalWrite()
99 (fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT, typeName); in internalWrite()
104 ProtoOutputStream::write(uint64_t fieldId, double val) in write() argument
106 return internalWrite(fieldId, val, "double"); in write()
111 ProtoOutputStream::write(uint64_t fieldId, float val) in write() argument
113 return internalWrite(fieldId, val, "float"); in write()
117 ProtoOutputStream::write(uint64_t fieldId, int val) in write() argument
119 return internalWrite(fieldId, val, "int"); in write()
123 ProtoOutputStream::write(uint64_t fieldId, long val) in write() argument
126 const uint32_t id = (uint32_t)fieldId; in write()
127 switch (fieldId & FIELD_TYPE_MASK) { in write()
144 (int)((fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT)); in write()
151 ProtoOutputStream::write(uint64_t fieldId, long long val) in write() argument
153 return internalWrite(fieldId, val, "long long"); in write()
157 ProtoOutputStream::write(uint64_t fieldId, bool val) in write() argument
160 const uint32_t id = (uint32_t)fieldId; in write()
161 switch (fieldId & FIELD_TYPE_MASK) { in write()
167 (fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT); in write()
173 ProtoOutputStream::write(uint64_t fieldId, std::string_view val) in write() argument
176 const uint32_t id = (uint32_t)fieldId; in write()
177 switch (fieldId & FIELD_TYPE_MASK) { in write()
183 (fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT); in write()
189 ProtoOutputStream::write(uint64_t fieldId, const char* val, size_t size) in write() argument
192 const uint32_t id = (uint32_t)fieldId; in write()
193 switch (fieldId & FIELD_TYPE_MASK) { in write()
204 (fieldId & FIELD_TYPE_MASK) >> FIELD_TYPE_SHIFT); in write()
253 ProtoOutputStream::start(uint64_t fieldId) in start() argument
255 if ((fieldId & FIELD_TYPE_MASK) != FIELD_TYPE_MESSAGE) { in start()
256 ALOGE("Can't call start for non-message type field: 0x%" PRIx64, fieldId); in start()
260 uint32_t id = (uint32_t)fieldId; in start()
270 (bool)(fieldId & FIELD_COUNT_REPEATED), mDepth, mObjectId, sizePos); in start()