Lines Matching refs:embed
30 const fa_embedding_t* embed = NULL,
33 const fa_embedding_t* embed = NULL,
106 static fa_embedding_t embed; in MakeEmbedding() local
107 memset(&embed, base, sizeof(fa_embedding_t)); in MakeEmbedding()
108 embed.version = version; in MakeEmbedding()
109 embed.valid = 0; in MakeEmbedding()
110 embed.crc = CalcCrc8(reinterpret_cast<const uint8_t*>(&embed), in MakeEmbedding()
112 return &embed; in MakeEmbedding()
139 vector<uint8_t> Task2Buffer(const fa_task_t task, const fa_embedding_t* embed, in Task2Buffer() argument
146 if (embed) in Task2Buffer()
147 buffer.push_back(*(reinterpret_cast<const uint8_t*>(embed) + i)); in Task2Buffer()
181 const fa_embedding_t* embed, in RunTask() argument
186 vector<uint8_t> buffer_tx = Task2Buffer(task, embed, token); in RunTask()
193 const fa_embedding_t* embed, const fa_token_t* token) { in Run() argument
194 EXPECT_RESULT_EQ(expected, RunTask(task, embed, token)); in Run()