Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c68 struct NanoRelocEntry { struct
86 struct NanoRelocEntry *nanoReloc; argument
134 struct NanoRelocEntry t; in packNanoRelocs()
142 memcpy(&t, app->nanoReloc + i, sizeof(struct NanoRelocEntry)); in packNanoRelocs()
143 memcpy(app->nanoReloc + i, app->nanoReloc + k, sizeof(struct NanoRelocEntry)); in packNanoRelocs()
144 memcpy(app->nanoReloc + k, &t, sizeof(struct NanoRelocEntry)); in packNanoRelocs()
352 struct SymtabEntry *sym, struct NanoRelocEntry *nanoReloc) in fixupReloc()
473 app.nanoReloc = malloc(sizeof(struct NanoRelocEntry[app.relocSize])); in handleApp()
481 struct NanoRelocEntry *nanoReloc = &app.nanoReloc[app.nanoRelocSize]; in handleApp()
Dpostprocess_elf.c70 struct NanoRelocEntry { struct
123 static uint8_t *packNanoRelocs(struct NanoRelocEntry *nanoRelocs, uint32_t outNumRelocs, uint32_t *… in packNanoRelocs()
132 struct NanoRelocEntry t; in packNanoRelocs()
140 memcpy(&t, nanoRelocs + i, sizeof(struct NanoRelocEntry)); in packNanoRelocs()
141 memcpy(nanoRelocs + i, nanoRelocs + k, sizeof(struct NanoRelocEntry)); in packNanoRelocs()
142 memcpy(nanoRelocs + k, &t, sizeof(struct NanoRelocEntry)); in packNanoRelocs()
294 struct NanoRelocEntry *nanoRelocs = NULL; in handleApp()
349 nanoRelocs = malloc(sizeof(struct NanoRelocEntry[numRelocs])); in handleApp()
725 struct NanoRelocEntry *nanoRelocs = malloc( in genElfNanoRelocs()
726 totalRelocCount * sizeof(struct NanoRelocEntry)); in genElfNanoRelocs()
[all …]