Lines Matching refs:mContent
146 Value::Value() : mContent(NULL) in Value()
151 : mContent(value.mContent ? value.mContent->clone() : NULL) in Value()
157 delete mContent; in ~Value()
168 if ( (lhs.mContent == NULL) in operator ==()
169 || (rhs.mContent == NULL) in operator ==()
174 return *lhs.mContent == *rhs.mContent; in operator ==()
179 std::swap(mContent, rhs.mContent); in swap()
185 delete mContent; in operator =()
186 mContent = rhs.mContent in operator =()
187 ? rhs.mContent->clone() in operator =()
194 return mContent == NULL; in empty()
199 delete mContent; in clear()
200 mContent = NULL; in clear()
205 const void* t_info(mContent ? mContent->type_ptr() : NULL); in parcelType()
230 return mContent != NULL in type()
231 ? mContent->type() in type()
239 return mContent \
240 ? internal_type_ptr<T>() == mContent->type_ptr() \
245 return mContent \
246 ? mContent->get(out) \
255 delete mContent; \
256 mContent = new Content< T >(rhs); \
260 : mContent(new Content< T >(value)) \
307 const void* t_info(mContent?mContent->type_ptr():NULL); \ in writeToParcel()
312 RETURN_IF_FAILED(parcel->TYPEMETHOD(static_cast<const Content<T>*>(mContent)->mValue)); \ in writeToParcel()
317 RETURN_IF_FAILED(static_cast<const Content<T>*>(mContent)->mValue.writeToParcel(parcel)); \ in writeToParcel()
368 mContent = new Content<T>(); \ in readFromParcel()
369 RETURN_IF_FAILED(parcel->TYPEMETHOD(&static_cast<Content<T>*>(mContent)->mValue)); \ in readFromParcel()
373 mContent = new Content<T>(); \ in readFromParcel()
374 RETURN_IF_FAILED(static_cast<Content<T>*>(mContent)->mValue.readFromParcel(parcel)); \ in readFromParcel()
381 delete mContent; in readFromParcel()
382 mContent = NULL; in readFromParcel()