/third_party/jerryscript/tests/jerry/es2015/ |
H A D | dataview.js | 117 var view1 = new DataView (buffer); 119 assert (view1.buffer === buffer); 120 assert (view1.byteOffset === 0); 121 assert (view1.byteLength === buffer.byteLength); 202 view1 = new DataView (buffer); 206 view1.setUint8 (0, 255); 207 validateResult(view1, 0, false, [-1, 255, -256, 65280, -16777216, 4278190080, -1.7014118346046924e+38, -5.486124068793689e+303]); 208 validateResult(view1, 0, true, [-1, 255, 255, 255, 255, 255, 3.5733110840282835e-43, 1.26e-321]); 209 validateResult(view1, 2, false, [0, 0, 0, 0, 0, 0, 0, 0]); 210 validateResult(view1, [all...] |
/third_party/jerryscript/tests/unit-core/ |
H A D | test-dataview.cpp | 63 jerry_value_t view1 = jerry_create_dataview (arraybuffer, 0, 16); in HWTEST_F() local 64 TEST_ASSERT (!jerry_value_is_error (view1)); in HWTEST_F() 65 TEST_ASSERT (jerry_value_is_dataview (view1)); in HWTEST_F() 69 jerry_value_t internal_buffer = jerry_get_dataview_buffer (view1, &byteOffset, &byteLength); in HWTEST_F() 76 TEST_ASSERT (!jerry_value_is_error (view1)); in HWTEST_F() 101 jerry_value_t view1_str = jerry_create_string ((const jerry_char_t *) "view1"); in HWTEST_F() 103 TEST_ASSERT (jerry_set_property (global_obj, view1_str, view1)); in HWTEST_F() 110 const jerry_char_t set_src[] = "view1.setInt16 (12, 255)"; in HWTEST_F() 123 jerry_release_value (view1); in HWTEST_F()
|
/third_party/gn/src/gn/ |
H A D | immutable_vector_unittest.cc | 70 ImmutableVectorView<int> view1 = vec1; in TEST() local 71 ImmutableVectorView<int> view2(view1); in TEST() 73 EXPECT_EQ(vec1.size(), view1.size()); in TEST() 76 EXPECT_EQ(vec1.begin(), view1.begin()); in TEST() 77 EXPECT_EQ(vec1.end(), view1.end()); in TEST()
|
/third_party/node/test/fixtures/wpt/FileAPI/support/ |
H A D | Blob.js | 55 const [view1, view2] = [array1, array2].map((array) => { 61 assert_equals(view1.byteLength, view2.byteLength, 64 const byteLength = view1.byteLength; 67 assert_equals(view1.getUint8(i), view2.getUint8(i),
|
/third_party/node/test/fixtures/wpt/FileAPI/blob/ |
H A D | Blob-constructor.any.js | 350 var view1 = new Uint16Array(view.buffer, 2); 351 return new Blob([view1, view.buffer, view1]);
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ResourceUsageTrackingTests.cpp | 1311 wgpu::TextureView view1 = texture1.CreateView(); in TEST_F() local 1321 utils::ComboRenderPassDescriptor renderPass({view1}); in TEST_F() 1332 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, view1}}); in TEST_F() 1358 wgpu::TextureView view1 = texture1.CreateView(); in TEST_F() local 1364 wgpu::BindGroup bg1 = utils::MakeBindGroup(device, bgl, {{0, view1}}); in TEST_F() 1400 wgpu::TextureView view1 = texture1.CreateView(); in TEST_F() local 1412 wgpu::BindGroup readBG1 = utils::MakeBindGroup(device, readBGL, {{0, view1}}); in TEST_F()
|
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/ |
H A D | general.any.js | 2378 const view1 = result1.value; 2379 assert_equals(view1.byteOffset, 0, 'first result.value.byteOffset'); 2380 assert_equals(view1.byteLength, 3, 'first result.value.byteLength'); 2381 assert_array_equals([...new Uint8Array(view1.buffer)], [1, 2, 3], 'first result.value.buffer');
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_state.c | 1392 struct pipe_sampler_view *view1); 1456 ARG_BIND_VIEW(struct pipe_sampler_view, view1)) in CSMT_ITEM_NO_WAIT() 1485 pipe_sampler_view_reference(&context->texture[stage].view[1], view1); in CSMT_ITEM_NO_WAIT() 1500 struct pipe_sampler_view *view0 = NULL, *view1 = NULL; in nine_context_set_texture() local 1514 view1 = NineBaseTexture9_GetSamplerView(tex, 1); in nine_context_set_texture() 1520 res, view0, view1); in nine_context_set_texture()
|