Lines Matching full:d
93 inline void PrintValidatorPointersData(const char* s, const char* d, unsigned depth) { in PrintValidatorPointersData() argument
94 printf(" Sch: %*s'%s'\n Doc: %*s'%s'\n", depth * 4, " ", s, depth * 4, " ", d); in PrintValidatorPointersData()
97 inline void PrintValidatorPointersData(const wchar_t* s, const wchar_t* d, unsigned depth) { in PrintValidatorPointersData() argument
98 wprintf(L" Sch: %*ls'%ls'\n Doc: %*ls'%ls'\n", depth * 4, L" ", s, depth * 4, L" ", d); in PrintValidatorPointersData()
125 inline void PrintMethodData(const char* method, double d) { in PrintMethodData() argument
126 printf("%s, Data: '%lf'\n", method, d); in PrintMethodData()
219 Specification(SchemaDraft d) : draft(d), oapi(kVersionNone) {} in Specification()
344 bool Int(int i) { Number n; n.u.i = i; n.d = static_cast<double>(i); return WriteNumber(n); } in Int()
345 …bool Uint(unsigned u) { Number n; n.u.u = u; n.d = static_cast<double>(u); return WriteNumber(n); } in Uint()
346 …bool Int64(int64_t i) { Number n; n.u.i = i; n.d = static_cast<double>(i); return WriteNumber(n); } in Int64()
347 …bool Uint64(uint64_t u) { Number n; n.u.u = u; n.d = static_cast<double>(u); return WriteNumber(n)… in Uint64()
348 bool Double(double d) { in Double() argument
350 if (d < 0) n.u.i = static_cast<int64_t>(d); in Double()
351 else n.u.u = static_cast<uint64_t>(d); in Double()
352 n.d = d; in Double()
401 double d; member
411 const unsigned char* d = static_cast<const unsigned char*>(data); in WriteBuffer() local
413 h = Hash(h, d[i]); in WriteBuffer()
418 static uint64_t Hash(uint64_t h, uint64_t d) { in Hash() argument
420 h ^= d; in Hash()
1038 bool Double(Context& context, double d) const { in Double() argument
1039 RAPIDJSON_SCHEMA_PRINT(Method, "Schema::Double", d); in Double()
1045 if (!minimum_.IsNull() && !CheckDoubleMinimum(context, d)) in Double()
1048 if (!maximum_.IsNull() && !CheckDoubleMaximum(context, d)) in Double()
1051 if (!multipleOf_.IsNull() && !CheckDoubleMultipleOf(context, d)) in Double()
1302 RAPIDJSON_STRING_(Required, 'r', 'e', 'q', 'u', 'i', 'r', 'e', 'd')
1303 RAPIDJSON_STRING_(Dependencies, 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 'c', 'i', 'e', 's')
1305 …RAPIDJSON_STRING_(AdditionalProperties, 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'P', 'r'…
1311 …RAPIDJSON_STRING_(AdditionalItems, 'a', 'd', 'd', 'i', 't', 'i', 'o', 'n', 'a', 'l', 'I', 't', 'e'…
1321 RAPIDJSON_STRING_(DefaultValue, 'd', 'e', 'f', 'a', 'u', 'l', 't')
1324 RAPIDJSON_STRING_(Id, 'i', 'd')
1327 RAPIDJSON_STRING_(ReadOnly, 'r', 'e', 'a', 'd', 'O', 'n', 'l', 'y')
1630 bool CheckDoubleMinimum(Context& context, double d) const { in CheckDoubleMinimum() argument
1631 if (exclusiveMinimum_ ? d <= minimum_.GetDouble() : d < minimum_.GetDouble()) { in CheckDoubleMinimum()
1632 context.error_handler.BelowMinimum(d, minimum_, exclusiveMinimum_); in CheckDoubleMinimum()
1638 bool CheckDoubleMaximum(Context& context, double d) const { in CheckDoubleMaximum() argument
1639 if (exclusiveMaximum_ ? d >= maximum_.GetDouble() : d > maximum_.GetDouble()) { in CheckDoubleMaximum()
1640 context.error_handler.AboveMaximum(d, maximum_, exclusiveMaximum_); in CheckDoubleMaximum()
1646 bool CheckDoubleMultipleOf(Context& context, double d) const { in CheckDoubleMultipleOf() argument
1647 double a = std::abs(d), b = std::abs(multipleOf_.GetDouble()); in CheckDoubleMultipleOf()
1651 context.error_handler.NotMultipleOf(d, multipleOf_); in CheckDoubleMultipleOf()
1798 // printf("GetRemoteDocument: %d %d\n", spec.draft, spec.oapi);
2059 RAPIDJSON_STRING_(ErrorCode, 'e', 'r', 'r', 'o', 'r', 'C', 'o', 'd', 'e')
2065 …STRING_(SpecUnsupported, 'S', 'p', 'e', 'c', 'U', 'n', 's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd')
2069 RAPIDJSON_STRING_(RefInvalid, 'R', 'e', 'f', 'I', 'n', 'v', 'a', 'l', 'i', 'd')
2070 …ointerInvalid, 'R', 'e', 'f', 'P', 'o', 'i', 'n', 't', 'e', 'r', 'I', 'n', 'v', 'a', 'l', 'i', 'd')
2073 …der, 'R', 'e', 'f', 'N', 'o', 'R', 'e', 'm', 'o', 't', 'e', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r')
2075 …RAPIDJSON_STRING_(ReadOnlyAndWriteOnly, 'R', 'e', 'a', 'd', 'O', 'n', 'l', 'y', 'A', 'n', 'd', 'W'…
2076 RAPIDJSON_STRING_(RegexInvalid, 'R', 'e', 'g', 'e', 'x', 'I', 'n', 'v', 'a', 'l', 'i', 'd')
2082 …'s', 'o', 'n', '-', 's', 'c', 'h', 'e', 'm', 'a', '.', 'o', 'r', 'g', '/', 'd', 'r', 'a', 'f', 't'…
2083 …'s', 'o', 'n', '-', 's', 'c', 'h', 'e', 'm', 'a', '.', 'o', 'r', 'g', '/', 'd', 'r', 'a', 'f', 't'…
2084 …'s', 'o', 'n', '-', 's', 'c', 'h', 'e', 'm', 'a', '.', 'o', 'r', 'g', '/', 'd', 'r', 'a', 'f', 't'…
2085 …'s', 'o', 'n', '-', 's', 'c', 'h', 'e', 'm', 'a', '.', 'o', 'r', 'g', '/', 'd', 'r', 'a', 'f', 't'…
2086 …'s', 'o', 'n', '-', 's', 'c', 'h', 'e', 'm', 'a', '.', 'o', 'r', 'g', '/', 'd', 'r', 'a', 'f', 't'…
2087 …'s', 'o', 'n', '-', 's', 'c', 'h', 'e', 'm', 'a', '.', 'o', 'r', 'g', '/', 'd', 'r', 'a', 'f', 't'…
2088 …'s', 'o', 'n', '-', 's', 'c', 'h', 'e', 'm', 'a', '.', 'o', 'r', 'g', '/', 'd', 'r', 'a', 'f', 't'…
2788 RAPIDJSON_STRING_(Expected, 'e', 'x', 'p', 'e', 'c', 't', 'e', 'd')
2790 RAPIDJSON_STRING_(Disallowed, 'd', 'i', 's', 'a', 'l', 'l', 'o', 'w', 'e', 'd')
2793 RAPIDJSON_STRING_(ErrorCode, 'e', 'r', 'r', 'o', 'r', 'C', 'o', 'd', 'e')
2795 RAPIDJSON_STRING_(Duplicates, 'd', 'u', 'p', 'l', 'i', 'c', 'a', 't', 'e', 's')
2837 bool Double(double d) { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Double, (CurrentContext(), d), (d)); }