Searched refs:extraBytesToRead (Results 1 – 10 of 10) 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 …]
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"
384 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local385 if (source + extraBytesToRead >= sourceEnd) { in ConvertUTF8toUTF16()389 if (! isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()396 switch (extraBytesToRead) { in ConvertUTF8toUTF16()406 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()409 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()416 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()428 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()436 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()520 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 …]
549 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local550 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()554 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()561 switch (extraBytesToRead) { in ConvertUTF8toUTF16()569 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()572 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()579 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()591 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()599 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()623 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];