HomeSort by relevance Sort by last modified time
    Searched refs:toULength (Results 1 - 25 of 30) sorted by null

1 2

  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetUTF16.java 105 toUBytesArray[toULength++] = source.get();
107 if (toULength == 1) {
110 && toUBytesArray[toULength - 1] == BOM_BE[toULength - 1]) {
114 && toUBytesArray[toULength - 1] == BOM_LE[toULength - 1]) {
118 // we do not have a BOM (and we have toULength==1 bytes)
128 } else if (isEndianSpecified && version == 1 && (toUBytesArray[toULength - 1] == actualBOM[toULength - 2] && toUBytesArray[toULength - 2] == actualBOM[toULength - 1]))
    [all...]
CharsetUTF32.java 87 toUBytesArray[toULength++] = source.get();
89 if (toULength == 1) {
92 && toUBytesArray[toULength - 1] == BOM_BE[toULength - 1]) {
96 && toUBytesArray[toULength - 1] == BOM_LE[toULength - 1]) {
100 // we do not have a BOM (and we have toULength==1 bytes)
105 } else if (toUBytesArray[toULength - 1] != actualBOM[toULength - 1]) {
106 // we do not have a BOM (and we have toULength bytes
    [all...]
CharsetDecoderICU.java 32 int toULength;
205 toULength = 0;
239 // toULength = 0;
330 if (!flush && !source.hasRemaining() && toULength == 0 && preToULength >= 0) {
454 converterSawEndOfInput= (cr.isUnderflow() && flush && source.remaining()==0 && toULength == 0);
546 } else if(flush && toULength>0) {
553 cr = CoderResult.malformedForLength(toULength);
611 errorInputLength=invalidCharLength=toULength;
617 toULength=0;
645 } else if(toULength > 0)
    [all...]
CharsetHZ.java 102 this.toULength = 2;
123 toULength = 1;
128 toULength = 2;
201 toULength = 2;
204 toULength = 1;
207 return CoderResult.unmappableForLength(toULength);
209 return CoderResult.malformedForLength(toULength);
CharsetCompoundText.java 522 if (this.toULength > 0) {
529 tmpState = findStateFromEscSeq(source, this.toUBytesArray, this.toULength);
532 this.toUBytesArray[this.toULength++] = source.get();
538 if (this.toULength == 0) {
544 this.toULength = 0;
570 decoder.toULength = this.toULength;
574 this.toULength = decoder.toULength;
575 decoder.toULength = 0
    [all...]
CharsetUTF8.java 100 bytesSoFar = toULength;
104 toULength = 0;
114 toULength = bytesSoFar;
121 toULength = bytesSoFar;
189 toULength = bytesSoFar;
220 bytesSoFar = toULength;
224 toULength = 0;
234 toULength = bytesSoFar;
241 toULength = bytesSoFar;
326 toULength = bytesSoFar
    [all...]
CharsetSCSU.java 212 toULength = 0;
402 toULength =1;
409 toULength = 1;
414 toULength = 2;
472 toULength = 2;
485 toULength =2;
497 toULength =2;
522 toULength = 1;
534 toULength = 1;
541 toULength = 1
    [all...]
CharsetISO2022.java 535 int initialToULength = decoder.toULength;
543 decoder.toUBytesArray[decoder.toULength++] = c;
    [all...]
CharsetLMBCS.java     [all...]
CharsetASCII.java 166 toULength = 1;
CharsetBOCU1.java 708 * mode decoder's incomplete (diff<<2)|count (ignored when toULength==0)
809 byteIndex = toULength;
    [all...]
  /external/icu/icu4c/source/common/
ucnv_u8.c 116 i = cnv->toULength; /* restore # of bytes consumed */
117 cnv->toULength = 0;
158 cnv->toULength = (int8_t) i;
209 cnv->toULength = (int8_t)i;
246 i = cnv->toULength; /* restore # of bytes consumed */
247 cnv->toULength = 0;
286 cnv->toULength = (int8_t)i;
339 cnv->toULength = (int8_t)i;
641 cnv->toULength = 1;
664 cnv->toULength = i
    [all...]
ucnv_u16.c 295 cnv->toULength=1;
298 if((count=cnv->toULength)!=0) {
361 cnv->toULength=2;
371 cnv->toULength=(int8_t)count;
442 cnv->toULength=2;
456 cnv->toULength=0;
478 cnv->toUBytes[cnv->toULength++]=*source++;
510 pArgs->converter->toULength=1;
539 pArgs->converter->toULength=(int8_t)(sourceLimit-s);
555 pArgs->converter->toULength=2
    [all...]
ucnv_u32.c 57 i = args->converter->toULength; /* restore # of bytes consumed */
58 args->converter->toULength = 0;
78 args->converter->toULength = (int8_t) i;
107 args->converter->toULength = (int8_t)i;
138 i = args->converter->toULength; /* restore # of bytes consumed */
139 args->converter->toULength = 0;
159 args->converter->toULength = (int8_t) i;
191 args->converter->toULength = (int8_t)i;
439 args->converter->toULength = (int8_t)length;
457 args->converter->toULength = 4
    [all...]
ucnvmbcs.cpp     [all...]
ucnvscsu.c 169 cnv->toULength=0;
378 cnv->toULength=1;
384 cnv->toULength=1;
389 cnv->toULength=2;
443 cnv->toULength=2;
455 cnv->toULength=2;
466 cnv->toULength=2;
504 cnv->toULength=1;
515 cnv->toULength=1;
521 cnv->toULength=1
    [all...]
ucnv2022.cpp 446 cnv->toULength=0; /* byteIndex */
    [all...]
ucnvhz.c 201 args->converter->toULength = 2;
226 args->converter->toULength = 1;
231 args->converter->toULength = 2;
313 args->converter->toULength=2;
317 args->converter->toULength=1;
ucnv_ct.c 489 if (args->converter->toULength > 0) {
496 tmpState = findStateFromEscSeq(mySource, mySourceLimit, args->converter->toUBytes, args->converter->toULength, err);
500 args->converter->toUBytes[args->converter->toULength++] = *mySource++;
505 if (args->converter->toULength == 0) {
516 sourceOffset = uprv_strlen((char*)escSeqCompoundText[currentState]) - args->converter->toULength;
520 args->converter->toULength = 0;
ucnv_bld.h 187 int8_t toULength; /* number of bytes in toUBytes */
ucnvlat1.c 350 utf8->toULength=0;
408 utf8->toULength=1;
553 cnv->toULength=1;
591 cnv->toULength=1;
ucnv.c 607 converter->toULength = 0;
    [all...]
ucnv_lmb.c     [all...]
ucnv_u7.c 184 cnv->toULength=0;
245 byteIndex=cnv->toULength;
447 cnv->toULength=byteIndex;
    [all...]
ucnvbocu.cpp 262 * mode decoder's incomplete (diff<<2)|count (ignored when toULength==0)
965 diff=cnv->mode; /* mode may be set to UCNV_SI by ucnv_bld.c but then toULength==0 */
969 byteIndex=cnv->toULength;
    [all...]

Completed in 435 milliseconds

1 2