float ScCLocale::toFloatC(const QString & str, bool * ok) { double ret( that()->qLocale.toFloat(str, ok) ); return ret; }
QString ScCLocale::toQStringC(double d, int prec) { return that()->qLocale.toString(d, 'f', prec); }
virtual void onFrameAvailable() { sp<Layer> that(mLayer.promote()); if (that != 0) { that->onFrameQueued(); } }
double ScCLocale::toDoubleC(const QString & str, bool * ok) { double ret( that()->qLocale.toDouble(str, ok) ); return ret; }
SkMemoryStream* SkMemoryStream::fork() const { SkAutoTDelete<SkMemoryStream> that(this->duplicate()); that->seek(fOffset); return that.release(); }
SkManagedStream* SkManagedStream::fork() const { SkAutoTDelete<SkManagedStream> that(fCreateNew(this)); that->seek(getPosition()); return that.release(); }
template<class T> BOOST_FORCEINLINE box<T> boxify(T const& v) { box<T> that(v); return that; }
SkMemoryStream* SkMemoryStream::fork() const { std::unique_ptr<SkMemoryStream> that(this->duplicate()); that->seek(fOffset); return that.release(); }
memory::fixed_allocator<Type> share( boost::array<Type,Size>& values) { memory::fixed_allocator<Type> that(values.begin(),values.end()); return that; }
memory::fixed_allocator<Type> share( Type (&values)[Size]) { memory::fixed_allocator<Type> that(&values[0], &values[0]+Size); return that; }
typename TypeTraits::EnableIf<!TypeTraits::IsArray<TString>::value, JsonVariant>::type parse(const TString &json, uint8_t nestingLimit = ARDUINOJSON_DEFAULT_NESTING_LIMIT) { return Internals::makeParser(that(), json, nestingLimit).parseVariant(); }
JsonObject &parseObject( TString &json, uint8_t nestingLimit = ARDUINOJSON_DEFAULT_NESTING_LIMIT) { return Internals::makeParser(that(), json, nestingLimit).parseObject(); }
JsonArray &parseArray( TString *json, uint8_t nestingLimit = ARDUINOJSON_DEFAULT_NESTING_LIMIT) { return Internals::makeParser(that(), json, nestingLimit).parseArray(); }
const QMap< FMFontDb::InfoItem, QString >& FontStrings::Names() { FontStrings *that(getInstance()); return that->m_name; }
SkStreamAsset* SkFILEStream::fork() const { SkAutoTDelete<SkStreamAsset> that(this->duplicate()); that->seek(this->getPosition()); return that.release(); }
const QMap< FontStrings::PanoseKey, QMap < int , QString > >& FontStrings::Panose() { FontStrings *that(getInstance()); return that->m_panoseMap; }
SkDWriteFontFileStream* SkDWriteFontFileStream::fork() const { SkAutoTUnref<SkDWriteFontFileStream> that(this->duplicate()); that->seek(fPos); return that.detach(); }