Home
last modified time | relevance | path

Searched refs:fData (Results 1 – 25 of 56) sorted by relevance

123

/external/skia/include/utils/
DSkMatrix44.h68 SkScalar fData[4]; member
74 memcpy(fData, src.fData, sizeof(fData)); in SkVector4()
77 fData[0] = x;
78 fData[1] = y;
79 fData[2] = z;
80 fData[3] = w;
84 memcpy(fData, src.fData, sizeof(fData));
89 return fData[0] == v.fData[0] && fData[1] == v.fData[1] &&
90 fData[2] == v.fData[2] && fData[3] == v.fData[3];
96 return fData[0] == x && fData[1] == y &&
[all …]
/external/icu4c/i18n/
Drbt.cpp34 fData = 0; in _construct()
53 fData = (TransliterationRuleData*)parser.dataVector.orphanElementAt(0); in _construct()
54 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
143 fData((TransliterationRuleData*)theData), // cast away const in RuleBasedTransliterator()
145 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
155 fData(theData), in RuleBasedTransliterator()
157 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
165 Transliterator(other), fData(other.fData), in RuleBasedTransliterator()
178 fData = new TransliterationRuleData(*other.fData); in RuleBasedTransliterator()
188 delete fData; in ~RuleBasedTransliterator()
[all …]
/external/skia/src/pdf/
DSkPDFStream.cpp22 fData(stream) { in SkPDFStream()
28 fData = stream; in SkPDFStream()
29 fData->unref(); // SkRefPtr and new both took a reference. in SkPDFStream()
35 fData(pdfStream.fData) { in SkPDFStream()
67 stream->write(fData->getMemoryBase(), fData->getLength()); in emitObject()
80 strlen(" stream\n\nendstream") + fData->getLength(); in getOutputSize()
86 fData = stream; in setData()
94 SkAssertResult(SkFlate::Deflate(fData.get(), &compressedData)); in populate()
95 if (compressedData.getOffset() < fData->getLength()) { in populate()
98 fData = stream; in populate()
[all …]
/external/icu4c/common/
Drbbi.cpp67 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
69 if(fData == 0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
81fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); // status checked in const… in RuleBasedBreakIterator()
83 if(fData == 0) { in RuleBasedBreakIterator()
110 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
112 if(fData == 0) { in RuleBasedBreakIterator()
128 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
130 if(fData == 0) { in RuleBasedBreakIterator()
203 if (fData != NULL) { in ~RuleBasedBreakIterator()
204 fData->removeReference(); in ~RuleBasedBreakIterator()
[all …]
Duresbund.c103 UResourceDataEntry *resB = resBundle->fData; in getFallbackData()
109 …*res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); /* try to get … in getFallbackData()
117 … *res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); in getFallbackData()
131 return (&(resB->fData)); in getFallbackData()
145 res_unload(&(entry->fData)); in free_entry()
380 res_load(&(r->fData), r->fPath, r->fName, status); in init_entry()
388 if (r->fData.usesPoolBundle) { in init_entry()
391 const int32_t *poolIndexes = r->fPool->fData.pRoot + 1; in init_entry()
392 … if(r->fData.pRoot[1 + URES_INDEX_POOL_CHECKSUM] == poolIndexes[URES_INDEX_POOL_CHECKSUM]) { in init_entry()
393 … r->fData.poolBundleKeys = (const char *)(poolIndexes + (poolIndexes[URES_INDEX_LENGTH] & 0xff)); in init_entry()
[all …]
Dtriedict.cpp412 fData = (const CompactTrieHeader *) udata_getMemory(dataObj); in CompactTrieDictionary()
414 if (fData->magic != COMPACT_TRIE_MAGIC_1) { in CompactTrieDictionary()
416 fData = NULL; in CompactTrieDictionary()
423 fData = (const CompactTrieHeader *) data; in CompactTrieDictionary()
425 if (fData->magic != COMPACT_TRIE_MAGIC_1) { in CompactTrieDictionary()
427 fData = NULL; in CompactTrieDictionary()
435 fData = compactMutableTrieDictionary(dict, status); in CompactTrieDictionary()
441 uprv_free((void *)fData); in ~CompactTrieDictionary()
450 return fData->size; in dataSize()
455 return fData; in data()
[all …]
/external/skia/src/views/
DSkImageView.cpp22 fData.fAnim = NULL; // handles initializing the other union values in SkImageView()
172 SkAnimator::DifferenceType diff = fData.fAnim->draw(canvas, &paint, now); in onDraw()
181 fData.fAnim->getInvalBounds(&bounds); in onDraw()
187 canvas->drawBitmap(*fData.fBitmap, 0, 0, &paint); in onDraw()
216 if (fData.fAnim) // test is valid for all union values in freeData()
219 delete fData.fAnim; in freeData()
221 delete fData.fBitmap; in freeData()
223 fData.fAnim = NULL; // valid for all union values in freeData()
239 if (SkScalarIsNaN(width = fData.fAnim->getScalar("dimensions", "x")) || in getDataBounds()
240 SkScalarIsNaN(height = fData.fAnim->getScalar("dimensions", "y"))) in getDataBounds()
[all …]
/external/skia/include/core/
DSkBuffer.h24 SkRBuffer() : fData(0), fPos(0), fStop(0) {} in SkRBuffer()
29 fData = (const char*)data; in SkRBuffer()
37 fData = (const char*)data; in SkRBuffer()
45 size_t pos() const { return fPos - fData; } in pos()
49 size_t size() const { return fStop - fData; } in size()
80 const char* fData; variable
95 SkWBuffer() : fData(0), fPos(0), fStop(0) {} in SkWBuffer()
100 fData = (char*)data; in reset()
107 fData = (char*)data; in reset()
112 size_t pos() const { return fPos - fData; } in pos()
[all …]
DSkData.h104 fData = data->data(); in SkAutoDataUnref()
107 fData = NULL; in SkAutoDataUnref()
115 const void* data() const { return fData; } in data()
117 return reinterpret_cast<const uint8_t*> (fData); in bytes()
126 fData = NULL; in release()
133 const void* fData; variable
DSkTDArray.h21 fData = NULL; in SkTDArray()
30 fData = NULL; in SkTDArray()
35 fData = (ArrayT*)fArray; in SkTDArray()
45 fData = NULL; in SkTDArray()
76 SkTSwap(fData, other.fData); in swap()
89 SkDEBUGCODE(fData = NULL;) in detach()
117 fData = NULL; in reset()
284 SkASSERT(fData == (ArrayT*)fArray); in validate()
294 ArrayT* fData; variable
308 fData = (ArrayT*)fArray; in growBy()
/external/webkit/Source/JavaScriptGlue/
DJSObject.cpp35 …: JSBase(kJSObjectTypeID), fCallBacks(*callBacks), fMarkProc(markProc), fData(data), fDataType(dat… in JSUserObject()
43 fCallBacks.dispose(fData); in ~JSUserObject()
52 result = fCallBacks.copyPropertyNames(fData); in CopyPropertyNames()
62 result = (JSUserObject*)fCallBacks.copyProperty(fData, propertyName); in CopyProperty()
71 fCallBacks.setProperty(fData, propertyName, (JSObjectRef)value); in SetProperty()
96 result = (JSUserObject*)fCallBacks.callFunction(fData, (JSObjectRef)thisObj, args); in CallFunction()
107 result = (JSUserObject*)fCallBacks.copyCFValue(fData); in CopyCFValue()
141 fMarkProc(fData); in Mark()
147 return fData; in GetData()
/external/skia/src/ports/
DSkXMLPullParser_expat.cpp127 Data fData; member
148 fImpl->fData.fParser = p; in onInit()
149 fImpl->fData.fCurr = &fCurr; in onInit()
153 XML_SetUserData(p, &fImpl->fData); in onInit()
166 XML_ParserFree(fImpl->fData.fParser); in onExit()
173 if (Data::RETURN_END_TAG == fImpl->fData.fState) in onNextToken()
175 fImpl->fData.fState = Data::NORMAL; in onNextToken()
176 fCurr.fName = fImpl->fData.fEndTag; // restore name from (below) save in onNextToken()
180 fImpl->fData.fAlloc.reuse(); in onNextToken()
182 XML_Parser p = fImpl->fData.fParser; in onNextToken()
[all …]
/external/skia/src/core/
DSkRefDict.cpp16 SkRefCnt* fData; member
33 return rec->fData; in find()
52 rec->fData->unref(); in set()
53 rec->fData = data; in set()
56 rec->fData->unref(); in set()
73 rec->fData = data; in set()
83 rec->fData->unref(); in removeAll()
DSkStream.cpp263 fData = SkData::NewEmpty(); in SkMemoryStream()
268 fData = SkData::NewFromMalloc(sk_malloc_throw(size), size); in SkMemoryStream()
273 fData = newFromParams(src, size, copyData); in SkMemoryStream()
278 fData->unref(); in ~SkMemoryStream()
282 fData->unref(); in setMemoryOwned()
283 fData = SkData::NewFromMalloc(src, size); in setMemoryOwned()
288 fData->unref(); in setMemory()
289 fData = newFromParams(src, size, copyData); in setMemory()
294 fData->ref(); in copyToData()
295 return fData; in copyToData()
[all …]
DSkBuffer.cpp16 SkASSERT((fData != 0 && fStop == 0) || fPos + size <= fStop); in readNoSizeCheck()
41 return fData == NULL ? NULL : result; in skip()
46 SkASSERT(fData == 0 || fStop == 0 || fPos + size <= fStop); in writeNoSizeCheck()
47 if (fData && buffer) in writeNoSizeCheck()
57 if (n && fData) in padToAlign4()
DSkAAClip.cpp121 const uint8_t* data() const { return fData; } in data()
127 const uint8_t* fData; member in SkAAClip::Iter
137 fData = NULL; in Iter()
144 fData = head->data() + fCurrYOff->fOffset; in Iter()
162 fData = NULL; in next()
165 fData += curr->fOffset - prev->fOffset; in next()
865 SkTDArray<uint8_t>* fData; member
885 delete row->fData; in ~Builder()
907 SkASSERT(row->fData); in addRun()
908 SkASSERT(0 == row->fData->count()); in addRun()
[all …]
/external/icu4c/tools/ctestfw/
Ddatamap.cpp38 delete fData; in ~RBDataMap()
44 fData = new Hashtable(TRUE, status); in RBDataMap()
45 fData->setValueDeleter(deleteResBund); in RBDataMap()
53 fData = new Hashtable(TRUE, status); in RBDataMap()
54 fData->setValueDeleter(deleteResBund); in RBDataMap()
63 fData = new Hashtable(TRUE, status); in RBDataMap()
64 fData->setValueDeleter(deleteResBund); in RBDataMap()
71 fData->removeAll(); in init()
75 fData->put(UnicodeString(ures_getKey(t), -1, US_INV), new ResourceBundle(t, status), status); in init()
83 fData->removeAll(); in init()
[all …]
Dtestdata.cpp46 fData(NULL), in RBTestData()
55 fData(data), in RBTestData()
85 ures_close(fData); in ~RBTestData()
/external/skia/src/animator/
DSkTypedArray.cpp34 fData = NULL; in SkDS32Array()
43 fData = NULL; in SkDS32Array()
56 fData = NULL; in SkDS32Array()
62 fData = (int32_t (*)[kDebugArraySize]) fArray; in SkDS32Array()
97 SkTSwap(fData, other.fData); in swap()
146 fData = (int32_t (*)[kDebugArraySize]) fArray; in growBy()
DSkDrawBitmap.cpp135 base64.fData = NULL; in SkImage()
140 delete[] base64.fData; in ~SkImage()
183 if (base64.fData) { in resolve()
185 SkImageDecoder::DecodeMemory(base64.fData, base64.fLength, &fBitmap); in resolve()
/external/skia/src/utils/
DSkBase64.cpp29 SkBase64::SkBase64() : fLength((size_t) -1), fData(NULL) { in SkBase64()
38 unsigned char* dst = (unsigned char*) fData; in decode()
39 const unsigned char* dstStart = (const unsigned char*) fData; in decode()
161 fData = new char[fLength]; // should use sk_malloc/sk_free in decode()
180 SkASSERT(strcmp((const char*) (all + offset), tryMe.fData) == 0); in UnitTest()
182 delete[] tryMe.fData; in UnitTest()
DSkBase64.h25 char* getData() { return fData; } in getData()
40 char* fData; member
/external/skia/src/gpu/
DGrBinHashKey.h44 memcpy(&fData, data, KeySize); in setKeyData()
65 return memcmp(fData, key.fData, KeySize); in compare()
87 uint8_t fData[KeySize]; //Buffer for key storage variable
/external/skia/samplecode/
DSampleSkLayer.cpp47 dst.fData[0], dst.fData[1], dst.fData[2], dst.fData[3], in test_map()
49 dst.fData[0] == x1 && dst.fData[1] == y1 && dst.fData[2] == z1); in test_map()
/external/skia/emoji/
DEmojiFont.cpp58 const void* fData; member
88 rec->fData = fact->GetImageBinaryFromAndroidPua(pua, &rec->fSize); in get_encoderec()
89 if (NULL == rec->fData) { in get_encoderec()
109 if (!SkImageDecoder::DecodeMemory(rec->fData, rec->fSize, bitmap)) { in get_bitmap()

123