Home | History | Annotate | Download | only in common

Lines Matching refs:toc

121                             const UDataOffsetTOCEntry *toc, int32_t count) {
140 if(0==strcmpAfterPrefix(s, names+toc[0].nameOffset, &startPrefixLength)) {
145 if(0==strcmpAfterPrefix(s, names+toc[limit].nameOffset, &limitPrefixLength)) {
151 int32_t cmp=strcmpAfterPrefix(s, names+toc[i].nameOffset, &prefixLength);
166 pointerTOCPrefixBinarySearch(const char *s, const PointerTOCEntry *toc, int32_t count) {
185 if(0==strcmpAfterPrefix(s, toc[0].entryName, &startPrefixLength)) {
190 if(0==strcmpAfterPrefix(s, toc[limit].entryName, &limitPrefixLength)) {
196 int32_t cmp=strcmpAfterPrefix(s, toc[i].entryName, &prefixLength);
212 const UDataOffsetTOC *toc = (UDataOffsetTOC *)pData->toc;
213 if (toc != NULL) {
214 retVal = toc->count;
224 const UDataOffsetTOC *toc = (UDataOffsetTOC *)pData->toc;
225 if(toc!=NULL) {
226 const char *base=(const char *)toc;
227 int32_t number, count=(int32_t)toc->count;
231 /* list the contents of the TOC each time .. not recommended */
233 fprintf(stderr, "\tx%d: %s\n", number, &base[toc->entry[number].nameOffset]);
236 number=offsetTOCPrefixBinarySearch(tocEntryName, base, toc->entry, count);
239 const UDataOffsetTOCEntry *entry=toc->entry+number;
266 const PointerTOC *toc = (PointerTOC *)pData->toc;
267 return (uint32_t)((toc != NULL) ? (toc->count) : 0);
275 if(pData->toc!=NULL) {
276 const PointerTOC *toc = (PointerTOC *)pData->toc;
277 int32_t number, count=(int32_t)toc->count;
280 /* list the contents of the TOC each time .. not recommended */
282 fprintf(stderr, "\tx%d: %s\n", number, toc->entry[number].entryName);
285 number=pointerTOCPrefixBinarySearch(name, toc->entry, count);
289 fprintf(stderr, "%s: Found.\n", toc->entry[number].entryName);
292 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader);
312 * Fill in the virtual function ptr based on TOC type *
340 udm->toc=(const char *)udm->pHeader+udata_getHeaderSize(udm->pHeader);
350 udm->toc=(const char *)udm->pHeader+udata_getHeaderSize(udm->pHeader);
374 * ToC entries, and since offsets are relative to the start of the ToC,