Home
last modified time | relevance | path

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

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfixheader.py29 magic = 'Py_'
32 magic = magic + c.upper()
33 else: magic = magic + '_'
35 print '#ifndef', magic
36 print '#define', magic
46 print '#endif /*', '!'+magic, '*/'
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dwhichdb.py89 (magic,) = struct.unpack("=l", s)
94 if magic == 0x13579ace:
98 if magic in (0x00061561, 0x61150600):
104 (magic,) = struct.unpack("=l", s16[-4:])
109 if magic in (0x00061561, 0x61150600):
D_MozillaCookieJar.py50 magic = f.readline()
51 if not re.search(self.magic_re, magic):
D_LWPCookieJar.py94 magic = f.readline()
95 if not re.search(self.magic_re, magic):
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
Dgralloc_cb.h47 magic(BUFFER_HANDLE_MAGIC), in cb_handle_t()
74 magic = 0; in ~cb_handle_t()
96 hnd->magic == BUFFER_HANDLE_MAGIC && in validate()
109 int magic; // magic number in order to validate a pointer to be a cb_handle_t 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()
316 if (!h || h->version != sizeof(native_handle) || hnd->magic != sMagic) in validate()
/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/google/contexthub/lib/include/nanohub/
Dnanohub.h53 uint32_t magic; // "NANO" member
80 uint32_t magic; // external & internal: NANOAPP_FW_MAGIC member
115 uint32_t magic; member
149 uint32_t magic; // Layout ID: (GOOGLE_LAYOUT_MAGIC for this implementation) member
204 char magic[11]; member
/device/linaro/hikey/gralloc960/
Dgralloc_priv.h168 int magic; member
226 magic(sMagic), in private_handle_t()
249 magic = 0; in ~private_handle_t()
264 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/linaro/bootloader/arm-trusted-firmware/plat/hikey/drivers/
Dhisi_dvfs.c55 unsigned int magic; member
679 acpu_dvfs_sram_buf->magic = ACPU_VALID_VOLTAGE_MAGIC; in acpu_dvfs_target()
724 __func__, acpu_dvfs_sram_buf->magic); in acpu_dvfs_set_freq()
735 unsigned int magic; member
762 volt->magic = 0x5a5ac5c5; in acpu_dvfs_volt_init()
/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/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()
/device/linaro/bootloader/edk2/CorebootModulePkg/Include/
DCoreboot.h58 UINT32 magic; member
73 UINT32 magic; member
/device/generic/goldfish-opengl/system/GLESv2/
Dgl2.cpp66 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
100 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/
Dfastboot.h37 uint32_t magic; member
/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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/
Dminigzip.py50 magic = input.read(2)
51 if magic != '\037\213':
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/
Dfdt.h58 fdt32_t magic; /* magic word FDT_MAGIC */ member
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dhikey_private.h56 uint64_t magic; member
Dplat_io_storage.c56 unsigned char magic[8]; member
335 unsigned char magic[8] = "ENTRYHDR"; in fetch_entry_head() local
339 if (!strncmp((void *)hd->magic, (void *)magic, 8)) in fetch_entry_head()
620 if (random->magic != RANDOM_MAGIC) in load_serialno()
/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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dpyexpat.h11 char* magic; /* set to PyExpat_CAPI_MAGIC */ member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dpyexpat.h11 char* magic; /* set to PyExpat_CAPI_MAGIC */ member

123