Home
last modified time | relevance | path

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

1234

/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/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/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/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
189 , magic(sMagic) in private_handle_t()
221 , magic(sMagic) in private_handle_t()
256 magic = 0; in ~private_handle_t()
269 h->numFds != sNumFds || hnd->magic != sMagic) in validate()
/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/google/cuttlefish/host/libs/image_aggregator/
Dimage_aggregator.cc133 Be32 magic; member
172 std::string magic(std::min(file_size, MAGIC_BLOCK_SIZE), '\0'); in ExpandedStorageSize() local
173 if (!android::base::ReadFully(fd, magic.data(), magic.size())) { in ExpandedStorageSize()
181 if (android::base::StartsWith(magic, CDISK_MAGIC)) { in ExpandedStorageSize()
199 if (android::base::StartsWith(magic, QCOW2_MAGIC)) { in ExpandedStorageSize()
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dadb.js138 let magic = getU32LE(array, 20);
140 if (command != ((magic ^ 0xffffffff) >>> 0)) {
142 console.error('command = ' + command + ', magic = ' + magic);
/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/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()
DappSec.c233 aosp->magic != NANOAPP_AOSP_MAGIC || in appSecProcessIncomingHdr()
235 image->layout.magic != GOOGLE_LAYOUT_MAGIC) in appSecProcessIncomingHdr()
307 .magic = APP_HDR_MAGIC, in appSecProcessIncomingHdr()
/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/tools/
Dmk_qemu_image.sh22 magic="3aff26ed"
25 if [[ $src_magic == $magic ]]; then
Dmk_combined_img.py14 magic = 3978755898
17 if magic == int(codecs.encode(word[::-1], 'hex'), 16):
/device/google/cuttlefish/host/commands/append_squashfs_overlay/src/
Dmain.rs53 let magic = u32::from_le_bytes(buffer); in merge_fs() localVariable
54 if magic != SQUASHFS_MAGIC { in merge_fs()
/device/google/contexthub/firmware/os/inc/
Dseos.h316 .hdr.magic = APP_HDR_MAGIC, \
332 .hdr.magic = APP_HDR_MAGIC, \
/device/google/lynx-kernels/5.10/24Q3-12318583/kernel-headers/misc/
Dcrashinfo.h26 __u8 magic[CRASHINFO_MAGIC_SIZE]; member
/device/google/raviole-kernels/5.10/24Q3-12115410/original-kernel-headers/misc/
Dcrashinfo.h17 __u8 magic[CRASHINFO_MAGIC_SIZE]; member
/device/google/caimito-kernels/6.1/24Q3-12157876/original-kernel-headers/misc/
Dcrashinfo.h17 __u8 magic[CRASHINFO_MAGIC_SIZE]; member
/device/google/comet-kernels/6.1/24Q3-12157876/kernel-headers/misc/
Dcrashinfo.h14 __u8 magic[CRASHINFO_MAGIC_SIZE]; member
/device/google/shusky-kernels/5.15/24Q3-12065098/kernel-headers/misc/
Dcrashinfo.h14 __u8 magic[CRASHINFO_MAGIC_SIZE]; member
/device/google/lynx-kernels/5.10/24Q3-12318583/original-kernel-headers/misc/
Dcrashinfo.h17 __u8 magic[CRASHINFO_MAGIC_SIZE]; member
/device/google/pantah-kernels/5.10/24Q3-12318583/kernel-headers/misc/
Dcrashinfo.h26 __u8 magic[CRASHINFO_MAGIC_SIZE]; member
/device/google/akita-kernels/5.15/24Q3-12065098/kernel-headers/misc/
Dcrashinfo.h14 __u8 magic[CRASHINFO_MAGIC_SIZE]; member

1234