Searched refs:cres (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/ |
D | trt_engine_op.cc | 1020 auto* cres = cache_res->calib_ctx_.get(); in AllocateCalibrationResources() local 1026 cres->device_tensors_.resize(num_inputs); in AllocateCalibrationResources() 1034 t.dtype(), t.shape(), &cres->device_tensors_.at(i), &device_tensor)); in AllocateCalibrationResources() 1041 cres->device_buffers_.emplace( in AllocateCalibrationResources() 1045 cres->calibrator_.reset( in AllocateCalibrationResources() 1046 new TRTInt8Calibrator(cres->device_buffers_, batch_size, name())); in AllocateCalibrationResources() 1056 cres->thr_.reset(new std::thread([this, cres, shapes, platform_gpu_id, in AllocateCalibrationResources() 1061 << ", Calibration Resource @ " << cres; in AllocateCalibrationResources() 1080 cres->calibrator_->getBatchSize(), this->workspace_size_, in AllocateCalibrationResources() 1082 cres->calibrator_.get(), &cres->engine_, /*use_calibration=*/true, in AllocateCalibrationResources() [all …]
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 1427 PyObject *cres, *res; in mbstreamreader_iread() local 1435 cres = NULL; in mbstreamreader_iread() 1441 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread() 1444 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread() 1446 if (cres == NULL) in mbstreamreader_iread() 1449 if (!PyBytes_Check(cres)) { in mbstreamreader_iread() 1453 Py_TYPE(cres)->tp_name); in mbstreamreader_iread() 1457 endoffile = (PyBytes_GET_SIZE(cres) == 0); in mbstreamreader_iread() 1463 if (PyBytes_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread() 1467 rsize = PyBytes_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread() [all …]
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | multibytecodec.c | 1239 PyObject *cres; in mbstreamreader_iread() local 1246 cres = NULL; in mbstreamreader_iread() 1252 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread() 1255 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread() 1257 if (cres == NULL) in mbstreamreader_iread() 1260 if (!PyString_Check(cres)) { in mbstreamreader_iread() 1267 endoffile = (PyString_GET_SIZE(cres) == 0); in mbstreamreader_iread() 1273 if (PyString_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread() 1277 rsize = PyString_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread() 1284 PyString_AS_STRING(cres), in mbstreamreader_iread() [all …]
|
/external/mesa3d/src/gallium/winsys/virgl/vtest/ |
D | virgl_vtest_winsys.c | 391 for (i = 0; i < cbuf->cres; i++) { in virgl_vtest_lookup_res() 406 for (i = 0; i < cbuf->cres; i++) { in virgl_vtest_release_all_res() 410 cbuf->cres = 0; in virgl_vtest_release_all_res() 419 if (cbuf->cres >= cbuf->nres) { in virgl_vtest_add_res() 425 fprintf(stderr,"failure to add relocation %d, %d\n", cbuf->cres, cbuf->nres); in virgl_vtest_add_res() 433 cbuf->res_bo[cbuf->cres] = NULL; in virgl_vtest_add_res() 434 virgl_vtest_resource_reference(&vtws->base, &cbuf->res_bo[cbuf->cres], res); in virgl_vtest_add_res() 437 cbuf->reloc_indices_hashlist[hash] = cbuf->cres; in virgl_vtest_add_res() 439 cbuf->cres++; in virgl_vtest_add_res()
|
D | virgl_vtest_winsys.h | 79 unsigned cres; member
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 602 cbuf->cres = 0; in virgl_drm_alloc_res_list() 621 for (i = 0; i < cbuf->cres; i++) { in virgl_drm_free_res_list() 640 for (i = 0; i < cbuf->cres; i++) { in virgl_drm_lookup_res() 656 if (cbuf->cres >= cbuf->nres) { in virgl_drm_add_res() 662 _debug_printf("failure to add relocation %d, %d\n", cbuf->cres, new_nres); in virgl_drm_add_res() 671 _debug_printf("failure to add hlist relocation %d, %d\n", cbuf->cres, cbuf->nres); in virgl_drm_add_res() 678 cbuf->res_bo[cbuf->cres] = NULL; in virgl_drm_add_res() 679 virgl_drm_resource_reference(&qdws->base, &cbuf->res_bo[cbuf->cres], res); in virgl_drm_add_res() 680 cbuf->res_hlist[cbuf->cres] = res->bo_handle; in virgl_drm_add_res() 683 cbuf->reloc_indices_hashlist[hash] = cbuf->cres; in virgl_drm_add_res() [all …]
|
D | virgl_drm_winsys.h | 111 unsigned cres; member
|
/external/libopus/tests/ |
D | test_opus_decode.c | 244 static const opus_uint32 cres[4]={116290185,2172123586u,2172123586u,2172123586u}; in test_decoder_code0() local 264 if(dec_final_acc!=cres[mode])test_failed(); in test_decoder_code0()
|
/external/hyphenation-patterns/fr/ |
D | hyph-fr.pat.txt | 171 4cres.
|