Home
last modified time | relevance | path

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

/external/opencv3/modules/core/include/opencv2/core/
Dcvstd.hpp569 char* cstr_; member in cv::String
584 : cstr_(0), len_(0) in String()
589 : cstr_(str.cstr_), len_(str.len_) in String()
591 if (cstr_) in String()
592 CV_XADD(((int*)cstr_)-1, 1); in String()
597 : cstr_(0), len_(0) in String()
604 CV_XADD(((int*)str.cstr_)-1, 1); in String()
605 cstr_ = str.cstr_; in String()
609 memcpy(allocate(len), str.cstr_ + pos, len); in String()
614 : cstr_(0), len_(0) in String()
[all …]
Dcvstd.inl.hpp76 : cstr_(0), len_(0) in String()
87 : cstr_(0), len_(0) in String()
118 return std::string(cstr_, len_); in operator std::string()
127 memcpy(s.cstr_, lhs.cstr_, lhs.len_); in operator +()
128 memcpy(s.cstr_ + lhs.len_, rhs.c_str(), rhslen); in operator +()
138 memcpy(s.cstr_, lhs.c_str(), lhslen); in operator +()
139 memcpy(s.cstr_ + lhslen, rhs.cstr_, rhs.len_); in operator +()
Dpersistence.hpp1189 inline String::String(const FileNode& fn): cstr_(0), len_(0) { read(fn, *this, *this); } in String()
/external/opencv3/modules/core/src/
Dstl.cpp52 cstr_ = (char*)(data + 1); in allocate()
54 cstr_[len] = 0; in allocate()
55 return cstr_; in allocate()
61 int* data = (int*)cstr_; in deallocate()
63 cstr_ = 0; in deallocate()
/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/jsoncpp/include/json/
Dvalue.h183 const char* cstr_; variable