Lines Matching refs:numElements

228     const uint8_t numElements = readNextValue<uint8_t>();  in parseArray()  local
232 if (numElements > INT8_MAX) mValid = false; in parseArray()
234 for (pos[1] = 1; pos[1] <= numElements; pos[1]++) { in parseArray()
235 last[1] = (pos[1] == numElements); in parseArray()
262 parseAnnotations(numAnnotations, numElements); in parseArray()
273 void LogEvent::parseIsUidAnnotation(uint8_t annotationType, std::optional<uint8_t> numElements) { in parseIsUidAnnotation() argument
275 if (!numElements) { in parseIsUidAnnotation()
276 numElements = 1; in parseIsUidAnnotation()
280 if (numElements == 0 && annotationType == BOOL_TYPE) { in parseIsUidAnnotation()
286 if (mValues.empty() || numElements > mValues.size() || !checkPreviousValueType(INT) || in parseIsUidAnnotation()
295 mNumUidFields += numElements.value(); in parseIsUidAnnotation()
298 for (int i = 1; i <= numElements; i++) { in parseIsUidAnnotation()
314 std::optional<uint8_t> numElements, in parsePrimaryFieldAnnotation() argument
317 if (mValues.empty() || annotationType != BOOL_TYPE || firstUidInChainIndex || numElements) { in parsePrimaryFieldAnnotation()
348 std::optional<uint8_t> numElements) { in parseExclusiveStateAnnotation() argument
351 numElements) { in parseExclusiveStateAnnotation()
363 std::optional<uint8_t> numElements) { in parseTriggerStateResetAnnotation() argument
366 numElements) { in parseTriggerStateResetAnnotation()
376 std::optional<uint8_t> numElements) { in parseStateNestedAnnotation() argument
379 numElements) { in parseStateNestedAnnotation()
426 void LogEvent::parseAnnotations(uint8_t numAnnotations, std::optional<uint8_t> numElements, in parseAnnotations() argument
434 parseIsUidAnnotation(annotationType, numElements); in parseAnnotations()
440 parsePrimaryFieldAnnotation(annotationType, numElements, firstUidInChainIndex); in parseAnnotations()
446 parseExclusiveStateAnnotation(annotationType, numElements); in parseAnnotations()
449 parseTriggerStateResetAnnotation(annotationType, numElements); in parseAnnotations()
452 parseStateNestedAnnotation(annotationType, numElements); in parseAnnotations()
502 uint8_t numElements = readNextValue<uint8_t>(); in parseHeader() local
503 if (numElements < 2 || numElements > INT8_MAX) { in parseHeader()
516 numElements--; in parseHeader()
525 numElements--; in parseHeader()
529 bodyInfo.numElements = numElements; in parseHeader()
549 mValues.reserve(bodyInfo.numElements); in parseBody()
551 for (pos[0] = 1; pos[0] <= bodyInfo.numElements && mValid; pos[0]++) { in parseBody()
552 last[0] = (pos[0] == bodyInfo.numElements); in parseBody()