Searched refs:msgCount (Results 1 – 2 of 2) sorted by relevance
86 auto msgCount = static_cast<size_t>(numMsg); in pamFunctionConversation() local88 auto responseArrPtr = std::make_unique<pam_response[]>(msgCount); in pamFunctionConversation()89 auto responses = std::span(responseArrPtr.get(), msgCount); in pamFunctionConversation()90 auto messagePtrs = std::span(msgs, msgCount); in pamFunctionConversation()91 for (size_t i = 0; i < msgCount; ++i) in pamFunctionConversation()
567 int msgCount = 0; in i2cWriteRead() local572 i2cmsg[msgCount].addr = targetAddr; in i2cWriteRead()573 i2cmsg[msgCount].flags = 0x00; in i2cWriteRead()574 i2cmsg[msgCount].len = writeCount; in i2cWriteRead()576 msgCount++; in i2cWriteRead()581 i2cmsg[msgCount].addr = targetAddr; in i2cWriteRead()582 i2cmsg[msgCount].flags = I2C_M_RD; in i2cWriteRead()583 i2cmsg[msgCount].len = readCount; in i2cWriteRead()584 i2cmsg[msgCount].buf = readBuf.data(); in i2cWriteRead()585 msgCount++; in i2cWriteRead()[all …]