Home
last modified time | relevance | path

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

1234567891011

/external/chromium_org/third_party/mesa/src/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/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/srec/srec/cfront/
Dwav_acc.c75 void reset_sig_check(wave_stats *ws) in reset_sig_check() argument
82 ASSERT(ws); in reset_sig_check()
84 ws->sum = 0; in reset_sig_check()
85 ws->sum2 = 0; in reset_sig_check()
86 ws->sumsqu = 0; in reset_sig_check()
87 ws->sumsqu2 = 0; in reset_sig_check()
88 ws->nsam = 0; in reset_sig_check()
89 ws->highclip = 0; in reset_sig_check()
90 ws->lowclip = 0; in reset_sig_check()
93 ws->bithist[ii] = 0; in reset_sig_check()
[all …]
/external/chromium_org/ppapi/tests/
Dtest_websocket.cc304 PP_Resource ws = websocket_interface_->Create(instance_->pp_instance()); in Connect() local
305 if (!ws) in Connect()
315 ws, url_var, protocols, protocol_count, in Connect()
321 return ws; in Connect()
324 void TestWebSocket::Send(int32_t /* result */, PP_Resource ws, in Send() argument
327 websocket_interface_->SendMessage(ws, message_var); in Send()
338 PP_Resource ws = websocket_interface_->Create(instance_->pp_instance()); in TestIsWebSocket() local
339 ASSERT_TRUE(ws); in TestIsWebSocket()
341 result = websocket_interface_->IsWebSocket(ws); in TestIsWebSocket()
344 core_interface_->ReleaseResource(ws); in TestIsWebSocket()
[all …]
/external/chromium_org/third_party/mesa/src/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/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/valgrind/main/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/chromium_org/third_party/mesa/src/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/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/chromium_org/net/data/websocket/
Dwebsocket_worker_simple.js21 var ws;
24 ws = new WebSocket(url);
25 ws.onopen = function() {
26 ws.send(greeting);
28 ws.onmessage = function(e) {
33 ws.close();
36 ws.onclose = function(e) {
/external/chromium_org/third_party/mesa/src/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/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/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/chromium_org/third_party/mesa/src/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/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_org/third_party/mesa/src/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 …]

1234567891011