Lines Matching refs:elem
734 android_log_list_element elem;
749 elem = android_log_read_next(context);
751 switch (elem.type) {
753 proto.write(BinaryLogEntry::Elem::TYPE,
754 BinaryLogEntry::Elem::EVENT_TYPE_INT);
755 proto.write(BinaryLogEntry::Elem::VAL_INT32, (int)elem.data.int32);
758 proto.write(BinaryLogEntry::Elem::TYPE,
759 BinaryLogEntry::Elem::EVENT_TYPE_LONG);
760 proto.write(BinaryLogEntry::Elem::VAL_INT64, (long long)elem.data.int64);
763 proto.write(BinaryLogEntry::Elem::TYPE,
764 BinaryLogEntry::Elem::EVENT_TYPE_STRING);
765 proto.write(BinaryLogEntry::Elem::VAL_STRING, elem.data.string, elem.len);
768 proto.write(BinaryLogEntry::Elem::TYPE,
769 BinaryLogEntry::Elem::EVENT_TYPE_FLOAT);
770 proto.write(BinaryLogEntry::Elem::VAL_FLOAT, elem.data.float32);
773 proto.write(BinaryLogEntry::Elem::TYPE,
774 BinaryLogEntry::Elem::EVENT_TYPE_LIST);
777 proto.write(BinaryLogEntry::Elem::TYPE,
778 BinaryLogEntry::Elem::EVENT_TYPE_LIST_STOP);
781 proto.write(BinaryLogEntry::Elem::TYPE,
782 BinaryLogEntry::Elem::EVENT_TYPE_UNKNOWN);
786 } while ((elem.type != EVENT_TYPE_UNKNOWN) && !elem.complete);