Home
last modified time | relevance | path

Searched refs:cres (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c1398 PyObject *cres, *res; in mbstreamreader_iread() local
1406 cres = NULL; in mbstreamreader_iread()
1412 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1415 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1417 if (cres == NULL) in mbstreamreader_iread()
1420 if (!PyBytes_Check(cres)) { in mbstreamreader_iread()
1424 Py_TYPE(cres)->tp_name); in mbstreamreader_iread()
1428 endoffile = (PyBytes_GET_SIZE(cres) == 0); in mbstreamreader_iread()
1434 if (PyBytes_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread()
1438 rsize = PyBytes_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread()
[all …]
/third_party/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c428 for (i = 0; i < cbuf->cres; i++) { in virgl_vtest_lookup_res()
443 for (i = 0; i < cbuf->cres; i++) { in virgl_vtest_release_all_res()
447 cbuf->cres = 0; in virgl_vtest_release_all_res()
456 if (cbuf->cres >= cbuf->nres) { in virgl_vtest_add_res()
462 fprintf(stderr,"failure to add relocation %d, %d\n", cbuf->cres, cbuf->nres); in virgl_vtest_add_res()
470 cbuf->res_bo[cbuf->cres] = NULL; in virgl_vtest_add_res()
471 virgl_vtest_resource_reference(&vtws->base, &cbuf->res_bo[cbuf->cres], res); in virgl_vtest_add_res()
474 cbuf->reloc_indices_hashlist[hash] = cbuf->cres; in virgl_vtest_add_res()
476 cbuf->cres++; in virgl_vtest_add_res()
Dvirgl_vtest_winsys.h79 unsigned cres; member
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c714 cbuf->cres = 0; in virgl_drm_alloc_res_list()
733 for (i = 0; i < cbuf->cres; i++) { in virgl_drm_free_res_list()
752 for (i = 0; i < cbuf->cres; i++) { in virgl_drm_lookup_res()
768 if (cbuf->cres >= cbuf->nres) { in virgl_drm_add_res()
774 _debug_printf("failure to add relocation %d, %d\n", cbuf->cres, new_nres); in virgl_drm_add_res()
783 _debug_printf("failure to add hlist relocation %d, %d\n", cbuf->cres, cbuf->nres); in virgl_drm_add_res()
790 cbuf->res_bo[cbuf->cres] = NULL; in virgl_drm_add_res()
791 virgl_drm_resource_reference(&qdws->base, &cbuf->res_bo[cbuf->cres], res); in virgl_drm_add_res()
792 cbuf->res_hlist[cbuf->cres] = res->bo_handle; in virgl_drm_add_res()
795 cbuf->reloc_indices_hashlist[hash] = cbuf->cres; in virgl_drm_add_res()
[all …]
Dvirgl_drm_winsys.h119 unsigned cres; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c3967 … struct zink_resource *cres = ctx->di.descriptor_res[ZINK_DESCRIPTOR_TYPE_IMAGE][shader][slot]; in rebind_buffer() local
3968 if (res != cres) in rebind_buffer()