• Home
  • Raw
  • Download

Lines Matching refs:kIndexStackTop

74   const char* field_name = lua_tostring(state_, /*idx=*/kIndexStackTop);  in GetField()
216 << lua_type(state_, /*idx=*/kIndexStackTop); in ReadFlatbuffer()
232 ReadFlatbuffer(/*index=*/kIndexStackTop, buffer->Mutable(field)); in ReadFlatbuffer()
235 buffer->Set(field, Read<bool>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
238 buffer->Set(field, Read<int8>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
241 buffer->Set(field, Read<uint8>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
244 buffer->Set(field, Read<int32>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
247 buffer->Set(field, Read<uint32>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
250 buffer->Set(field, Read<int64>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
253 buffer->Set(field, Read<uint64>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
256 buffer->Set(field, Read<float>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
259 buffer->Set(field, Read<double>(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
262 buffer->Set(field, ReadString(/*index=*/kIndexStackTop)); in ReadFlatbuffer()
269 ReadRepeatedField<bool>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
273 ReadRepeatedField<int8>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
277 ReadRepeatedField<uint8>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
281 ReadRepeatedField<int32>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
285 ReadRepeatedField<uint32>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
289 ReadRepeatedField<int64>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
293 ReadRepeatedField<uint64>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
297 ReadRepeatedField<float>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
301 ReadRepeatedField<double>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
305 ReadRepeatedField<std::string>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
309 ReadRepeatedField<MutableFlatbuffer>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
351 << ReadString(/*index=*/kIndexStackTop); in Compile()
377 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kTimeUsecKey); in PushAnnotation()
379 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kGranularityKey); in PushAnnotation()
381 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kCollectionKey); in PushAnnotation()
383 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kScoreKey); in PushAnnotation()
385 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kSerializedEntity); in PushAnnotation()
393 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kTextKey); in PushAnnotation()
401 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kNameKey); in PushAnnotation()
405 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kMessageKey); in PushAnnotation()
407 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kBeginKey); in PushAnnotation()
409 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kEndKey); in PushAnnotation()
411 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kSpanKey); in PushAnnotation()
421 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kBeginKey); in PushAnnotatedSpan()
423 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kEndKey); in PushAnnotatedSpan()
425 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kSpanKey); in PushAnnotatedSpan()
427 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kClassificationKey); in PushAnnotatedSpan()
444 while (Next(/*index=*/kIndexStackTop - 1)) { in ReadSpan()
445 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadSpan()
447 span.message_index = Read<int>(/*index=*/kIndexStackTop); in ReadSpan()
449 span.span.first = Read<int>(/*index=*/kIndexStackTop); in ReadSpan()
451 span.span.second = Read<int>(/*index=*/kIndexStackTop); in ReadSpan()
453 span.text = Read<std::string>(/*index=*/kIndexStackTop); in ReadSpan()
465 if (lua_type(state_, /*idx=*/kIndexStackTop) != LUA_TTABLE) { in ReadAnnotations()
467 << lua_type(state_, /*idx=*/kIndexStackTop); in ReadAnnotations()
475 while (Next(/*index=*/kIndexStackTop - 1)) { in ReadAnnotations()
476 if (lua_type(state_, /*idx=*/kIndexStackTop) != LUA_TTABLE) { in ReadAnnotations()
478 << lua_type(state_, /*idx=*/kIndexStackTop); in ReadAnnotations()
492 while (Next(/*index=*/kIndexStackTop - 1)) { in ReadAnnotation()
493 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadAnnotation()
495 annotation.name = Read<std::string>(/*index=*/kIndexStackTop); in ReadAnnotation()
512 while (Next(/*index=*/kIndexStackTop - 1)) { in ReadClassificationResult()
513 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadClassificationResult()
515 classification.collection = Read<std::string>(/*index=*/kIndexStackTop); in ReadClassificationResult()
517 classification.score = Read<float>(/*index=*/kIndexStackTop); in ReadClassificationResult()
520 Read<int64>(/*index=*/kIndexStackTop); in ReadClassificationResult()
524 lua_tonumber(state_, /*idx=*/kIndexStackTop)); in ReadClassificationResult()
527 Read<std::string>(/*index=*/kIndexStackTop); in ReadClassificationResult()
530 ReadFlatbuffer(/*index=*/kIndexStackTop, buffer.get()); in ReadClassificationResult()
554 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kTypeKey); in PushAction()
556 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kResponseTextKey); in PushAction()
558 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kScoreKey); in PushAction()
560 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kPriorityScoreKey); in PushAction()
562 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, kAnnotationKey); in PushAction()
583 while (Next(/*index=*/kIndexStackTop - 1)) { in ReadAction()
584 const StringPiece key = ReadString(/*index=*/kIndexStackTop - 1); in ReadAction()
586 action.response_text = Read<std::string>(/*index=*/kIndexStackTop); in ReadAction()
588 action.type = Read<std::string>(/*index=*/kIndexStackTop); in ReadAction()
590 action.score = Read<float>(/*index=*/kIndexStackTop); in ReadAction()
592 action.priority_score = Read<float>(/*index=*/kIndexStackTop); in ReadAction()
598 ReadFlatbuffer(/*index=*/kIndexStackTop, buffer.get()); in ReadAction()
614 while (Next(/*index=*/kIndexStackTop - 1)) { in ReadActions()
615 if (lua_type(state_, /*idx=*/kIndexStackTop) != LUA_TTABLE) { in ReadActions()
617 << lua_type(state_, /*idx=*/kIndexStackTop); in ReadActions()
639 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, "user_id"); in PushConversation()
641 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, "text"); in PushConversation()
643 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, "time_ms_utc"); in PushConversation()
645 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, "timezone"); in PushConversation()
648 lua_setfield(state_, /*idx=*/kIndexStackTop - 1, "annotation"); in PushConversation()