Home | History | Annotate | Download | only in common

Lines Matching refs:top

563  * preflight one resource item and set bottom and top values;
564 * length, bottom, and top count Resource item offsets (4 bytes each), not bytes
596 /* top=offset+1+(string length +1)/2 rounded up */
600 /* top=offset+1+(binary length)/4 rounded up */
614 /* top=((1+ table item count)/2 rounded up)+(table item count) */
621 /* top=(1+ table item count)+(table item count) */
653 /* top=offset+1+(array length) */
674 /* top=offset+1+(vector length) */
970 int32_t bundleLength, stringsBottom, bottom, top;
1016 /* preflight to get the bottom, top and maxTableLength values */
1019 top=maxTableLength=0;
1021 &bottom, &top, &maxTableLength,
1036 top=udata_readInt32(ds, inIndexes[URES_INDEX_BUNDLE_TOP]);
1039 if(0<=bundleLength && bundleLength<top) {
1040 udata_printError(ds, "ures_swap(): resource top %d exceeds bundle length %d\n",
1041 top, bundleLength);
1052 uprv_memcpy(outBundle, inBundle, 4*top);
1094 return headerSize+4*top;