Searched defs:storage (Results 1 - 25 of 620) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/src/utils/
H A Dtrace.c74 long storage, symcount; local
85 storage = bfd_get_symtab_upper_bound(abfd);
86 if (storage == 0) {
87 storage = bfd_get_dynamic_symtab_upper_bound(abfd);
90 if (storage < 0) {
95 syms = malloc(storage);
98 "(%ld bytes)", storage);
/external/wpa_supplicant_8/src/utils/
H A Dtrace.c74 long storage, symcount; local
85 storage = bfd_get_symtab_upper_bound(abfd);
86 if (storage == 0) {
87 storage = bfd_get_dynamic_symtab_upper_bound(abfd);
90 if (storage < 0) {
95 syms = malloc(storage);
98 "(%ld bytes)", storage);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dtrace.c74 long storage, symcount; local
85 storage = bfd_get_symtab_upper_bound(abfd);
86 if (storage == 0) {
87 storage = bfd_get_dynamic_symtab_upper_bound(abfd);
90 if (storage < 0) {
95 syms = malloc(storage);
98 "(%ld bytes)", storage);
/external/skia/samplecode/
H A DSampleRotateCircles.cpp157 static int getOnCurvePoints(const SkPath& path, SkPoint storage[]) { argument
169 storage[count++] = pts[0];
/external/skia/src/animator/
H A DSkDisplayable.cpp529 void* storage = info->memberData(this); local
530 memcpy(storage, &displayable, sizeof(SkDisplayable*));
H A DSkMemberInfo.cpp360 SkOperand* storage = untypedStorage ? (SkOperand*) untypedStorage : arrayStorage ? local
362 if (storage)
363 storage += storageOffset;
374 memcpy(&storage->fScalar, &scriptValue.fOperand.fScalar, sizeof(SkScalar));
377 memcpy(&storage->fScalar, scriptValue.fOperand.fArray->begin(), scriptValue.fOperand.fArray->count() * sizeof(SkScalar));
380 storage->fString->set(*scriptValue.fOperand.fString);
439 storage[0].fScalar = SkIntToScalar(SkColorGetA(color));
440 storage[1].fScalar = SkIntToScalar(SkColorGetR(color));
441 storage[2].fScalar = SkIntToScalar(SkColorGetG(color));
442 storage[
[all...]
/external/skia/src/core/
H A DSkBitmapHeap.cpp80 SkBitmapHeap::SkBitmapHeap(ExternalStorage* storage, int32_t preferredSize) argument
82 , fExternalStorage(storage)
89 SkSafeRef(storage);
356 // If entry is the last slot in storage, it is safe to delete it.
H A DSkCanvas.cpp1170 SkRect storage; local
1173 bitmap.getBounds(&storage);
1174 matrix.mapRect(&storage);
1175 bounds = &paint->computeFastBounds(storage, &storage);
1879 SkRect r, storage; local
1888 bounds = &paint.computeFastStrokeBounds(r, &storage);
1906 SkRect storage; local
1909 bounds = &paint.computeFastBounds(r, &storage);
1925 SkRect storage; local
1944 SkRect storage; local
1974 SkRect storage; local
1997 SkRect storage; local
2057 SkRect storage; local
2102 SkRect storage; local
2427 SkRect storage; local
[all...]
H A DSkDeque.cpp39 SkDeque::SkDeque(size_t elemSize, void* storage, size_t storageSize, int allocCount) argument
41 , fInitialStorage(storage)
44 SkASSERT(storageSize == 0 || storage != NULL);
48 fFrontBlock = (Block*)storage;
H A DSkDraw.cpp70 * Since we are providing the storage for the shader (to avoid the perf cost
1166 SkAutoMalloc storage(size);
1167 mask.fImage = (uint8_t*)storage.get();
1428 SkIRect storage; local
1434 // since we can avoid writing to storage
1436 if (!storage.intersectNoEmptyCheck(mask.fBounds, state.fClipBounds))
1438 bounds = &storage;
2019 virtual Context* onCreateContext(const ContextRec& rec, void* storage) const SK_OVERRIDE {
2020 return SkNEW_PLACEMENT_ARGS(storage, TriColorShaderContext, (*this, rec));
2135 SkAutoSTMalloc<16, SkPoint> storage(coun
[all...]
H A DSkEdgeBuilder.cpp30 // TODO: unallocate edge from storage...
39 // TODO: unallocate edge from storage...
48 // TODO: unallocate edge from storage...
99 char* storage = (char*)fAlloc.allocThrow(maxEdgeSize + maxEdgePtrSize); local
100 SkEdge* edge = reinterpret_cast<SkEdge*>(storage);
101 SkEdge** edgePtr = reinterpret_cast<SkEdge**>(storage + maxEdgeSize);
209 SkPoint storage[MAX_QUAD_PTS]; local
215 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
218 if (clipper.clipQuad(&storage[i * 2], clip)) {
252 SkPoint storage[MAX_QUAD_PT local
[all...]
H A DSkMallocPixelRef.cpp135 SkMallocPixelRef::SkMallocPixelRef(const SkImageInfo& info, void* storage, argument
149 fStorage = storage;
157 SkMallocPixelRef::SkMallocPixelRef(const SkImageInfo& info, void* storage, argument
172 fStorage = storage;
H A DSkPaint.cpp1301 FontMetrics storage; local
1303 metrics = &storage;
2345 SkRect* storage,
2347 SkASSERT(storage);
2353 this->getLooper()->computeFastBounds(*this, *src, storage);
2354 return *storage;
2374 storage->set(src->fLeft - radius, src->fTop - radius,
2377 *storage = *src;
2381 this->getMaskFilter()->computeFastBounds(*storage, storage);
2344 doComputeFastBounds(const SkRect& origSrc, SkRect* storage, Style style) const argument
[all...]
H A DSkPath.cpp2063 size_t SkPath::writeToMemory(void* storage) const {
2066 if (NULL == storage) {
2071 SkWBuffer buffer(storage);
2085 size_t SkPath::readFromMemory(const void* storage, size_t length) { argument
2086 SkRBufferWithSizeCheck buffer(storage, length);
2705 SkPoint storage[4];
2709 storage[0] = pts[3];
2710 storage[1] = pts[2];
2711 storage[2] = pts[1];
2712 storage[
[all...]
H A DSkPictureFlat.h266 uint32_t storage[64]; local
267 SkWriteBuffer buffer(storage, sizeof(storage), controller->getWriteBufferFlags());
H A DSkPictureShader.cpp116 SkShader::Context* SkPictureShader::onCreateContext(const ContextRec& rec, void* storage) const {
121 return PictureShaderContext::Create(storage, *this, rec, bitmapShader);
126 SkShader::Context* SkPictureShader::PictureShaderContext::Create(void* storage, argument
128 PictureShaderContext* ctx = SkNEW_PLACEMENT_ARGS(storage, PictureShaderContext,
H A DSkRasterizer.cpp18 SkIRect storage; local
30 storage = *clipBounds;
31 storage.inset(-margin.fX, -margin.fY);
32 clipBounds = &storage;
H A DSkRegion.cpp950 Worst case (from a storage perspective), is a vertical stack of single
1097 size_t SkRegion::writeToMemory(void* storage) const {
1098 if (NULL == storage) {
1110 SkWBuffer buffer(storage);
1130 size_t SkRegion::readFromMemory(const void* storage, size_t length) { argument
1131 SkRBufferWithSizeCheck buffer(storage, length);
1474 SkAutoTArray<RunType> storage(count);
1475 memcpy(storage.get(), runs, count * sizeof(RunType));
1476 return this->setRuns(storage.get(), count);
H A DSkScan_AntiPath.cpp392 int64_t storage = rb * bounds.height(); local
395 (storage <= MaskSuperBlitter::kMAX_STORAGE);
H A DSkWriteBuffer.cpp26 SkWriteBuffer::SkWriteBuffer(void* storage, size_t storageSize, uint32_t flags) argument
30 , fWriter(storage, storageSize)
/external/skia/src/effects/
H A DSkTableColorFilter.cpp173 uint8_t storage[5*256]; local
175 size_t size = SkPackBits::Pack8(fStorage, count * 256, storage);
176 SkASSERT(size <= sizeof(storage));
181 buffer.writeByteArray(storage, size);
187 uint8_t storage[5*256]; local
192 SkASSERT(size <= sizeof(storage));
193 buffer.validate(size <= sizeof(storage));
194 buffer.readByteArray(storage, size);
196 SkDEBUGCODE(size_t raw = ) SkPackBits::Unpack8(storage, size, fStorage);
/external/skia/src/effects/gradients/
H A DSkRadialGradient.cpp164 SkShader::Context* SkRadialGradient::onCreateContext(const ContextRec& rec, void* storage) const {
165 return SkNEW_PLACEMENT_ARGS(storage, RadialGradientContext, (*this, rec));
194 SkFixed storage[2]; local
196 &storage[0], &storage[1]); local
197 sdx = SkFixedToScalar(storage[0]);
198 sdy = SkFixedToScalar(storage[1]);
425 SkFixed storage[2]; local
427 &storage[0], &storage[ local
[all...]
H A DSkSweepGradient.cpp59 SkShader::Context* SkSweepGradient::onCreateContext(const ContextRec& rec, void* storage) const {
60 return SkNEW_PLACEMENT_ARGS(storage, SweepGradientContext, (*this, rec));
99 SkFixed storage[2]; local
101 &storage[0], &storage[1]);
102 dx = SkFixedToScalar(storage[0]);
103 dy = SkFixedToScalar(storage[1]);
141 SkFixed storage[2]; local
143 &storage[0], &storage[
[all...]
/external/skia/src/fonts/
H A DSkGScalerContext.cpp102 SkRect storage; local
105 &storage,
/external/skia/src/images/
H A DSkImageDecoder_libbmp.cpp100 SkAutoMalloc storage; local
102 const size_t length = CopyStreamToStorage(&storage, stream);
114 if (!helper.DecodeImage((const char*)storage.get(), length,
122 storage.free();

Completed in 4381 milliseconds

1234567891011>>