Lines Matching refs:pos
95 void LogEvent::parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt32() argument
97 addToValues(pos, depth, value, last); in parseInt32()
101 void LogEvent::parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt64() argument
103 addToValues(pos, depth, value, last); in parseInt64()
107 void LogEvent::parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseString() argument
117 addToValues(pos, depth, value, last); in parseString()
121 void LogEvent::parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseFloat() argument
123 addToValues(pos, depth, value, last); in parseFloat()
127 void LogEvent::parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseBool() argument
130 addToValues(pos, depth, value, last); in parseBool()
134 void LogEvent::parseByteArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseByteArray() argument
144 addToValues(pos, depth, value, last); in parseByteArray()
148 void LogEvent::parseKeyValuePairs(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseKeyValuePairs() argument
151 for (pos[1] = 1; pos[1] <= numPairs; pos[1]++) { in parseKeyValuePairs()
152 last[1] = (pos[1] == numPairs); in parseKeyValuePairs()
155 pos[2] = 1; in parseKeyValuePairs()
156 parseInt32(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseKeyValuePairs()
164 pos[2] = 2; // pos[2] determined by index of type in KeyValuePair in atoms.proto in parseKeyValuePairs()
165 parseInt32(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseKeyValuePairs()
168 pos[2] = 3; in parseKeyValuePairs()
169 parseInt64(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseKeyValuePairs()
172 pos[2] = 4; in parseKeyValuePairs()
173 parseString(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseKeyValuePairs()
176 pos[2] = 5; in parseKeyValuePairs()
177 parseFloat(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseKeyValuePairs()
186 pos[1] = pos[2] = 1; in parseKeyValuePairs()
190 void LogEvent::parseAttributionChain(int32_t* pos, int32_t depth, bool* last, in parseAttributionChain() argument
197 for (pos[1] = 1; pos[1] <= numNodes; pos[1]++) { in parseAttributionChain()
198 last[1] = (pos[1] == numNodes); in parseAttributionChain()
201 pos[2] = 1; in parseAttributionChain()
202 parseInt32(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseAttributionChain()
205 pos[2] = 2; in parseAttributionChain()
207 parseString(pos, /*depth=*/2, last, /*numAnnotations=*/0); in parseAttributionChain()
223 pos[1] = pos[2] = 1; in parseAttributionChain()
227 void LogEvent::parseArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseArray() argument
234 for (pos[1] = 1; pos[1] <= numElements; pos[1]++) { in parseArray()
235 last[1] = (pos[1] == numElements); in parseArray()
242 parseInt32(pos, /*depth=*/1, last, /*numAnnotations=*/0); in parseArray()
245 parseInt64(pos, /*depth=*/1, last, /*numAnnotations=*/0); in parseArray()
248 parseFloat(pos, /*depth=*/1, last, /*numAnnotations=*/0); in parseArray()
251 parseBool(pos, /*depth=*/1, last, /*numAnnotations=*/0); in parseArray()
254 parseString(pos, /*depth=*/1, last, /*numAnnotations=*/0); in parseArray()
264 pos[1] = 1; in parseArray()
543 int32_t pos[] = {1, 1, 1}; in parseBody() local
551 for (pos[0] = 1; pos[0] <= bodyInfo.numElements && mValid; pos[0]++) { in parseBody()
552 last[0] = (pos[0] == bodyInfo.numElements); in parseBody()
559 parseBool(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
562 parseInt32(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
565 parseInt64(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
568 parseFloat(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
571 parseByteArray(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
574 parseString(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
577 parseKeyValuePairs(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
580 parseAttributionChain(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
583 parseArray(pos, /*depth=*/0, last, getNumAnnotations(typeInfo)); in parseBody()
797 size_t pos = 0; in writeExperimentIdsToProto() local
801 std::memcpy(protoOut->data() + pos, reader->readBuffer(), toRead); in writeExperimentIdsToProto()
802 pos += toRead; in writeExperimentIdsToProto()