Lines Matching defs:length

63     NativeItem() : pItem(nullptr), pInfo(nullptr), bytes(nullptr), swapped(nullptr), length(0) {}
77 return length;
84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode);
88 length=pItem->length-itemHeaderLength;
103 swapped=new uint8_t[pItem->length];
108 swap(ds, pItem->data, pItem->length, swapped, &errorCode);
109 pInfo=::getDataInfo(swapped, pItem->length, infoLength, itemHeaderLength, &errorCode);
120 int32_t length;
152 fprintf(stderr, "icupkg/makeTargetName(%s) target item name length %ld too long\n",
224 Resource res, const char16_t *alias, int32_t length, UBool useResSuffix,
228 if(!uprv_isInvariantUString(alias, length)) {
240 for(i=0; i<length && alias[i]!=SLASH; ++i) {}
251 length=i;
254 if(i!=length) {
264 if(length>=(int32_t)sizeof(localeID)) {
265 fprintf(stderr, "icupkg/ures_enumDependencies(%s res=%08x) alias locale ID length %ld too long\n",
266 itemName, res, (long)length);
270 u_UCharsToChars(alias, localeID, length);
271 localeID[length]=0;
299 int32_t length;
300 const char16_t *alias=res_getStringNoTrace(pResData, res, &length);
301 checkAlias(itemName, res, alias, length, /*useResSuffix=*/ true,
308 int32_t length;
309 const char16_t *alias=res_getStringNoTrace(pResData, res, &length);
310 checkAlias(itemName, res, alias, length, /*useResSuffix=*/ false,
317 int32_t length;
318 const char16_t *alias=res_getAlias(pResData, res, &length);
319 checkAlias(itemName, res, alias, length, true, check, context, pErrorCode);
375 const uint8_t *inBytes, int32_t length,
381 res_read(&resData, pInfo, inBytes, length, pErrorCode);
457 const uint8_t *inBytes, int32_t length,
480 if( length<(int32_t)sizeof(UConverterStaticData) ||
481 (uint32_t)length<(staticDataSize=ds->readUInt32(inStaticData->structSize))
484 length);
490 length-=(int32_t)staticDataSize;
500 if(length<(int32_t)sizeof(_MBCSHeader)) {
502 length);
533 if(length<(extOffset+UCNV_EXT_INDEXES_MIN_LENGTH*4)) {
535 length);
544 udata_printError(ds, "icupkg/ucnv_enumDependencies(%s): base name length %ld too long\n",
591 const UDataInfo *pInfo=getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode);
628 int32_t length=pItem->length-itemHeaderLength;
630 ucnv_enumDependencies(ds, pItem->name, pInfo, inBytes, length, check, context, &errorCode);