Searched refs:Uint16Array (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DUint16Array.h36 class Uint16Array : public IntegralTypedArrayBase<unsigned short> { class in namespace:WTF
38 static inline PassRefPtr<Uint16Array> create(unsigned length);
39 static inline PassRefPtr<Uint16Array> create(const unsigned short* array, unsigned length);
40 static inline PassRefPtr<Uint16Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
44 static inline PassRefPtr<Uint16Array> createUninitialized(unsigned length);
49 inline PassRefPtr<Uint16Array> subarray(int start) const;
50 inline PassRefPtr<Uint16Array> subarray(int start, int end) const;
58 inline Uint16Array(PassRefPtr<ArrayBuffer>,
65 PassRefPtr<Uint16Array> Uint16Array
85 Uint16Array::Uint16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) function in class:WTF::Uint16Array
[all...]
H A DForward.h49 class Uint16Array;
75 using WTF::Uint16Array;
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8Uint16ArrayCustom.h35 #include "wtf/Uint16Array.h"
40 class TypedArrayTraits<Uint16Array> {
42 typedef v8::Uint16Array V8Type;
49 static size_t length(v8::Handle<v8::Uint16Array> value)
54 static size_t length(Uint16Array* array)
60 typedef V8TypedArray<Uint16Array> V8Uint16Array;
63 class WrapperTypeTraits<Uint16Array> : public TypedArrayWrapperTraits<Uint16Array> { };
66 inline v8::Handle<v8::Object> wrap(Uint16Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
68 return V8TypedArray<Uint16Array>
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-100859.js30 setx(typeof new Uint16Array('x') === 'object');
H A Dregress-319722-TypedArrays.js39 TestArray(Uint16Array);
H A Dregress-319722-ArrayBuffer.js51 TestArray(Uint16Array);
H A Dregress-324028.js33 assertThrows(function() { new Uint16Array(badObj); }, RangeError);
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-100859.js30 setx(typeof new Uint16Array('x') === 'object');
/external/chromium_org/v8/test/mjsunit/lithium/
H A DStoreKeyedExternal.js59 var A1_uint16 = new Uint16Array(2);
60 var A2_uint16 = new Uint16Array(2);
61 var A3_uint16 = new Uint16Array(2);
/external/chromium_org/v8/test/mjsunit/
H A Dtyped-array-slice.js32 var types = [Array, Int8Array, Uint8Array, Int16Array, Uint16Array,
H A Dexternal-array-no-sse2.js153 assertSame(a.buffer, (new Uint16Array(a.buffer)).buffer);
199 types = [Array, Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array,
428 a = new Uint16Array(0);
429 assertInstance(a, Uint16Array);
444 a = new Uint16Array([1,2,3]);
445 assertInstance(a, Uint16Array);
464 a = new Uint16Array([1,2,3,4,5,6]);
466 assertInstance(aa, Uint16Array);
472 assertInstance(aa, Uint16Array);
478 assertInstance(aa, Uint16Array);
[all...]
H A Dexternal-array.js153 assertSame(a.buffer, (new Uint16Array(a.buffer)).buffer);
199 types = [Array, Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array,
428 a = new Uint16Array(0);
429 assertInstance(a, Uint16Array);
443 a = new Uint16Array([1,2,3]);
444 assertInstance(a, Uint16Array);
463 a = new Uint16Array([1,2,3,4,5,6]);
465 assertInstance(aa, Uint16Array);
471 assertInstance(aa, Uint16Array);
477 assertInstance(aa, Uint16Array);
[all...]
H A Delements-kind.js147 assertKind(elements_kind.external_unsigned_short, new Uint16Array(42));
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dtypedarrays.js265 TestTypedArray(Uint16Array, 2, 0xFFFF);
317 TestSubArray(Uint16Array, 0xFFFF);
336 TestTypedArrayOutOfRange(Uint16Array, 0x1FFFA, 0xFFFA);
337 TestTypedArrayOutOfRange(Uint16Array, -1, 0xFFFF);
350 Uint16Array,
391 var a12 = new Uint16Array(15)
458 var a = new Uint16Array(50);
/external/chromium_org/v8/test/cctest/
H A Dtest-weaktypedarrays.cc229 TestViewFromApi<v8::Uint16Array>();
356 TestTypedArrayFromScript<v8::Uint16Array>("Uint16Array");
/external/chromium_org/remoting/webapp/
H A Dhost_controller.js108 var random = new Uint16Array(8);
/external/chromium_org/v8/src/
H A Dtypedarray.js41 FUNCTION(3, Uint16Array, 2)
H A Dapi.h178 V(Uint16Array, JSTypedArray) \
235 static inline Local<Uint16Array> ToLocalUint16Array(
364 MAKE_TO_LOCAL_TYPED_ARRAY(Uint16Array, kExternalUnsignedShortArray)
H A Dd8.h335 static void Uint16Array(const v8::FunctionCallbackInfo<v8::Value>& args);
/external/v8/src/
H A Dd8.h320 static Handle<Value> Uint16Array(const Arguments& args);
H A Dd8.cc481 Handle<Value> Shell::Uint16Array(const Arguments& args) { function in class:v8::Shell
830 global_template->Set(String::New("Uint16Array"),
831 FunctionTemplate::New(Uint16Array));
/external/v8/test/mjsunit/
H A Delements-kind.js141 assertKind(elements_kind.external_unsigned_short, new Uint16Array(42));
H A Dexternal-array.js142 types = [Array, Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array,
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DFlameChart.js719 marksField.push(new Uint16Array(width));
/external/chromium_org/v8/include/
H A Dv8.h1543 * Returns true if this value is an Uint16Array.
2910 * An instance of Uint16Array constructor (ES6 draft 15.13.6).
2913 class V8_EXPORT Uint16Array : public TypedArray { class in namespace:v8
2915 static Local<Uint16Array> New(Handle<ArrayBuffer> array_buffer,
2917 V8_INLINE static Uint16Array* Cast(Value* obj);
2920 Uint16Array();
6506 Uint16Array* Uint16Array::Cast(v8::Value* value) {
6510 return static_cast<Uint16Array*>(value);

Completed in 869 milliseconds

12