Home
last modified time | relevance | path

Searched refs:ws (Results 1 – 25 of 692) sorted by relevance

12345678910>>...28

/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c84 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 …]
/external/zstd/lib/compress/
Dzstd_cwksp.h160 MEM_STATIC size_t ZSTD_cwksp_available_space(ZSTD_cwksp* ws);
162 MEM_STATIC void ZSTD_cwksp_assert_internal_consistency(ZSTD_cwksp* ws) { in ZSTD_cwksp_assert_internal_consistency() argument
163 (void)ws; in ZSTD_cwksp_assert_internal_consistency()
164 assert(ws->workspace <= ws->objectEnd); in ZSTD_cwksp_assert_internal_consistency()
165 assert(ws->objectEnd <= ws->tableEnd); in ZSTD_cwksp_assert_internal_consistency()
166 assert(ws->objectEnd <= ws->tableValidEnd); in ZSTD_cwksp_assert_internal_consistency()
167 assert(ws->tableEnd <= ws->allocStart); in ZSTD_cwksp_assert_internal_consistency()
168 assert(ws->tableValidEnd <= ws->allocStart); in ZSTD_cwksp_assert_internal_consistency()
169 assert(ws->allocStart <= ws->workspaceEnd); in ZSTD_cwksp_assert_internal_consistency()
202 ZSTD_cwksp* ws, ZSTD_cwksp_alloc_phase_e phase) { in ZSTD_cwksp_internal_advance_phase() argument
[all …]
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_winsys.c43 do_winsys_init(struct radv_amdgpu_winsys *ws, int fd) in do_winsys_init() argument
45 if (!ac_query_gpu_info(fd, ws->dev, &ws->info, &ws->amdinfo)) in do_winsys_init()
49 if (ws->info.chip_class == GFX10_3 && ws->use_llvm && LLVM_VERSION_MAJOR < 11) { in do_winsys_init()
55 if (ws->info.chip_class == GFX10 && ws->use_llvm && LLVM_VERSION_MAJOR < 9) { in do_winsys_init()
61 ws->info.use_display_dcc_unaligned = false; in do_winsys_init()
62 ws->info.use_display_dcc_with_retile_blit = false; in do_winsys_init()
64 ws->addrlib = ac_addrlib_create(&ws->info, &ws->amdinfo, &ws->info.max_alignment); in do_winsys_init()
65 if (!ws->addrlib) { in do_winsys_init()
70 ws->info.num_rings[RING_DMA] = MIN2(ws->info.num_rings[RING_DMA], MAX_RINGS_PER_TYPE); in do_winsys_init()
71 ws->info.num_rings[RING_COMPUTE] = MIN2(ws->info.num_rings[RING_COMPUTE], MAX_RINGS_PER_TYPE); in do_winsys_init()
[all …]
Dradv_amdgpu_bo.c46 radv_amdgpu_bo_va_op(struct radv_amdgpu_winsys *ws, in radv_amdgpu_bo_va_op() argument
61 ws->info.chip_class >= GFX9) in radv_amdgpu_bo_va_op()
70 return amdgpu_bo_va_op_raw(ws->dev, bo, offset, size, addr, in radv_amdgpu_bo_va_op()
82 if (!bo->ws->info.has_sparse_vm_mappings) in radv_amdgpu_winsys_virtual_map()
89 int r = radv_amdgpu_bo_va_op(bo->ws, range->bo ? range->bo->bo : NULL, in radv_amdgpu_winsys_virtual_map()
105 if(!bo->ws->info.has_sparse_vm_mappings) in radv_amdgpu_winsys_virtual_unmap()
113 int r = radv_amdgpu_bo_va_op(bo->ws, range->bo ? range->bo->bo : NULL, in radv_amdgpu_winsys_virtual_unmap()
289 struct radv_amdgpu_winsys *ws = bo->ws; in radv_amdgpu_winsys_bo_destroy() local
300 if (bo->ws->debug_all_bos) { in radv_amdgpu_winsys_bo_destroy()
301 u_rwlock_wrlock(&bo->ws->global_bo_list_lock); in radv_amdgpu_winsys_bo_destroy()
[all …]
Dradv_amdgpu_cs.c46 struct radv_amdgpu_winsys *ws; member
283 cs->ws->base.buffer_destroy(cs->ib_buffer); in radv_amdgpu_cs_destroy()
288 cs->ws->base.buffer_destroy(cs->old_ib_buffers[i]); in radv_amdgpu_cs_destroy()
313 radv_amdgpu_cs_create(struct radeon_winsys *ws, in radv_amdgpu_cs_create() argument
322 cs->ws = radv_amdgpu_winsys(ws); in radv_amdgpu_cs_create()
325 if (cs->ws->use_ib_bos) { in radv_amdgpu_cs_create()
326 cs->ib_buffer = ws->buffer_create(ws, ib_size, 0, in radv_amdgpu_cs_create()
338 cs->ib_mapped = ws->buffer_map(cs->ib_buffer); in radv_amdgpu_cs_create()
340 ws->buffer_destroy(cs->ib_buffer); in radv_amdgpu_cs_create()
351 ws->cs_add_buffer(&cs->base, cs->ib_buffer); in radv_amdgpu_cs_create()
[all …]
/external/libwebsockets/lib/roles/ws/
Dclient-parser-ws.c49 if (wsi->ws->rx_draining_ext) { in lws_ws_client_rx_sm()
66 wsi->ws->defeat_check_utf8 = 0; in lws_ws_client_rx_sm()
68 switch (wsi->ws->ietf_spec_revision) { in lws_ws_client_rx_sm()
70 wsi->ws->opcode = c & 0xf; in lws_ws_client_rx_sm()
72 switch (wsi->ws->opcode) { in lws_ws_client_rx_sm()
74 wsi->ws->rsv_first_msg = (c & 0x70); in lws_ws_client_rx_sm()
81 wsi->ws->pmd_trailer_application = !!(c & 0x40); in lws_ws_client_rx_sm()
83 wsi->ws->continuation_possible = 1; in lws_ws_client_rx_sm()
84 wsi->ws->check_utf8 = lws_check_opt( in lws_ws_client_rx_sm()
87 wsi->ws->utf8 = 0; in lws_ws_client_rx_sm()
[all …]
Dops-ws.c59 if (wsi->ws->rx_draining_ext) { in lws_ws_rx_sm()
71 switch (wsi->ws->ietf_spec_revision) { in lws_ws_rx_sm()
76 wsi->ws->all_zero_nonce = 1; in lws_ws_rx_sm()
81 wsi->ws->ietf_spec_revision); in lws_ws_rx_sm()
86 wsi->ws->mask[1] = c; in lws_ws_rx_sm()
88 wsi->ws->all_zero_nonce = 0; in lws_ws_rx_sm()
92 wsi->ws->mask[2] = c; in lws_ws_rx_sm()
94 wsi->ws->all_zero_nonce = 0; in lws_ws_rx_sm()
98 wsi->ws->mask[3] = c; in lws_ws_rx_sm()
100 wsi->ws->all_zero_nonce = 0; in lws_ws_rx_sm()
[all …]
Dserver-ws.c62 wsi->ws->count_act_ext = 0; in lws_extension_server_handshake()
115 ext = wsi->vhost->ws.extensions; in lws_extension_server_handshake()
128 for (m = 0; m < wsi->ws->count_act_ext; m++) in lws_extension_server_handshake()
129 if (wsi->ws->active_extensions[m] == ext) { in lws_extension_server_handshake()
158 wsi->ws->active_extensions[wsi->ws->count_act_ext] = ext; in lws_extension_server_handshake()
164 (void *)&wsi->ws->act_ext_user[ in lws_extension_server_handshake()
165 wsi->ws->count_act_ext], in lws_extension_server_handshake()
217 wsi->ws->act_ext_user[ in lws_extension_server_handshake()
218 wsi->ws->count_act_ext], in lws_extension_server_handshake()
236 wsi->ws->count_act_ext++; in lws_extension_server_handshake()
[all …]
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c52 static void handle_env_var_force_family(struct amdgpu_winsys *ws) in handle_env_var_force_family() argument
63 ws->info.family = i; in handle_env_var_force_family()
64 ws->info.name = "GCN-NOOP"; in handle_env_var_force_family()
67 ws->info.chip_class = GFX10_3; in handle_env_var_force_family()
69 ws->info.chip_class = GFX10; in handle_env_var_force_family()
71 ws->info.chip_class = GFX9; in handle_env_var_force_family()
73 ws->info.chip_class = GFX8; in handle_env_var_force_family()
75 ws->info.chip_class = GFX7; in handle_env_var_force_family()
77 ws->info.chip_class = GFX6; in handle_env_var_force_family()
90 static bool do_winsys_init(struct amdgpu_winsys *ws, in do_winsys_init() argument
[all …]
Damdgpu_bo.c54 struct amdgpu_winsys *ws = bo->ws; in amdgpu_bo_wait() local
88 simple_mtx_lock(&ws->bo_fence_lock); in amdgpu_bo_wait()
104 simple_mtx_unlock(&ws->bo_fence_lock); in amdgpu_bo_wait()
110 simple_mtx_lock(&ws->bo_fence_lock); in amdgpu_bo_wait()
118 simple_mtx_unlock(&ws->bo_fence_lock); in amdgpu_bo_wait()
123 simple_mtx_lock(&ws->bo_fence_lock); in amdgpu_bo_wait()
137 simple_mtx_unlock(&ws->bo_fence_lock); in amdgpu_bo_wait()
169 struct amdgpu_winsys *ws = bo->ws; in amdgpu_bo_destroy() local
179 if (ws->debug_all_bos) { in amdgpu_bo_destroy()
180 simple_mtx_lock(&ws->global_bo_list_lock); in amdgpu_bo_destroy()
[all …]
/external/catch2/examples/
D210-Evt-EventListeners.cpp20 std::string ws(int const level) { in ws() function
38 os << ws(level ) << title << ":\n" in print()
39 << ws(level+1) << "- file: " << info.file << "\n" in print()
40 << ws(level+1) << "- line: " << info.line << "\n"; in print()
52 os << ws(level+1) << "- macroName: '" << info.macroName << "'\n" in print()
53 << ws(level+1) << "- message '" << info.message << "'\n"; in print()
55 os << ws(level+1) << "- sequence " << info.sequence << "\n"; in print()
59 os << ws(level ) << title << ":\n"; in print()
62 os << ws(level+1) << "{\n"; in print()
64 os << ws(level+1) << "}\n"; in print()
[all …]
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
Dfrom_bytes.pass.cpp40 std::wstring ws = myconv.from_bytes('a'); in test() local
41 assert(ws == L"a"); in test()
42 ws = myconv.from_bytes(bs.c_str()); in test()
43 assert(ws == L"\x1005"); in test()
44 ws = myconv.from_bytes(bs); in test()
45 assert(ws == L"\x1005"); in test()
46 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in test()
47 assert(ws == L"\x1005"); in test()
48 ws = myconv.from_bytes(""); in test()
49 assert(ws.size() == 0); in test()
[all …]
Dto_bytes.pass.cpp39 std::wstring ws(1, CharT(0x1005)); in test() local
40 std::string bs = myconv.to_bytes(ws[0]); in test()
42 bs = myconv.to_bytes(ws.c_str()); in test()
44 bs = myconv.to_bytes(ws); in test()
46 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test()
58 std::wstring ws(1, CharT(0x40003)); in test() local
59 std::string bs = myconv.to_bytes(ws[0]); in test()
61 bs = myconv.to_bytes(ws.c_str()); in test()
63 bs = myconv.to_bytes(ws); in test()
65 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test()
/external/llvm-project/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
Dfrom_bytes.pass.cpp41 std::wstring ws = myconv.from_bytes('a'); in test() local
42 assert(ws == L"a"); in test()
43 ws = myconv.from_bytes(bs.c_str()); in test()
44 assert(ws == L"\u1005"); in test()
45 ws = myconv.from_bytes(bs); in test()
46 assert(ws == L"\u1005"); in test()
47 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in test()
48 assert(ws == L"\u1005"); in test()
49 ws = myconv.from_bytes(""); in test()
50 assert(ws.size() == 0); in test()
[all …]
Dto_bytes.pass.cpp40 std::wstring ws(1, L'\u1005'); in test() local
41 std::string bs = myconv.to_bytes(ws[0]); in test()
43 bs = myconv.to_bytes(ws.c_str()); in test()
45 bs = myconv.to_bytes(ws); in test()
47 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test()
59 std::wstring ws(1, *L"\U00040003"); in test() local
60 std::string bs = myconv.to_bytes(ws[0]); in test()
62 bs = myconv.to_bytes(ws.c_str()); in test()
64 bs = myconv.to_bytes(ws); in test()
66 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test()
/external/libwebsockets/minimal-examples/ws-server/
DREADME.md3 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
/external/cn-cbor/src/
Dcn-encoder.c38 #define ensure_writable(sz) if ((ws->offset<0) || (ws->offset + (sz) >= ws->size)) { \
39 ws->offset = -1; \
44 ws->buf[ws->offset++] = (b); \
45 memcpy(ws->buf+ws->offset, (data), (sz)); \
46 ws->offset += sz;
49 ws->buf[ws->offset++] = (b); \
79 static void _write_positive(cn_write_state *ws, cn_cbor_type typ, uint64_t val) { in _write_positive() argument
86 ws->offset = -1; in _write_positive()
116 static void _write_double(cn_write_state *ws, double val) in _write_double() argument
221 if (ws->offset < 0) { return; }
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h213 void (*destroy)(struct radeon_winsys *ws);
215 void (*query_info)(struct radeon_winsys *ws,
218 uint64_t (*query_value)(struct radeon_winsys *ws,
221 bool (*read_registers)(struct radeon_winsys *ws, unsigned reg_offset,
224 const char *(*get_chip_name)(struct radeon_winsys *ws);
226 struct radeon_winsys_bo *(*buffer_create)(struct radeon_winsys *ws,
236 struct radeon_winsys_bo *(*buffer_from_ptr)(struct radeon_winsys *ws,
241 struct radeon_winsys_bo *(*buffer_from_fd)(struct radeon_winsys *ws,
246 bool (*buffer_get_fd)(struct radeon_winsys *ws,
250 bool (*buffer_get_flags_from_fd)(struct radeon_winsys *ws, int fd,
[all …]
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c80 dri_sw_winsys( struct sw_winsys *ws ) in dri_sw_winsys() argument
82 return (struct dri_sw_winsys *)ws; in dri_sw_winsys()
87 dri_sw_is_displaytarget_format_supported( struct sw_winsys *ws, in dri_sw_is_displaytarget_format_supported() argument
126 struct dri_sw_winsys *ws = dri_sw_winsys(winsys); in dri_sw_displaytarget_create() local
148 if (ws->lf->put_image_shm) in dri_sw_displaytarget_create()
168 dri_sw_displaytarget_destroy(struct sw_winsys *ws, in dri_sw_displaytarget_destroy() argument
186 dri_sw_displaytarget_map(struct sw_winsys *ws, in dri_sw_displaytarget_map() argument
194 struct dri_sw_winsys *dri_sw_ws = dri_sw_winsys(ws); in dri_sw_displaytarget_map()
202 dri_sw_displaytarget_unmap(struct sw_winsys *ws, in dri_sw_displaytarget_unmap() argument
207 struct dri_sw_winsys *dri_sw_ws = dri_sw_winsys(ws); in dri_sw_displaytarget_unmap()
[all …]
/external/libwebsockets/lib/roles/ws/ext/
Dextension.c195 if (!wsi->ws) in lws_ext_cb_active()
198 for (n = 0; n < wsi->ws->count_act_ext; n++) { in lws_ext_cb_active()
199 m = wsi->ws->active_extensions[n]->callback( in lws_ext_cb_active()
200 lws_get_context(wsi), wsi->ws->active_extensions[n], in lws_ext_cb_active()
201 wsi, reason, wsi->ws->act_ext_user[n], arg, len); in lws_ext_cb_active()
204 wsi->ws->active_extensions[n]->name, reason); in lws_ext_cb_active()
209 wsi->ws->act_ext_user[n] = NULL; in lws_ext_cb_active()
223 if (!wsi || !wsi->vhost || !wsi->ws) in lws_ext_cb_all_exts()
226 ext = wsi->vhost->ws.extensions; in lws_ext_cb_all_exts()
233 wsi->ws->active_extensions[n]->name, reason); in lws_ext_cb_all_exts()
[all …]
/external/libwebsockets/minimal-examples/ws-client/
DREADME.md3 minimal-ws-client|Simple client that connects to libwebsockets.org dumb increment protocol and demo…
4 minimal-ws-client-echo|Simple client that connects to a ws server and echos anything the server sen…
5 minimal-ws-client-ping|Ws ping test client
6 minimal-ws-client-pmd-bulk|Client that sends bulk multifragment data to the minimal-ws-server-pmd-b…
7 minimal-ws-client-rx|Connects to the dumb-increment-protocol wss server at https://libwebsockets.or…
8 minimal-ws-client-spam|Spams ws connections in parallel to a server for stability testing
9 minimal-ws-client-tx|Connects to the minimal-ws-broker example as a publisher, demonstrating sendin…
/external/llvm-project/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td31 bits<5> ws;
38 let Inst{15-11} = ws;
44 bits<5> ws;
51 let Inst{15-11} = ws;
57 bits<5> ws;
64 let Inst{15-11} = ws;
70 bits<5> ws;
77 let Inst{15-11} = ws;
105 bits<5> ws;
110 let Inst{15-11} = ws;
[all …]
/external/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td31 bits<5> ws;
38 let Inst{15-11} = ws;
44 bits<5> ws;
51 let Inst{15-11} = ws;
57 bits<5> ws;
64 let Inst{15-11} = ws;
70 bits<5> ws;
77 let Inst{15-11} = ws;
105 bits<5> ws;
110 let Inst{15-11} = ws;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsMSAInstrFormats.td31 bits<5> ws;
38 let Inst{15-11} = ws;
44 bits<5> ws;
51 let Inst{15-11} = ws;
57 bits<5> ws;
64 let Inst{15-11} = ws;
70 bits<5> ws;
77 let Inst{15-11} = ws;
105 bits<5> ws;
110 let Inst{15-11} = ws;
[all …]
/external/libese/esed/
DWeaver.cpp44 EseWeaverSession ws; in getConfig() local
45 ese_weaver_session_init(&ws); in getConfig()
46 EseAppResult res = ese_weaver_session_open(mEse.ese_interface(), &ws); in getConfig()
64 if (ese_weaver_get_num_slots(&ws, &numSlots) != ESE_APP_RESULT_OK) { in getConfig()
70 if (ese_weaver_session_close(&ws) != ESE_APP_RESULT_OK) { in getConfig()
95 EseWeaverSession ws; in write() local
96 ese_weaver_session_init(&ws); in write()
97 if (ese_weaver_session_open(mEse.ese_interface(), &ws) != ESE_APP_RESULT_OK) { in write()
102 if (ese_weaver_write(&ws, slotId, key.data(), value.data()) != ESE_APP_RESULT_OK) { in write()
107 if (ese_weaver_session_close(&ws) != ESE_APP_RESULT_OK) { in write()
[all …]

12345678910>>...28