Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/cpu/cortexm4f/
Dcpu.c32 uint32_t magic; // and part of dropbox member
59 if ((dbx->magic & HARD_FAULT_DROPBOX_MAGIC_MASK) != HARD_FAULT_DROPBOX_MAGIC_VAL) { in getInitedPersistedData()
61 dbx->magic = HARD_FAULT_DROPBOX_MAGIC_VAL; in getInitedPersistedData()
106 if (dbx->magic & HARD_FAULT_DROPBOX_MAGIC_HAVE_DROP) { in cpuInitLate()
109 …cpuUnpackSrBits(dbx->sr_hfsr_cfsr_lo, dbx->magic & HARD_FAULT_DROPBOX_MAGIC_DATA_MASK, &sr, &hfsr,… in cpuInitLate()
118 dbx->magic &=~ HARD_FAULT_DROPBOX_MAGIC_HAVE_DROP; in cpuInitLate()
220 dbx->magic |= HARD_FAULT_DROPBOX_MAGIC_HAVE_DROP | (hi & HARD_FAULT_DROPBOX_MAGIC_DATA_MASK); in logHardFault()
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h36 magic(BUFFER_HANDLE_MAGIC), in cb_handle_t()
60 magic = 0; in ~cb_handle_t()
77 hnd->magic == BUFFER_HANDLE_MAGIC && in validate()
89 int magic; // magic number in order to validate a pointer to be a cb_handle_t member
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h39 uint32_t magic; // "NANO" member
51 uint32_t magic; // external & internal: NANOAPP_FW_MAGIC member
86 uint32_t magic; member
120 uint32_t magic; // Layout ID: (GOOGLE_LAYOUT_MAGIC for this implementation) member
175 char magic[11]; member
/device/asus/fugu/recovery/
Dfw_version_check.cpp198 int magic; in get_image_fw_rev() local
211 memcpy(&magic, databytes, sizeof(magic)); in get_image_fw_rev()
212 if (magic == FIP_PATTERN) { in get_image_fw_rev()
216 databytes += sizeof(magic); in get_image_fw_rev()
217 sz -= sizeof(magic); in get_image_fw_rev()
260 databytes += sizeof(magic); in get_image_fw_rev()
261 sz -= sizeof(magic); in get_image_fw_rev()
/device/linaro/hikey/gralloc/
Dgralloc_priv.h159 int magic; member
207 magic(sMagic), in private_handle_t()
239 magic(sMagic), in private_handle_t()
272 magic(sMagic), in private_handle_t()
304 magic = 0; in ~private_handle_t()
318 hnd->magic != sMagic) in validate()
/device/asus/fugu/
Dreleasetools.py35 magic, revision, reserved, reserved = struct.unpack(
38 assert magic == "BOOTLDR!", "bootloader.img bad magic value"
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c118 if (bin->hdr.magic != NANOAPP_FW_MAGIC) { in handleApp()
121 bin->hdr.magic, NANOAPP_FW_MAGIC); in handleApp()
432 .magic = NANOAPP_AOSP_MAGIC, in handleApp()
438 .magic = GOOGLE_LAYOUT_MAGIC, in handleApp()
494 .magic = NANOAPP_AOSP_MAGIC, in handleKey()
498 .magic = GOOGLE_LAYOUT_MAGIC, in handleKey()
518 .magic = OS_UPDT_MAGIC, in handleOs()
526 .magic = NANOAPP_AOSP_MAGIC, in handleOs()
529 .magic = GOOGLE_LAYOUT_MAGIC, in handleOs()
/device/generic/goldfish/opengl/system/GLESv1/
Dgl.cpp64 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
99 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()
/device/generic/goldfish/opengl/system/GLESv2/
Dgl2.cpp65 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
98 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()
/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c102 if (bufUsed >= sizeof(*image) && image->aosp.magic == NANOAPP_AOSP_MAGIC && in handleEncrypt()
103 image->aosp.header_version == 1 && image->layout.magic == GOOGLE_LAYOUT_MAGIC) { in handleEncrypt()
169 image->aosp.header_version == 1 && image->aosp.magic == NANOAPP_AOSP_MAGIC && in handleDecrypt()
170 image->layout.magic == GOOGLE_LAYOUT_MAGIC) { in handleDecrypt()
/device/lge/bullhead/
Dreleasetools.py145 magic, num_images, start_offset, bootloader_size = struct.unpack(
147 assert magic == "BOOTLDR!", "bootloader.img bad magic value"
/device/moto/shamu/
Dreleasetools.py51magic, = struct.unpack(magic_format, data[num_imgs_size + NUM_MAX_IMAGES*img_info_size:num_imgs_si…
52 if magic != MAGIC:
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dbl.c752 if (memcmp(hdr->magic, mOsUpdateMagic, sizeof(hdr->magic)) != 0) in blVerifyOsImage()
1053 … for (i = 0; i < sizeof(hdr->magic) && hdr->magic[i] == mOsUpdateMagic[i]; i++); in blSpiLoader()
1056 if (i != sizeof(hdr->magic) || hdr->marker != OS_UPDT_MARKER_INPROGRESS) in blSpiLoader()
/device/google/contexthub/firmware/src/
DappSec.c234 aosp->magic != NANOAPP_AOSP_MAGIC || in appSecProcessIncomingHdr()
236 image->layout.magic != GOOGLE_LAYOUT_MAGIC) in appSecProcessIncomingHdr()
308 .magic = APP_HDR_MAGIC, in appSecProcessIncomingHdr()
DnanohubCommand.c419 app->hdr.magic != APP_HDR_MAGIC || in firmwareFinish()
Dseos.c630 return app->hdr.magic == APP_HDR_MAGIC && in osAppIsValid()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c525 image->aosp.magic == NANOAPP_AOSP_MAGIC && in main()
526 image->layout.magic == GOOGLE_LAYOUT_MAGIC) { in main()
/device/google/contexthub/firmware/inc/
Dseos.h277 .hdr.magic = APP_HDR_MAGIC, \
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini493 # 0 - Disable both magic pattern match and pattern byte match.
494 # 1 - Enable magic pattern match on all interfaces.
496 # 3 - Enable both magic patter and pattern byte match on all interfaces.
/device/generic/goldfish/opengl/system/egl/
Degl.cpp634 if (static_cast<ANativeWindow*>(win)->common.magic != ANDROID_NATIVE_WINDOW_MAGIC) { in eglCreateWindowSurface()
1220 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglCreateImageKHR()
1280 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglDestroyImageKHR()
/device/google/dragon/recovery/updater/
Dvboot_interface.c95 if (!shd || shd->magic != VB_SHARED_DATA_MAGIC) { in vboot_get_mainfw_act()