• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/bindings/js/

Lines Matching refs:offset

47 bool copyTypedArrayBuffer(C* target, ArrayBufferView* source, unsigned sourceLength, unsigned offset)
53 if (!target->set(static_cast<C*>(source), offset))
58 if (!target->checkInboundData(offset, sourceLength))
64 target->set(i + offset, (T)(static_cast<TypedArrayBase<signed char> *>(source)->item(i)));
69 target->set(i + offset, (T)(static_cast<TypedArrayBase<unsigned char> *>(source)->item(i)));
73 target->set(i + offset, (T)(static_cast<TypedArrayBase<signed short> *>(source)->item(i)));
77 target->set(i + offset, (T)(static_cast<TypedArrayBase<unsigned short> *>(source)->item(i)));
81 target->set(i + offset, (T)(static_cast<TypedArrayBase<int> *>(source)->item(i)));
85 target->set(i + offset, (T)(static_cast<TypedArrayBase<unsigned int> *>(source)->item(i)));
89 target->set(i + offset, (T)(static_cast<TypedArrayBase<float> *>(source)->item(i)));
93 target->set(i + offset, (T)(static_cast<TypedArrayBase<double> *>(source)->item(i)));
113 unsigned offset = 0;
115 offset = exec->argument(1).toInt32(exec);
119 if (!(copyTypedArrayBuffer<C, T>(impl, array.get(), length, offset)))
132 // void set(in WebGL<>Array array, [Optional] in unsigned long offset);
136 // void set(in sequence<long> array, [Optional] in unsigned long offset);
138 uint32_t offset = 0;
140 offset = exec->argument(1).toInt32(exec);
142 if (!impl->checkInboundData(offset, length))
149 impl->set(i + offset, v.toNumber(exec));
196 unsigned offset = (exec->argumentCount() > 1) ? exec->argument(1).toUInt32(exec) : 0;
201 if ((buffer->byteLength() - offset) % sizeof(T)) {
205 length = (buffer->byteLength() - offset) / sizeof(T);
207 RefPtr<C> array = C::create(buffer, offset, length);
219 // 2) (in ArrayBuffer buffer, [Optional] in int offset, [Optional] in unsigned int length)