/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_winsys.c | 84 if (drmCommandWriteRead(applier->ws->fd, DRM_RADEON_INFO, in radeon_set_fd_access() 128 static bool do_winsys_init(struct radeon_drm_winsys *ws) in do_winsys_init() argument 155 version = drmGetVersion(ws->fd); in do_winsys_init() 168 ws->info.drm_major = version->version_major; in do_winsys_init() 169 ws->info.drm_minor = version->version_minor; in do_winsys_init() 170 ws->info.drm_patchlevel = version->version_patchlevel; in do_winsys_init() 171 ws->info.is_amdgpu = false; in do_winsys_init() 175 if (!radeon_get_drm_value(ws->fd, RADEON_INFO_DEVICE_ID, "PCI ID", in do_winsys_init() 176 &ws->info.pci_id)) in do_winsys_init() 180 switch (ws->info.pci_id) { in do_winsys_init() [all …]
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_winsys.c | 42 do_winsys_init(struct radv_amdgpu_winsys *ws, int fd) in do_winsys_init() argument 44 if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo)) in do_winsys_init() 47 if (ws->info.drm_minor < 23) { in do_winsys_init() 52 ws->addrlib = ac_addrlib_create(&ws->info, &ws->info.max_alignment); in do_winsys_init() 53 if (!ws->addrlib) { in do_winsys_init() 58 ws->info.num_rings[RING_DMA] = MIN2(ws->info.num_rings[RING_DMA], MAX_RINGS_PER_TYPE); in do_winsys_init() 59 ws->info.num_rings[RING_COMPUTE] = MIN2(ws->info.num_rings[RING_COMPUTE], MAX_RINGS_PER_TYPE); in do_winsys_init() 61 ws->use_ib_bos = ws->info.chip_class >= GFX7; in do_winsys_init() 74 struct radv_amdgpu_winsys *ws = (struct radv_amdgpu_winsys *)rws; in radv_amdgpu_winsys_query_value() local 80 return ws->allocated_vram; in radv_amdgpu_winsys_query_value() [all …]
|
D | radv_amdgpu_bo.c | 48 radv_amdgpu_bo_va_op(struct radv_amdgpu_winsys *ws, amdgpu_bo_handle bo, uint64_t offset, in radv_amdgpu_bo_va_op() argument 56 if ((bo_flags & RADEON_FLAG_VA_UNCACHED) && ws->info.chip_class >= GFX9) in radv_amdgpu_bo_va_op() 65 return amdgpu_bo_va_op_raw(ws->dev, bo, offset, size, addr, flags, ops); in radv_amdgpu_bo_va_op() 69 radv_amdgpu_winsys_virtual_map(struct radv_amdgpu_winsys *ws, struct radv_amdgpu_winsys_bo *bo, in radv_amdgpu_winsys_virtual_map() argument 76 if (!ws->info.has_sparse_vm_mappings) in radv_amdgpu_winsys_virtual_map() 83 int r = radv_amdgpu_bo_va_op(ws, range->bo ? range->bo->bo : NULL, range->bo_offset, range->size, in radv_amdgpu_winsys_virtual_map() 90 radv_amdgpu_winsys_virtual_unmap(struct radv_amdgpu_winsys *ws, struct radv_amdgpu_winsys_bo *bo, in radv_amdgpu_winsys_virtual_unmap() argument 97 if (!ws->info.has_sparse_vm_mappings) in radv_amdgpu_winsys_virtual_unmap() 105 int r = radv_amdgpu_bo_va_op(ws, range->bo ? range->bo->bo : NULL, range->bo_offset, range->size, in radv_amdgpu_winsys_virtual_unmap() 111 ws->base.buffer_destroy(&ws->base, (struct radeon_winsys_bo *)range->bo); in radv_amdgpu_winsys_virtual_unmap() [all …]
|
D | radv_amdgpu_cs.c | 51 struct radv_amdgpu_winsys *ws; member 158 cs->ws->base.buffer_destroy(&cs->ws->base, cs->ib_buffer); in radv_amdgpu_cs_destroy() 163 cs->ws->base.buffer_destroy(&cs->ws->base, cs->old_ib_buffers[i].bo); in radv_amdgpu_cs_destroy() 189 const struct radv_amdgpu_winsys *ws = (const struct radv_amdgpu_winsys *)_ws; in radv_amdgpu_cs_domain() local 191 bool enough_vram = ws->info.all_vram_visible || in radv_amdgpu_cs_domain() 192 p_atomic_read_relaxed(&ws->allocated_vram_vis) * 2 <= ws->info.vram_vis_size; in radv_amdgpu_cs_domain() 194 (enough_vram && ws->info.has_dedicated_vram && !(ws->perftest & RADV_PERFTEST_NO_SAM)) || in radv_amdgpu_cs_domain() 195 (ws->perftest & RADV_PERFTEST_SAM); in radv_amdgpu_cs_domain() 200 radv_amdgpu_cs_create(struct radeon_winsys *ws, enum ring_type ring_type) in radv_amdgpu_cs_create() argument 208 cs->ws = radv_amdgpu_winsys(ws); in radv_amdgpu_cs_create() [all …]
|
/third_party/boost/libs/math/test/ |
D | lambert_w_high_reference_values.ipp | 22 static RealType ws[450]; 33 …ws<RealType>[0] = BOOST_MATH_TEST_VALUE(RealType, 0.4015636367870725840596232119093618401250821463… 35 …ws<RealType>[1] = BOOST_MATH_TEST_VALUE(RealType, 0.7796011225311008662356536916883580556792500749… 37 …ws<RealType>[2] = BOOST_MATH_TEST_VALUE(RealType, 0.8970741340486472832529094012483877796469756302… 39 …ws<RealType>[3] = BOOST_MATH_TEST_VALUE(RealType, 0.9966287342654774578203091807272871494846015619… 41 …ws<RealType>[4] = BOOST_MATH_TEST_VALUE(RealType, 1.0832162161476520727265627005634540116849865266… 43 …ws<RealType>[5] = BOOST_MATH_TEST_VALUE(RealType, 1.1599531786120221437010863410671133182470853209… 45 …ws<RealType>[6] = BOOST_MATH_TEST_VALUE(RealType, 1.5980676062401969847855346807814038655752421800… 47 …ws<RealType>[7] = BOOST_MATH_TEST_VALUE(RealType, 1.6359860156167613061286566803521027116585043304… 49 …ws<RealType>[8] = BOOST_MATH_TEST_VALUE(RealType, 1.6720192493642151437144494279347239905517455601… [all …]
|
D | lambert_w_low_reference_values.ipp | 25 static RealType ws[100]; 135 …ws<RealType>[0] = BOOST_MATH_TEST_VALUE(RealType, -0.716638816456074608702455845670725469438456852… 136 …ws<RealType>[1] = BOOST_MATH_TEST_VALUE(RealType, -0.653694501269089483159799753113833884316246499… 137 …ws<RealType>[2] = BOOST_MATH_TEST_VALUE(RealType, -0.603266649755133050529005017751062680519867283… 138 …ws<RealType>[3] = BOOST_MATH_TEST_VALUE(RealType, -0.560489483078455574363484050411654565701879066… 139 …ws<RealType>[4] = BOOST_MATH_TEST_VALUE(RealType, -0.522989949627320353102183624081467090128630010… 140 …ws<RealType>[5] = BOOST_MATH_TEST_VALUE(RealType, -0.489402227180214969036231251996293368923410006… 141 …ws<RealType>[6] = BOOST_MATH_TEST_VALUE(RealType, -0.458856413481802088194570741325926714770279841… 142 …ws<RealType>[7] = BOOST_MATH_TEST_VALUE(RealType, -0.430758874527112757916530656841372138819645982… 143 …ws<RealType>[8] = BOOST_MATH_TEST_VALUE(RealType, -0.404683621605071865364325005647866585793186609… [all …]
|
/third_party/libwebsockets/lib/roles/ws/ |
D | client-parser-ws.c | 49 if (wsi->ws->rx_draining_ext) { in lws_ws_client_rx_sm() 63 wsi->ws->defeat_check_utf8 = 0; in lws_ws_client_rx_sm() 65 switch (wsi->ws->ietf_spec_revision) { in lws_ws_client_rx_sm() 67 wsi->ws->opcode = c & 0xf; in lws_ws_client_rx_sm() 69 switch (wsi->ws->opcode) { in lws_ws_client_rx_sm() 71 wsi->ws->rsv_first_msg = (c & 0x70); in lws_ws_client_rx_sm() 78 wsi->ws->pmd_trailer_application = !!(c & 0x40); in lws_ws_client_rx_sm() 80 wsi->ws->continuation_possible = 1; in lws_ws_client_rx_sm() 81 wsi->ws->check_utf8 = lws_check_opt( in lws_ws_client_rx_sm() 84 wsi->ws->utf8 = 0; in lws_ws_client_rx_sm() [all …]
|
D | ops-ws.c | 56 if (wsi->ws->rx_draining_ext) { in lws_ws_rx_sm() 68 switch (wsi->ws->ietf_spec_revision) { in lws_ws_rx_sm() 73 wsi->ws->all_zero_nonce = 1; in lws_ws_rx_sm() 78 wsi->ws->ietf_spec_revision); in lws_ws_rx_sm() 83 wsi->ws->mask[1] = c; in lws_ws_rx_sm() 85 wsi->ws->all_zero_nonce = 0; in lws_ws_rx_sm() 89 wsi->ws->mask[2] = c; in lws_ws_rx_sm() 91 wsi->ws->all_zero_nonce = 0; in lws_ws_rx_sm() 95 wsi->ws->mask[3] = c; in lws_ws_rx_sm() 97 wsi->ws->all_zero_nonce = 0; in lws_ws_rx_sm() [all …]
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_winsys.c | 54 static void handle_env_var_force_family(struct amdgpu_winsys *ws) in handle_env_var_force_family() argument 65 ws->info.family = i; in handle_env_var_force_family() 66 ws->info.name = "GCN-NOOP"; in handle_env_var_force_family() 69 ws->info.chip_class = GFX10_3; in handle_env_var_force_family() 71 ws->info.chip_class = GFX10; in handle_env_var_force_family() 73 ws->info.chip_class = GFX9; in handle_env_var_force_family() 75 ws->info.chip_class = GFX8; in handle_env_var_force_family() 77 ws->info.chip_class = GFX7; in handle_env_var_force_family() 79 ws->info.chip_class = GFX6; in handle_env_var_force_family() 92 static bool do_winsys_init(struct amdgpu_winsys *ws, in do_winsys_init() argument [all …]
|
D | amdgpu_bo.c | 54 struct amdgpu_winsys *ws = amdgpu_winsys(rws); in amdgpu_bo_wait() local 89 simple_mtx_lock(&ws->bo_fence_lock); in amdgpu_bo_wait() 105 simple_mtx_unlock(&ws->bo_fence_lock); in amdgpu_bo_wait() 111 simple_mtx_lock(&ws->bo_fence_lock); in amdgpu_bo_wait() 119 simple_mtx_unlock(&ws->bo_fence_lock); in amdgpu_bo_wait() 124 simple_mtx_lock(&ws->bo_fence_lock); in amdgpu_bo_wait() 138 simple_mtx_unlock(&ws->bo_fence_lock); in amdgpu_bo_wait() 166 void amdgpu_bo_destroy(struct amdgpu_winsys *ws, struct pb_buffer *_buf) in amdgpu_bo_destroy() argument 175 amdgpu_bo_unmap(&ws->dummy_ws.base, &bo->base); in amdgpu_bo_destroy() 180 if (ws->debug_all_bos) { in amdgpu_bo_destroy() [all …]
|
/third_party/boost/libs/beast/test/beast/websocket/ |
D | read2.cpp | 40 ws_type_t<deflateSupported>& ws, in doReadTest() argument 46 w.read(ws, b); in doReadTest() 54 ws.reason().code == code); in doReadTest() 62 ws_type_t<deflateSupported>& ws, in doFailTest() argument 68 w.read(ws, b); in doFailTest() 89 stream<test::stream, deflateSupported> ws{ioc_}; in doTestRead() local 90 ws.next_layer().connect(es.stream()); in doTestRead() 91 ws.handshake("localhost", "/"); in doTestRead() 92 ws.close({}); in doTestRead() 96 w.read(ws, b); in doTestRead() [all …]
|
D | write.cpp | 40 stream<test::stream> ws{ioc_}; in doTestWrite() local 41 ws.next_layer().connect(es.stream()); in doTestWrite() 42 ws.handshake("localhost", "/"); in doTestWrite() 43 ws.close({}); in doTestWrite() 46 w.write(ws, sbuf("")); in doTestWrite() 59 [&](ws_type_t<deflateSupported>& ws) in doTestWrite() 61 ws.auto_fragment(false); in doTestWrite() 62 ws.binary(false); in doTestWrite() 64 w.write(ws, net::buffer(s)); in doTestWrite() 66 w.read(ws, b); in doTestWrite() [all …]
|
D | test.hpp | 335 ws_type_t<deflateSupported> ws{ts}; in doTest() local 336 ws.set_option(pmd); in doTest() 341 ws.next_layer().connect(es.stream()); in doTest() 342 ws.handshake("localhost", "/", ec); in doTest() 354 f(ws); in doTest() 451 stream<NextLayer, deflateSupported>& ws) const in accept() 453 ws.accept(); in accept() 461 accept(stream<NextLayer, deflateSupported>& ws, in accept() 464 ws.accept(buffers); in accept() 470 stream<NextLayer, deflateSupported>& ws, in accept() [all …]
|
D | close.cpp | 39 doTest(pmd, [&](ws_type& ws) in doTestClose() 41 w.close(ws, {}); in doTestClose() 45 doTest(pmd, [&](ws_type& ws) in doTestClose() argument 47 w.close(ws, close_code::going_away); in doTestClose() 51 doTest(pmd, [&](ws_type& ws) in doTestClose() argument 53 w.close(ws, { in doTestClose() 61 stream<test::stream> ws{ioc_}; in doTestClose() local 62 ws.next_layer().connect(es.stream()); in doTestClose() 63 w.handshake(ws, "localhost", "/"); in doTestClose() 64 w.close(ws, {}); in doTestClose() [all …]
|
D | doc_snippets.cpp | 38 stream<net::ip::tcp::socket> ws{ios}; in fxx() local 44 stream<net::ip::tcp::socket> ws{std::move(sock)}; in fxx() local 50 stream<net::ip::tcp::socket&> ws{sock}; in fxx() local 54 ws.next_layer().shutdown(net::ip::tcp::socket::shutdown_send); in fxx() 62 stream<net::ip::tcp::socket> ws{ios}; in fxx() local 63 net::connect(ws.next_layer(), r.resolve({host, "ws"})); in fxx() 70 stream<net::ip::tcp::socket> ws{acceptor.get_io_service()}; in fxx() local 71 acceptor.accept(ws.next_layer()); in fxx() 76 stream<net::ip::tcp::socket> ws{ios}; in fxx() local 78 ws.handshake("localhost", "/"); in fxx() [all …]
|
D | ping.cpp | 41 doTest(pmd, [&](ws_type& ws) in doTestPing() 43 w.ping(ws, {}); in doTestPing() 47 doTest(pmd, [&](ws_type& ws) in doTestPing() argument 49 w.pong(ws, {}); in doTestPing() 55 stream<test::stream> ws{ioc_}; in doTestPing() local 56 ws.next_layer().connect(es.stream()); in doTestPing() 57 ws.handshake("localhost", "/"); in doTestPing() 58 ws.close({}); in doTestPing() 61 w.ping(ws, {}); in doTestPing() 75 stream<test::stream> ws{ioc_}; in doTestPing() local [all …]
|
D | read3.cpp | 35 stream<test::stream> ws{ioc, fc}; in testSuspend() local 36 ws.next_layer().connect(es.stream()); in testSuspend() 37 ws.handshake("localhost", "/"); in testSuspend() 39 ws.async_close({}, in testSuspend() 47 while(! ws.impl_->rd_block.is_locked()) in testSuspend() 50 ws.async_read(b, in testSuspend() 67 stream<test::stream> ws{ioc, fc}; in testSuspend() local 68 ws.next_layer().connect(es.stream()); in testSuspend() 69 ws.handshake("localhost", "/"); in testSuspend() 72 ws.async_read(b, in testSuspend() [all …]
|
D | accept.cpp | 74 ws(ioc, fc); in fail_loop() local 75 auto tr = connect(ws.next_layer()); in fail_loop() 76 f(ws); in fail_loop() 107 fail_loop([&](stream<test::basic_stream<net::io_context::executor_type>>& ws) in testMatrix() 109 ws.next_layer().append( in testMatrix() 117 ws.next_layer().read_size(20); in testMatrix() 118 api.accept(ws); in testMatrix() 122 fail_loop([&](stream<test::basic_stream<net::io_context::executor_type>>& ws) in testMatrix() argument 124 ws.next_layer().append( in testMatrix() 132 ws.next_layer().read_size(20); in testMatrix() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | ffwavesynth.c | 137 static void pink_fill(struct wavesynth_context *ws) in pink_fill() argument 142 ws->pink_pos = 0; in pink_fill() 143 if (!ws->pink_need) in pink_fill() 150 vt[j] = (int32_t)lcg_next(&ws->pink_state) >> 3; in pink_fill() 153 ws->pink_pool[i] = v + ((int32_t)lcg_next(&ws->pink_state) >> 3); in pink_fill() 155 lcg_next(&ws->pink_state); /* so we use exactly 256 steps */ in pink_fill() 197 static void wavesynth_seek(struct wavesynth_context *ws, int64_t ts) in wavesynth_seek() argument 202 last = &ws->cur_inter; in wavesynth_seek() 203 for (i = 0; i < ws->nb_inter; i++) { in wavesynth_seek() 204 in = &ws->inter[i]; in wavesynth_seek() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/within/ |
D | within_pointlike_geometry.cpp | 162 >::type ws; in test_spherical_geographic() local 171 boost::ignore_unused(ws, ss); in test_spherical_geographic() 208 BOOST_CHECK_EQUAL(bg::within(Point(7, 52.5), triangle, ws), true); in test_spherical_geographic() 209 BOOST_CHECK_EQUAL(bg::within(Point(8.0, 51.5), triangle, ws), false); in test_spherical_geographic() 210 BOOST_CHECK_EQUAL(bg::within(Point(6.0, 51.0), triangle, ws), false); in test_spherical_geographic() 220 BOOST_CHECK_EQUAL(bg::within(pt_n1, poly_n, ws), true); in test_spherical_geographic() 221 BOOST_CHECK_EQUAL(bg::within(pt_n2, poly_n, ws), false); in test_spherical_geographic() 231 BOOST_CHECK_EQUAL(bg::within(pt_s1, poly_s, ws), false); in test_spherical_geographic() 232 BOOST_CHECK_EQUAL(bg::within(pt_s2, poly_s, ws), true); in test_spherical_geographic() 246 BOOST_CHECK_EQUAL(bg::within(pt_n11, poly_n, ws), true); in test_spherical_geographic() [all …]
|
/third_party/node/deps/npm/node_modules/flush-write-stream/ |
D | test.js | 6 var ws = writer.obj(write) 8 ws.write('hello') 9 ws.write('world') 10 ws.write('verden') 11 ws.end(function () { 26 var ws = writer.obj(write, flush) 28 ws.write('hello') 29 ws.write('world') 30 ws.write('verden') 31 ws.end(function () { [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_radeon_winsys.h | 215 void (*destroy)(struct radeon_winsys *ws); 217 void (*query_info)(struct radeon_winsys *ws, struct radeon_info *info); 219 uint64_t (*query_value)(struct radeon_winsys *ws, enum radeon_value_id value); 221 bool (*read_registers)(struct radeon_winsys *ws, unsigned reg_offset, unsigned num_registers, 224 const char *(*get_chip_name)(struct radeon_winsys *ws); 226 VkResult (*buffer_create)(struct radeon_winsys *ws, uint64_t size, unsigned alignment, 230 void (*buffer_destroy)(struct radeon_winsys *ws, struct radeon_winsys_bo *bo); 233 VkResult (*buffer_from_ptr)(struct radeon_winsys *ws, void *pointer, uint64_t size, 236 VkResult (*buffer_from_fd)(struct radeon_winsys *ws, int fd, unsigned priority, 239 bool (*buffer_get_fd)(struct radeon_winsys *ws, struct radeon_winsys_bo *bo, int *fd); [all …]
|
/third_party/musl/src/multibyte/ |
D | wcsrtombs.c | 3 size_t wcsrtombs(char *restrict s, const wchar_t **restrict ws, size_t n, mbstate_t *restrict st) in wcsrtombs() argument 9 for (n=0, ws2=*ws; *ws2; ws2++) { in wcsrtombs() 19 if (**ws-1u >= 0x7fu) { in wcsrtombs() 20 if (!**ws) { in wcsrtombs() 22 *ws = 0; in wcsrtombs() 25 l = wcrtomb(s, **ws, 0); in wcsrtombs() 30 *s++ = **ws; in wcsrtombs() 33 (*ws)++; in wcsrtombs() 36 if (**ws-1u >= 0x7fu) { in wcsrtombs() 37 if (!**ws) { in wcsrtombs() [all …]
|
/third_party/libwebsockets/minimal-examples/ws-server/ |
D | README.md | 3 minimal-ws-broker|Simple ws server with a publish / broker / subscribe architecture 4 minimal-ws-server-echo|Simple ws server that listens and echos back anything clients send 5 minimal-ws-server-pmd-bulk|Simple ws server showing how to pass bulk data with permessage-deflate 6 minimal-ws-server-pmd-corner|Corner-case tests for permessage-deflate 7 minimal-ws-server-pmd|Simple ws server with permessage-deflate support 8 minimal-ws-server-ring|Like minimal-ws-server but holds the chat in a multi-tail ringbuffer 9 minimal-ws-server-threadpool|Demonstrates how to use a worker thread pool with lws 10 minimal-ws-server-threads-smp|SMP ws server where data is produced by different threads with multip… 11 minimal-ws-server-threads|Simple ws server where data is produced by different threads 12 minimal-ws-server|Serves an index.html over http that opens a ws shared chat client in a browser
|
/third_party/boost/libs/date_time/test/gregorian/ |
D | testgreg_wstream.cpp | 20 std::wstring res, ws; in main() 34 ws = to_simple_wstring(dp.begin()); in main() 35 check("date to_simple_string", ws == res); in main() 36 ws = to_iso_wstring(dp.begin()); in main() 38 check("date to_iso_string", ws == res); in main() 39 ws = to_iso_extended_wstring(dp.begin()); in main() 41 check("date to_iso_extended_string", ws == res); in main() 42 ws = to_sql_wstring(dp.begin()); in main() 43 check("date to_sql_string", ws == res); in main() 62 ws = dp.begin().month().as_short_wstring(); in main() [all …]
|