Lines Matching refs:dim
1375 zend_long dim = zval_get_long(offset); in zend_ffi_cdata_read_dim() local
1381 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_read_dim()
1382 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_read_dim()
1403 ptr = (void*)(((char*)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1418 ptr = (void*)((*(char**)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1433 zend_long dim; in zend_ffi_cdata_write_dim() local
1442 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim()
1444 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_write_dim()
1445 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_write_dim()
1458 ptr = (void*)(((char*)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim()
1466 ptr = (void*)((*(char**)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim()