/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_compute.c | 279 nv50_get_surface_dims(const struct pipe_image_view *view, in nv50_get_surface_dims() argument 282 struct nv04_resource *res = nv04_resource(view->resource); in nv50_get_surface_dims() 287 *width = view->u.buf.size / util_format_get_blocksize(view->format); in nv50_get_surface_dims() 291 level = view->u.tex.level; in nv50_get_surface_dims() 292 *width = u_minify(view->resource->width0, level); in nv50_get_surface_dims() 293 *height = u_minify(view->resource->height0, level); in nv50_get_surface_dims() 294 *depth = u_minify(view->resource->depth0, level); in nv50_get_surface_dims() 301 *depth = view->u.tex.last_layer - view in nv50_get_surface_dims() 315 nv50_mark_image_range_valid(const struct pipe_image_view *view) nv50_mark_image_range_valid() argument 327 nv50_set_surface_info(struct nouveau_pushbuf *push, const struct pipe_image_view *view, int width, int height, int depth) nv50_set_surface_info() argument 406 struct pipe_image_view *view = &nv50->images[gmem->slot]; nv50_compute_validate_surfaces() local [all...] |
H A D | nv50_tex.c | 72 struct nv50_tic_entry *view; in nv50_create_texture_view() local 76 view = MALLOC_STRUCT(nv50_tic_entry); in nv50_create_texture_view() 77 if (!view) in nv50_create_texture_view() 80 view->pipe = *templ; in nv50_create_texture_view() 81 view->pipe.reference.count = 1; in nv50_create_texture_view() 82 view->pipe.texture = NULL; in nv50_create_texture_view() 83 view->pipe.context = pipe; in nv50_create_texture_view() 85 view->id = -1; in nv50_create_texture_view() 87 pipe_resource_reference(&view->pipe.texture, texture); in nv50_create_texture_view() 89 tic = &view in nv50_create_texture_view() [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ast-view.c | 5 #include "ast-view.h" 13 GtkWidget *view; in create_view_and_model() local 17 view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(root)); in create_view_and_model() 19 g_object_unref(root); /* destroy store automatically with view */ in create_view_and_model() 25 gtk_tree_view_append_column(GTK_TREE_VIEW(view), text); in create_view_and_model() 27 return view; in create_view_and_model() 33 GtkWidget *window, *view, *scrollwin; in treeview_main() local 41 view = create_view_and_model(syms); in treeview_main() 43 gtk_container_add(GTK_CONTAINER(scrollwin), view); in treeview_main() local
|
/third_party/node/test/addons/openssl-binding/ |
H A D | binding.cc | 11 auto view = info[0].As<v8::ArrayBufferView>(); in RandomBytes() local 12 auto byte_offset = view->ByteOffset(); in RandomBytes() 13 auto byte_length = view->ByteLength(); in RandomBytes() 14 assert(view->HasBuffer()); in RandomBytes() 15 auto buffer = view->Buffer(); in RandomBytes() 25 auto view = info[0].As<v8::ArrayBufferView>(); in Hash() local 26 auto byte_offset = view->ByteOffset(); in Hash() 27 auto len = view->ByteLength(); in Hash() 28 assert(view->HasBuffer()); in Hash() 29 auto buffer = view in Hash() [all...] |
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/result/ |
H A D | NotFormattableRvAdapter.java | 4 import android.view.LayoutInflater; 5 import android.view.View; 6 import android.view.ViewGroup; 31 View view = layoutInflater.inflate(R.layout.not_formattable_list_item, parent, false); in onCreateViewHolder() 32 return new ViewHolder(view); in onCreateViewHolder() 56 public ViewHolder(View view) { in ViewHolder() argument 57 super(view); in ViewHolder() 58 tvContactName = view.findViewById(R.id.tv_contact_name); in ViewHolder() 59 tvReason = view.findViewById(R.id.tv_reason); in ViewHolder() 60 tvOriginalPhoneNumber = view in ViewHolder() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandBuffer.cpp | 108 TextureViewBase* view = attachmentInfo.view.Get(); in LazyClearRenderPassAttachments() local 111 ASSERT(view->GetLayerCount() == 1); in LazyClearRenderPassAttachments() 112 ASSERT(view->GetLevelCount() == 1); in LazyClearRenderPassAttachments() 113 SubresourceRange range = view->GetSubresourceRange(); in LazyClearRenderPassAttachments() 117 !view->GetTexture()->IsSubresourceContentInitialized(range)) { in LazyClearRenderPassAttachments() 135 view->GetTexture()->SetIsSubresourceContentInitialized(true, range); in LazyClearRenderPassAttachments() 139 view->GetTexture()->SetIsSubresourceContentInitialized(false, range); in LazyClearRenderPassAttachments() 146 TextureViewBase* view = attachmentInfo.view in LazyClearRenderPassAttachments() local [all...] |
H A D | SwapChain.cpp | 180 // Return the same current texture view until Present is called. in APIGetCurrentTextureView() 183 // reuse the existing texture view. in APIGetCurrentTextureView() 188 // Create the backing texture and the view. in APIGetCurrentTextureView() 319 // reusing the existing texture view. in APIGetCurrentTextureView() 324 TextureViewBase* view = nullptr; in APIGetCurrentTextureView() local 325 if (GetDevice()->ConsumedError(GetCurrentTextureViewImpl(), &view)) { in APIGetCurrentTextureView() 329 // Check that the return texture view matches exactly what was given for this descriptor. in APIGetCurrentTextureView() 330 ASSERT(view->GetTexture()->GetFormat().format == mFormat); in APIGetCurrentTextureView() 331 ASSERT(IsSubset(mUsage, view->GetTexture()->GetUsage())); in APIGetCurrentTextureView() 332 ASSERT(view in APIGetCurrentTextureView() [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_image.c | 70 /* sampler view is needed for resolve blits */ in lvp_image_create() 179 struct lvp_image_view *view; in lvp_CreateImageView() local 181 view = vk_image_view_create(&device->vk, false, pCreateInfo, in lvp_CreateImageView() 182 pAllocator, sizeof(*view)); in lvp_CreateImageView() 183 if (view == NULL) in lvp_CreateImageView() 186 view->pformat = lvp_vk_format_to_pipe_format(view->vk.format); in lvp_CreateImageView() 187 view->image = image; in lvp_CreateImageView() 188 view->surface = NULL; in lvp_CreateImageView() 189 *pView = lvp_image_view_to_handle(view); in lvp_CreateImageView() 376 struct lvp_buffer_view *view; lvp_CreateBufferView() local [all...] |
/third_party/skia/src/gpu/ |
H A D | GrThreadSafeCache.cpp | 115 return { tmp->view(), tmp->refCustomData() }; in internalFind() 133 GrSurfaceProxyView view; in find() local 134 std::tie(view, std::ignore) = this->internalFind(key); in find() 135 return view; in find() 146 const GrSurfaceProxyView& view) { in getEntry() 154 entry->set(key, view); in getEntry() 156 entry = fEntryAllocator.make<Entry>(key, view); in getEntry() 197 const GrSurfaceProxyView& view) { in internalAdd() 200 tmp = this->getEntry(key, view); in internalAdd() 205 return { tmp->view(), tm in internalAdd() 145 getEntry(const GrUniqueKey& key, const GrSurfaceProxyView& view) getEntry() argument 195 internalAdd( const GrUniqueKey& key, const GrSurfaceProxyView& view) internalAdd() argument 208 add(const GrUniqueKey& key, const GrSurfaceProxyView& view) add() argument 216 addWithData( const GrUniqueKey& key, const GrSurfaceProxyView& view) addWithData() argument 228 GrSurfaceProxyView view; findOrAdd() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_blit.c | 417 struct pipe_sampler_view *view; in si_decompress_sampler_depth_textures() local 423 view = textures->views[i]; in si_decompress_sampler_depth_textures() 424 assert(view); in si_decompress_sampler_depth_textures() 425 sview = (struct si_sampler_view *)view; in si_decompress_sampler_depth_textures() 427 tex = (struct si_texture *)view->texture; in si_decompress_sampler_depth_textures() 431 view->u.tex.first_level, view->u.tex.last_level, 0, in si_decompress_sampler_depth_textures() 432 util_max_layer(&tex->buffer.b.b, view->u.tex.first_level)); in si_decompress_sampler_depth_textures() 573 struct pipe_sampler_view *view; in si_decompress_sampler_color_textures() local 578 view in si_decompress_sampler_color_textures() 594 const struct pipe_image_view *view; si_decompress_image_color_textures() local 644 const struct pipe_sampler_view *view; si_check_render_feedback_textures() local 666 const struct pipe_image_view *view; si_check_render_feedback_images() local 685 struct pipe_sampler_view *view; si_check_render_feedback_resident_textures() local 702 struct pipe_image_view *view; si_check_render_feedback_resident_images() local 748 struct pipe_sampler_view *view = (*tex_handle)->view; si_decompress_resident_textures() local 757 struct pipe_sampler_view *view = (*tex_handle)->view; si_decompress_resident_textures() local 771 struct pipe_image_view *view = &(*img_handle)->view; si_decompress_resident_images() local [all...] |
H A D | si_descriptors.c | 450 struct pipe_sampler_view *view = &sview->base; in si_set_sampler_view_desc() local 451 struct si_texture *tex = (struct si_texture *)view->texture; in si_set_sampler_view_desc() 463 if (vi_dcc_enabled(tex, view->u.tex.first_level)) in si_set_sampler_view_desc() 539 struct pipe_sampler_view *view = views[i]; in si_set_sampler_views() local 540 pipe_sampler_view_reference(&view, NULL); in si_set_sampler_views() 679 struct pipe_image_view *view = &images->views[i]; in si_release_image_views() local 681 pipe_resource_reference(&view->resource, NULL); in si_release_image_views() 692 struct pipe_image_view *view = &images->views[i]; in si_image_views_begin_new_cs() local 694 assert(view->resource); in si_image_views_begin_new_cs() 696 si_sampler_view_add_buffer(sctx, view in si_image_views_begin_new_cs() 707 struct pipe_image_view *view = &images->views[i]; si_image_views_check_encrypted() local 736 si_mark_image_range_valid(const struct pipe_image_view *view) si_mark_image_range_valid() argument 747 si_set_shader_image_desc(struct si_context *ctx, const struct pipe_image_view *view, bool skip_decompress, uint32_t *desc, uint32_t *fmask_desc) si_set_shader_image_desc() argument 830 si_set_shader_image(struct si_context *ctx, unsigned shader, unsigned slot, const struct pipe_image_view *view, bool skip_decompress) si_set_shader_image() argument 973 struct pipe_image_view view = {0}; si_update_ps_colorbuf0_slot() local 1622 struct pipe_image_view *view = &(*img_handle)->view; si_resident_handles_update_needs_color_decompress() local 1837 struct pipe_sampler_view *view = (*tex_handle)->view; si_rebind_buffer() local 1859 struct pipe_image_view *view = &(*img_handle)->view; si_rebind_buffer() local 1970 struct pipe_image_view *view = &img_handle->view; si_update_bindless_image_descriptor() local 2015 struct pipe_image_view *view = &images->views[i]; si_update_all_texture_descriptors() local 2027 struct pipe_sampler_view *view = samplers->views[i]; si_update_all_texture_descriptors() local 2416 si_create_texture_handle(struct pipe_context *ctx, struct pipe_sampler_view *view, const struct pipe_sampler_state *state) si_create_texture_handle() argument 2551 si_create_image_handle(struct pipe_context *ctx, const struct pipe_image_view *view) si_create_image_handle() argument 2612 struct pipe_image_view *view; si_make_image_handle_resident() local 2688 struct pipe_image_view *view = &(*img_handle)->view; si_resident_buffers_add_all_to_bo_list() local [all...] |
/third_party/protobuf/js/experimental/runtime/kernel/ |
H A D | typed_arrays.js | 75 const view = new Uint8Array(buffer, start, length); 77 const clone = new Uint8Array(view); 86 * @param {!ArrayBufferView} view 89 function cloneArrayBufferView(view) { 91 view.buffer, view.byteOffset, view.byteOffset + view.byteLength));
|
/third_party/python/Objects/ |
H A D | abstract.c | 305 Py_buffer view; in PyObject_CheckReadBuffer() local 310 if ((*pb->bf_getbuffer)(obj, &view, PyBUF_SIMPLE) == -1) { in PyObject_CheckReadBuffer() 314 PyBuffer_Release(&view); in PyObject_CheckReadBuffer() 321 Py_buffer view; in as_read_buffer() local 327 if (PyObject_GetBuffer(obj, &view, PyBUF_SIMPLE) != 0) in as_read_buffer() 330 *buffer = view.buf; in as_read_buffer() 331 *buffer_len = view.len; in as_read_buffer() 332 PyBuffer_Release(&view); in as_read_buffer() 356 Py_buffer view; in PyObject_AsWriteBuffer() local 365 ((*pb->bf_getbuffer)(obj, &view, PyBUF_WRITABL in PyObject_AsWriteBuffer() 380 PyObject_GetBuffer(PyObject *obj, Py_buffer *view, int flags) PyObject_GetBuffer() argument 396 _IsFortranContiguous(const Py_buffer *view) _IsFortranContiguous() argument 436 _IsCContiguous(const Py_buffer *view) _IsCContiguous() argument 463 PyBuffer_IsContiguous(const Py_buffer *view, char order) PyBuffer_IsContiguous() argument 479 PyBuffer_GetPointer(const Py_buffer *view, const Py_ssize_t *indices) PyBuffer_GetPointer() argument 569 PyBuffer_FromContiguous(const Py_buffer *view, const void *buf, Py_ssize_t len, char fort) PyBuffer_FromContiguous() argument 716 PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, int readonly, int flags) PyBuffer_FillInfo() argument 755 PyBuffer_Release(Py_buffer *view) PyBuffer_Release() argument 1523 Py_buffer view; PyNumber_Long() local [all...] |
/third_party/skia/src/image/ |
H A D | SkImage_Lazy.cpp | 437 auto installKey = [&](const GrSurfaceProxyView& view) { in lockTextureProxyView() 438 SkASSERT(view && view.asTextureProxy()); in lockTextureProxyView() 442 proxyProvider->assignUniqueKeyToProxy(key, view.asTextureProxy()); in lockTextureProxyView() 453 GrSurfaceProxyView view(std::move(proxy), kTopLeft_GrSurfaceOrigin, swizzle); in lockTextureProxyView() 455 view.asTextureProxy()->mipmapped() == GrMipmapped::kYes) { in lockTextureProxyView() 456 return view; in lockTextureProxyView() 461 auto mippedView = GrCopyBaseMipMapToView(rContext, view); in lockTextureProxyView() 466 return view; in lockTextureProxyView() 468 proxyProvider->removeUniqueKeyFromProxy(view in lockTextureProxyView() 496 auto view = this->textureProxyViewFromPlanes(rContext, budgeted); lockTextureProxyView() local 512 auto view = std::get<0>(GrMakeUncachedBitmapProxyView(rContext, lockTextureProxyView() local [all...] |
H A D | SkImage_GpuBase.cpp | 110 auto [view, ct] = this->asView(dContext, GrMipmapped::kNo); in getROPixels() 111 if (!view) { in getROPixels() 116 auto sContext = dContext->priv().makeSC(std::move(view), std::move(colorInfo)); in getROPixels() 138 auto [view, ct] = this->asView(direct, GrMipmapped::kNo); in onMakeSubset() 139 SkASSERT(view); in onMakeSubset() 142 SkBudgeted isBudgeted = view.proxy()->isBudgeted(); in onMakeSubset() 144 std::move(view), in onMakeSubset() 172 auto [view, ct] = this->asView(dContext, GrMipmapped::kNo); in onReadPixels() 173 SkASSERT(view); in onReadPixels() 176 auto sContext = dContext->priv().makeSC(std::move(view), colorInf in onReadPixels() [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_storage_image.c | 227 const struct isl_view *view) in isl_surf_fill_image_param() 232 assert(view->base_array_layer + view->array_len <= in isl_surf_fill_image_param() 235 param->size[0] = isl_minify(surf->logical_level0_px.w, view->base_level); in isl_surf_fill_image_param() 237 view->array_len : in isl_surf_fill_image_param() 238 isl_minify(surf->logical_level0_px.h, view->base_level); in isl_surf_fill_image_param() 240 view->array_len : in isl_surf_fill_image_param() 241 isl_minify(surf->logical_level0_px.d, view->base_level); in isl_surf_fill_image_param() 244 isl_surf_get_image_offset_el(surf, view->base_level, in isl_surf_fill_image_param() 246 0 : view in isl_surf_fill_image_param() 224 isl_surf_fill_image_param(const struct isl_device *dev, struct brw_image_param *param, const struct isl_surf *surf, const struct isl_view *view) isl_surf_fill_image_param() argument [all...] |
/third_party/python/Include/ |
H A D | pybuffer.h | 43 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view, 47 Note that view->ndim is the assumed size of indices. */ 48 PyAPI_FUNC(void *) PyBuffer_GetPointer(const Py_buffer *view, const Py_ssize_t *indices); 55 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, const Py_buffer *view, 58 PyAPI_FUNC(int) PyBuffer_FromContiguous(const Py_buffer *view, const void *buf, 77 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort); 94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf, 99 PyAPI_FUNC(void) PyBuffer_Release(Py_buffer *view); variable
|
/third_party/typescript/tests/baselines/reference/ |
H A D | contextualTypingOfOptionalMembers.js | 8 view?: (state: State, actions: Actions) => any; 19 view: (s, a) => undefined as any, 36 view?: (state: State, actions: Actions) => any; 47 view: (s, a) => undefined as any, 60 view: (s, a) => undefined as any, 83 view: function (s, a) { return undefined; }
94 view: function (s, a) { return undefined; }
101 view: function (s, a) { return undefined; }
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | dataview.js | 159 var view = new DataView (buffer) 160 view[propName] ({ toString : function () { throw new ReferenceError ('fooBar') } }); 168 var view = new DataView (buffer) 172 assert(view[propName] (1.5) === 0); 174 assert(view[propName] (1.5) === undefined); 179 view[propName] (-1); 187 view[propName] (20); 195 function validateResult (view, offset, isLitteEndian, results) { 197 assert (results[i] === view[getters[i]](offset, isLitteEndian));
|
/third_party/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ |
H A D | ViewerActivity.java | 15 import android.view.KeyEvent; 16 import android.view.Menu; 17 import android.view.MenuInflater; 18 import android.view.MenuItem; 19 import android.view.MotionEvent; 20 import android.view.Surface; 21 import android.view.SurfaceHolder; 22 import android.view.SurfaceView; 23 import android.view.View;
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_cs.c | 58 mali_sampling_mode(const struct pan_image_view *view) in mali_sampling_mode() argument 60 if (view->image->layout.nr_samples > 1) { in mali_sampling_mode() 61 assert(view->nr_samples == view->image->layout.nr_samples); in mali_sampling_mode() 62 assert(view->image->layout.slices[0].surface_stride != 0); in mali_sampling_mode() 66 if (view->nr_samples > view->image->layout.nr_samples) { in mali_sampling_mode() 67 assert(view->image->layout.nr_samples == 1); in mali_sampling_mode() 71 assert(view->nr_samples == view in mali_sampling_mode() [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrGaussianConvolutionFragmentProcessor.cpp | 143 GrSurfaceProxyView view, 172 child = GrTextureEffect::MakeSubset(std::move(view), 181 child = GrTextureEffect::MakeSubset(std::move(view), 255 auto [view, ct, at] = d->randomView(); in TestCreate() 259 static_cast<int>(d->fRandom->nextRangeU(0, view.width() - 1)), in TestCreate() 260 static_cast<int>(d->fRandom->nextRangeU(0, view.height() - 1)), in TestCreate() 261 static_cast<int>(d->fRandom->nextRangeU(0, view.width() - 1)), in TestCreate() 262 static_cast<int>(d->fRandom->nextRangeU(0, view.height() - 1)), in TestCreate() 274 static_cast<int>(d->fRandom->nextRangeU(0, view.width() - 1)), in TestCreate() 275 static_cast<int>(d->fRandom->nextRangeU(0, view in TestCreate() [all...] |
/third_party/mesa3d/src/gallium/drivers/tegra/ |
H A D | tegra_context.h | 54 to_tegra_sampler_view(struct pipe_sampler_view *view) in to_tegra_sampler_view() argument 56 return (struct tegra_sampler_view *)view; in to_tegra_sampler_view() 60 tegra_sampler_view_unwrap(struct pipe_sampler_view *view) in tegra_sampler_view_unwrap() argument 62 if (!view) in tegra_sampler_view_unwrap() 65 return to_tegra_sampler_view(view)->gpu; in tegra_sampler_view_unwrap()
|
/third_party/python/Modules/ |
H A D | _testbuffer.c | 59 #define ND_GETBUF_UNDEFINED 0x080 /* undefined view.obj */ 1417 ndarray_getbuf(NDArrayObject *self, Py_buffer *view, int flags) in ndarray_getbuf() argument 1425 return PyObject_GetBuffer(base->obj, view, flags); in ndarray_getbuf() 1429 *view = *base; in ndarray_getbuf() 1430 view->obj = NULL; in ndarray_getbuf() 1433 if (view->format == NULL) in ndarray_getbuf() 1434 view->format = "B"; in ndarray_getbuf() 1451 view->obj = (PyObject *)0x1; /* wrong but permitted in <= 3.2 */ in ndarray_getbuf() 1462 view->itemsize is the _previous_ itemsize. If shape is present, in ndarray_getbuf() 1466 view in ndarray_getbuf() 1535 ndarray_releasebuf(NDArrayObject *self, Py_buffer *view) ndarray_releasebuf() argument 2235 const Py_buffer *view = &nd->head->base; ndarray_memoryview_from_buffer() local 2309 Py_buffer view; get_pointer() local 2435 Py_buffer view; py_buffer_to_contiguous() local 2572 Py_buffer view, *base; is_contiguous() local 2608 const Py_buffer *view = &nd->head->base; ndarray_hash() local 2743 staticarray_getbuf(StaticArrayObject *self, Py_buffer *view, int flags) staticarray_getbuf() argument [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw_feedback.c | 320 struct pipe_sampler_view *view = views[i]; in st_feedback_draw_vbo() local 321 if (!view) in st_feedback_draw_vbo() 324 struct pipe_resource *res = view->texture; in st_feedback_draw_vbo() 336 first_level = view->u.tex.first_level; in st_feedback_draw_vbo() 337 last_level = view->u.tex.last_level; in st_feedback_draw_vbo() 338 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in st_feedback_draw_vbo() 349 view->u.tex.first_layer, in st_feedback_draw_vbo() 370 width0 = view->u.buf.size / util_format_get_blocksize(view in st_feedback_draw_vbo() 476 struct pipe_sampler_view *view = views[i]; st_feedback_draw_vbo() local [all...] |