HomeSort by relevance Sort by last modified time
    Searched refs:numElements (Results 1 - 25 of 38) sorted by null

1 2

  /external/webkit/Source/WebCore/html/canvas/
ArrayBuffer.h 36 static PassRefPtr<ArrayBuffer> create(unsigned numElements, unsigned elementByteSize);
48 ArrayBuffer(unsigned numElements, unsigned elementByteSize);
49 static void* tryAllocate(unsigned numElements, unsigned elementByteSize);
ArrayBuffer.cpp 33 PassRefPtr<ArrayBuffer> ArrayBuffer::create(unsigned numElements, unsigned elementByteSize)
35 void* data = tryAllocate(numElements, elementByteSize);
38 return adoptRef(new ArrayBuffer(data, numElements * elementByteSize));
82 void* ArrayBuffer::tryAllocate(unsigned numElements, unsigned elementByteSize)
89 if (numElements) {
90 unsigned totalSize = numElements * elementByteSize;
91 if (totalSize / numElements != elementByteSize)
94 if (WTF::tryFastCalloc(numElements, elementByteSize).getValue(result))
ArrayBufferView.h 87 unsigned numElements)
96 if (numElements > remainingElements)
107 unsigned *numElements)
112 *numElements = 0;
118 *numElements = std::min(remainingElements, *numElements);
WebGLRenderingContext.cpp     [all...]
  /external/llvm/runtime/libprofile/
EdgeProfiling.c 20 static unsigned NumElements;
31 write_profiling_data(EdgeInfo, ArrayStart, NumElements);
39 unsigned *arrayStart, unsigned numElements) {
42 NumElements = numElements;
OptimalEdgeProfiling.c 20 static unsigned NumElements;
31 write_profiling_data(OptEdgeInfo, ArrayStart, NumElements);
39 unsigned *arrayStart, unsigned numElements) {
42 NumElements = numElements;
BasicBlockTracing.c 50 unsigned *arrayStart, unsigned numElements) {
PathProfiling.c 268 void* functionTable, uint32_t numElements) {
271 ftSize = numElements;
  /external/webkit/Source/JavaScriptCore/wtf/brew/
SystemMallocBrew.h 42 static inline void* callocBrew(size_t numElements, size_t elementSize)
44 return MALLOC(numElements * elementSize);
  /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SgTransform.java 71 int numElements = mTransformData.transforms.length;
72 mTransformData.transformTypes = new int[numElements];
73 for (int i = 0; i < numElements; i ++) {
  /external/webkit/Source/WebKit2/Platform/CoreIPC/
ArgumentDecoder.h 77 bool bufferIsLargeEnoughToContain(size_t numElements) const
81 if (numElements > std::numeric_limits<size_t>::max() / sizeof(T))
84 return bufferIsLargeEnoughToContain(__alignof(T), numElements * sizeof(T));
  /external/clang/lib/CodeGen/
CGExprCXX.cpp 511 llvm::Value *&numElements,
530 // We multiply the size of all dimensions for NumElements.
531 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6.
532 numElements = CGF.EmitScalarExpr(e->getArraySize());
533 assert(isa<llvm::IntegerType>(numElements->getType()));
544 = cast<llvm::IntegerType>(numElements->getType());
565 dyn_cast<llvm::ConstantInt>(numElements)) {
574 // We want to do all this arithmetic in size_t. If numElements is
584 // Scale numElements by that. This might overflow, but we don't
587 numElements = llvm::ConstantInt::get(CGF.SizeTy
    [all...]
CodeGenFunction.cpp 871 llvm::Value *numElements
876 numElements = Builder.CreateNUWMul(numVLAElements, numElements);
878 return numElements;
891 llvm::Value *numElements = 0;
900 if (!numElements) {
901 numElements = vlaSize;
904 numElements = Builder.CreateNUWMul(numElements, vlaSize);
908 return std::pair<llvm::Value*,QualType>(numElements, elementType)
    [all...]
CGClass.cpp 475 uint64_t NumElements = Array->getSize().getZExtValue();
478 llvm::ConstantInt::get(Counter->getType(), NumElements);
    [all...]
  /system/core/nexus/
Property.cpp 29 int type, int numElements) :
31 mNumElements(numElements) {
  /libcore/luni/src/main/java/java/util/
ArrayDeque.java 94 * @param numElements the number of elements to hold
96 private void allocateElements(int numElements) {
100 if (numElements >= initialCapacity) {
101 initialCapacity = numElements;
165 * @param numElements lower bound on initial capacity of the deque
167 public ArrayDeque(int numElements) {
168 allocateElements(numElements);
  /dalvik/hit/src/com/android/hit/
HprofParser.java 534 int numElements = mInput.readInt();
536 int totalBytes = numElements * mIdSize;
543 numElements, data);
556 int numElements = mInput.readInt();
559 int totalBytes = numElements * size;
564 ArrayInstance array = new ArrayInstance(id, stack, type, numElements,
  /dalvik/dx/src/com/android/dx/cf/direct/
AnnotationParser.java 247 int numElements = input.readUnsignedShort();
253 parsed(2, "num_elements: " + numElements);
258 for (int i = 0; i < numElements; i++) {
  /external/llvm/lib/Target/PTX/
PTXAsmPrinter.cpp 333 unsigned numElements = arrayTy->getNumElements();
340 numElements *= arrayTy->getNumElements();
349 * numElements;
  /external/webkit/Source/JavaScriptCore/wtf/
FastMalloc.h 34 void* fastCalloc(size_t numElements, size_t elementSize);
  /external/webkit/Source/WebCore/platform/network/curl/
ResourceHandleManager.cpp 470 size_t numElements = elements.size();
471 if (!numElements)
475 if (numElements == 1) {
505 for (size_t i = 0; i < numElements; i++) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
IntRangeManager.java 92 * @param numElements the number of elements to copy from the original
94 IntRange(IntRange intRange, int numElements) {
98 for (int i=0; i < numElements; i++) {
  /external/clang/utils/ABITest/
ABITestGen.py 247 for i in range(t.numElements):
249 elements = [random.choice(values) for i in range(t.numElements)]
305 for i in range(t.numElements):
335 for i in range(t.numElements):
TypeGen.py 126 self.numElements = self.size // eltSize
128 self.numElements = self.size
  /external/webkit/Source/WebCore/platform/graphics/
GraphicsContext3D.cpp 913 unsigned int numElements = width * height * sourceElementsPerPixel;
914 const SourceType* endPointer = sourceData + numElements;
    [all...]

Completed in 916 milliseconds

1 2