Lines Matching refs:args
54 EventArgs *args = (EventArgs *)root; in TraversalEvent() local
55 …int len = GetServiceName(item->paramName, args->buffer + args->currLen, args->bufferLen - args->cu… in TraversalEvent()
56 PLUGIN_CHECK(len > 0 && (((uint32_t)len + args->currLen) < args->bufferLen), return -1, in TraversalEvent()
58 args->currLen += (uint32_t)len; in TraversalEvent()
60 len = sprintf_s(args->buffer + args->currLen, args->bufferLen - args->currLen, ",%u:%u,%u:%u;", in TraversalEvent()
65 PLUGIN_CHECK(len > 0 && (((uint32_t)len + args->currLen) < args->bufferLen), return -1, in TraversalEvent()
67 args->currLen += (uint32_t)len; in TraversalEvent()
80 EventArgs args = { buffer, MAX_BUFFER_FOR_EVENT, 0 }; in ReportBootEventComplete() local
81 OH_ListTraversal(events, (void *)&args, TraversalEvent, 0); in ReportBootEventComplete()
82 if ((args.currLen > 1) && (args.currLen < MAX_BUFFER_FOR_EVENT)) { in ReportBootEventComplete()
83 buffer[args.currLen - 1] = '\0'; in ReportBootEventComplete()
103 … (uint32_t)curr.tv_sec, (uint32_t)(curr.tv_nsec / USTONSEC), args.currLen, startupTime.detailTime); in ReportBootEventComplete()