Lines Matching refs:itemCount

344     uint32_t itemCount, offset, i;  in udata_swapPackage()  local
412 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage()
413 if(itemCount==0) { in udata_swapPackage()
419 offset=ds->readUInt32(inEntries[itemCount-1].dataOffset); in udata_swapPackage()
433 itemCount=0; /* make compilers happy */ in udata_swapPackage()
435 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage()
436 if(itemCount==0) { in udata_swapPackage()
438 } else if((uint32_t)length<(4+8*itemCount)) { in udata_swapPackage()
443 offset=20+ds->readUInt32(inEntries[itemCount-1].dataOffset); in udata_swapPackage()
458 if(itemCount==0) { in udata_swapPackage()
464 offset=4+8*itemCount; in udata_swapPackage()
489 for(i=0; i<itemCount; ++i) { in udata_swapPackage()
522 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)+length+DEFAULT_PADDING_LENGTH); in udata_swapPackage()
524 outBytes=(uint8_t *)(table+itemCount); in udata_swapPackage()
531 table=(ToCEntry *)uprv_malloc(itemCount*sizeof(ToCEntry)); in udata_swapPackage()
536 itemCount*sizeof(ToCEntry)+length+DEFAULT_PADDING_LENGTH : in udata_swapPackage()
537 itemCount*sizeof(ToCEntry)); in udata_swapPackage()
544 for(i=0; i<itemCount; ++i) { in udata_swapPackage()
551 table[itemCount-1].length=(uint32_t)length-table[itemCount-1].inOffset; in udata_swapPackage()
555 for(i=0; i<itemCount; ++i) { in udata_swapPackage()
575 table[itemCount-1].length+=(uint32_t)delta; in udata_swapPackage()
581 uprv_sortArray(table, (int32_t)itemCount, (int32_t)sizeof(ToCEntry), in udata_swapPackage()
590 for(i=0; i<itemCount; ++i) { in udata_swapPackage()
597 for(i=0; i<itemCount; ++i) { in udata_swapPackage()
603 for(i=0; i<itemCount; ++i) { in udata_swapPackage()