Lines Matching defs:toc
91 const UDataOffsetTOC *toc = (UDataOffsetTOC *)pData->toc;
92 if (toc != NULL) {
93 retVal = toc->count;
104 const UDataOffsetTOC *toc = (UDataOffsetTOC *)pData->toc;
105 if(toc!=NULL) {
106 const char *base=(const char *)toc;
113 /* list the contents of the TOC each time .. not recommended */
114 for(start=0;start<toc->count;start++) {
115 fprintf(stderr, "\tx%d: %s\n", start, &base[toc->entry[start].nameOffset]);
120 limit=toc->count; /* number of names in this table of contents */
122 entry=toc->entry;
142 if((number+1) < toc->count) {
165 const PointerTOC *toc = (PointerTOC *)pData->toc;
166 return (uint32_t)((toc != NULL) ? (toc->count) : 0);
174 if(pData->toc!=NULL) {
175 const PointerTOC *toc = (PointerTOC *)pData->toc;
180 /* list the contents of the TOC each time .. not recommended */
181 for(start=0;start<toc->count;start++) {
182 fprintf(stderr, "\tx%d: %s\n", start, toc->entry[start].entryName);
188 limit=toc->count;
198 strResult = uprv_strcmp(name, toc->entry[number].entryName);
207 fprintf(stderr, "%s: Found.\n", toc->entry[number].entryName);
210 return UDataMemory_normalizeDataPointer(toc->entry[number].pHeader);
230 * Fill in the virtual function ptr based on TOC type *
256 udm->toc=(const char *)udm->pHeader+udata_getHeaderSize(udm->pHeader);
266 udm->toc=(const char *)udm->pHeader+udata_getHeaderSize(udm->pHeader);
290 * ToC entries, and since offsets are relative to the start of the ToC,