Home
last modified time | relevance | path

Searched refs:JSONCPP_NULL (Results 1 – 10 of 10) sorted by relevance

/third_party/jsoncpp/src/test_lib_json/
Djsontest.cpp77 : predicateId_(1), lastUsedPredicateId_(0), messageTarget_(JSONCPP_NULL) { in TestResult()
80 rootPredicateNode_.next_ = JSONCPP_NULL; in TestResult()
92 for (; lastNode != JSONCPP_NULL; lastNode = lastNode->next_) { in addFailure()
125 while (lastNode->next_ != JSONCPP_NULL && in popPredicateContext()
126 lastNode->next_->next_ != JSONCPP_NULL) { in popPredicateContext()
131 if (tail != JSONCPP_NULL && tail->failure_ != JSONCPP_NULL) { in popPredicateContext()
136 lastNode->next_ = JSONCPP_NULL; in popPredicateContext()
188 if (messageTarget_ != JSONCPP_NULL) { in addToLastFailure()
209 TestCase::TestCase() : result_(JSONCPP_NULL) {} in TestCase()
Dfuzz.cpp47 reader->parse(data_str, data_str + size, &root, JSONCPP_NULL); in LLVMFuzzerTestOneInput()
Dmain.cpp226 JSONTEST_ASSERT(foundId != JSONCPP_NULL); in JSONTEST_FIXTURE_LOCAL()
232 JSONTEST_ASSERT(JSONCPP_NULL == foundUnknownId); in JSONTEST_FIXTURE_LOCAL()
238 JSONTEST_ASSERT(JSONCPP_NULL == foundYetAnotherId); in JSONTEST_FIXTURE_LOCAL()
241 JSONTEST_ASSERT(demandedYetAnotherId != JSONCPP_NULL); in JSONTEST_FIXTURE_LOCAL()
266 Json::Value* gotPtr = JSONCPP_NULL; in JSONTEST_FIXTURE_LOCAL()
268 JSONTEST_ASSERT(JSONCPP_NULL == gotPtr); in JSONTEST_FIXTURE_LOCAL()
3353 {__LINE__, "[null]", 1, JSONCPP_NULL}, in JSONTEST_FIXTURE_LOCAL()
3354 {__LINE__, "[,]", 2, JSONCPP_NULL}, in JSONTEST_FIXTURE_LOCAL()
3355 {__LINE__, "[,,,]", 4, JSONCPP_NULL}, in JSONTEST_FIXTURE_LOCAL()
3356 {__LINE__, "[null,]", 2, JSONCPP_NULL}, in JSONTEST_FIXTURE_LOCAL()
[all …]
Djsontest.h73 const char* expr = JSONCPP_NULL);
/third_party/jsoncpp/src/lib_json/
Djson_value.cpp114 if (newString == JSONCPP_NULL) { in duplicateStringValue()
135 if (newString == JSONCPP_NULL) { in duplicateAndPrefixStringValue()
229 : cstr_(JSONCPP_NULL), index_(index) {} in CZString()
241 (other.storage_.policy_ != noDuplication && other.cstr_ != JSONCPP_NULL in CZString()
258 other.cstr_ = JSONCPP_NULL; in CZString()
285 other.cstr_ = JSONCPP_NULL; in operator =()
397 JSON_ASSERT_MESSAGE(value != JSONCPP_NULL, in Value()
502 if ((value_.string_ == JSONCPP_NULL) || in operator <()
503 (other.value_.string_ == JSONCPP_NULL)) { in operator <()
504 return other.value_.string_ != JSONCPP_NULL; in operator <()
[all …]
Djson_reader.cpp127 lastValueEnd_ = JSONCPP_NULL; in parse()
128 lastValue_ = JSONCPP_NULL; in parse()
382 assert(lastValue_ != JSONCPP_NULL); in addComment()
846 info.extra_ = JSONCPP_NULL; in pushError()
976 Location extra = JSONCPP_NULL);
1020 : errors_(), document_(), begin_(JSONCPP_NULL), end_(JSONCPP_NULL), in OurReader()
1021 current_(JSONCPP_NULL), lastValueEnd_(JSONCPP_NULL), in OurReader()
1022 lastValue_(JSONCPP_NULL), lastValueHasAComment_(false), commentsBefore_(), in OurReader()
1035 lastValueEnd_ = JSONCPP_NULL; in parse()
1036 lastValue_ = JSONCPP_NULL; in parse()
[all …]
Djson_valueiterator.inl101 *end = JSONCPP_NULL;
102 return JSONCPP_NULL;
Djson_writer.cpp266 if (value == JSONCPP_NULL) in valueToQuotedStringN()
645 : document_(JSONCPP_NULL), rightMargin_(74), in StyledStreamWriter()
661 document_ = JSONCPP_NULL; // Forget the stream, for safety. in write()
935 sout_ = JSONCPP_NULL; in write()
1154 StreamWriter::StreamWriter() : sout_(JSONCPP_NULL) {} in StreamWriter()
/third_party/jsoncpp/include/json/
Dconfig.h91 #define JSONCPP_NULL nullptr macro
98 #define JSONCPP_NULL NULL macro
Dreader.h214 Location extra = JSONCPP_NULL);