Home
last modified time | relevance | path

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

123

/device/google/contexthub/firmware/os/cpu/cortexm4/
Dcpu.c47 uint32_t magic; // and part of dropbox member
74 if ((dbx->magic & HARD_FAULT_DROPBOX_MAGIC_MASK) != HARD_FAULT_DROPBOX_MAGIC_VAL) { in getInitedPersistedData()
76 dbx->magic = HARD_FAULT_DROPBOX_MAGIC_VAL; in getInitedPersistedData()
128 …cpuUnpackSrBits(dbx->sr_hfsr_cfsr_lo, dbx->magic & HARD_FAULT_DROPBOX_MAGIC_DATA_MASK, &sr, &hfsr,… in cpuDbxDump()
160 if (dbx->magic & HARD_FAULT_DROPBOX_MAGIC_HAVE_DROP) { in cpuInitLate()
164 dbx->magic &=~ HARD_FAULT_DROPBOX_MAGIC_HAVE_DROP; in cpuInitLate()
287 dbx->magic |= HARD_FAULT_DROPBOX_MAGIC_HAVE_DROP | (hi & HARD_FAULT_DROPBOX_MAGIC_DATA_MASK); in logHardFault()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_buffer.h103 int magic; member
169 , magic(sMagic) in private_handle_t()
199 , magic(sMagic) in private_handle_t()
232 magic = 0; in ~private_handle_t()
245 h->numFds != sNumFds || hnd->magic != sMagic) in validate()
/device/linaro/hikey/gralloc/
Dgralloc_priv.h164 int magic; member
221 magic(sMagic), in private_handle_t()
254 magic(sMagic), in private_handle_t()
288 magic(sMagic), in private_handle_t()
321 magic = 0; in ~private_handle_t()
333 if (!hnd || hnd->version != sizeof(native_handle) || hnd->magic != sMagic) in validate()
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h54 uint32_t magic; // "NANO" member
91 uint32_t magic; // external & internal: NANOAPP_FW_MAGIC member
127 uint32_t magic; member
161 uint32_t magic; // Layout ID: (GOOGLE_LAYOUT_MAGIC for this implementation) member
216 char magic[11]; member
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_buffer.h103 int magic; member
182 , magic(sMagic) in private_handle_t()
214 , magic(sMagic) in private_handle_t()
249 magic = 0; in ~private_handle_t()
262 h->numFds != sNumFds || hnd->magic != sMagic) in validate()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dgralloc_vsoc_priv.h80 int magic; member
100 magic(sMagic), in fd()
115 magic = 0; in ~private_handle_t()
151 if (hnd->magic != sMagic) { in validate()
156 hnd->magic, in validate()
/device/generic/opengl-transport/host/libs/virglrenderer/include/nativebase/
Dnativebase.h33 int magic; member
44 common.magic = ANDROID_NATIVE_BUFFER_MAGIC; in ANativeWindowBuffer()
/device/generic/goldfish-opengl/shared/gralloc_cb/include/
Dgralloc_cb_bp.h45 magic(p_magic), in cb_handle_t()
87 && (magic & CB_HANDLE_MAGIC_MASK) == CB_HANDLE_MAGIC_BASE; in isValid()
109 uint32_t magic; // magic number in order to validate a pointer member
/device/generic/goldfish/tools/
Dmk_qemu_image.sh22 magic="3aff26ed"
25 if [[ $src_magic == $magic ]]; then
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/js/
Dlogcat.js115 let magic = getU32LE(array, 20);
117 if (command != ((magic ^ 0xffffffff) >>> 0)) {
118 console.log("command = " + command + ", magic = " + magic);
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c247 .magic = NANOAPP_AOSP_MAGIC, in finalizeAndWrite()
253 .magic = GOOGLE_LAYOUT_MAGIC, in finalizeAndWrite()
424 if (bin->hdr.magic != NANOAPP_FW_MAGIC) { in handleApp()
425 …ERR("Magic value is wrong: found %08" PRIX32"; expected %08" PRIX32, bin->hdr.magic, NANOAPP_FW_MA… in handleApp()
582 .magic = NANOAPP_AOSP_MAGIC, in handleKey()
586 .magic = GOOGLE_LAYOUT_MAGIC, in handleKey()
606 .magic = OS_UPDT_MAGIC, in handleOs()
614 .magic = NANOAPP_AOSP_MAGIC, in handleOs()
617 .magic = GOOGLE_LAYOUT_MAGIC, in handleOs()
Dpostprocess_elf.c238 .magic = NANOAPP_AOSP_MAGIC, in finalizeAndWrite()
246 .magic = GOOGLE_LAYOUT_MAGIC, in finalizeAndWrite()
316 if (bin->hdr.magic != NANOAPP_FW_MAGIC) { in handleApp()
319 bin->hdr.magic, NANOAPP_FW_MAGIC); in handleApp()
843 .magic = NANOAPP_AOSP_MAGIC, in handleKey()
847 .magic = GOOGLE_LAYOUT_MAGIC, in handleKey()
867 .magic = OS_UPDT_MAGIC, in handleOs()
875 .magic = NANOAPP_AOSP_MAGIC, in handleOs()
878 .magic = GOOGLE_LAYOUT_MAGIC, in handleOs()
/device/generic/goldfish-opengl/system/vulkan_enc/
DResources.cpp39 res->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; \
83 res->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; \
/device/generic/goldfish-opengl/system/GLESv1/
Dgl.cpp68 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
105 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()
/device/generic/goldfish-opengl/system/GLESv2/
Dgl2.cpp70 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
108 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/generic/goldfish-opengl/fuchsia/include/hardware/
Dhwvulkan.h19 uintptr_t magic; member
/device/generic/goldfish/network/netmgr/
Dwifi_forwarder.cpp47 : magic(__cpu_to_le32(kWifiForwardMagic)) in WifiForwardHeader()
51 uint32_t magic; member
307 if (__le32_to_cpu(fwd->magic) != kWifiForwardMagic) { in injectFromPipe()
/device/generic/goldfish/network/wifi_forwarder/
Dremote_connection.cpp46 : magic(__cpu_to_le32(kWifiForwardMagic)) in WifiForwardHeader()
64 uint32_t magic; member
152 if (__le32_to_cpu(fwd->magic) != kWifiForwardMagic) { in receive()
/device/google/contexthub/firmware/os/core/
Dbl.c347 if (memcmp(hdr->magic, mOsUpdateMagic, sizeof(hdr->magic)) != 0) in blVerifyOsImage()
610 … for (i = 0; i < sizeof(hdr->magic) && hdr->magic[i] == mOsUpdateMagic[i]; i++); in blLoader()
613 if (i != sizeof(hdr->magic) || hdr->marker != OS_UPDT_MARKER_INPROGRESS) in blLoader()
/device/generic/opengl-transport/host/libs/virglrenderer/include/system/
Dwindow.h31 common.magic = ANDROID_NATIVE_BUFFER_MAGIC; in ANativeWindow()
/device/google/coral-kernel/sm8150/kernel-headers/linux/mfd/adnc/
Diaxxx-tunnel-intf.h28 uint8_t magic[4]; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/mfd/adnc/
Diaxxx-tunnel-intf.h27 uint8_t magic[4]; member
/device/google/taimen/
Dinit-taimen.rc56 # Write the dark theme magic to /misc partition.
61 # Clear the dark theme magic in /misc partition.
/device/google/muskie/
Dinit-common.rc52 # Write the dark theme magic to /misc partition. Offset 12360 (0x3048) in vendor space is
58 # Clear the dark theme magic in /misc partition.

123