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

1 2 3

  /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 88 unsigned numElements)
97 if (numElements > remainingElements)
108 unsigned *numElements)
113 *numElements = 0;
119 *numElements = std::min(remainingElements, *numElements);
  /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 263 void* functionTable, uint32_t numElements) {
266 ftSize = numElements;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/features/
CollectionSize.java 70 private final Integer numElements;
72 CollectionSize(int numElements) {
74 this.numElements = numElements;
81 this.numElements = null;
90 if (numElements == null) {
94 return 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);
  /external/guava/guava/src/com/google/common/collect/
Queues.java 192 * {@code numElements} elements are not available, it will wait for them up to the specified
197 * @param numElements the number of elements to be waited for
203 public static <E> int drain(BlockingQueue<E> q, Collection<? super E> buffer, int numElements,
213 while (added < numElements) {
216 added += q.drainTo(buffer, numElements - added);
217 if (added < numElements) { // not enough elements immediately available; will have to poll
237 * @param numElements the number of elements to be waited for
243 int numElements, long timeout, TimeUnit unit) {
249 while (added < numElements) {
252 added += q.drainTo(buffer, numElements - added)
    [all...]
  /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/antlr/antlr-3.4/runtime/C/src/
antlr3bitset.c 80 ANTLR3_UINT32 numelements; local
101 numelements = ((numBits -1) >> ANTLR3_BITSET_LOG_BITS) + 1;
103 bitset->blist.bits = (pANTLR3_BITWORD) ANTLR3_MALLOC((size_t)(numelements * sizeof(ANTLR3_BITWORD)));
104 memset(bitset->blist.bits, 0, (size_t)(numelements * sizeof(ANTLR3_BITWORD)));
105 bitset->blist.length = numelements;
144 int numElements;
155 numElements = blist->length;
159 if (numElements < 8)
161 numElements = 8;
166 bitset->blist.length = numElements;
    [all...]
  /external/clang/lib/CodeGen/
CGExprCXX.cpp 563 llvm::Value *&numElements,
582 // We multiply the size of all dimensions for NumElements.
583 // e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6.
584 numElements = CGF.EmitScalarExpr(e->getArraySize());
585 assert(isa<llvm::IntegerType>(numElements->getType()));
596 = cast<llvm::IntegerType>(numElements->getType());
617 dyn_cast<llvm::ConstantInt>(numElements)) {
626 // We want to do all this arithmetic in size_t. If numElements is
641 // Scale numElements by that. This might overflow, but we don't
644 numElements = llvm::ConstantInt::get(CGF.SizeTy
    [all...]
CGCXXABI.cpp 160 llvm::Value *NumElements,
189 llvm::Value *&numElements,
199 numElements = 0;
207 numElements = readArrayCookieImpl(CGF, allocPtr, cookieSize);
CodeGenFunction.cpp     [all...]
  /external/icu4c/i18n/
currpinf.cpp 246 UResourceBundle *numElements = ures_getByKeyWithFallback(rb, gNumberElementsTag, NULL, &ec);
247 rb = ures_getByKeyWithFallback(numElements, ns->getName(), rb, &ec);
254 rb = ures_getByKeyWithFallback(numElements, gLatnTag, rb, &ec);
276 ures_close(numElements);
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
ModelConverter.java 80 int numElements = 0;
82 numElements += group.numIndices;
87 numElements);
  /libcore/luni/src/main/java/java/util/
ArrayDeque.java 92 * @param numElements the number of elements to hold
94 private void allocateElements(int numElements) {
98 if (numElements >= initialCapacity) {
99 initialCapacity = numElements;
163 * @param numElements lower bound on initial capacity of the deque
165 public ArrayDeque(int numElements) {
166 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,
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
VertexBuffer.java 596 int numElements = data.capacity() / components;
600 ByteBuffer halfData = BufferUtils.createByteBuffer(componentsLength * numElements);
621 * @param numElements The number of elements to reduce to.
623 public void compact(int numElements){
624 int total = components * numElements;
850 public static Buffer createBuffer(Format format, int components, int numElements){
854 int total = numElements * components;
    [all...]
  /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/jmonkeyengine/engine/src/core/com/jme3/util/
SortUtil.java 330 int numElements = high - low + 1;
348 for (int i = 0; i < numElements; i++, high--) {
  /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++) {

Completed in 1526 milliseconds

1 2 3