Example #1
0
float ScCLocale::toFloatC(const QString & str, bool * ok) 
{
	double ret( that()->qLocale.toFloat(str, ok) );
	return ret;
}
Example #2
0
QString ScCLocale::toQStringC(double d, int prec)
{
	return that()->qLocale.toString(d, 'f', prec);
}
Example #3
0
 virtual void onFrameAvailable() {
     sp<Layer> that(mLayer.promote());
     if (that != 0) {
         that->onFrameQueued();
     }
 }
Example #4
0
double ScCLocale::toDoubleC(const QString & str, bool * ok) 
{
	double ret( that()->qLocale.toDouble(str, ok) );
	return ret;
}
Example #5
0
SkMemoryStream* SkMemoryStream::fork() const {
    SkAutoTDelete<SkMemoryStream> that(this->duplicate());
    that->seek(fOffset);
    return that.release();
}
Example #6
0
SkManagedStream* SkManagedStream::fork() const {
    SkAutoTDelete<SkManagedStream> that(fCreateNew(this));
    that->seek(getPosition());
    return that.release();
}
Example #7
0
File: box.hpp Project: Quanteek/nt2
 template<class T> BOOST_FORCEINLINE box<T> boxify(T const& v)
 {
   box<T> that(v);
   return that;
 }
Example #8
0
SkMemoryStream* SkMemoryStream::fork() const {
    std::unique_ptr<SkMemoryStream> that(this->duplicate());
    that->seek(fOffset);
    return that.release();
}
Example #9
0
 memory::fixed_allocator<Type>
 share( boost::array<Type,Size>& values)
 {
   memory::fixed_allocator<Type> that(values.begin(),values.end());
   return that;
 }
Example #10
0
 memory::fixed_allocator<Type>
 share( Type (&values)[Size])
 {
   memory::fixed_allocator<Type> that(&values[0], &values[0]+Size);
   return that;
 }
Example #11
0
 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();
 }
Example #12
0
 JsonObject &parseObject(
     TString &json, uint8_t nestingLimit = ARDUINOJSON_DEFAULT_NESTING_LIMIT) {
   return Internals::makeParser(that(), json, nestingLimit).parseObject();
 }
Example #13
0
 JsonArray &parseArray(
     TString *json, uint8_t nestingLimit = ARDUINOJSON_DEFAULT_NESTING_LIMIT) {
   return Internals::makeParser(that(), json, nestingLimit).parseArray();
 }
Example #14
0
const QMap< FMFontDb::InfoItem, QString >& FontStrings::Names()
{
    FontStrings *that(getInstance());
    return that->m_name;
}
Example #15
0
SkStreamAsset* SkFILEStream::fork() const {
    SkAutoTDelete<SkStreamAsset> that(this->duplicate());
    that->seek(this->getPosition());
    return that.release();
}
Example #16
0
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();
}