Lines Matching defs:length
114 * @return the length of the copied string.
459 /*Makes sure that the subChar is within the codepages char length boundaries */
483 int32_t length,
496 length8 = ucnv_fromUChars(clone, chars, (int32_t)sizeof(chars), s, length, err);
517 if (length > UCNV_ERROR_BUFFER_LENGTH) {
527 if (length < 0) {
528 length = u_strlen(s);
530 length8 = length * U_SIZEOF_UCHAR;
559 cnv->subCharLen = (int8_t)-length;
764 _updateOffsets(int32_t *offsets, int32_t length,
772 * minus the length of the input sequence that caused an
784 limit=offsets+length;
946 int32_t length=(int32_t)(pArgs->target-t);
947 if(length>0) {
948 _updateOffsets(offsets, length, sourceIndex, errorInputLength);
957 pArgs->offsets=offsets+=length;
1067 int32_t length;
1071 length=(int32_t)(pArgs->sourceLimit-pArgs->source);
1072 if(length>0) {
1073 u_memcpy(cnv->preFromU, pArgs->source, length);
1074 cnv->preFromULength=(int8_t)-length;
1130 int32_t i, length;
1140 length=cnv->charErrorBufferLength;
1142 while(i<length) {
1149 } while(i<length);
1391 int32_t length=(int32_t)(pArgs->target-t);
1392 if(length>0) {
1393 _updateOffsets(offsets, length, sourceIndex, errorInputLength);
1402 pArgs->offsets=offsets+=length;
1514 int32_t length;
1518 length=(int32_t)(pArgs->sourceLimit-pArgs->source);
1519 if(length>0) {
1520 uprv_memcpy(cnv->preToU, pArgs->source, length);
1521 cnv->preToULength=(int8_t)-length;
1576 int32_t i, length;
1586 length=cnv->UCharErrorBufferLength;
1588 while(i<length) {
1595 } while(i<length);
1760 /* if an overflow occurs, then get the preflighting length */
1816 /* if an overflow occurs, then get the preflighting length */
1847 int32_t i, length;
1890 length=cnv->UCharErrorBufferLength;
1891 U16_NEXT(overflow, i, length, c);
1894 if((cnv->UCharErrorBufferLength=(int8_t)(length-i))>0) {
1899 if(!U16_IS_LEAD(c) || i<length) {
1960 length=(int32_t)(args.target-buffer);
1966 length=1;
1969 /* buffer contents starts at i and ends before length */
1973 } else if(length==0) {
2009 length=(int32_t)(args.target-buffer);
2010 if(U_SUCCESS(*err) && length==2 && U16_IS_TRAIL(c2=buffer[1])) {
2020 * move leftover output from buffer[i..length[
2023 if(i<length) {
2025 int32_t delta=length-i;
2026 if((length=cnv->UCharErrorBufferLength)>0) {
2028 length*U_SIZEOF_UCHAR);
2030 cnv->UCharErrorBufferLength=(int8_t)(length+delta);