Home
last modified time | relevance | path

Searched refs:JSON_ASSERT_MESSAGE (Results 1 – 5 of 5) sorted by relevance

/external/jsoncpp/src/lib_json/
Djson_internalarray.inl56 JSON_ASSERT_MESSAGE(newIndexes, "Couldn't realloc.");
119 JSON_ASSERT_MESSAGE(newIndexes, "Couldn't realloc.");
176 JSON_ASSERT_MESSAGE( it.array_ &&
192 JSON_ASSERT_MESSAGE( it.array_ && it.currentPageIndex_ == it.array_->pages_
217 JSON_ASSERT_MESSAGE( it.array_ &&
264 JSON_ASSERT_MESSAGE( pageCount_ >= minNewPages,
369JSON_ASSERT_MESSAGE( pageCount_ >= minNewPages, "ValueInternalArray::reserve(): bad reallocation" …
Djson_internalmap.inl438 JSON_ASSERT_MESSAGE( bucketsSize_ > 0, "ValueInternalMap::unsafeAdd(): internal logic error." );
534 JSON_ASSERT_MESSAGE( iterator.bucketIndex_ <= iterator.map_->bucketsSize_,
547 JSON_ASSERT_MESSAGE( iterator.map_, "Attempting to iterator using invalid iterator." );
551 JSON_ASSERT_MESSAGE( iterator.link_ != 0,
569 JSON_ASSERT_MESSAGE( iterator.map_, "Attempting to iterate using invalid iterator." );
572JSON_ASSERT_MESSAGE( iterator.bucketIndex_ > 0, "Attempting to iterate beyond beginning." );
584 JSON_ASSERT_MESSAGE( iterator.link_, "Attempting to iterate using invalid iterator." );
591 JSON_ASSERT_MESSAGE( iterator.link_, "Attempting to iterate using invalid iterator." );
600 JSON_ASSERT_MESSAGE( iterator.link_, "Attempting to iterate using invalid iterator." );
Djson_value.cpp94 JSON_ASSERT_MESSAGE( newString != 0, "Failed to allocate string value buffer" ); in duplicateStringValue()
158 JSON_ASSERT_MESSAGE( text[0]=='\0' || text[0]=='/', "Comments must start with /"); in setComment()
734 JSON_ASSERT_MESSAGE(isInt(), "LargestInt out of Int range"); in asInt()
737 JSON_ASSERT_MESSAGE(isInt(), "LargestUInt out of Int range"); in asInt()
740 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range"); in asInt()
759 JSON_ASSERT_MESSAGE(isUInt(), "LargestInt out of UInt range"); in asUInt()
762 JSON_ASSERT_MESSAGE(isUInt(), "LargestUInt out of UInt range"); in asUInt()
765 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), "double out of UInt range"); in asUInt()
788 JSON_ASSERT_MESSAGE(isInt64(), "LargestUInt out of Int64 range"); in asInt64()
791 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), "double out of Int64 range"); in asInt64()
[all …]
/external/jsoncpp/chromium-overrides/src/lib_json/
Djson_value.cpp98 JSON_ASSERT_MESSAGE( newString != 0, "Failed to allocate string value buffer" ); in duplicateStringValue()
162 JSON_ASSERT_MESSAGE( text[0]=='\0' || text[0]=='/', "Comments must start with /"); in setComment()
738 JSON_ASSERT_MESSAGE(isInt(), "LargestInt out of Int range"); in asInt()
741 JSON_ASSERT_MESSAGE(isInt(), "LargestUInt out of Int range"); in asInt()
744 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range"); in asInt()
763 JSON_ASSERT_MESSAGE(isUInt(), "LargestInt out of UInt range"); in asUInt()
766 JSON_ASSERT_MESSAGE(isUInt(), "LargestUInt out of UInt range"); in asUInt()
769 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), "double out of UInt range"); in asUInt()
792 JSON_ASSERT_MESSAGE(isInt64(), "LargestUInt out of Int64 range"); in asInt64()
795 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), "double out of Int64 range"); in asInt64()
[all …]
/external/jsoncpp/include/json/
Dassertions.h29 #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) { JSON_FAIL_MESSAGE( message … macro