Home
last modified time | relevance | path

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

/trusty/kernel/lib/app_manifest/
Dapp_manifest.c34 int app_manifest_iterator_reset(struct app_manifest_iterator* iterator, in app_manifest_iterator_reset() argument
37 assert(iterator); in app_manifest_iterator_reset()
39 iterator->manifest_data = manifest_data; in app_manifest_iterator_reset()
40 iterator->manifest_size = manifest_size; in app_manifest_iterator_reset()
41 iterator->index = 0; in app_manifest_iterator_reset()
42 iterator->app_name = "<unknown>"; in app_manifest_iterator_reset()
43 iterator->error = NO_ERROR; in app_manifest_iterator_reset()
53 struct app_manifest_iterator* iterator, in app_manifest_get_ptr() argument
55 const void* curr = &iterator->manifest_data[iterator->index]; in app_manifest_get_ptr()
56 if (size > iterator->manifest_size - iterator->index) { in app_manifest_get_ptr()
[all …]
/trusty/kernel/lib/app_manifest/include/lib/app_manifest/
Dapp_manifest.h178 int app_manifest_iterator_reset(struct app_manifest_iterator* iterator,
194 bool app_manifest_iterator_next(struct app_manifest_iterator* iterator,