Searched refs:extraBytesToRead (Results 1 – 9 of 9) sorted by relevance
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 …]
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 …]
1814 ANTLR3_UINT32 extraBytesToRead; in antlr3UTF8Consume() local1830 extraBytesToRead = trailingBytesForUTF8[*nextChar]; in antlr3UTF8Consume()1832 if (nextChar + extraBytesToRead >= (((pANTLR3_UINT8)input->data) + input->sizeBuf)) in antlr3UTF8Consume()1843 switch (extraBytesToRead) { in antlr3UTF8Consume()1854 ch -= offsetsFromUTF8[extraBytesToRead]; in antlr3UTF8Consume()1880 ANTLR3_UINT32 extraBytesToRead; in antlr3UTF8LA() local1949 extraBytesToRead = trailingBytesForUTF8[*nextChar]; in antlr3UTF8LA()1950 if (nextChar + extraBytesToRead >= (((pANTLR3_UINT8)input->data) + input->sizeBuf)) in antlr3UTF8LA()1958 switch (extraBytesToRead) { in antlr3UTF8LA()1969 ch -= offsetsFromUTF8[extraBytesToRead]; in antlr3UTF8LA()
354 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local355 if (source + extraBytesToRead >= sourceEnd) { in ConvertUTF8toUTF16()359 if (! isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()366 switch (extraBytesToRead) { in ConvertUTF8toUTF16()374 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()377 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()384 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()396 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()404 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()480 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32() local[all …]
31 Version 1.2: corrected switch statements associated with "extraBytesToRead"
550 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local551 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()555 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()562 switch (extraBytesToRead) { in ConvertUTF8toUTF16()570 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()573 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()580 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()592 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()600 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()624 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() 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 …]
1263 ANTLR_UINT32 extraBytesToRead; local1277 extraBytesToRead = trailingBytesForUTF8[*nextChar];1279 if ((nextChar + extraBytesToRead) >= (input->get_data() + input->get_sizeBuf()))1290 switch (extraBytesToRead) 1302 ch -= offsetsFromUTF8[extraBytesToRead];1331 ANTLR_UINT32 extraBytesToRead; local1398 extraBytesToRead = trailingBytesForUTF8[*nextChar];1399 if (nextChar + extraBytesToRead >= (input->get_data() + input->get_sizeBuf()))1407 switch (extraBytesToRead) 1419 ch -= offsetsFromUTF8[extraBytesToRead];