Home
last modified time | relevance | path

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

12345678910>>...12

/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c127 if (drmCommandWriteRead(applier->ws->fd, DRM_RADEON_INFO, in radeon_set_fd_access()
173 static boolean do_winsys_init(struct radeon_drm_winsys *ws) in do_winsys_init() argument
200 version = drmGetVersion(ws->fd); in do_winsys_init()
213 ws->info.drm_major = version->version_major; in do_winsys_init()
214 ws->info.drm_minor = version->version_minor; in do_winsys_init()
215 ws->info.drm_patchlevel = version->version_patchlevel; in do_winsys_init()
219 if (!radeon_get_drm_value(ws->fd, RADEON_INFO_DEVICE_ID, "PCI ID", in do_winsys_init()
220 &ws->info.pci_id)) in do_winsys_init()
224 switch (ws->info.pci_id) { in do_winsys_init()
228 ws->gen = R300; in do_winsys_init()
[all …]
Dradeon_drm_cs.c99 struct radeon_drm_winsys *ws) in radeon_init_cs_context() argument
101 csc->fd = ws->fd; in radeon_init_cs_context()
164 struct radeon_drm_winsys *ws = radeon_drm_winsys(rws); in radeon_drm_cs_create() local
174 cs->ws = ws; in radeon_drm_cs_create()
176 if (!radeon_init_cs_context(&cs->csc1, cs->ws)) { in radeon_drm_cs_create()
180 if (!radeon_init_cs_context(&cs->csc2, cs->ws)) { in radeon_drm_cs_create()
191 p_atomic_inc(&ws->num_cs); in radeon_drm_cs_create()
192 if (cs->ws->num_cpus > 1 && debug_get_option_thread()) in radeon_drm_cs_create()
337 cs->csc->used_gart < cs->ws->info.gart_size * 0.8 && in radeon_drm_cs_validate()
338 cs->csc->used_vram < cs->ws->info.vram_size * 0.8; in radeon_drm_cs_validate()
[all …]
Dradeon_winsys.h115 void (*destroy)(struct radeon_winsys *ws);
123 void (*query_info)(struct radeon_winsys *ws,
144 struct pb_buffer *(*buffer_create)(struct radeon_winsys *ws,
240 struct pb_buffer *(*buffer_from_handle)(struct radeon_winsys *ws,
277 struct radeon_winsys_cs *(*cs_create)(struct radeon_winsys *ws);
377 int (*surface_init)(struct radeon_winsys *ws,
386 int (*surface_best)(struct radeon_winsys *ws,
394 uint64_t (*query_timestamp)(struct radeon_winsys *ws);
/external/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c65 dri_sw_winsys( struct sw_winsys *ws ) in dri_sw_winsys() argument
67 return (struct dri_sw_winsys *)ws; in dri_sw_winsys()
72 dri_sw_is_displaytarget_format_supported( struct sw_winsys *ws, in dri_sw_is_displaytarget_format_supported() argument
119 dri_sw_displaytarget_destroy(struct sw_winsys *ws, in dri_sw_displaytarget_destroy() argument
132 dri_sw_displaytarget_map(struct sw_winsys *ws, in dri_sw_displaytarget_map() argument
142 dri_sw_displaytarget_unmap(struct sw_winsys *ws, in dri_sw_displaytarget_unmap() argument
169 dri_sw_displaytarget_display(struct sw_winsys *ws, in dri_sw_displaytarget_display() argument
173 struct dri_sw_winsys *dri_sw_ws = dri_sw_winsys(ws); in dri_sw_displaytarget_display()
199 struct dri_sw_winsys *ws; in dri_create_sw_winsys() local
201 ws = CALLOC_STRUCT(dri_sw_winsys); in dri_create_sw_winsys()
[all …]
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
Dfrom_bytes.pass.cpp28 std::wstring ws = myconv.from_bytes('a'); in main() local
29 assert(ws == L"a"); in main()
30 ws = myconv.from_bytes(bs.c_str()); in main()
31 assert(ws == L"\x40003"); in main()
32 ws = myconv.from_bytes(bs); in main()
33 assert(ws == L"\x40003"); in main()
34 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in main()
35 assert(ws == L"\x40003"); in main()
36 ws = myconv.from_bytes(""); in main()
37 assert(ws.size() == 0); in main()
Dto_bytes.pass.cpp27 std::wstring ws(1, L'\x40003'); in main() local
28 std::string bs = myconv.to_bytes(ws[0]); in main()
30 bs = myconv.to_bytes(ws.c_str()); in main()
32 bs = myconv.to_bytes(ws); in main()
34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in main()
/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testScripts/
Druntests14 ws=
27 usage="usage: $0 -os <osType> -ws <windowingSystemType> -arch <architecture> [-noclean] [<test targ…
36 -ws) ws="$2"; shift;;
46 # for *nix systems, os, ws and arch values must be specified
53 if [ "x$ws" = "x" ]
68 # verify os, ws and arch values passed in are valid before running tests
69ws-$arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "s…
84 ….launcher.Main -noupdate -ws $ws -os $os -arch $arch -application org.eclipse.ant.core.antRunner -…
89 …sgi.ws=$ws -Dosgi.os=$os -Dosgi.arch=$arch org.eclipse.core.launcher.Main -application org.eclipse…
91 # display message to user if os, ws and arch are invalid
[all …]
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/
DREADME.rst35 ws = create_connection("ws://echo.websocket.org/")
37 ws.send("Hello, World")
40 result = ws.recv()
42 ws.close()
49 ws = create_connection("ws://echo.websocket.org/".
59 def on_message(ws, message):
62 def on_error(ws, error):
65 def on_close(ws):
68 def on_open(ws):
72 ws.send("Hello %d" % i)
[all …]
/external/mesa3d/src/gallium/include/state_tracker/
Dsw_winsys.h69 (*destroy)( struct sw_winsys *ws );
72 (*is_displaytarget_format_supported)( struct sw_winsys *ws,
88 (*displaytarget_create)( struct sw_winsys *ws,
99 (*displaytarget_from_handle)( struct sw_winsys *ws,
108 (*displaytarget_get_handle)( struct sw_winsys *ws,
116 (*displaytarget_map)( struct sw_winsys *ws,
121 (*displaytarget_unmap)( struct sw_winsys *ws,
130 (*displaytarget_display)( struct sw_winsys *ws,
135 (*displaytarget_destroy)( struct sw_winsys *ws,
/external/mesa3d/src/gallium/winsys/sw/android/
Dandroid_sw_winsys.cpp62 android_sw_winsys(struct sw_winsys *ws) in android_sw_winsys() argument
64 return (struct android_sw_winsys *) ws; in android_sw_winsys()
76 android_displaytarget_display(struct sw_winsys *ws, in android_displaytarget_display() argument
83 android_displaytarget_create(struct sw_winsys *ws, in android_displaytarget_create() argument
94 android_displaytarget_destroy(struct sw_winsys *ws, in android_displaytarget_destroy() argument
104 android_displaytarget_unmap(struct sw_winsys *ws, in android_displaytarget_unmap() argument
107 struct android_sw_winsys *droid = android_sw_winsys(ws); in android_displaytarget_unmap()
125 android_displaytarget_map(struct sw_winsys *ws, in android_displaytarget_map() argument
129 struct android_sw_winsys *droid = android_sw_winsys(ws); in android_displaytarget_map()
153 android_displaytarget_from_handle(struct sw_winsys *ws, in android_displaytarget_from_handle() argument
[all …]
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketReader.java16 package com.squareup.okhttp.internal.ws;
27 import static com.squareup.okhttp.ws.WebSocket.PayloadType;
28 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_FIN;
29 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_RSV1;
30 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_RSV2;
31 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_RSV3;
32 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_MASK_OPCODE;
33 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B1_FLAG_MASK;
34 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B1_MASK_LENGTH;
35 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_BINARY;
[all …]
DWebSocketWriter.java16 package com.squareup.okhttp.internal.ws;
27 import static com.squareup.okhttp.ws.WebSocket.PayloadType;
28 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B0_FLAG_FIN;
29 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.B1_FLAG_MASK;
30 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_BINARY;
31 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTINUATION;
32 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTROL_CLOSE;
33 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PING;
34 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PONG;
35 import static com.squareup.okhttp.internal.ws.WebSocketProtocol.OPCODE_TEXT;
[all …]
/external/valgrind/helgrind/
Dhg_wordset.c272 static WordVec* do_ix2vec ( WordSetU* wsu, WordSet ws ) in do_ix2vec() argument
280 tl_assert(ws < wsu->ix2vec_used); /* XXX */ in do_ix2vec()
281 wv = wsu->ix2vec[ws]; in do_ix2vec()
290 static WordVec* do_ix2vec_with_dead ( WordSetU* wsu, WordSet ws ) in do_ix2vec_with_dead() argument
298 tl_assert(ws < wsu->ix2vec_used); /* XXX */ in do_ix2vec_with_dead()
299 wv = wsu->ix2vec[ws]; in do_ix2vec_with_dead()
333 WordSet ws; in add_or_dealloc_WordVec() local
335 ws = wsu->ix2vec_free - &(wsu->ix2vec[0]); in add_or_dealloc_WordVec()
336 tl_assert(wsu->ix2vec[ws] == NULL || is_dead(wsu,wsu->ix2vec[ws])); in add_or_dealloc_WordVec()
337 wsu->ix2vec_free = (WordVec **) wsu->ix2vec[ws]; in add_or_dealloc_WordVec()
[all …]
/external/mesa3d/src/gallium/winsys/sw/wayland/
Dwayland_sw_winsys.c71 wayland_sw_winsys(struct sw_winsys *ws) in wayland_sw_winsys() argument
73 return (struct wayland_sw_winsys *) ws; in wayland_sw_winsys()
77 wayland_displaytarget_display(struct sw_winsys *ws, in wayland_displaytarget_display() argument
84 wayland_displaytarget_unmap(struct sw_winsys *ws, in wayland_displaytarget_unmap() argument
98 wayland_displaytarget_map(struct sw_winsys *ws, in wayland_displaytarget_map() argument
127 wayland_displaytarget_destroy(struct sw_winsys *ws, in wayland_displaytarget_destroy() argument
133 wayland_displaytarget_unmap(ws, dt); in wayland_displaytarget_destroy()
139 wayland_is_displaytarget_format_supported(struct sw_winsys *ws, in wayland_is_displaytarget_format_supported() argument
153 wayland_displaytarget_create(struct sw_winsys *ws, in wayland_displaytarget_create() argument
164 if (!wayland_is_displaytarget_format_supported(ws, tex_usage, format)) in wayland_displaytarget_create()
[all …]
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp385 CFX_WideString ws; in SaveXMLNode() local
388 ws = L"<?xml version=\"1.0\" encoding=\""; in SaveXMLNode()
391 ws += L"UTF-16"; in SaveXMLNode()
393 ws += L"UTF-16be"; in SaveXMLNode()
395 ws += L"UTF-8"; in SaveXMLNode()
397 ws += L"\"?>"; in SaveXMLNode()
398 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
400 ws.Format(L"<?%s", (const FX_WCHAR*)pInstruction->m_wsTarget); in SaveXMLNode()
401 pXMLStream->WriteString(ws, ws.GetLength()); in SaveXMLNode()
406 ws = L" "; in SaveXMLNode()
[all …]
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c216 xlib_is_displaytarget_format_supported(struct sw_winsys *ws, in xlib_is_displaytarget_format_supported() argument
226 xlib_displaytarget_map(struct sw_winsys *ws, in xlib_displaytarget_map() argument
237 xlib_displaytarget_unmap(struct sw_winsys *ws, in xlib_displaytarget_unmap() argument
246 xlib_displaytarget_destroy(struct sw_winsys *ws, in xlib_displaytarget_destroy() argument
371 xlib_displaytarget_display(struct sw_winsys *ws, in xlib_displaytarget_display() argument
449 xlib_destroy(struct sw_winsys *ws) in xlib_destroy() argument
451 FREE(ws); in xlib_destroy()
458 struct xlib_sw_winsys *ws; in xlib_create_sw_winsys() local
460 ws = CALLOC_STRUCT(xlib_sw_winsys); in xlib_create_sw_winsys()
461 if (!ws) in xlib_create_sw_winsys()
[all …]
/external/v8/test/js-perf-test/Collections/
Dweakset.js16 var ws; variable
21 ws = new WeakSet;
32 ws = null;
38 ws.add(keys[i]);
45 if (!ws.has(keys[i])) {
50 if (ws.has(keys[i])) {
61 ws.delete(keys[i]);
/external/mesa3d/src/gallium/winsys/sw/wrapper/
Dwrapper_sw_winsys.c70 wrapper_sw_winsys(struct sw_winsys *ws) in wrapper_sw_winsys() argument
72 return (struct wrapper_sw_winsys *)ws; in wrapper_sw_winsys()
132 wsw_dt_create(struct sw_winsys *ws, in wsw_dt_create() argument
139 struct wrapper_sw_winsys *wsw = wrapper_sw_winsys(ws); in wsw_dt_create()
165 wsw_dt_from_handle(struct sw_winsys *ws, in wsw_dt_from_handle() argument
170 struct wrapper_sw_winsys *wsw = wrapper_sw_winsys(ws); in wsw_dt_from_handle()
181 wsw_dt_get_handle(struct sw_winsys *ws, in wsw_dt_get_handle() argument
185 struct wrapper_sw_winsys *wsw = wrapper_sw_winsys(ws); in wsw_dt_get_handle()
193 wsw_dt_map(struct sw_winsys *ws, in wsw_dt_map() argument
234 wsw_dt_unmap(struct sw_winsys *ws, in wsw_dt_unmap() argument
[all …]
/external/libcxx/test/std/depr/depr.c.headers/
Dwchar_h.pass.cpp48 wchar_t* ws = 0; in main() local
51 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main()
55 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main()
62 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main()
78 static_assert((std::is_same<decltype(wcscpy(ws, L"")), wchar_t*>::value), ""); in main()
79 static_assert((std::is_same<decltype(wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main()
80 static_assert((std::is_same<decltype(wcscat(ws, L"")), wchar_t*>::value), ""); in main()
81 static_assert((std::is_same<decltype(wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main()
85 static_assert((std::is_same<decltype(wcsxfrm(ws, L"", s)), size_t>::value), ""); in main()
93 static_assert((std::is_same<decltype(wcstok(ws, L"", (wchar_t**)0)), wchar_t*>::value), ""); in main()
[all …]
/external/mesa3d/src/gallium/winsys/sw/fbdev/
Dfbdev_sw_winsys.c70 fbdev_sw_winsys(struct sw_winsys *ws) in fbdev_sw_winsys() argument
72 return (struct fbdev_sw_winsys *) ws; in fbdev_sw_winsys()
76 fbdev_displaytarget_display(struct sw_winsys *ws, in fbdev_displaytarget_display() argument
80 struct fbdev_sw_winsys *fbdev = fbdev_sw_winsys(ws); in fbdev_displaytarget_display()
128 fbdev_displaytarget_unmap(struct sw_winsys *ws, in fbdev_displaytarget_unmap() argument
136 fbdev_displaytarget_map(struct sw_winsys *ws, in fbdev_displaytarget_map() argument
146 fbdev_displaytarget_destroy(struct sw_winsys *ws, in fbdev_displaytarget_destroy() argument
158 fbdev_displaytarget_create(struct sw_winsys *ws, in fbdev_displaytarget_create() argument
194 fbdev_is_displaytarget_format_supported(struct sw_winsys *ws, in fbdev_is_displaytarget_format_supported() argument
202 fbdev_destroy(struct sw_winsys *ws) in fbdev_destroy() argument
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Dwebsocket_unittest.py44 ws = websocket.create_connection(ws_url)
47 ws.sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR), 0)
49 ws.close()
52 ws = websocket.create_connection(
57 ws.sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR), 0)
59 ws.sock.getsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY), 0)
61 ws.close()
/external/libcxx/test/std/strings/c.strings/
Dcwchar.pass.cpp44 wchar_t* ws = 0; in main() local
47 static_assert((std::is_same<decltype(std::swprintf(ws, s, L"")), int>::value), ""); in main()
51 static_assert((std::is_same<decltype(std::vswprintf(ws, s, L"", va)), int>::value), ""); in main()
54 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main()
68 static_assert((std::is_same<decltype(std::wcscpy(ws, L"")), wchar_t*>::value), ""); in main()
69 static_assert((std::is_same<decltype(std::wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main()
70 static_assert((std::is_same<decltype(std::wcscat(ws, L"")), wchar_t*>::value), ""); in main()
71 static_assert((std::is_same<decltype(std::wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main()
75 static_assert((std::is_same<decltype(std::wcsxfrm(ws, L"", s)), std::size_t>::value), ""); in main()
87 … static_assert((std::is_same<decltype(std::wcstok(ws, L"", (wchar_t**)0)), wchar_t*>::value), ""); in main()
[all …]
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.manip/
Dws.pass.cpp48 ws(is); in main()
55 ws(is); in main()
62 ws(is); in main()
65 ws(is); in main()
72 ws(is); in main()
75 ws(is); in main()
/external/toybox/lib/
Dinterestingtimes.c23 struct winsize ws; in terminal_size() local
29 memset(&ws, 0, sizeof(ws)); in terminal_size()
30 if (!ioctl(i, TIOCGWINSZ, &ws)) { in terminal_size()
31 if (ws.ws_col) x = ws.ws_col; in terminal_size()
32 if (ws.ws_row) y = ws.ws_row; in terminal_size()

12345678910>>...12