/bootable/bootloader/legacy/arch_msm7k/ |
D | nand.c | 101 unsigned *data = ptrlist + 4; in flash_read_id() local 103 data[0] = 0 | 4; in flash_read_id() 104 data[1] = NAND_CMD_FETCH_ID; in flash_read_id() 105 data[2] = 1; in flash_read_id() 106 data[3] = 0; in flash_read_id() 107 data[4] = 0; in flash_read_id() 110 cmd[0].src = paddr(&data[0]); in flash_read_id() 115 cmd[1].src = paddr(&data[1]); in flash_read_id() 120 cmd[2].src = paddr(&data[2]); in flash_read_id() 126 cmd[3].dst = paddr(&data[3]); in flash_read_id() [all …]
|
D | mddi_console.c | 38 unsigned x, y, data; in drawglyph() local 41 data = glyph[0]; in drawglyph() 44 if(data & 1) *pixels = paint; in drawglyph() 45 data >>= 1; in drawglyph() 50 data = glyph[1]; in drawglyph() 53 if(data & 1) *pixels = paint; in drawglyph() 54 data >>= 1; in drawglyph()
|
/bootable/recovery/minzip/ |
D | Hash.c | 84 if (pEnt->data == HASH_TOMBSTONE) { in mzHashTableClear() 86 pEnt->data = NULL; in mzHashTableClear() 87 } else if (pEnt->data != NULL) { in mzHashTableClear() 90 (*pHashTable->freeFunc)(pEnt->data); in mzHashTableClear() 91 pEnt->data = NULL; in mzHashTableClear() 120 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE) in countTombStones() 150 void* data = pHashTable->pEntries[i].data; in resizeHash() local 151 if (data != NULL && data != HASH_TOMBSTONE) { in resizeHash() 157 while (pNewEntries[newIdx].data != NULL) in resizeHash() 161 pNewEntries[newIdx].data = data; in resizeHash() [all …]
|
D | Hash.h | 37 typedef int (*HashForeachFunc)(void* data, void* arg); 51 void* data; member 148 void* data; member 156 void* data = pIter->pHashTable->pEntries[i].data; in mzHashIterNext() local 157 if (data != NULL && data != HASH_TOMBSTONE) in mzHashIterNext() 172 return pIter->pHashTable->pEntries[pIter->idx].data; in mzHashIterData()
|
/bootable/diskinstaller/ |
D | installer.conf | 4 filename /data/bootldr.bin 10 filename /data/boot.img 16 filename /data/system.img 21 data { 22 partition data 23 filename /data/userdata.img
|
D | init.rc | 4 export ANDROID_DATA /data 8 mkdir /data 13 # mount ext2 /dev/block/sdb2 /data ro
|
D | config.mk | 90 mkdir -p $(TARGET_INSTALLER_ROOT_OUT)/data 151 @echo --- Making installer data image ------ 153 mkdir -p $(TARGET_INSTALLER_OUT)/data 154 cp -f $(bootldr_bin) $(TARGET_INSTALLER_OUT)/data/bootldr.bin 155 cp -f $(INSTALLED_BOOTIMAGE_TARGET) $(TARGET_INSTALLER_OUT)/data/boot.img 157 $(TARGET_INSTALLER_OUT)/data/system.img 159 $(TARGET_INSTALLER_OUT)/data/userdata.img 160 $(call build-userimage-ext2-target,$(TARGET_INSTALLER_OUT)/data,$@,\ 162 @echo --- Finished installer data image -[ $@ ]-
|
/bootable/bootloader/legacy/include/boot/ |
D | flash.h | 56 void *data, unsigned bytes); 57 #define flash_read(ptn, offset, data, bytes) flash_read_ext(ptn, 0, offset, data, bytes) argument 59 const void *data, unsigned bytes);
|
D | tags.h | 37 void (*func)(unsigned type, void *data, unsigned bytes, void *cookie);
|
/bootable/recovery/tools/ota/ |
D | convert-to-bmp.py | 70 data = im.tostring() variable 73 f.write(data[i+2]) # B 74 f.write(data[i+1]) # G 75 f.write(data[i+0]) # R 76 f.write(data[i+3]) # A
|
/bootable/recovery/ |
D | bootloader.c | 32 static void dump_data(const char *data, int len) { in dump_data() argument 35 printf("%05x: %02x", pos, data[pos]); in dump_data() 37 printf(" %02x", data[pos]); in dump_data() 59 char data[size]; in get_bootloader_message() local 60 ssize_t r = mtd_read_data(read, data, size); in get_bootloader_message() 67 dump_data(data, size); in get_bootloader_message() 71 memcpy(out, &data[write_size * MISC_COMMAND_PAGE], sizeof(*out)); in get_bootloader_message() 90 char data[size]; in set_bootloader_message() local 91 ssize_t r = mtd_read_data(read, data, size); in set_bootloader_message() 96 memcpy(&data[write_size * MISC_COMMAND_PAGE], in, sizeof(*in)); in set_bootloader_message() [all …]
|
D | firmware.h | 24 int remember_firmware_update(const char *type, const char *data, int length);
|
/bootable/bootloader/legacy/libc/ |
D | crypto.c | 33 void compute_digest(void *data, unsigned dlen, void *digest_out) in compute_digest() argument 36 SHA(data, dlen, digest); in compute_digest()
|
D | sha.h | 45 void SHA_update(SHA_CTX *ctx, const void* data, int len); 49 const uint8_t* SHA(const void *data, int len, uint8_t *digest);
|
D | sha.c | 92 void SHA_update(SHA_CTX *ctx, const void *data, int len) { in SHA_update() argument 94 const uint8_t* p = (const uint8_t*)data; in SHA_update() 132 const uint8_t* SHA(const void *data, int len, uint8_t *digest) { in SHA() argument 137 SHA_update(&ctx, data, len); in SHA()
|
/bootable/bootloader/legacy/libboot/ |
D | tags_cmdline.c | 33 static void tag_cmdline(unsigned tag, void *data, unsigned bytes, void *cookie) in tag_cmdline() argument 35 *((const char **) cookie) = data; in tag_cmdline()
|
D | tags_serialno.c | 33 static void tag_serialno(unsigned tag, void *data, unsigned bytes, void *cookie) in tag_serialno() argument 36 memcpy(cookie, data, 8); in tag_serialno()
|
D | tags_revision.c | 33 static void tag_revision(unsigned tag, void *data, unsigned bytes, void *cookie) in tag_revision() argument 36 memcpy(cookie, data, 4); in tag_revision()
|
D | tags_partition.c | 33 static void ptn_importer(unsigned tag, void *data, unsigned bytes, void *cookie) in ptn_importer() argument 35 struct ptentry *ptn = data; in ptn_importer()
|
D | init.c | 29 char data[3]; variable
|
/bootable/recovery/minui/ |
D | graphics.c | 89 fb->data = bits; in get_framebuffer() 98 fb->data = (void*) (((unsigned) bits) + vi.yres * vi.xres * 2); in get_framebuffer() 109 ms->data = malloc(vi.xres * vi.yres * 2); in get_memory_surface() 132 memcpy(gr_framebuffer[gr_active_fb].data, gr_mem_surface.data, in gr_flip() 221 unsigned char *in, data; in gr_init_font() local 232 ftex->data = (void*) bits; in gr_init_font() 236 while((data = *in++)) { in gr_init_font() 237 memset(bits, (data & 0x80) ? 255 : 0, data & 0x7f); in gr_init_font() 238 bits += (data & 0x7f); in gr_init_font() 292 free(gr_mem_surface.data); in gr_exit() [all …]
|
/bootable/recovery/mtdutils/ |
D | mtdutils.h | 46 ssize_t mtd_read_data(MtdReadContext *, char *data, size_t data_len); 50 ssize_t mtd_write_data(MtdWriteContext *, const char *data, size_t data_len);
|
D | mtdutils.c | 278 static int read_block(const MtdPartition *partition, int fd, char *data) in read_block() argument 289 if (lseek(fd, pos, SEEK_SET) != pos || read(fd, data, size) != size) { in read_block() 302 if (data[i] != 0) { in read_block() 317 ssize_t mtd_read_data(MtdReadContext *ctx, char *data, size_t len) in mtd_read_data() argument 324 memcpy(data + read, ctx->buffer + ctx->consumed, copy); in mtd_read_data() 332 if (read_block(ctx->partition, ctx->fd, data + read)) return -1; in mtd_read_data() 382 static int write_block(const MtdPartition *partition, int fd, const char *data) in write_block() argument 407 write(fd, data, size) != size) { in write_block() 419 if (memcmp(data, verify, size) != 0) { in write_block() 442 ssize_t mtd_write_data(MtdWriteContext *ctx, const char *data, size_t len) in mtd_write_data() argument [all …]
|
/bootable/recovery/etc/ |
D | init.rc | 5 export ANDROID_DATA /data 12 mkdir /data
|
/bootable/bootloader/legacy/ |
D | fastboot_protocol.txt | 42 d. DATA -> the requested command is ready for the data phase. 45 the total data size to transfer. 48 send the indicated amount of data. Short packets are always 78 Host: "download:00001234" request to send 0x1234 bytes of data 80 Client: "DATA00001234" ready to accept data 82 Host: < 0x1234 bytes > send data 86 Host: "flash:bootloader" request to flash the data to the bootloader 113 "download:%08x" Write data to memory which will be later used 120 data. Required if the bootloader is "secure" 128 "boot" The previously downloaded data is a boot.img
|