Lines Matching defs:cptr

462         const uint8_t *cptr = *pp;
464 c = *cptr;
468 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr));
470 cptr += WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
471 if (U16_IS_LEAD(c) && IsUtf16() && cptr < end) {
473 c1 = *(reinterpret_cast<const uint16_t *>(cptr));
476 cptr += WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
479 *pp = cptr;
487 const uint8_t *cptr = p;
489 c = *cptr;
492 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr));
494 cptr += WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
495 if (U16_IS_LEAD(c) && IsUtf16() && cptr < end) {
496 c1 = *(uint16_t *)cptr; // NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
507 const uint8_t *cptr = *pp;
512 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr));
513 cptr += WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
514 if (U16_IS_LEAD(c1) && IsUtf16() && cptr < end) {
516 c1 = *(reinterpret_cast<const uint16_t *>(cptr));
518 cptr += WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
521 *pp = cptr;
528 const uint8_t *cptr = p;
530 c = *(cptr - 1); // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
532 cptr -= WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
534 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr));
536 if (U16_IS_TRAIL(c) && IsUtf16() && cptr > start) {
538 c1 = (reinterpret_cast<const uint16_t *>(cptr))[-1];
550 const uint8_t *cptr = *pp;
552 c = *(cptr - 1); // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
553 cptr -= 1; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
554 *pp = cptr;
556 cptr -= WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
558 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr));
560 if (U16_IS_TRAIL(c) && IsUtf16() && cptr > start) {
562 c1 = (reinterpret_cast<const uint16_t *>(cptr))[-1];
565 cptr -= WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
568 *pp = cptr;
575 const uint8_t *cptr = *pp;
577 cptr -= 1; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
578 *pp = cptr;
580 cptr -= WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
581 uint16_t c1 = *(const uint16_t *)cptr; // NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
582 if (U16_IS_TRAIL(c1) && IsUtf16() && cptr > start) {
584 c1 = (reinterpret_cast<const uint16_t *>(cptr))[-1];
586 cptr -= WIDE_CHAR_SIZE; // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
589 *pp = cptr;