Home
last modified time | relevance | path

Searched refs:outNumRelocs (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess_elf.c123 static uint8_t *packNanoRelocs(struct NanoRelocEntry *nanoRelocs, uint32_t outNumRelocs, uint32_t *… in packNanoRelocs() argument
131 for (i = 0; i < outNumRelocs; i++) { in packNanoRelocs()
134 for (k = i, j = k + 1; j < outNumRelocs; j++) { in packNanoRelocs()
149 packedNanoRelocs = malloc(outNumRelocs * 6); //definitely big enough in packNanoRelocs()
151 for (i = 0; i < outNumRelocs; i++) { in packNanoRelocs()
179 …for (j = 1; j + i < outNumRelocs && j < MAX_RUN_LEN && nanoRelocs[j + i].type == lastOutType && na… in packNanoRelocs()
293 uint32_t i, numRelocs, numSyms, outNumRelocs = 0, packedNanoRelocSz; in handleApp() local
434 nanoRelocs[outNumRelocs].ofstInRam = relocs[i].where - RAM_BASE; in handleApp()
445 nanoRelocs[outNumRelocs].type = NANO_RELOC_TYPE_FLASH; in handleApp()
449 nanoRelocs[outNumRelocs].type = NANO_RELOC_TYPE_RAM; in handleApp()
[all …]