/external/wpa_supplicant/ |
D | aes_wrap.c | 154 #define BLOCK_SIZE 16 macro 163 for (i = 0; i < BLOCK_SIZE - 1; i++) in gf_mulx() 165 pad[BLOCK_SIZE - 1] <<= 1; in gf_mulx() 167 pad[BLOCK_SIZE - 1] ^= 0x87; in gf_mulx() 184 u8 cbc[BLOCK_SIZE], pad[BLOCK_SIZE]; in omac1_aes_128_vector() 191 os_memset(cbc, 0, BLOCK_SIZE); in omac1_aes_128_vector() 202 while (left >= BLOCK_SIZE) { in omac1_aes_128_vector() 203 for (i = 0; i < BLOCK_SIZE; i++) { in omac1_aes_128_vector() 211 if (left > BLOCK_SIZE) in omac1_aes_128_vector() 213 left -= BLOCK_SIZE; in omac1_aes_128_vector() [all …]
|
/external/grub/stage2/ |
D | fsys_minix.c | 41 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS) macro 46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */ 72 #define MINIX_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix_inode))) 73 #define MINIX2_INODES_PER_BLOCK ((BLOCK_SIZE)/(sizeof (struct minix2_inode))) 141 ((struct minix_inode *)((int) SUPERBLOCK + BLOCK_SIZE)) 145 ((int)((int)DATABLOCK1 + BLOCK_SIZE)) 195 return devread (fsblock * (BLOCK_SIZE / DEV_BSIZE), 0, in minix_rdfsb() 196 BLOCK_SIZE, (char *) buffer); in minix_rdfsb() 258 offset = filepos & (BLOCK_SIZE - 1); in minix_read() 266 size = BLOCK_SIZE; in minix_read() [all …]
|
D | fsys_vstafs.c | 52 || ! devread (0, 0, BLOCK_SIZE, (char *) FSYS_BUF) in vstafs_mount() 62 devread (sector, 0, BLOCK_SIZE, (char *) FILE_INFO); in get_file_info()
|
D | vstafs.h | 26 #define BLOCK_SIZE 512 macro
|
D | fsys_ext2fs.c | 31 #define BLOCK_SIZE 1024 /* initial block size for superblock read */ macro 35 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */
|
/external/webkit/JavaScriptCore/runtime/ |
D | Collector.cpp | 186 …vm_map(current_task(), &address, BLOCK_SIZE, BLOCK_OFFSET_MASK, VM_FLAGS_ANYWHERE, MEMORY_OBJECT_N… in allocateBlock() 189 void* address = fastMalloc(BLOCK_SIZE); in allocateBlock() 190 memset(reinterpret_cast<void*>(address), 0, BLOCK_SIZE); in allocateBlock() 193 LPVOID address = VirtualAlloc(NULL, BLOCK_SIZE, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); in allocateBlock() 196 posix_memalign(&address, BLOCK_SIZE, BLOCK_SIZE); in allocateBlock() 197 memset(address, 0, BLOCK_SIZE); in allocateBlock() 206 if (BLOCK_SIZE > pagesize) in allocateBlock() 207 extra = BLOCK_SIZE - pagesize; in allocateBlock() 209 …void* mmapResult = mmap(NULL, BLOCK_SIZE + extra, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, … in allocateBlock() 214 adjust = BLOCK_SIZE - (address & BLOCK_OFFSET_MASK); in allocateBlock() [all …]
|
D | Collector.h | 172 const size_t BLOCK_SIZE = 16 * 4096; // 64k 175 const size_t BLOCK_OFFSET_MASK = BLOCK_SIZE - 1; 183 …const size_t CELLS_PER_BLOCK = (BLOCK_SIZE * 8 - sizeof(uint32_t) * 8 - sizeof(void *) * 8 - 2 * (…
|
/external/yaffs2/yaffs2/direct/ |
D | yaffs_fileem2k.h | 27 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro 39 #define BLOCK_SIZE (PAGES_PER_BLOCK * (PAGE_SIZE)) macro
|
D | yaffs_fileem2k.c | 70 static char dummyBuffer[BLOCK_SIZE]; 85 requiredSize = BLOCKS_PER_HANDLE * BLOCK_SIZE; in GetBlockFileHandle() 88 if(write(h,dummyBuffer,BLOCK_SIZE) != BLOCK_SIZE) in GetBlockFileHandle()
|
D | yaffs_fileem.c | 37 #define BLOCK_SIZE (32 * 528) macro
|
D | yaffs_ramdisk.c | 33 #define BLOCK_SIZE (32 * 528) macro
|
D | yaffs_flashif.c | 31 #define BLOCK_SIZE (32 * 528) macro
|
/external/wpa_supplicant/tests/ |
D | test_aes.c | 21 #define BLOCK_SIZE 16 macro 71 u8 data[sizeof(msg)], tag[BLOCK_SIZE]; in test_eax() 84 if (memcmp(tag, cipher + sizeof(data), BLOCK_SIZE) != 0) { in test_eax()
|
/external/dosfstools/src/ |
D | mkdosfs.c | 106 #define SECTORS_PER_BLOCK ( BLOCK_SIZE / HARD_SECTOR_SIZE ) 407 if (llseek (dev, current_block * BLOCK_SIZE, SEEK_SET) /* Seek to the correct location */ in do_check() 408 != current_block * BLOCK_SIZE) in do_check() 411 got = read (dev, buffer, try * BLOCK_SIZE); /* Try reading! */ in do_check() 415 if (got & (BLOCK_SIZE - 1)) in do_check() 417 got /= BLOCK_SIZE; in do_check() 447 static char blkbuf[BLOCK_SIZE * TEST_BUFFER_BLOCKS]; in check_blocks() 564 return low / BLOCK_SIZE; in count_blocks() 887 num_sectors = (long long)blocks*BLOCK_SIZE/sector_size; in setup_tables() 1681 off_t offset = blocks*BLOCK_SIZE - 1; in main()
|
/external/e2fsprogs/e2fsck/ |
D | CHANGES | 38 Fixed dependency on BLOCK_SIZE in pass2. e2fsck will now handle 4k
|
/external/opencore/codecs_v2/video/avc_h264/common/include/ |
D | avcint_common.h | 67 #define BLOCK_SIZE 4 macro
|