Lines Matching refs:Ch

278     typedef typename SchemaType::Ch Ch;  typedef
293 virtual void TooLong(const Ch* str, SizeType length, SizeType expected) = 0;
294 virtual void TooShort(const Ch* str, SizeType length, SizeType expected) = 0;
295 virtual void DoesNotMatch(const Ch* str, SizeType length) = 0;
308 virtual void DisallowedProperty(const Ch* name, SizeType length) = 0;
338 typedef typename Encoding::Ch Ch; typedef
356 bool RawNumber(const Ch* str, SizeType len, bool) { in RawNumber()
357 WriteBuffer(kNumberType, str, len * sizeof(Ch)); in RawNumber()
361 bool String(const Ch* str, SizeType len, bool) { in String()
362 WriteBuffer(kStringType, str, len * sizeof(Ch)); in String()
367 bool Key(const Ch* str, SizeType len, bool copy) { return String(str, len, copy); } in Key()
437 typedef typename ValueType::Ch Ch; typedef
499 const Ch* invalidKeyword;
528 typedef typename EncodingType::Ch Ch; typedef
1057 bool String(Context& context, const Ch* str, SizeType length, bool) const { in String()
1108 bool Key(Context& context, const Ch* str, SizeType len, bool) const { in Key()
1283 static const Ch s[] = { __VA_ARGS__, '\0' };\
1284 static const ValueType v(s, static_cast<SizeType>(sizeof(s) / sizeof(Ch) - 1));\
1348 typedef std::basic_regex<Ch> RegexType;
1418 static bool IsPatternMatch(const RegexType* pattern, const Ch *str, SizeType) { in IsPatternMatch()
1438 static bool IsPatternMatch(const RegexType* pattern, const Ch *str, SizeType length) { in IsPatternMatch()
1439 std::match_results<const Ch*> r; in IsPatternMatch()
1448 static bool IsPatternMatch(const RegexType*, const Ch *, SizeType) { return true; } in IsPatternMatch() argument
1515 const Ch* str = name.GetString(); in FindPropertyIndex()
1518 (std::memcmp(properties_[index].name.GetString(), str, sizeof(Ch) * len) == 0)) in FindPropertyIndex()
1750 template<typename Stack, typename Ch>
1753 *documentStack.template Push<Ch>() = '/'; in AppendIndexToken()
1757 *documentStack.template Push<Ch>() = static_cast<Ch>(buffer[i]); in AppendIndexToken()
1788 typedef typename SchemaDocumentType::Ch Ch;
1793 virtual const SchemaDocumentType* GetRemoteDocument(const Ch* uri, SizeType length) = 0;
1822 typedef typename EncodingType::Ch Ch;
1827 typedef GenericStringRef<Ch> StringRefType;
1844 …explicit GenericSchemaDocument(const ValueType& document, const Ch* uri = 0, SizeType uriLength = …
1863 Ch noUri[1] = {0};
1887 …rrorStartUnknown, PointerType(), sb.GetString(), static_cast<SizeType>(sb.GetSize() / sizeof(Ch)));
1988 …void SchemaErrorValue(const SchemaErrorCode code, const PointerType& location, const Ch* value, Si…
1995 …void SchemaErrorPointer(const SchemaErrorCode code, const PointerType& location, const Ch* value, …
1998 …GetOffsetString(), static_cast<SizeType>(pointer.GetParseErrorOffset() / sizeof(Ch)), *allocator_);
2026 … GValue instanceRef(sb.GetString(), static_cast<SizeType>(sb.GetSize() / sizeof(Ch)), *allocator_);
2053 static const Ch s[] = { __VA_ARGS__, '\0' };\
2054 static const StringRefType v(s, static_cast<SizeType>(sizeof(s) / sizeof(Ch) - 1)); \
2082 …static const Ch kDraft03String[] = { 'h', 't', 't', 'p', ':', '/', '/', 'j', 's', 'o', 'n', '-', '…
2083 …static const Ch kDraft04String[] = { 'h', 't', 't', 'p', ':', '/', '/', 'j', 's', 'o', 'n', '-', '…
2084 …static const Ch kDraft05String[] = { 'h', 't', 't', 'p', ':', '/', '/', 'j', 's', 'o', 'n', '-', '…
2085 …static const Ch kDraft06String[] = { 'h', 't', 't', 'p', ':', '/', '/', 'j', 's', 'o', 'n', '-', '…
2086 …static const Ch kDraft07String[] = { 'h', 't', 't', 'p', ':', '/', '/', 'j', 's', 'o', 'n', '-', '…
2087 …static const Ch kDraft2019_09String[] = { 'h', 't', 't', 'p', 's', ':', '/', '/', 'j', 's', 'o', '…
2088 …static const Ch kDraft2020_12String[] = { 'h', 't', 't', 'p', 's', ':', '/', '/', 'j', 's', 'o', '…
2116 static const Ch kVersion20String[] = { '2', '.', '0', '\0' };
2117 static const Ch kVersion30String[] = { '3', '.', '0', '.', '\0' }; // ignore patch level
2118 static const Ch kVersion31String[] = { '3', '.', '1', '.', '\0' }; // ignore patch level
2119 static SizeType len = internal::StrLen<Ch>(kVersion30String);
2236 const Ch* s = ref.GetFragString();
2261 const Ch* s = ref.GetFragString();
2447 typedef typename EncodingType::Ch Ch;
2448 typedef GenericStringRef<Ch> StringRefType;
2561 const Ch* GetInvalidSchemaKeyword() const {
2563 if (GetContinueOnErrors() && !error_.ObjectEmpty()) return (const Ch*)GetErrorsString();
2582 … return PointerType(documentStack_.template Bottom<Ch>(), documentStack_.GetSize() / sizeof(Ch));
2620 void TooLong(const Ch* str, SizeType length, SizeType expected) {
2624 void TooShort(const Ch* str, SizeType length, SizeType expected) {
2628 void DoesNotMatch(const Ch* str, SizeType length) {
2683 void DisallowedProperty(const Ch* name, SizeType length) {
2781 static const Ch s[] = { __VA_ARGS__, '\0' };\
2782 static const StringRefType v(s, static_cast<SizeType>(sizeof(s) / sizeof(Ch) - 1)); \
2803 *documentStack_.template Push<Ch>() = '\0';\
2804 documentStack_.template Pop<Ch>(1);\
2805 RAPIDJSON_SCHEMA_PRINT(InvalidDocument, documentStack_.template Bottom<Ch>());\
2838 bool RawNumber(const Ch* str, SizeType length, bool copy)
2840 bool String(const Ch* str, SizeType length, bool copy)
2851 bool Key(const Ch* str, SizeType len, bool copy) {
2900 *documentStack_.template Push<Ch>() = '\0';
2901 documentStack_.template Pop<Ch>(1);
2987 …internal::TokenHelper<internal::Stack<StateAllocator>, Ch>::AppendIndexToken(documentStack_, Curre…
3021 *documentStack_.template Push<Ch>() = '\0';
3022 documentStack_.template Pop<Ch>(1);
3023 …RAPIDJSON_SCHEMA_PRINT(ValidatorPointers, sb.GetString(), documentStack_.template Bottom<Ch>(), de…
3042 … while (!documentStack_.Empty() && *documentStack_.template Pop<Ch>(1) != '/');
3051 while (!documentStack_.Empty() && *documentStack_.template Pop<Ch>(1) != '/')
3057 void AppendToken(const Ch* str, SizeType len) {
3058 …documentStack_.template Reserve<Ch>(1 + len * 2); // worst case all characters are escaped as two …
3059 *documentStack_.template PushUnsafe<Ch>() = '/';
3062 *documentStack_.template PushUnsafe<Ch>() = '~';
3063 *documentStack_.template PushUnsafe<Ch>() = '0';
3066 *documentStack_.template PushUnsafe<Ch>() = '~';
3067 *documentStack_.template PushUnsafe<Ch>() = '1';
3070 *documentStack_.template PushUnsafe<Ch>() = str[i];
3091 ValueType instanceRef(sb.GetString(), static_cast<SizeType>(sb.GetSize() / sizeof(Ch)),
3099 if (len) memcpy(sb.Push(len), CurrentSchema().GetURI().GetString(), len * sizeof(Ch));
3102 ValueType schemaRef(sb.GetString(), static_cast<SizeType>(sb.GetSize() / sizeof(Ch)),
3203 typedef typename InputStream::Ch Ch;
3240 const Ch* GetInvalidSchemaKeyword() const { return invalidSchemaKeyword_; }
3251 const Ch* invalidSchemaKeyword_;