/third_party/jerryscript/tests/jerry/es2015/ |
D | dataview.js | 123 var view2 = new DataView (buffer, 8); variable 124 assert (view2.buffer === buffer); 125 assert (view2.byteOffset === 8); 126 assert (view2.byteLength === buffer.byteLength - view2.byteOffset); 203 view2 = new DataView (buffer, 4, 12); variable 214 validateResult(view2, 0, false, [-100, 156, -25536, 40000, -1673527296, 2621440000, -6.352747104407… 216 validateResult(view2, 0, true, [-100, 156, 16540, 16540, 16540, 16540, 2.3177476599932474e-41, 8.17… 218 view2.setUint32 (2, 3000000000, true); 219 validateResult(view2, 2, false, [0, 0, 94, 94, 6213810, 6213810, 8.707402410606192e-39, 6.856613170… 221 validateResult(view2, 2, true, [0, 0, 24064, 24064, -1294967296, 3000000000, -2.425713319098577e-8,… [all …]
|
/third_party/jerryscript/tests/unit-core/ |
D | test-dataview.cpp | 75 jerry_value_t view2 = jerry_create_dataview (arraybuffer, 12, 4); variable 77 TEST_ASSERT (jerry_value_is_dataview (view2)); 78 internal_buffer = jerry_get_dataview_buffer (view2, &byteOffset, &byteLength); 104 TEST_ASSERT (jerry_set_property (global_obj, view2_str, view2)); 122 jerry_release_value (view2);
|
/third_party/node/test/fixtures/wpt/encoding/ |
D | textdecoder-copy.any.js | 9 const view2 = new Uint8Array(buf2); constant 13 view2[0] = 0xBF; 14 view2[1] = 0x40;
|
/third_party/gn/src/gn/ |
D | immutable_vector_unittest.cc | 71 ImmutableVectorView<int> view2(view1); in TEST() local 74 EXPECT_EQ(vec1.size(), view2.size()); in TEST() 79 EXPECT_EQ(vec1.begin(), view2.begin()); in TEST() 80 EXPECT_EQ(vec1.end(), view2.end()); in TEST()
|
/third_party/cef/tests/ceftests/views/ |
D | window_unittest.cc | 134 CefRefPtr<CefView> view2 = window->GetViewForID(kWPanel2ID); in RunWindowLayoutAndCoords() local 135 EXPECT_TRUE(view2.get()); in RunWindowLayoutAndCoords() 148 EXPECT_TRUE(view2->ConvertPointToScreen(point)); in RunWindowLayoutAndCoords() 159 EXPECT_TRUE(view2->ConvertPointFromScreen(point)); in RunWindowLayoutAndCoords() 167 EXPECT_TRUE(view2->ConvertPointToWindow(point)); in RunWindowLayoutAndCoords() 175 EXPECT_TRUE(view2->ConvertPointFromWindow(point)); in RunWindowLayoutAndCoords() 180 EXPECT_TRUE(view1->ConvertPointToView(view2, point)); in RunWindowLayoutAndCoords() 183 EXPECT_TRUE(view2->ConvertPointToView(view1, point)); in RunWindowLayoutAndCoords() 188 EXPECT_TRUE(view1->ConvertPointFromView(view2, point)); in RunWindowLayoutAndCoords() 191 EXPECT_TRUE(view2->ConvertPointFromView(view1, point)); in RunWindowLayoutAndCoords()
|
/third_party/node/test/fixtures/wpt/FileAPI/support/ |
D | Blob.js | 55 const [view1, view2] = [array1, array2].map((array) => { variable 61 assert_equals(view1.byteLength, view2.byteLength, 67 assert_equals(view1.getUint8(i), view2.getUint8(i),
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | gstdewarp.cpp | 667 cv::Mat view1, view2, panorama_image, concatenated; in gst_dewarp_transform_frame() local 677 view2 = in gst_dewarp_transform_frame() 680 cv::vconcat (view1, view2, concatenated); in gst_dewarp_transform_frame() 683 cv::Mat view1, view2, view3, view4, concat1, concat2, panorama_image, in gst_dewarp_transform_frame() local 696 view2 = in gst_dewarp_transform_frame() 704 cv::vconcat (view1, view2, concat1); in gst_dewarp_transform_frame()
|
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/ |
D | general.any.js | 2399 const view2 = result2.value; constant 2400 assert_equals(view2.byteOffset, 0, 'second result.value.byteOffset'); 2401 assert_equals(view2.byteLength, 3, 'second result.value.byteLength'); 2402 assert_array_equals([...new Uint8Array(view2.buffer)], [4, 5, 6], 'second result.value.buffer'); 2484 const view2 = result2.value; constant 2485 assert_equals(view2.byteOffset, 0, 'second result.value.byteOffset'); 2486 assert_equals(view2.byteLength, 2, 'second result.value.byteLength'); 2487 const dataView2 = new DataView(view2.buffer, view2.byteOffset, view2.byteLength); 2824 const view2 = result2.value; constant 2825 assert_equals(view2.byteOffset, 0, 'second result.value.byteOffset'); [all …]
|
D | tee.any.js | 88 const view2 = result2.value; constant 90 assert_typed_array_equals(view2, new Uint8Array([0x01]), 'reader2 value'); 92 assert_not_equals(view1.buffer, view2.buffer, 'chunks should have different buffers'); 94 …assert_not_equals(enqueuedChunk.buffer, view2.buffer, 'enqueued chunk and branch2\'s chunk should …
|