Searched refs:extraBytesToRead (Results 1 - 6 of 6) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3convertutf.c337 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; local
338 if (source + extraBytesToRead >= sourceEnd) {
342 if (! isLegalUTF8(source, extraBytesToRead+1)) {
349 switch (extraBytesToRead) {
357 ch -= offsetsFromUTF8[extraBytesToRead];
360 source -= (extraBytesToRead+1); /* Back up source pointer! */
367 source -= (extraBytesToRead+1); /* return to the illegal value itself */
379 source -= (extraBytesToRead+1); /* return to the start */
387 source -= (extraBytesToRead+1); /* Back up source pointer! */
463 unsigned short extraBytesToRead local
[all...]
H A Dantlr3inputstream.c1807 ANTLR3_UINT32 extraBytesToRead; local
1823 extraBytesToRead = trailingBytesForUTF8[*nextChar];
1825 if (nextChar + extraBytesToRead >= (((pANTLR3_UINT8)input->data) + input->sizeBuf))
1836 switch (extraBytesToRead) {
1847 ch -= offsetsFromUTF8[extraBytesToRead];
1873 ANTLR3_UINT32 extraBytesToRead; local
1942 extraBytesToRead = trailingBytesForUTF8[*nextChar];
1943 if (nextChar + extraBytesToRead >= (((pANTLR3_UINT8)input->data) + input->sizeBuf))
1951 switch (extraBytesToRead) {
1962 ch -= offsetsFromUTF8[extraBytesToRead];
[all...]
/external/google-breakpad/src/common/
H A Dconvert_UTF.c361 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; local
362 if (source + extraBytesToRead >= sourceEnd) {
366 if (! isLegalUTF8(source, extraBytesToRead+1)) {
373 switch (extraBytesToRead) {
381 ch -= offsetsFromUTF8[extraBytesToRead];
384 source -= (extraBytesToRead+1); /* Back up source pointer! */
391 source -= (extraBytesToRead+1); /* return to the illegal value itself */
403 source -= (extraBytesToRead+1); /* return to the start */
411 source -= (extraBytesToRead+1); /* Back up source pointer! */
485 unsigned short extraBytesToRead local
[all...]
/external/unicode/
H A DConvertUTF.c354 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; local
355 if (source + extraBytesToRead >= sourceEnd) {
359 if (! isLegalUTF8(source, extraBytesToRead+1)) {
366 switch (extraBytesToRead) {
374 ch -= offsetsFromUTF8[extraBytesToRead];
377 source -= (extraBytesToRead+1); /* Back up source pointer! */
384 source -= (extraBytesToRead+1); /* return to the illegal value itself */
396 source -= (extraBytesToRead+1); /* return to the start */
404 source -= (extraBytesToRead+1); /* Back up source pointer! */
480 unsigned short extraBytesToRead local
[all...]
/external/llvm/lib/Support/
H A DConvertUTF.c523 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; local
524 if (extraBytesToRead >= sourceEnd - source) {
528 if (!isLegalUTF8(source, extraBytesToRead+1)) {
535 switch (extraBytesToRead) {
543 ch -= offsetsFromUTF8[extraBytesToRead];
546 source -= (extraBytesToRead+1); /* Back up source pointer! */
553 source -= (extraBytesToRead+1); /* return to the illegal value itself */
565 source -= (extraBytesToRead+1); /* return to the start */
573 source -= (extraBytesToRead+1); /* Back up source pointer! */
597 unsigned short extraBytesToRead local
[all...]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A DConvertUTF.cpp523 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; local
524 if (extraBytesToRead >= sourceEnd - source) {
528 if (!isLegalUTF8(source, extraBytesToRead+1)) {
535 switch (extraBytesToRead) {
543 ch -= offsetsFromUTF8[extraBytesToRead];
546 source -= (extraBytesToRead+1); /* Back up source pointer! */
553 source -= (extraBytesToRead+1); /* return to the illegal value itself */
565 source -= (extraBytesToRead+1); /* return to the start */
573 source -= (extraBytesToRead+1); /* Back up source pointer! */
597 unsigned short extraBytesToRead local
[all...]

Completed in 363 milliseconds