Searched refs:extraBytesToRead (Results 1 – 4 of 4) sorted by relevance
337 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local338 if (source + extraBytesToRead >= sourceEnd) { in ConvertUTF8toUTF16()342 if (! isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()349 switch (extraBytesToRead) { in ConvertUTF8toUTF16()357 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()360 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()367 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()379 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()387 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()463 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32() local[all …]
1807 ANTLR3_UINT32 extraBytesToRead; in antlr3UTF8Consume() local1823 extraBytesToRead = trailingBytesForUTF8[*nextChar]; in antlr3UTF8Consume()1825 if (nextChar + extraBytesToRead >= (((pANTLR3_UINT8)input->data) + input->sizeBuf)) in antlr3UTF8Consume()1836 switch (extraBytesToRead) { in antlr3UTF8Consume()1847 ch -= offsetsFromUTF8[extraBytesToRead]; in antlr3UTF8Consume()1873 ANTLR3_UINT32 extraBytesToRead; in antlr3UTF8LA() local1942 extraBytesToRead = trailingBytesForUTF8[*nextChar]; in antlr3UTF8LA()1943 if (nextChar + extraBytesToRead >= (((pANTLR3_UINT8)input->data) + input->sizeBuf)) in antlr3UTF8LA()1951 switch (extraBytesToRead) { in antlr3UTF8LA()1962 ch -= offsetsFromUTF8[extraBytesToRead]; in antlr3UTF8LA()
361 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local362 if (source + extraBytesToRead >= sourceEnd) { in ConvertUTF8toUTF16()366 if (! isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()373 switch (extraBytesToRead) { in ConvertUTF8toUTF16()381 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()384 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()391 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()403 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()411 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()485 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32() local[all …]
523 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local524 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()528 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()535 switch (extraBytesToRead) { in ConvertUTF8toUTF16()543 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()546 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()553 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()565 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()573 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()597 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local[all …]