Searched refs:lastOutType (Results 1 - 2 of 2) sorted by relevance

/device/google/contexthub/util/nanoapp_postprocess/
H A Dpostprocess.c129 uint32_t lastOutType = 0, origin = 0; local
162 if (lastOutType != app->nanoReloc[i].type) { //output type if ti changed
163 if (app->nanoReloc[i].type - lastOutType == 1) {
169 packedNanoRelocs[packedNanoRelocSz++] = app->nanoReloc[i].type - lastOutType - 1;
172 (uint8_t)(app->nanoReloc[i].type - lastOutType - 1), app->nanoReloc[i].type);
174 lastOutType = app->nanoReloc[i].type;
188 app->nanoReloc[j + i].type == lastOutType &&
H A Dpostprocess_elf.c128 uint32_t lastOutType = 0, origin = 0; local
154 if (lastOutType != nanoRelocs[i].type) { //output type if ti changed
155 if (nanoRelocs[i].type - lastOutType == 1) {
162 packedNanoRelocs[packedNanoRelocSz++] = nanoRelocs[i].type - lastOutType - 1;
164 fprintf(stderr, "Out: RelocTC (0x%02" PRIX8 ") // to 0x%02" PRIX8 "\n", (uint8_t)(nanoRelocs[i].type - lastOutType - 1), nanoRelocs[i].type);
166 lastOutType = nanoRelocs[i].type;
179 for (j = 1; j + i < outNumRelocs && j < MAX_RUN_LEN && nanoRelocs[j + i].type == lastOutType && nanoRelocs[j + i].ofstInRam - nanoRelocs[j + i - 1].ofstInRam == 4; j++);

Completed in 22 milliseconds