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