/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/ |
H A D | general.any.js | 305 function extractViewInfo(view) { 307 constructor: view.constructor, 308 bufferByteLength: view.buffer.byteLength, 309 byteOffset: view.byteOffset, 310 byteLength: view.byteLength 325 const view = byobRequest.view; 328 viewNonNull: view !== null, 329 viewInfo: extractViewInfo(view) 332 view[ [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_image.c | 55 unreachable("Invalid view type"); in panvk_view_type_to_mali_tex_dim() 98 struct panvk_image_view *view; in CreateImageView() local 100 view = vk_image_view_create(&device->vk, false, pCreateInfo, in CreateImageView() 101 pAllocator, sizeof(*view)); in CreateImageView() 102 if (view == NULL) in CreateImageView() 105 view->pview = (struct pan_image_view) { in CreateImageView() 107 .format = vk_format_to_pipe_format(view->vk.view_format), in CreateImageView() 108 .dim = panvk_view_type_to_mali_tex_dim(view->vk.view_type), in CreateImageView() 110 .first_level = view->vk.base_mip_level, in CreateImageView() 111 .last_level = view in CreateImageView() 181 struct panvk_buffer_view *view = CreateBufferView() local [all...] |
/third_party/node/deps/npm/test/lib/commands/ |
H A D | view.js | 269 command: 'view', 285 const { view, outputs } = await loadMockNpm(t, { config: { unicode: false } }) 286 await view.exec(['https://github.com/npm/green']) 291 const { view, outputs } = await loadMockNpm(t, { config: { unicode: false } }) 292 await view.exec(['green@1.0.0']) 297 const { view, outputs } = await loadMockNpm(t, { config: { unicode: true } }) 298 await view.exec(['green@1.0.0']) 303 const { view, outputs } = await loadMockNpm(t, { config: { unicode: false } }) 304 await view.exec(['black@1.0.0']) 309 const { view, output [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_sampler.c | 34 * Initialize a pipe_sampler_view. 'view' is considered to have 38 default_template(struct pipe_sampler_view *view, in default_template() argument 43 memset(view, 0, sizeof(*view)); in default_template() 48 view->target = texture->target; in default_template() 49 view->format = format; in default_template() 50 view->u.tex.first_level = 0; in default_template() 51 view->u.tex.last_level = texture->last_level; in default_template() 52 view->u.tex.first_layer = 0; in default_template() 53 view in default_template() 86 u_sampler_view_default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) u_sampler_view_default_template() argument 98 u_sampler_view_default_dx9_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) u_sampler_view_default_dx9_template() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_sampler.c | 138 struct pipe_sampler_view *view = NULL; in llvmpipe_set_sampler_views() local 141 view = views[i]; in llvmpipe_set_sampler_views() 143 * Warn if someone tries to set a view created in a different context in llvmpipe_set_sampler_views() 147 if (view && view->context != pipe) { in llvmpipe_set_sampler_views() 152 if (view) in llvmpipe_set_sampler_views() 153 llvmpipe_flush_resource(pipe, view->texture, 0, true, false, false, "sampler_view"); in llvmpipe_set_sampler_views() 158 llvmpipe->sampler_views[shader][start + i] = view; in llvmpipe_set_sampler_views() 161 view); in llvmpipe_set_sampler_views() 204 struct pipe_sampler_view *view in llvmpipe_create_sampler_view() local 258 llvmpipe_sampler_view_destroy(struct pipe_context *pipe, struct pipe_sampler_view *view) llvmpipe_sampler_view_destroy() argument 293 struct pipe_sampler_view *view = i < num ? views[i] : NULL; prepare_shader_sampling() local 437 struct pipe_sampler_view *view = views[i]; llvmpipe_cleanup_stage_sampling() local 465 struct pipe_image_view *view = i < num ? &views[i] : NULL; prepare_shader_images() local 604 struct pipe_image_view *view = &views[i]; llvmpipe_cleanup_stage_images() local [all...] |
/third_party/python/Objects/ |
H A D | picklebufobject.c | 9 /* The view exported by the original object */ 10 Py_buffer view; member 26 self->view.obj = NULL; in PyPickleBuffer_FromObject() 28 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in PyPickleBuffer_FromObject() 46 if (self->view.obj == NULL) { in PyPickleBuffer_GetBuffer() 51 return &self->view; in PyPickleBuffer_GetBuffer() 65 PyBuffer_Release(&self->view); in PyPickleBuffer_Release() 85 self->view.obj = NULL; in picklebuf_new() 87 if (PyObject_GetBuffer(base, &self->view, PyBUF_FULL_RO) < 0) { in picklebuf_new() 97 Py_VISIT(self->view in picklebuf_traverse() 121 picklebuf_getbuf(PyPickleBufferObject *self, Py_buffer *view, int flags) picklebuf_getbuf() argument 132 picklebuf_releasebuf(PyPickleBufferObject *self, Py_buffer *view) picklebuf_releasebuf() argument [all...] |
H A D | memoryobject.c | 36 allows the underlying object to change while a view is exported. This 63 return a new reference to view.obj (example: bytes_buffer_getbuffer()). 65 PyBuffer_Release() decrements view.obj (if non-NULL), so the 66 releasebufferprocs must NOT decrement view.obj. 208 #define VIEW_ADDR(mv) (&((PyMemoryViewObject *)mv)->view) 224 #define MV_CONTIGUOUS_NDIM1(view) \ 225 ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize) 252 #define HAVE_SUBOFFSETS_IN_LAST_DIM(view) \ 452 init_strides_from_shape(Py_buffer *view) init_strides_from_shape() argument 465 init_fortran_strides_from_shape(Py_buffer *view) init_fortran_strides_from_shape() argument 581 init_len(Py_buffer *view) init_len() argument 597 const Py_buffer *view = &mv->view; init_flags() local 922 Py_buffer *view; PyMemoryView_GetContiguous() local 978 Py_buffer view; global() member 1196 Py_buffer *view = &mv->view; cast_to_1D() local 1298 Py_buffer *view = &mv->view; cast_to_ND() local 1334 Py_buffer *view = &mv->view; zero_in_shape() local 1445 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) memory_getbuf() argument 1524 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) memory_releasebuf() argument 2053 adjust_fmt(const Py_buffer *view) adjust_fmt() argument 2140 const Py_buffer *view = &self->view; memoryview_tolist_impl() local 2283 lookup_dimension(const Py_buffer *view, char *ptr, int dim, Py_ssize_t index) lookup_dimension() argument 2309 ptr_from_index(const Py_buffer *view, Py_ssize_t index) ptr_from_index() argument 2317 ptr_from_tuple(const Py_buffer *view, PyObject *tup) ptr_from_tuple() argument 2348 Py_buffer *view = &(self->view); memory_item() local 2377 Py_buffer *view = &(self->view); memory_item_multi() local 2473 Py_buffer *view; memory_subscript() local 2535 Py_buffer *view = &(self->view); memory_ass_sub() local 2948 Py_buffer *view = &self->view; memory_hash() local 3025 Py_buffer *view = &self->view; memory_obj_get() local 3212 Py_buffer *view = &(seq->view); memoryiter_next() local [all...] |
/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd6_view.c | 72 * ... the sampler to be used with the image view must enable sampler in fdl6_format_swiz() 162 fdl6_view_init(struct fdl6_view *view, const struct fdl_layout **layouts, in fdl6_view_init() argument 240 view->format = args->format; in fdl6_view_init() 242 memset(view->descriptor, 0, sizeof(view->descriptor)); in fdl6_view_init() 244 view->descriptor[0] = in fdl6_view_init() 252 view->descriptor[1] = A6XX_TEX_CONST_1_WIDTH(width) | A6XX_TEX_CONST_1_HEIGHT(height); in fdl6_view_init() 253 view->descriptor[2] = in fdl6_view_init() 257 view->descriptor[3] = A6XX_TEX_CONST_3_ARRAY_PITCH(layer_size); in fdl6_view_init() 258 view in fdl6_view_init() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | browser.c | 22 WebKitWebView *view; member 91 static void view_cb_notify_estimated_load_progress(WebKitWebView *view, in view_cb_notify_estimated_load_progress() argument 95 ctx->progress = 100 * webkit_web_view_get_estimated_load_progress(view); in view_cb_notify_estimated_load_progress() 102 static void view_cb_resource_load_starting(WebKitWebView *view, in view_cb_resource_load_starting() argument 114 static gboolean view_cb_decide_policy(WebKitWebView *view, in view_cb_decide_policy() argument 157 static void view_cb_mouse_target_changed(WebKitWebView *view, in view_cb_mouse_target_changed() argument 183 static void view_cb_notify_title(WebKitWebView *view, GParamSpec *ps, in view_cb_notify_title() argument 188 title = webkit_web_view_get_title(ctx->view); in view_cb_notify_title() 197 static void view_cb_notify_progress(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_progress() argument 200 ctx->progress = 100 * webkit_web_view_get_progress(view); in view_cb_notify_progress() 207 view_cb_notify_load_status(WebKitWebView *view, GParamSpec *pspec, struct browser_context *ctx) view_cb_notify_load_status() argument 220 view_cb_resource_request_starting(WebKitWebView *view, WebKitWebFrame *frame, WebKitWebResource *res, WebKitNetworkRequest *req, WebKitNetworkResponse *resp, struct browser_context *ctx) view_cb_resource_request_starting() argument 237 view_cb_mime_type_policy_decision( WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, gchar *mime, WebKitWebPolicyDecision *policy, struct browser_context *ctx) view_cb_mime_type_policy_decision() argument 253 view_cb_download_requested(WebKitWebView *view, WebKitDownload *dl, struct browser_context *ctx) view_cb_download_requested() argument 264 view_cb_hovering_over_link(WebKitWebView *view, gchar *title, gchar *uri, struct browser_context *ctx) view_cb_hovering_over_link() argument 279 view_cb_title_changed(WebKitWebView *view, WebKitWebFrame *frame, const char *title, struct browser_context *ctx) view_cb_title_changed() argument 295 WebKitWebView *view; hs20_web_browser() local [all...] |
/third_party/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
H A D | SkottieActivity.java | 16 import android.view.View; 17 import android.view.ViewGroup; 58 SkottieView view = new SkottieView(this); in populateGrid() 59 view.setSource(resId); in populateGrid() 60 mAnimations.add(view); in populateGrid() 65 SkottieView view = new SkottieView(this); in populateGrid() 66 view.setSource(this, uri); in populateGrid() 67 mAnimations.add(view); in populateGrid() 90 for (SkottieView view : mAnimations) { in populateGrid() 91 view in populateGrid() 107 inflateView(SkottieView view) inflateView() argument 159 addView(SkottieView view, int row , int column, boolean addView) addView() argument 253 onClick(View view) onClick() argument [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_sampler_view.c | 51 p_atomic_add(&sv->view->reference.count, -sv->private_refcount); in st_remove_private_references() 56 /* Return a sampler view while incrementing the refcount by 1. */ 59 struct pipe_sampler_view *view) in get_sampler_view_reference() 66 p_atomic_add(&view->reference.count, sv->private_refcount); in get_sampler_view_reference() 71 return view; in get_sampler_view_reference() 75 * Set the given view as the current context's view for the texture. 77 * Overwrites any pre-existing view of the context. 79 * Takes ownership of the view (i.e., stores the view withou 58 get_sampler_view_reference(struct st_sampler_view *sv, struct pipe_sampler_view *view) get_sampler_view_reference() argument 86 st_texture_set_sampler_view(struct st_context *st, struct gl_texture_object *stObj, struct pipe_sampler_view *view, bool glsl130_or_later, bool srgb_skip_decode, bool get_reference, bool locked) st_texture_set_sampler_view() argument 647 struct pipe_sampler_view *view = sv->view; st_get_texture_sampler_view_from_stobj() local 671 struct pipe_sampler_view *view = st_get_texture_sampler_view_from_stobj() local 701 struct pipe_sampler_view *view = sv->view; st_get_buffer_sampler_view_from_stobj() local 747 struct pipe_sampler_view *view = st_get_buffer_sampler_view_from_stobj() local [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_textview.py | 50 view = VW(root, 'Title', 'test text') 54 view.ok() 57 view = VW(root, 'Title', 'test text', modal=False) 61 view.ok() 64 view = VW(root, 'Title', 'test text', modal=False) 65 view.destroy = Func() 66 view.ok() 67 self.assertTrue(view.destroy.called) 68 del view.destroy # Unmask real function. 69 view [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_tex.c | 77 struct nv50_tic_entry *view; in gm107_create_texture_view() local 81 view = MALLOC_STRUCT(nv50_tic_entry); in gm107_create_texture_view() 82 if (!view) in gm107_create_texture_view() 86 view->pipe = *templ; in gm107_create_texture_view() 87 view->pipe.reference.count = 1; in gm107_create_texture_view() 88 view->pipe.texture = NULL; in gm107_create_texture_view() 89 view->pipe.context = pipe; in gm107_create_texture_view() 91 view->id = -1; in gm107_create_texture_view() 92 view->bindless = 0; in gm107_create_texture_view() 94 pipe_resource_reference(&view in gm107_create_texture_view() 240 gm107_create_texture_view_from_image(struct pipe_context *pipe, const struct pipe_image_view *view) gm107_create_texture_view_from_image() argument 290 struct nv50_tic_entry *view; gf100_create_texture_view() local 791 nve4_create_texture_handle(struct pipe_context *pipe, struct pipe_sampler_view *view, const struct pipe_sampler_state *sampler) nve4_create_texture_handle() argument 846 view_bound(struct nvc0_context *nvc0, struct pipe_sampler_view *view) view_bound() argument 864 struct pipe_sampler_view *view = &entry->pipe; nve4_delete_texture_handle() local 907 nvc0_get_surface_dims(const struct pipe_image_view *view, int *width, int *height, int *depth) nvc0_get_surface_dims() argument 943 nvc0_mark_image_range_valid(const struct pipe_image_view *view) nvc0_mark_image_range_valid() argument 955 nve4_set_surface_info(struct nouveau_pushbuf *push, const struct pipe_image_view *view, struct nvc0_context *nvc0) nve4_set_surface_info() argument 1081 nvc0_set_surface_info(struct nouveau_pushbuf *push, const struct pipe_image_view *view, uint64_t address, int width, int height, int depth) nvc0_set_surface_info() argument 1138 struct pipe_image_view *view = &nvc0->images[s][i]; nvc0_validate_suf() local 1250 gm107_validate_surfaces(struct nvc0_context *nvc0, struct pipe_image_view *view, int stage, int slot) gm107_validate_surfaces() argument 1306 struct pipe_image_view *view = &nvc0->images[s][i]; nve4_update_surface_bindings() local 1347 nve4_create_image_handle(struct pipe_context *pipe, const struct pipe_image_view *view) nve4_create_image_handle() argument 1398 struct pipe_image_view *view = nve4_make_image_handle_resident() local 1421 gm107_create_image_handle(struct pipe_context *pipe, const struct pipe_image_view *view) gm107_create_image_handle() argument 1470 struct pipe_sampler_view *view = &entry->pipe; gm107_delete_image_handle() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | browser.c | 53 static void view_cb_notify_progress(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_progress() argument 56 ctx->progress = 100 * webkit_web_view_get_progress(view); in view_cb_notify_progress() 63 static void view_cb_notify_load_status(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_load_status() argument 66 int status = webkit_web_view_get_load_status(view); in view_cb_notify_load_status() 68 __func__, status, webkit_web_view_get_uri(view)); in view_cb_notify_load_status() 72 static void view_cb_resource_request_starting(WebKitWebView *view, in view_cb_resource_request_starting() argument 99 WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, in view_cb_mime_type_policy_decision() 105 if (!webkit_web_view_can_show_mime_type(view, mime)) { in view_cb_mime_type_policy_decision() 114 static gboolean view_cb_download_requested(WebKitWebView *view, in view_cb_download_requested() argument 125 static void view_cb_hovering_over_link(WebKitWebView *view, gcha argument 98 view_cb_mime_type_policy_decision( WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, gchar *mime, WebKitWebPolicyDecision *policy, struct browser_context *ctx) view_cb_mime_type_policy_decision() argument 140 view_cb_title_changed(WebKitWebView *view, WebKitWebFrame *frame, const char *title, struct browser_context *ctx) view_cb_title_changed() argument 155 WebKitWebView *view; hs20_web_browser() local [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_tss.c | 50 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in svga_cleanup_tss_binding() local 51 if (view) { in svga_cleanup_tss_binding() 52 svga_sampler_view_reference(&view->v, NULL); in svga_cleanup_tss_binding() 55 pipe_resource_reference(&view->texture, NULL); in svga_cleanup_tss_binding() 56 view->dirty = TRUE; in svga_cleanup_tss_binding() 65 struct svga_hw_view_state *view; member 80 struct svga_hw_view_state *view, in emit_tex_binding_unit() 106 if (view->texture != texture || in emit_tex_binding_unit() 107 view->min_lod != min_lod || in emit_tex_binding_unit() 108 view in emit_tex_binding_unit() 76 emit_tex_binding_unit(struct svga_context *svga, unsigned unit, const struct svga_sampler_state *s, const struct pipe_sampler_view *sv, struct svga_hw_view_state *view, boolean reemit, struct bind_queue *queue) emit_tex_binding_unit() argument 190 struct svga_hw_view_state *view = queue.bind[i].view; update_tss_binding() local 249 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; svga_reemit_tss_bindings() local 262 struct svga_hw_view_state *view = &svga->state.hw_draw.views[unit]; svga_reemit_tss_bindings() local [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_sampler.c | 91 struct pipe_sampler_view *view) in softpipe_sampler_view_destroy() 93 pipe_resource_reference(&view->texture, NULL); in softpipe_sampler_view_destroy() 94 FREE(view); in softpipe_sampler_view_destroy() 200 struct pipe_sampler_view *view = views[i]; in prepare_shader_sampling() local 202 if (view) { in prepare_shader_sampling() 203 struct pipe_resource *tex = view->texture; in prepare_shader_sampling() 217 ASSERTED struct pipe_resource *res = view->texture; in prepare_shader_sampling() 220 if (view->target != PIPE_BUFFER) { in prepare_shader_sampling() 221 first_level = view->u.tex.first_level; in prepare_shader_sampling() 222 last_level = view in prepare_shader_sampling() 90 softpipe_sampler_view_destroy(struct pipe_context *pipe, struct pipe_sampler_view *view) softpipe_sampler_view_destroy() argument 286 sp_sampler_view_display_target_unmap(struct softpipe_context *sp, struct pipe_sampler_view *view) sp_sampler_view_display_target_unmap() argument [all...] |
H A D | sp_tex_tile_cache.c | 107 struct pipe_sampler_view *view) in sp_tex_tile_is_compat_view() 109 if (!view) in sp_tex_tile_is_compat_view() 111 return (tc->texture == view->texture && in sp_tex_tile_is_compat_view() 112 tc->format == view->format && in sp_tex_tile_is_compat_view() 113 tc->swizzle_r == view->swizzle_r && in sp_tex_tile_is_compat_view() 114 tc->swizzle_g == view->swizzle_g && in sp_tex_tile_is_compat_view() 115 tc->swizzle_b == view->swizzle_b && in sp_tex_tile_is_compat_view() 116 tc->swizzle_a == view->swizzle_a); in sp_tex_tile_is_compat_view() 120 * Specify the sampler view to cache. 124 struct pipe_sampler_view *view) in sp_tex_tile_cache_set_sampler_view() 106 sp_tex_tile_is_compat_view(struct softpipe_tex_tile_cache *tc, struct pipe_sampler_view *view) sp_tex_tile_is_compat_view() argument 123 sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc, struct pipe_sampler_view *view) sp_tex_tile_cache_set_sampler_view() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | SwapChainValidationTests.cpp | 72 // Checks that a RenderAttachment view is an error by trying to create a render pass on it. 73 void CheckTextureViewIsError(wgpu::TextureView view) { in CheckTextureViewIsError() argument 74 CheckTextureView(view, true, false); in CheckTextureViewIsError() 77 // Checks that a RenderAttachment view is an error by trying to submit a render pass on it. 78 void CheckTextureViewIsDestroyed(wgpu::TextureView view) { in CheckTextureViewIsDestroyed() argument 79 CheckTextureView(view, false, true); in CheckTextureViewIsDestroyed() 82 // Checks that a RenderAttachment view is valid by submitting a render pass on it. 83 void CheckTextureViewIsValid(wgpu::TextureView view) { in CheckTextureViewIsValid() argument 84 CheckTextureView(view, false, false); in CheckTextureViewIsValid() 88 void CheckTextureView(wgpu::TextureView view, boo argument 112 wgpu::TextureView view = swapchain.GetCurrentTextureView(); TEST_P() local 179 wgpu::TextureView view; TEST_P() local 204 wgpu::TextureView view = swapchain.GetCurrentTextureView(); TEST_P() local 216 wgpu::TextureView view = swapchain.GetCurrentTextureView(); TEST_P() local 260 wgpu::TextureView view = swapchain.GetCurrentTextureView(); TEST_P() local 284 wgpu::TextureView view = swapchain.GetCurrentTextureView(); TEST_P() local 298 wgpu::TextureView view = replacedSwapChain.GetCurrentTextureView(); TEST_P() local 315 wgpu::TextureView view = replacedSwapChain.GetCurrentTextureView(); TEST_P() local 334 wgpu::TextureView view = swapchain.GetCurrentTextureView(); TEST_P() local [all...] |
/third_party/rust/crates/io-lifetimes/tests/ |
H A D | api.rs | 19 let view = filelike.as_filelike_view::<std::fs::File>(); in use_file() 20 let _ = (&*view).read(&mut buf).is_ok(); in use_file() 21 let _ = (&*view).write(&buf).is_ok(); in use_file() 23 let view = unsafe { in use_file() 30 let _ = (&*view).read(&mut buf).is_ok(); in use_file() 31 let _ = (&*view).write(&buf).is_ok(); in use_file() 40 let view = socketlike.as_socketlike_view::<std::net::TcpStream>(); in use_socket() 41 let _ = (&*view).read(&mut buf).is_ok(); in use_socket() 42 let _ = (&*view).write(&buf).is_ok(); in use_socket() 44 let view in use_socket() [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_sampler.c | 174 const struct pipe_sampler_view *view) in translate_texture_format() 176 if ((view->swizzle_r != PIPE_SWIZZLE_X || in translate_texture_format() 177 view->swizzle_g != PIPE_SWIZZLE_Y || in translate_texture_format() 178 view->swizzle_b != PIPE_SWIZZLE_Z || in translate_texture_format() 179 view->swizzle_a != PIPE_SWIZZLE_W) && in translate_texture_format() 234 if (view->swizzle_r == PIPE_SWIZZLE_X && in translate_texture_format() 235 view->swizzle_g == PIPE_SWIZZLE_X && in translate_texture_format() 236 view->swizzle_b == PIPE_SWIZZLE_X && in translate_texture_format() 237 view->swizzle_a == PIPE_SWIZZLE_1) in translate_texture_format() 239 if (view in translate_texture_format() 173 translate_texture_format(enum pipe_format pipeFormat, const struct pipe_sampler_view *view) translate_texture_format() argument 282 update_map(struct i915_context *i915, uint32_t unit, const struct i915_texture *tex, const struct i915_sampler_state *sampler, const struct pipe_sampler_view *view, uint32_t state[3]) update_map() argument [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_surface_state.c | 163 s.SurfaceType = get_surftype(info->surf->dim, info->view->usage); in surf_fill_state_s() 165 if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) in surf_fill_state_s() 166 assert(isl_format_supports_rendering(dev->info, info->view->format)); in surf_fill_state_s() 167 else if (info->view->usage & ISL_SURF_USAGE_TEXTURE_BIT) in surf_fill_state_s() 168 assert(isl_format_supports_sampling(dev->info, info->view->format)); in surf_fill_state_s() 176 assert(!isl_format_is_compressed(info->view->format)); in surf_fill_state_s() 179 /* You're not allowed to make a view of a compressed format with any in surf_fill_state_s() 196 s.SurfaceFormat = info->view->format; in surf_fill_state_s() 261 if (GFX_VER == 6 && (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) && in surf_fill_state_s() 278 (info->view in surf_fill_state_s() [all...] |
/third_party/node/lib/internal/webstreams/ |
H A D | util.js | 104 function ArrayBufferViewGetBuffer(view) { 105 return ReflectGet(view.constructor.prototype, 'buffer', view); 108 function ArrayBufferViewGetByteLength(view) { 109 return ReflectGet(view.constructor.prototype, 'byteLength', view); 112 function ArrayBufferViewGetByteOffset(view) { 113 return ReflectGet(view.constructor.prototype, 'byteOffset', view); 116 function cloneAsUint8Array(view) { [all...] |
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | MainActivity.java | 31 import android.view.Display; 32 import android.view.View; 82 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in onCreate() 200 public void onLaunchTestOutput(View view) { in onLaunchTestOutput() argument 206 public void onLaunchTestInput(View view) { in onLaunchTestInput() argument 212 public void onLaunchTapToTone(View view) { in onLaunchTapToTone() argument 218 public void onLaunchRecorder(View view) { in onLaunchRecorder() argument 224 public void onLaunchEcho(View view) { in onLaunchEcho() argument 230 public void onLaunchRoundTripLatency(View view) { in onLaunchRoundTripLatency() argument 236 public void onLaunchManualGlitchTest(View view) { in onLaunchManualGlitchTest() argument 242 onLaunchAutoGlitchTest(View view) onLaunchAutoGlitchTest() argument 248 onLaunchTestDisconnect(View view) onLaunchTestDisconnect() argument 254 onUseCallbackClicked(View view) onUseCallbackClicked() argument 287 onSetSpeakerphoneOn(View view) onSetSpeakerphoneOn() argument 294 onStartStopBluetoothSco(View view) onStartStopBluetoothSco() argument 304 onEnableWorkarounds(View view) onEnableWorkarounds() argument [all...] |
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/result/ |
H A D | FormattableRvAdapter.java | 4 import android.view.LayoutInflater; 5 import android.view.View; 6 import android.view.ViewGroup; 35 View view = layoutInflater.inflate(R.layout.formattable_list_item, parent, false); in onCreateViewHolder() 36 ViewHolder viewHolder = new ViewHolder(view); in onCreateViewHolder() 96 public ViewHolder(View view) { in ViewHolder() argument 97 super(view); in ViewHolder() 98 ConstraintLayout clListItem = view.findViewById(R.id.cl_list_item); in ViewHolder() 101 tvContactName = view.findViewById(R.id.tv_contact_name); in ViewHolder() 102 tvOriginalPhoneNumber = view in ViewHolder() [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_texture.c | 115 /* Return true if the GPU can use sampler TS with this sampler view. 120 etna_can_use_sampler_ts(struct pipe_sampler_view *view, int num) in etna_can_use_sampler_ts() argument 124 * - the sampler view will be bound to sampler <VIVS_TS_SAMPLER__LEN. in etna_can_use_sampler_ts() 128 * - the sampler view has a supported format for sampler TS. in etna_can_use_sampler_ts() 134 struct etna_resource *rsc = etna_resource(view->texture); in etna_can_use_sampler_ts() 141 view->u.tex.first_level == 0 && MIN2(view->u.tex.last_level, rsc->base.last_level) == 0 && in etna_can_use_sampler_ts() 146 etna_update_sampler_source(struct pipe_sampler_view *view, int num) in etna_update_sampler_source() argument 148 struct etna_resource *base = etna_resource(view->texture); in etna_update_sampler_source() 150 struct etna_context *ctx = etna_context(view in etna_update_sampler_source() 250 struct pipe_sampler_view *view = views ? views[j] : NULL; set_sampler_views() local [all...] |