Home
last modified time | relevance | path

Searched refs:cstr_ (Results 1 – 4 of 4) sorted by relevance

/external/jsoncpp/src/lib_json/
Djson_value.cpp167 Value::CZString::CZString(ArrayIndex index) : cstr_(0), index_(index) {} in CZString()
170 : cstr_(allocate == duplicate ? duplicateStringValue(cstr) : cstr), in CZString()
174 : cstr_(other.index_ != noDuplication && other.cstr_ != 0 in CZString()
175 ? duplicateStringValue(other.cstr_) in CZString()
176 : other.cstr_), in CZString()
177 index_(other.cstr_ in CZString()
183 if (cstr_ && index_ == duplicate) in ~CZString()
184 releaseStringValue(const_cast<char*>(cstr_)); in ~CZString()
188 std::swap(cstr_, other.cstr_); in swap()
198 if (cstr_) in operator <()
[all …]
/external/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2632 Value::CZString::CZString(ArrayIndex aindex) : cstr_(0), index_(aindex) {} in CZString()
2635 : cstr_(str) { in CZString()
2642 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2643 ? duplicateStringValue(other.cstr_, other.storage_.length_) in CZString()
2644 : other.cstr_) { in CZString()
2645 storage_.policy_ = (other.cstr_ in CZString()
2654 : cstr_(other.cstr_), index_(other.index_) { in CZString()
2655 other.cstr_ = nullptr; in CZString()
2660 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2661 releaseStringValue(const_cast<char*>(cstr_)); in ~CZString()
[all …]
Djson.h621 char const* cstr_; // actually, a prefixed string, unless policy is noDup variable
/external/jsoncpp/include/json/
Dvalue.h183 const char* cstr_; variable