Home
last modified time | relevance | path

Searched refs:extraBytesToRead (Results 1 – 7 of 7) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3convertutf.c337 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
338 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 …]
Dantlr3inputstream.c1807 ANTLR3_UINT32 extraBytesToRead; in antlr3UTF8Consume() local
1823 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() local
1942 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()
/external/google-breakpad/src/common/
Dconvert_UTF.c361 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
362 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 …]
/external/unicode/
DConvertUTF.c354 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
355 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 …]
Dreadme.txt31 Version 1.2: corrected switch statements associated with "extraBytesToRead"
/external/llvm/lib/Support/
DConvertUTF.c523 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
524 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 …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DConvertUTF.cpp523 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
524 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 …]