Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op.cc648 auto cres = new TRTCalibrationResource(); in AllocateCalibrationResources() local
649 *cr = cres; in AllocateCalibrationResources()
655 cres->allocator_.reset(new TRTCudaAllocator); in AllocateCalibrationResources()
657 cres->allocator_.reset(new TRTDeviceAllocator(alloc)); in AllocateCalibrationResources()
663 cres->device_tensors_.resize(num_inputs); in AllocateCalibrationResources()
671 t.dtype(), t.shape(), &cres->device_tensors_.at(i), &device_tensor)); in AllocateCalibrationResources()
678 cres->device_buffers_.emplace( in AllocateCalibrationResources()
682 cres->calibrator_.reset( in AllocateCalibrationResources()
683 new TRTInt8Calibrator(cres->device_buffers_, batch_size, name())); in AllocateCalibrationResources()
694 cres->thr_.reset(new std::thread([cres, label, segment_graph, shapes, in AllocateCalibrationResources()
[all …]
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c1266 PyObject *cres, *res; in mbstreamreader_iread() local
1274 cres = NULL; in mbstreamreader_iread()
1280 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1283 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1285 if (cres == NULL) in mbstreamreader_iread()
1288 if (!PyBytes_Check(cres)) { in mbstreamreader_iread()
1292 cres->ob_type->tp_name); in mbstreamreader_iread()
1296 endoffile = (PyBytes_GET_SIZE(cres) == 0); in mbstreamreader_iread()
1302 if (PyBytes_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { in mbstreamreader_iread()
1306 rsize = PyBytes_GET_SIZE(cres) + self->pendingsize; in mbstreamreader_iread()
[all …]
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c1239 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/
Dvirgl_vtest_winsys.c434 for (i = 0; i < cbuf->cres; i++) { in virgl_vtest_lookup_res()
449 for (i = 0; i < cbuf->cres; i++) { in virgl_vtest_release_all_res()
453 cbuf->cres = 0; in virgl_vtest_release_all_res()
462 if (cbuf->cres > cbuf->nres) { in virgl_vtest_add_res()
467 cbuf->res_bo[cbuf->cres] = NULL; in virgl_vtest_add_res()
468 virgl_vtest_resource_reference(vtws, &cbuf->res_bo[cbuf->cres], res); in virgl_vtest_add_res()
471 cbuf->reloc_indices_hashlist[hash] = cbuf->cres; in virgl_vtest_add_res()
473 cbuf->cres++; in virgl_vtest_add_res()
Dvirgl_vtest_winsys.h81 unsigned cres; member
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c606 for (i = 0; i < cbuf->cres; i++) { in virgl_drm_lookup_res()
622 if (cbuf->cres > cbuf->nres) { in virgl_drm_add_res()
627 cbuf->res_bo[cbuf->cres] = NULL; in virgl_drm_add_res()
628 virgl_drm_resource_reference(qdws, &cbuf->res_bo[cbuf->cres], res); in virgl_drm_add_res()
629 cbuf->res_hlist[cbuf->cres] = res->bo_handle; in virgl_drm_add_res()
632 cbuf->reloc_indices_hashlist[hash] = cbuf->cres; in virgl_drm_add_res()
634 cbuf->cres++; in virgl_drm_add_res()
642 for (i = 0; i < cbuf->cres; i++) { in virgl_drm_release_all_res()
646 cbuf->cres = 0; in virgl_drm_release_all_res()
688 eb.num_bo_handles = cbuf->cres; in virgl_drm_winsys_submit_cmd()
Dvirgl_drm_winsys.h75 unsigned cres; member
/external/libopus/tests/
Dtest_opus_decode.c244 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/
Dhyph-fr.pat.txt171 4cres.