Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 55) sorted by relevance

123

/hardware/qcom/display/msm8960/libgralloc/
Dgralloc_priv.h173 int magic; member
195 fd(fd), fd_metadata(eFd), magic(sMagic), in fd()
206 magic = 0; in ~private_handle_t()
217 hnd->magic != sMagic) in validate()
225 hnd ? (((hnd->magic >> 24) & 0xFF)? in validate()
226 ((hnd->magic >> 24) & 0xFF) : '-') : '?', in validate()
227 hnd ? (((hnd->magic >> 16) & 0xFF)? in validate()
228 ((hnd->magic >> 16) & 0xFF) : '-') : '?', in validate()
229 hnd ? (((hnd->magic >> 8) & 0xFF)? in validate()
230 ((hnd->magic >> 8) & 0xFF) : '-') : '?', in validate()
[all …]
/hardware/qcom/display/msm8974/libgralloc/
Dgralloc_priv.h170 int magic; member
192 fd(fd), fd_metadata(eFd), magic(sMagic), in fd()
203 magic = 0; in ~private_handle_t()
214 hnd->magic != sMagic) in validate()
222 hnd ? (((hnd->magic >> 24) & 0xFF)? in validate()
223 ((hnd->magic >> 24) & 0xFF) : '-') : '?', in validate()
224 hnd ? (((hnd->magic >> 16) & 0xFF)? in validate()
225 ((hnd->magic >> 16) & 0xFF) : '-') : '?', in validate()
226 hnd ? (((hnd->magic >> 8) & 0xFF)? in validate()
227 ((hnd->magic >> 8) & 0xFF) : '-') : '?', in validate()
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc_priv.h212 int magic; member
236 fd(fd), fd_metadata(eFd), magic(sMagic), in fd()
247 magic = 0; in ~private_handle_t()
258 hnd->magic != sMagic) in validate()
267 hnd ? (((hnd->magic >> 24) & 0xFF)? in validate()
268 ((hnd->magic >> 24) & 0xFF) : '-') : '?', in validate()
269 hnd ? (((hnd->magic >> 16) & 0xFF)? in validate()
270 ((hnd->magic >> 16) & 0xFF) : '-') : '?', in validate()
271 hnd ? (((hnd->magic >> 8) & 0xFF)? in validate()
272 ((hnd->magic >> 8) & 0xFF) : '-') : '?', in validate()
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc_priv.h214 int magic; member
239 fd(fd), fd_metadata(eFd), magic(sMagic), in fd()
250 magic = 0; in ~private_handle_t()
261 hnd->magic != sMagic) in validate()
270 hnd ? (((hnd->magic >> 24) & 0xFF)? in validate()
271 ((hnd->magic >> 24) & 0xFF) : '-') : '?', in validate()
272 hnd ? (((hnd->magic >> 16) & 0xFF)? in validate()
273 ((hnd->magic >> 16) & 0xFF) : '-') : '?', in validate()
274 hnd ? (((hnd->magic >> 8) & 0xFF)? in validate()
275 ((hnd->magic >> 8) & 0xFF) : '-') : '?', in validate()
[all …]
/hardware/intel/common/libva/va/drm/
Dva_drm_auth.c54 unsigned long magic, iocs; in va_drm_is_authenticated() local
59 if (drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs) != 0) in va_drm_is_authenticated()
68 va_drm_authenticate(int fd, uint32_t magic) in va_drm_authenticate() argument
72 if (va_drm_authenticate_x11(fd, magic)) in va_drm_authenticate()
77 return drmAuthMagic(fd, magic) == 0; in va_drm_authenticate()
Dva_drm_auth_x11.c44 Display *display, XID window, uint32_t magic);
143 drm_auth_x11_authenticate(DRMAuthX11 *auth, int fd, uint32_t magic) in drm_auth_x11_authenticate() argument
152 if (!vtable->va_dri2_authenticate(auth->display, auth->window, magic)) in drm_auth_x11_authenticate()
159 va_drm_authenticate_x11(int fd, uint32_t magic) in va_drm_authenticate_x11() argument
167 success = drm_auth_x11_authenticate(&auth, fd, magic); in va_drm_authenticate_x11()
Dva_drm.c62 drm_magic_t magic; in va_DisplayContextGetDriverName() local
70 ret = drmGetMagic(drm_state->fd, &magic); in va_DisplayContextGetDriverName()
75 if (!va_drm_authenticate(drm_state->fd, magic)) in va_DisplayContextGetDriverName()
Dva_drm_auth_x11.h33 va_drm_authenticate_x11(int fd, uint32_t magic);
Dva_drm_auth.h37 va_drm_authenticate(int fd, uint32_t magic);
/hardware/intel/img/libdrm/libdrm/
Dxf86drmSL.c75 unsigned long magic; /* SL_ENTRY_MAGIC */ member
83 unsigned long magic; /* SL_LIST_MAGIC */ member
113 entry->magic = SL_ENTRY_MAGIC; in SLCreateEntry()
139 list->magic = SL_LIST_MAGIC; in drmSLCreate()
155 if (list->magic != SL_LIST_MAGIC) return -1; /* Bad magic */ in drmSLDestroy()
158 if (entry->magic != SL_ENTRY_MAGIC) return -1; /* Bad magic */ in drmSLDestroy()
160 entry->magic = SL_FREED_MAGIC; in drmSLDestroy()
164 list->magic = SL_FREED_MAGIC; in drmSLDestroy()
175 if (list->magic != SL_LIST_MAGIC) return NULL; in SLLocate()
194 if (list->magic != SL_LIST_MAGIC) return -1; /* Bad magic */ in drmSLInsert()
[all …]
Dxf86drmHash.c111 unsigned long magic; member
164 table->magic = HASH_MAGIC; in drmHashCreate()
181 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashDestroy()
230 if (!table || table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashLookup()
244 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashInsert()
266 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashDelete()
298 if (table->magic != HASH_MAGIC) return -1; /* Bad magic */ in drmHashFirst()
357 table->magic, key, value, retval); in check_table()
Dxf86drmRandom.c95 unsigned long magic; member
117 state->magic = RANDOM_MAGIC; in drmRandomCreate()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/src/
Dhalloc.c29 long magic; member
79 p->magic = HH_MAGIC; in halloc()
88 assert(p->magic == HH_MAGIC); in halloc()
123 assert(b->magic == HH_MAGIC); in hattach()
132 assert(p->magic == HH_MAGIC); in hattach()
244 assert(p && p->magic == HH_MAGIC); in _free_children()
245 p->magic = 0; in _free_children()
/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h84 int magic; member
113 fd(fd), fd1(-1), fd2(-1), magic(sMagic), flags(flags), size(size), in private_handle_t()
125 fd(fd), fd1(fd1), fd2(-1), magic(sMagic), flags(flags), size(size), in private_handle_t()
137 fd(fd), fd1(fd1), fd2(fd2), magic(sMagic), flags(flags), size(size), in private_handle_t()
147 magic = 0; in ~private_handle_t()
154 hnd->magic != sMagic) in validate()
/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h72 int magic; member
89 fd(fd), magic(sMagic), flags(flags), size(size), offset(0), in private_handle_t()
97 magic = 0; in ~private_handle_t()
104 hnd->magic != sMagic) in validate()
/hardware/intel/bootstub/
Dbootstub.c133 static inline int is_image_aosp(unsigned char *magic) in is_image_aosp() argument
135 return !strncmp((char *)magic, (char *)BOOT_MAGIC, sizeof(BOOT_MAGIC)-1); in is_image_aosp()
156 if (is_image_aosp(aosp->magic)) { in bzImage_setup()
341 u32 *magic, *xen_image, i; in xen_multiboot_setup() local
369 for (magic = xen_image; magic < xen_image + 2048; magic++) in xen_multiboot_setup()
370 if (*magic == MULTIBOOT_HEADER_MAGIC) in xen_multiboot_setup()
372 if (*magic != MULTIBOOT_HEADER_MAGIC) { in xen_multiboot_setup()
470 if (is_image_aosp(aosp->magic)) { in bootstub()
Dbootimg.h41 unsigned char magic[BOOT_MAGIC_SIZE]; member
/hardware/intel/common/libva/va/
Dva_fool.c254 unsigned int magic; in va_FoolBufferInfo() local
258 magic = buf_id & FOOL_BUFID_MASK; in va_FoolBufferInfo()
259 if (magic != FOOL_BUFID_MAGIC) in va_FoolBufferInfo()
350 unsigned int magic, buftype; in va_FoolMapBuffer() local
353 magic = buf_id & FOOL_BUFID_MASK; in va_FoolMapBuffer()
354 if (magic != FOOL_BUFID_MAGIC) in va_FoolMapBuffer()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/
DRegistry.cpp611 fseek(fs, offsetof(mclfIntro_t, magic), SEEK_SET); in mcRegistryGetServiceBlob()
612 uint32_t magic; in mcRegistryGetServiceBlob() local
613 fread((char *)&magic, 1, sizeof(magic), fs); in mcRegistryGetServiceBlob()
614 if (magic != MC_SERVICE_HEADER_MAGIC_BE) { in mcRegistryGetServiceBlob()
616 LOG_E("mcRegistryGetServiceBlob() failed: wrong header magic value: %d", magic); in mcRegistryGetServiceBlob()
775 fseek(fs, offsetof(mclfIntro_t, magic), SEEK_SET); in mcRegistryGetDriverBlob()
776 uint32_t magic; in mcRegistryGetDriverBlob() local
777 fread((char *)&magic, 1, sizeof(magic), fs); in mcRegistryGetDriverBlob()
778 if (magic != MC_SERVICE_HEADER_MAGIC_BE) { in mcRegistryGetDriverBlob()
779 LOG_E("mcRegistryGetDriverBlob() failed: wrong header magic value: %d", magic); in mcRegistryGetDriverBlob()
/hardware/intel/common/libva/va/x11/
Ddri1_util.c83 drm_magic_t magic; in isDRI1Connected() local
115 if (drmGetMagic(dri_state->base.fd, &magic)) in isDRI1Connected()
118 if (newlyopened && !VA_DRIAuthConnection(ctx->native_dpy, ctx->x11_screen, magic)) in isDRI1Connected()
Ddri2_util.c183 drm_magic_t magic; in isDRI2Connected() local
204 if (drmGetMagic(dri_state->base.fd, &magic)) in isDRI2Connected()
208 magic)) in isDRI2Connected()
/hardware/intel/img/libdrm/tests/
Ddristat.c123 unsigned long magic; in getclients() local
132 for (i = 0; !drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs); i++) { in getclients()
144 auth ? 'y' : 'n', pid, uid, magic, iocs, cmd); in getclients()
147 auth ? 'y' : 'n', pid, uid, magic, iocs); in getclients()
/hardware/intel/common/libva/va/wayland/
Dva_wayland_drm.c59 drm_magic_t magic; in drm_handle_device() local
80 drmGetMagic(drm_state->fd, &magic); in drm_handle_device()
81 wl_drm_authenticate(wl_drm_ctx->drm, magic); in drm_handle_device()
/hardware/intel/img/psb_headers/DRM/cc54/inc/
Dwv_fkp.h49 uint8_t magic[KEYBOX_MAGIC_SIZE]; // 4 bytes member
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dtrxhdr.h52 uint32 magic; /* "HDR0" */ member

123