Home
last modified time | relevance | path

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

123456

/external/dng_sdk/source/
Ddng_matrix.cpp57 fData [row] [col] = 0.0; in dng_matrix()
76 fData [row] [col] = m.fData [row] [col]; in dng_matrix()
102 fData [j] [j] = 1.0; in SetIdentity()
125 if (fData [j] [k] != m.fData [j] [k]) in operator ==()
160 if (fData [j] [k] != 0.0) in IsDiagonal()
185 real64 m = fData [0] [0]; in MaxEntry()
191 m = Max_real64 (m, fData [j] [k]); in MaxEntry()
211 real64 m = fData [0] [0]; in MinEntry()
217 m = Min_real64 (m, fData [j] [k]); in MinEntry()
234 fData [j] [k] *= factor; in Scale()
[all …]
Ddng_string.cpp520 : fData () in dng_string()
530 : fData () in dng_string()
566 if (fData.Buffer ()) in Get()
569 return fData.Buffer_char (); in Get()
600 fData.Clear (); in Set()
618 fData.Clear (); in Set()
620 fData.Allocate (SafeUint32Add (newLen, 1)); in Set()
624 char *d = fData.Buffer_char (); in Set()
1336 uint8 *s = fData.Buffer_uint8 (); in Truncate()
1361 if (fData.Buffer ()) in TrimTrailingBlanks()
[all …]
Ddng_opcodes.cpp170 , fData () in dng_opcode_Unknown()
179 fData.Reset (host.Allocate (size)); in dng_opcode_Unknown()
181 stream.Get (fData->Buffer (), in dng_opcode_Unknown()
182 fData->LogicalSize ()); in dng_opcode_Unknown()
189 DumpHexAscii (fData->Buffer_uint8 (), in dng_opcode_Unknown()
190 fData->LogicalSize ()); in dng_opcode_Unknown()
205 if (fData.Get ()) in PutData()
208 stream.Put_uint32 (fData->LogicalSize ()); in PutData()
210 stream.Put (fData->Buffer (), in PutData()
211 fData->LogicalSize ()); in PutData()
/external/icu/icu4c/source/i18n/
Drbt.cpp37 fData = 0; in _construct()
56 fData = (TransliterationRuleData*)parser.dataVector.orphanElementAt(0); in _construct()
57 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
146 fData((TransliterationRuleData*)theData), // cast away const in RuleBasedTransliterator()
148 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
158 fData(theData), in RuleBasedTransliterator()
160 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
168 Transliterator(other), fData(other.fData), in RuleBasedTransliterator()
181 fData = new TransliterationRuleData(*other.fData); in RuleBasedTransliterator()
191 delete fData; in ~RuleBasedTransliterator()
[all …]
/external/skia/include/core/
DSkMatrix44.h89 SkScalar fData[4]; member
95 memcpy(fData, src.fData, sizeof(fData)); in SkVector4()
98 fData[0] = x;
99 fData[1] = y;
100 fData[2] = z;
101 fData[3] = w;
105 memcpy(fData, src.fData, sizeof(fData));
110 return fData[0] == v.fData[0] && fData[1] == v.fData[1] &&
111 fData[2] == v.fData[2] && fData[3] == v.fData[3];
117 return fData[0] == x && fData[1] == y &&
[all …]
DSkWriter32.h48 fData = (uint8_t*)external;
63 return (uint32_t*)(fData + offset); in reserve()
74 return *(T*)(fData + offset); in readTAt()
85 *(T*)(fData + offset) = value; in overwriteTAt()
227 memcpy(dst, fData, fUsed); in flatten()
231 return stream->write(fData, fUsed); in writeToStream()
247 uint8_t* fData; // Points to either fInternal or fExternal. variable
264 void reset() {this->INHERITED::reset(fData.fStorage, SIZE); } in reset()
271 } fData; variable
/external/icu/icu4c/source/common/
Drbbi.cpp69 fData = new RBBIDataWrapper(data, status); // status checked in constructor in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
71 if(fData == 0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
97 fData = new RBBIDataWrapper(data, RBBIDataWrapper::kDontAdopt, status); in RuleBasedBreakIterator()
99 if(fData == 0) { in RuleBasedBreakIterator()
115 fData = new RBBIDataWrapper(udm, status); // status checked in constructor in RuleBasedBreakIterator()
117 if(fData == 0) { in RuleBasedBreakIterator()
190 if (fData != NULL) { in ~RuleBasedBreakIterator()
191 fData->removeReference(); in ~RuleBasedBreakIterator()
192 fData = NULL; in ~RuleBasedBreakIterator()
239 if (fData != NULL) { in operator =()
[all …]
Duresbund.cpp109 UResourceDataEntry *resB = resBundle->fData; in getFallbackData()
115 …*res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); /* try to get … in getFallbackData()
123 … *res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); in getFallbackData()
137 return (&(resB->fData)); in getFallbackData()
151 res_unload(&(entry->fData)); in free_entry()
368 res_load(&(r->fData), r->fPath, r->fName, status); in init_entry()
376 if (r->fData.usesPoolBundle) { in init_entry()
379 const int32_t *poolIndexes = r->fPool->fData.pRoot + 1; in init_entry()
380 … if(r->fData.pRoot[1 + URES_INDEX_POOL_CHECKSUM] == poolIndexes[URES_INDEX_POOL_CHECKSUM]) { in init_entry()
381 … r->fData.poolBundleKeys = (const char *)(poolIndexes + (poolIndexes[URES_INDEX_LENGTH] & 0xff)); in init_entry()
[all …]
Dfilteredbrk.cpp162 SimpleFilteredSentenceBreakData *fData; member in SimpleFilteredSentenceBreakIterator
237 : BreakIterator(other), fData(other.fData->incr()), fDelegate(other.fDelegate->clone()) in SimpleFilteredSentenceBreakIterator()
244 fData(new SimpleFilteredSentenceBreakData(forwards, backwards)), in SimpleFilteredSentenceBreakIterator()
251 fData = fData->decr(); in ~SimpleFilteredSentenceBreakIterator()
264 fData->fBackwardsTrie->reset(); in breakExceptionAt()
281 USTRINGTRIE_HAS_NEXT(r=fData->fBackwardsTrie->nextForCodePoint(uch))) {// more in the trie in breakExceptionAt()
284 bestValue = fData->fBackwardsTrie->getValue(); in breakExceptionAt()
291 bestValue = fData->fBackwardsTrie->getValue(); in breakExceptionAt()
307 && fData->fForwardsPartialTrie.isValid()) { // make sure there's a forward trie in breakExceptionAt()
311 fData->fForwardsPartialTrie->reset(); in breakExceptionAt()
[all …]
/external/skia/src/core/
DSkMaskCache.cpp15 SkCachedData* fData; member
44 fValue.fData = data; in RRectBlurRec()
45 fValue.fData->attachToCacheAndRef(); in RRectBlurRec()
48 fValue.fData->detachFromCacheAndUnref(); in ~RRectBlurRec()
55 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
58 return fValue.fData->diagnostic_only_getDiscardable(); in diagnostic_only_getDiscardable()
65 SkCachedData* tmpData = rec.fValue.fData; in Visitor()
86 mask->fImage = (uint8_t*)(result.fData->data()); in FindAndRef()
87 return result.fData; in FindAndRef()
138 fValue.fData = data; in RectsBlurRec()
[all …]
DSkBuffer.h24 SkRBuffer() : fData(0), fPos(0), fStop(0) {} in SkRBuffer()
30 fData = (const char*)data; in SkRBuffer()
38 size_t pos() const { return fPos - fData; } in pos()
42 size_t size() const { return fStop - fData; } in size()
64 const char* fData;
80 SkWBuffer() : fData(0), fPos(0), fStop(0) {} in SkWBuffer()
85 fData = (char*)data; in reset()
92 fData = (char*)data; in reset()
97 size_t pos() const { return fPos - fData; } in pos()
118 char* fData; variable
DSkYUVPlanesCache.cpp20 SkCachedData* fData; member
38 fValue.fData = data; in YUVPlanesRec()
40 fValue.fData->attachToCacheAndRef(); in YUVPlanesRec()
43 fValue.fData->detachFromCacheAndUnref(); in ~YUVPlanesRec()
50 size_t bytesUsed() const override { return sizeof(*this) + fValue.fData->size(); } in bytesUsed()
53 return fValue.fData->diagnostic_only_getDiscardable(); in diagnostic_only_getDiscardable()
60 SkCachedData* tmpData = rec.fValue.fData; in Visitor()
66 result->fData = tmpData; in Visitor()
82 return result.fData; in FindAndRef()
DSkRefDict.cpp15 SkRefCnt* fData; member
32 return rec->fData; in find()
51 rec->fData->unref(); in set()
52 rec->fData = data; in set()
55 rec->fData->unref(); in set()
73 rec->fData = data; in set()
83 rec->fData->unref(); in removeAll()
DSkCachedData.h23 const void* data() const { return fData; } in data()
25 void* writable_data() { return fData; } in writable_data()
54 void* fData; variable
71 if (newData != fData) { in setData()
73 this->onDataChange(fData, newData); in setData()
74 fData = newData; in setData()
DSkSinglyLinkedList.h32 T* back() { return fTail ? &fTail->fData : nullptr; } in back()
33 T* front() { return fHead ? &fHead->fData : nullptr; } in front()
61 return &n->fData; in emplace_front()
71 return &n->fData; in emplace_back()
76 const T& operator*() const { return fNode->fData; }
87 T fData; member
90 Node(Args&&... args) : fData(std::forward<Args>(args)...), fNext(nullptr) {} in Node()
DSkTLS.cpp21 void* fData; member
34 fDeleteProc(fData); in ~SkTLSRec()
70 return rec->fData; in Get()
82 rec->fData = createProc(); in Get()
85 return rec->fData; in Get()
99 return rec->fData; in Find()
DSkStream.cpp260 fData = SkData::MakeEmpty(); in SkMemoryStream()
265 fData = SkData::MakeUninitialized(size); in SkMemoryStream()
270 fData = newFromParams(src, size, copyData); in SkMemoryStream()
274 SkMemoryStream::SkMemoryStream(sk_sp<SkData> data) : fData(std::move(data)) { in SkMemoryStream()
275 if (nullptr == fData) { in SkMemoryStream()
276 fData = SkData::MakeEmpty(); in SkMemoryStream()
282 fData = SkData::MakeFromMalloc(src, size); in setMemoryOwned()
287 fData = newFromParams(src, size, copyData); in setMemory()
293 fData = SkData::MakeEmpty(); in setData()
295 fData = data; in setData()
[all …]
/external/icu/icu4c/source/tools/ctestfw/
Ddatamap.cpp40 delete fData; in ~RBDataMap()
46 fData = new Hashtable(TRUE, status); in RBDataMap()
47 fData->setValueDeleter(deleteResBund); in RBDataMap()
55 fData = new Hashtable(TRUE, status); in RBDataMap()
56 fData->setValueDeleter(deleteResBund); in RBDataMap()
65 fData = new Hashtable(TRUE, status); in RBDataMap()
66 fData->setValueDeleter(deleteResBund); in RBDataMap()
73 fData->removeAll(); in init()
77 fData->put(UnicodeString(ures_getKey(t), -1, US_INV), new ResourceBundle(t, status), status); in init()
85 fData->removeAll(); in init()
[all …]
/external/skia/bench/
DChecksumBench.cpp25 uint32_t fData[U32COUNT]; member in ComputeChecksumBench
32 fData[i] = rand.nextU(); in ComputeChecksumBench()
55 md5.write(fData, sizeof(fData)); in onDraw()
62 volatile uint32_t result = SkOpts::hash(fData, sizeof(fData)); in onDraw()
/external/skia/experimental/DrawingBoard/
DSampleDrawingServer.cpp39 fData.reset(); in ~DrawingServerView()
92 fData.append(size, (const char*)data); in onRead()
94 fServer->writePacket(fData.begin() + fTotalBytesWritten, in onRead()
95 fData.count() - fTotalBytesWritten, in onRead()
97 fTotalBytesWritten = fData.count(); in onRead()
144 while (fTotalBytesRead < fData.count()) { in onDrawContent()
151 stat = reader.playback(fData.begin() + fTotalBytesRead, in onDrawContent()
152 fData.count() - fTotalBytesRead, in onDrawContent()
190 fData.reset(); in clear()
207 SkTDArray<char> fData; member in DrawingServerView
DSampleDrawingClient.cpp57 fData.reset(); in ~DrawingClientView()
89 fData.append(size, (const char*)data); in onRead()
118 fData.reset(); in onEvent()
184 while (fTotalBytesRead < fData.count()) { in onDrawContent()
190 status = reader.playback(fData.begin() + fTotalBytesRead, in onDrawContent()
191 fData.count() - fTotalBytesRead, in onDrawContent()
247 fData.reset(); in clear()
257 SkTDArray<char> fData; member in DrawingClientView
/external/skia/tests/
DICCTest.cpp182 gammas->fData[i].fTable.fSize = tableSize; in DEF_TEST()
183 gammas->fData[i].fTable.fOffset = 0; in DEF_TEST()
205 gammas->fData[i].fParamOffset = 0; in DEF_TEST()
231 gammas->fData[i].fValue = 1.4f; in DEF_TEST()
238 gammas->fData[0].fNamed = kSRGB_SkGammaNamed; in DEF_TEST()
239 gammas->fData[1].fNamed = k2Dot2Curve_SkGammaNamed; in DEF_TEST()
240 gammas->fData[2].fNamed = kLinear_SkGammaNamed; in DEF_TEST()
271 gammas->fData[0].fValue = 1.2f; in DEF_TEST()
274 gammas->fData[1].fTable.fSize = tableSize; in DEF_TEST()
275 gammas->fData[1].fTable.fOffset = 0; in DEF_TEST()
[all …]
/external/skia/src/utils/
DSkThreadUtils_win.cpp46 fData = winData; in SkThread()
62 if (fData != nullptr) { in ~SkThread()
63 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); in ~SkThread()
80 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); in start()
93 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); in join()
DSkThreadUtils_pthread.cpp73 fData = pthreadData; in SkThread()
84 if (fData != nullptr) { in ~SkThread()
85 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData); in ~SkThread()
98 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData); in start()
111 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData); in join()
/external/skia/src/gpu/
DGrWindowRectangles.h53 memcpy(fData, windows, sizeof(SkIRect) * numWindows); in Rec()
57 SkIRect fData[kMaxWindows]; member
61 return fCount <= kNumLocalWindows ? fLocalWindows : fRec->fData; in data()
89 windows = result.fRec->fData; in makeOffset()
108 fRec = new Rec(fRec->fData, fCount); in addWindow()
110 return fRec->fData[fCount++]; in addWindow()

123456