Searched refs:preCapacity (Results 1 - 6 of 6) sorted by relevance
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/ |
H A D | ButterflyInlines.h | 38 inline Butterfly* Butterfly::createUninitialized(VM& vm, JSCell* intendedOwner, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, size_t indexingPayloadSizeInBytes) argument 41 size_t size = totalSize(preCapacity, propertyCapacity, hasIndexingHeader, indexingPayloadSizeInBytes); 43 Butterfly* result = fromBase(temp, preCapacity, propertyCapacity); 47 inline Butterfly* Butterfly::create(VM& vm, JSCell* intendedOwner, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, const IndexingHeader& indexingHeader, size_t indexingPayloadSizeInBytes) argument 50 vm, intendedOwner, preCapacity, propertyCapacity, hasIndexingHeader, 64 inline Butterfly* Butterfly::createUninitializedDuringCollection(CopyVisitor& visitor, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, size_t indexingPayloadSizeInBytes) argument 66 size_t size = totalSize(preCapacity, propertyCapacity, hasIndexingHeader, indexingPayloadSizeInBytes); 69 preCapacity, propertyCapacity); 75 return base(indexingHeader()->preCapacity(structure), structure->outOfLineCapacity()); 85 size_t preCapacity [all...] |
H A D | IndexingHeaderInlines.h | 35 inline size_t IndexingHeader::preCapacity(Structure* structure) function in class:JSC::IndexingHeader
|
H A D | Butterfly.h | 81 static size_t totalSize(size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, size_t indexingPayloadSizeInBytes) 85 return (preCapacity + propertyCapacity) * sizeof(EncodedJSValue) + (hasIndexingHeader ? sizeof(IndexingHeader) : 0) + indexingPayloadSizeInBytes; 88 static Butterfly* fromBase(void* base, size_t preCapacity, size_t propertyCapacity) 90 return reinterpret_cast<Butterfly*>(static_cast<EncodedJSValue*>(base) + preCapacity + propertyCapacity + 1); 107 static Butterfly* createUninitialized(VM&, JSCell* intendedOwner, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, size_t indexingPayloadSizeInBytes); 109 static Butterfly* create(VM&, JSCell* intendedOwner, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, const IndexingHeader&, size_t indexingPayloadSizeInBytes); 111 static Butterfly* createUninitializedDuringCollection(CopyVisitor&, size_t preCapacity, size_t propertyCapacity, bool hasIndexingHeader, size_t indexingPayloadSizeInBytes); 147 void* base(size_t preCapacity, size_t propertyCapacity) { return propertyStorage() - propertyCapacity - preCapacity; } argument 161 Butterfly* growArrayRight(VM&, JSCell* intendedOwner, Structure* oldStructure, size_t propertyCapacity, bool hadIndexingHeader, size_t oldIndexingPayloadSizeInBytes, size_t newIndexingPayloadSizeInBytes); // Assumes that preCapacity i [all...] |
H A D | IndexingHeader.h | 118 size_t preCapacity(Structure*);
|
H A D | JSObject.cpp | 101 size_t preCapacity; local 105 preCapacity = butterfly->indexingHeader()->preCapacity(structure); 108 preCapacity = 0; 111 size_t capacityInBytes = Butterfly::totalSize(preCapacity, propertyCapacity, hasIndexingHeader, indexingPayloadSizeInBytes); 112 if (visitor.checkIfShouldCopy(butterfly->base(preCapacity, propertyCapacity))) { 113 Butterfly* newButterfly = Butterfly::createUninitializedDuringCollection(visitor, preCapacity, propertyCapacity, hasIndexingHeader, indexingPayloadSizeInBytes); 161 visitor.didCopy(butterfly->base(preCapacity, propertyCapacity), capacityInBytes); 172 size_t preCapacity; local 176 preCapacity 2702 size_t preCapacity = this->butterflyPreCapacity(); local [all...] |
H A D | JSObject.h | 1537 return butterfly()->indexingHeader()->preCapacity(structure()); 1545 size_t preCapacity; 1550 preCapacity = butterfly->indexingHeader()->preCapacity(structure); 1553 preCapacity = 0; 1557 return Butterfly::totalSize(preCapacity, structure->outOfLineCapacity(), hasIndexingHeader, indexingPayloadSizeInBytes);
|
Completed in 119 milliseconds