Home
last modified time | relevance | path

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

12345678910

/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/libvncserver/webclients/novnc/include/
Drfb.js73 ws = null, // Websock object
227 ws = new Websock();
228 ws.on('message', handle_message);
229 ws.on('open', function() {
236 ws.on('close', function(e) {
250 ws.on('error', function(e) {
294 ws.open(uri);
304 ws.init();
409 ws.close();
520 if (ws.rQlen() === 0) {
[all …]
/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.td41 bits<5> ws;
48 let Inst{15-11} = ws;
54 bits<5> ws;
61 let Inst{15-11} = ws;
67 bits<5> ws;
74 let Inst{15-11} = ws;
80 bits<5> ws;
87 let Inst{15-11} = ws;
115 bits<5> ws;
120 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/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/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/perf-test/Collections/
Dweakset.js15 var ws; variable
26 ws = new WeakSet;
28 ws.add(keys[i]);
34 ws = null;
46 if (!ws.has(keys[i])) {
51 if (ws.has(keys[i])) {
62 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.cpp44 wchar_t* ws = 0; in main() local
47 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main()
51 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main()
58 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main()
74 static_assert((std::is_same<decltype(wcscpy(ws, L"")), wchar_t*>::value), ""); in main()
75 static_assert((std::is_same<decltype(wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main()
76 static_assert((std::is_same<decltype(wcscat(ws, L"")), wchar_t*>::value), ""); in main()
77 static_assert((std::is_same<decltype(wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main()
81 static_assert((std::is_same<decltype(wcsxfrm(ws, L"", s)), size_t>::value), ""); in main()
89 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/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()
/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()
58 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main()
74 static_assert((std::is_same<decltype(std::wcscpy(ws, L"")), wchar_t*>::value), ""); in main()
75 static_assert((std::is_same<decltype(std::wcsncpy(ws, L"", s)), wchar_t*>::value), ""); in main()
76 static_assert((std::is_same<decltype(std::wcscat(ws, L"")), wchar_t*>::value), ""); in main()
77 static_assert((std::is_same<decltype(std::wcsncat(ws, L"", s)), wchar_t*>::value), ""); in main()
81 static_assert((std::is_same<decltype(std::wcsxfrm(ws, L"", s)), std::size_t>::value), ""); in main()
93 … 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/linux-tools-perf/src/tools/perf/util/
Dutil.c226 void get_term_dimensions(struct winsize *ws) in get_term_dimensions() argument
231 ws->ws_row = atoi(s); in get_term_dimensions()
234 ws->ws_col = atoi(s); in get_term_dimensions()
235 if (ws->ws_row && ws->ws_col) in get_term_dimensions()
240 if (ioctl(1, TIOCGWINSZ, ws) == 0 && in get_term_dimensions()
241 ws->ws_row && ws->ws_col) in get_term_dimensions()
244 ws->ws_row = 25; in get_term_dimensions()
245 ws->ws_col = 80; in get_term_dimensions()
/external/mesa3d/src/gallium/state_trackers/egl/null/
Dnative_null.c126 struct sw_winsys *ws; in null_display_init_screen() local
128 ws = null_sw_create(); in null_display_init_screen()
129 if (!ws) in null_display_init_screen()
132 null->base.screen = null->event_handler->new_sw_screen(&null->base, ws); in null_display_init_screen()
134 if (ws->destroy) in null_display_init_screen()
135 ws->destroy(ws); in null_display_init_screen()

12345678910