Home
last modified time | relevance | path

Searched refs:cmem (Results 1 – 4 of 4) sorted by relevance

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_migrate.cpp80 cl_uint cmem[GLOBAL_SIZE]; in test_svm_migrate() local
153 fill_buffer(cmem, global_size, seed); in test_svm_migrate()
226 memcpy((void *)csvm, (void *)cmem, global_size*sizeof(cl_uint)); in test_svm_migrate()
312 ok &= check("memory c", (cl_uint *)csvm, cmem, global_size); in test_svm_migrate()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c2987 CDataObject *cmem; in PyCData_FromBaseObj() local
2998 cmem = (CDataObject *)((PyTypeObject *)type)->tp_alloc((PyTypeObject *)type, 0); in PyCData_FromBaseObj()
2999 if (cmem == NULL) in PyCData_FromBaseObj()
3001 assert(CDataObject_Check(cmem)); in PyCData_FromBaseObj()
3003 cmem->b_length = dict->length; in PyCData_FromBaseObj()
3004 cmem->b_size = dict->size; in PyCData_FromBaseObj()
3007 cmem->b_ptr = adr; in PyCData_FromBaseObj()
3008 cmem->b_needsfree = 0; in PyCData_FromBaseObj()
3010 cmem->b_base = (CDataObject *)base; in PyCData_FromBaseObj()
3011 cmem->b_index = index; in PyCData_FromBaseObj()
[all …]
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c2910 CDataObject *cmem; in PyCData_FromBaseObj() local
2921 cmem = (CDataObject *)((PyTypeObject *)type)->tp_alloc((PyTypeObject *)type, 0); in PyCData_FromBaseObj()
2922 if (cmem == NULL) in PyCData_FromBaseObj()
2924 assert(CDataObject_Check(cmem)); in PyCData_FromBaseObj()
2926 cmem->b_length = dict->length; in PyCData_FromBaseObj()
2927 cmem->b_size = dict->size; in PyCData_FromBaseObj()
2930 cmem->b_ptr = adr; in PyCData_FromBaseObj()
2931 cmem->b_needsfree = 0; in PyCData_FromBaseObj()
2933 cmem->b_base = (CDataObject *)base; in PyCData_FromBaseObj()
2934 cmem->b_index = index; in PyCData_FromBaseObj()
[all …]
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c237 ZSTD_customMem const cmem = { NULL, NULL, NULL }; in BMK_benchMem() local
238 …teCDict_advanced(dictBuffer, dictBufferSize, ZSTD_dlm_byRef, ZSTD_dct_auto, zparams.cParams, cmem); in BMK_benchMem()