Lines Matching refs:codepoint

159         unsigned codepoint;  in RAPIDJSON_DIAG_OFF()  member
197 unsigned codepoint; in RAPIDJSON_DIAG_OFF() local
199 switch (codepoint = ds.Take()) { in RAPIDJSON_DIAG_OFF()
287 if (!CharacterEscape(ds, &codepoint)) in RAPIDJSON_DIAG_OFF()
293 PushOperand(operandStack, codepoint); in RAPIDJSON_DIAG_OFF()
312 printf("[%2d] out: %2d out1: %2d c: '%c'\n", i, s.out, s.out1, (char)s.codepoint); in RAPIDJSON_DIAG_OFF()
319 SizeType NewState(SizeType out, SizeType out1, unsigned codepoint) { in RAPIDJSON_DIAG_OFF()
323 s->codepoint = codepoint; in RAPIDJSON_DIAG_OFF()
328 void PushOperand(Stack<Allocator>& operandStack, unsigned codepoint) { in RAPIDJSON_DIAG_OFF()
329 SizeType s = NewState(kRegexInvalidState, kRegexInvalidState, codepoint); in RAPIDJSON_DIAG_OFF()
488 unsigned codepoint; in RAPIDJSON_DIAG_OFF() local
489 while ((codepoint = ds.Take()) != 0) { in RAPIDJSON_DIAG_OFF()
492 if (codepoint == '^') { in RAPIDJSON_DIAG_OFF()
498 switch (codepoint) { in RAPIDJSON_DIAG_OFF()
515 codepoint = 0x0008; // Escape backspace character in RAPIDJSON_DIAG_OFF()
517 else if (!CharacterEscape(ds, &codepoint)) in RAPIDJSON_DIAG_OFF()
525 if (codepoint == '-') { in RAPIDJSON_DIAG_OFF()
534 SizeType r = NewRange(codepoint); in RAPIDJSON_DIAG_OFF()
546 GetRange(current).end = codepoint; in RAPIDJSON_DIAG_OFF()
554 SizeType NewRange(unsigned codepoint) { in RAPIDJSON_DIAG_OFF()
556 r->start = r->end = codepoint; in RAPIDJSON_DIAG_OFF()
563 unsigned codepoint; in RAPIDJSON_DIAG_OFF() local
564 switch (codepoint = ds.Take()) { in RAPIDJSON_DIAG_OFF()
579 *escapedCodepoint = codepoint; return true; in RAPIDJSON_DIAG_OFF()
662 unsigned codepoint; in RAPIDJSON_DIAG_OFF() local
663 while (!current->Empty() && (codepoint = ds.Take()) != 0) { in RAPIDJSON_DIAG_OFF()
669 if (sr.codepoint == codepoint || in RAPIDJSON_DIAG_OFF()
670 sr.codepoint == RegexType::kAnyCharacterClass || in RAPIDJSON_DIAG_OFF()
671 … (sr.codepoint == RegexType::kRangeCharacterClass && MatchRange(sr.rangeStart, codepoint))) in RAPIDJSON_DIAG_OFF()
706 bool MatchRange(SizeType rangeIndex, unsigned codepoint) const { in RAPIDJSON_DIAG_OFF()
710 if (codepoint >= (r.start & ~RegexType::kRangeNegationFlag) && codepoint <= r.end) in RAPIDJSON_DIAG_OFF()