| /xsrc/external/mit/libXfont2/dist/src/util/ |
| replace.h | 55 #define err(eval, ...) do { \ macro
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/reg_dumper/ |
| util.c | 33 #include <err.h> 45 int err, mmio_bar; local 48 err = pci_system_init(); 49 if (err != 0) { 50 fprintf(stderr, "Couldn't initialize PCI system: %s\n", strerror(err)); 59 err = pci_device_probe(dev); 60 if (err != 0) { 61 fprintf(stderr, "Couldn't probe graphics card: %s\n", strerror(err)); 72 err = pci_device_map_range (dev, 78 if (err != 0) [all...] |
| stepping.c | 33 #include <err.h> 39 int err; local 43 err = pci_system_init(); 44 if (err != 0) { 45 fprintf(stderr, "Couldn't initialize PCI system: %s\n", strerror(err)); 54 err = pci_device_probe(dev); 55 if (err != 0) { 56 fprintf(stderr, "Couldn't probe graphics card: %s\n", strerror(err)); 67 err = pci_device_cfg_read_u8(bridge, &stepping, 8); 68 if (err != 0) [all...] |
| main.c | 32 #include <err.h> 41 int err, mmio_bar; local 44 err = pci_system_init(); 45 if (err != 0) { 46 fprintf(stderr, "Couldn't initialize PCI system: %s\n", strerror(err)); 55 err = pci_device_probe(dev); 56 if (err != 0) { 57 fprintf(stderr, "Couldn't probe graphics card: %s\n", strerror(err)); 68 err = pci_device_map_range (dev, 74 if (err != 0) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/egl/main/ |
| eglsync.c | 52 EGLint err = EGL_SUCCESS; local 59 err = EGL_BAD_ATTRIBUTE; 67 err = EGL_BAD_ATTRIBUTE; 71 err = EGL_BAD_ATTRIBUTE; 75 if (err != EGL_SUCCESS) { 77 return err; 89 EGLint err; local 96 err = _eglParseSyncAttribList(sync, attrib_list); 112 if (err != EGL_SUCCESS) 113 return _eglError(err, "eglCreateSyncKHR") [all...] |
| eglimage.c | 284 EGLint i, err; local 295 err = _eglParseKHRImageAttribs(attrs, disp, attr, val); 296 if (err == EGL_SUCCESS) 299 err = _eglParseMESADrmImageAttribs(attrs, disp, attr, val); 300 if (err == EGL_SUCCESS) 303 err = _eglParseWLBindWaylandDisplayAttribs(attrs, disp, attr, val); 304 if (err == EGL_SUCCESS) 307 err = _eglParseEXTImageDmaBufImportAttribs(attrs, disp, attr, val); 308 if (err == EGL_SUCCESS) 315 if (err == EGL_BAD_ATTRIBUTE [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/egl/main/ |
| eglsync.c | 52 EGLint err = EGL_SUCCESS; local 59 err = EGL_BAD_ATTRIBUTE; 67 err = EGL_BAD_ATTRIBUTE; 71 err = EGL_BAD_ATTRIBUTE; 75 if (err != EGL_SUCCESS) { 77 return err; 89 EGLint err; local 96 err = _eglParseSyncAttribList(sync, attrib_list); 112 if (err != EGL_SUCCESS) 113 return _eglError(err, "eglCreateSyncKHR") [all...] |
| eglimage.c | 278 EGLint i, err; local 289 err = _eglParseKHRImageAttribs(attrs, disp, attr, val); 290 if (err == EGL_SUCCESS) 293 err = _eglParseMESADrmImageAttribs(attrs, disp, attr, val); 294 if (err == EGL_SUCCESS) 297 err = _eglParseWLBindWaylandDisplayAttribs(attrs, disp, attr, val); 298 if (err == EGL_SUCCESS) 301 err = _eglParseEXTImageDmaBufImportAttribs(attrs, disp, attr, val); 302 if (err == EGL_SUCCESS) 309 if (err == EGL_BAD_ATTRIBUTE [all...] |
| /xsrc/external/mit/libdrm/dist/tegra/ |
| syncpt.c | 40 int err; local 48 err = ioctl(drm->fd, DRM_IOCTL_TEGRA_SYNCPOINT_ALLOCATE, &args); 49 if (err < 0) { 67 int err; local 75 err = ioctl(drm->fd, DRM_IOCTL_TEGRA_SYNCPOINT_FREE, &args); 76 if (err < 0) 89 int err; local 96 err = ioctl(drm->fd, DRM_IOCTL_TEGRA_SYNCPOINT_WAIT, &args); 97 if (err < 0)
|
| /xsrc/external/mit/libdrm/dist/tests/tegra/ |
| openclose.c | 37 int err, fd; local 59 err = drm_tegra_new(fd, &tegra); 60 if (err < 0)
|
| drm-test-tegra.c | 36 int err; local 44 err = drm_tegra_channel_open(drm, DRM_TEGRA_GR2D, &gr2d->channel); 45 if (err < 0) { 47 return err; 75 int err; local 77 err = drm_tegra_job_new(gr2d->channel, &job); 78 if (err < 0) 79 return err; 81 err = drm_tegra_channel_map(gr2d->channel, fbo, 0, &map); 82 if (err < 0 [all...] |
| /xsrc/external/mit/libpciaccess/dist/src/ |
| common_init.c | 56 int err = ENOSYS; local 59 err = pci_system_linux_sysfs_create(); 61 err = pci_system_freebsd_create(); 63 err = pci_system_netbsd_create(); 65 err = pci_system_openbsd_create(); 67 err = pci_system_solx_devfs_create(); 69 err = pci_system_hurd_create(); 71 err = pci_system_x86_create(); 76 return err;
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| no_s3tc.c | 53 GLenum err; local 91 err = glGetError(); 92 if ( err != GL_INVALID_ENUM ) { 94 "0x%04x was generated instead.\n", GL_INVALID_ENUM, err ); 97 return (err == GL_INVALID_ENUM) ? EXIT_SUCCESS : EXIT_FAILURE;
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/bios_reader/ |
| bios_dumper.c | 37 #include <err.h> 53 int err, fd; local 58 err = pci_system_init(); 59 if (err != 0) { 60 fprintf(stderr, "Couldn't initialize PCI system: %s\n", strerror(err)); 69 err = pci_device_probe(dev); 70 if (err != 0) { 71 fprintf(stderr, "Couldn't probe graphics card: %s\n", strerror(err)); 82 err = pci_device_read_rom(dev, bios); 83 if (err != 0) [all...] |
| swf_dumper.c | 38 #include <err.h> 71 int err; local 77 err = pci_system_init(); 78 if (err != 0) { 79 fprintf(stderr, "Couldn't initialize PCI system: %s\n", strerror(err)); 88 err = pci_device_probe(dev); 89 if (err != 0) { 90 fprintf(stderr, "Couldn't probe graphics card: %s\n", strerror(err)); 97 err = pci_device_map_range(dev, dev->regions[0].base_addr, 100 if (err) { [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/hurd/ |
| hurd_init.c | 63 kern_return_t err; local 66 err = get_privileged_ports( NULL, &device ); 67 if( err ) 69 errno = err;
|
| hurd_mmap.c | 45 kern_return_t err; local 48 err = get_privileged_ports (NULL, &device); 49 if( err ) 51 errno = err; 54 err = device_open(device,D_READ|D_WRITE,"mem",&mem_dev); 56 if( err ) 58 errno = err; 61 err = device_map(mem_dev,VM_PROT_READ|VM_PROT_WRITE, Base , BIOS_SIZE ,&mem_obj,0); 62 if( err ) 64 errno = err; [all...] |
| hurd_video.c | 49 kern_return_t err; local 52 err = get_privileged_ports (NULL, &device); 53 if( err ) 55 errno = err; 58 err = device_open(device,D_READ|D_WRITE,"mem",&mem_dev); 60 if( err ) 62 errno = err; 66 err = device_map(mem_dev,VM_PROT_READ|VM_PROT_WRITE, Base , Size ,&mem_obj,0); 67 if( err ) 69 errno = err; 101 kern_return_t err = vm_deallocate(mach_task_self(), (int)Base, Size); local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/panfrost/drm/ |
| panfrost_drm_winsys.c | 72 int err = drmIoctl(ro->kms_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); local 73 if (err < 0) { 93 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, 95 if (err < 0) {
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| drawpix.c | 50 GLenum err; local 103 err = _mesa_error_check_format_and_type(ctx, format, type); 104 if (err != GL_NO_ERROR) { 105 _mesa_error(ctx, err, "glDrawPixels(invalid format %s and/or type %s)",
|
| /xsrc/external/mit/MesaLib.old/dist/src/glx/ |
| create_context.c | 47 xcb_generic_error_t *err; local 114 err = xcb_request_check(c, cookie); 115 if (err != NULL) { 119 __glXSendErrorForXcb(dpy, err); 120 free(err);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| drawpix.c | 48 GLenum err; local 96 err = _mesa_error_check_format_and_type(ctx, format, type); 97 if (err != GL_NO_ERROR) { 98 _mesa_error(ctx, err, "glDrawPixels(invalid format %s and/or type %s)",
|
| /xsrc/external/mit/xf86-video-ast/dist/src/ |
| ast_tool.c | 65 int err = pci_device_map_range(pAST->PciInfo, local 72 if (err) 121 int err = pci_device_map_range(pAST->PciInfo, local 127 if (err)
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/hurd/ |
| hurd_init.c | 63 kern_return_t err; local 67 err = get_privileged_ports(NULL, &device); 68 if (err) { 69 errno = err;
|
| /xsrc/external/mit/xorg-server.old/dist/os/ |
| xsha1.c | 73 gcry_error_t err; local 83 err = gcry_md_open(&h, GCRY_MD_SHA1, 0); 84 if (err)
|