/external/skia/src/core/ |
SkChunkAlloc.cpp | 20 struct SkChunkAlloc::Block { 21 Block* fNext; 31 Block* block = this; local 32 while (block) { 33 Block* next = block->fNext; 34 sk_free(block); 35 block = next; 39 Block* tail() 40 Block* block = this; local 81 Block* block = fPool; local 106 Block* block = fBlock; local 127 Block* block = fBlock; local [all...] |
SkWriter32.cpp | 3 struct SkWriter32::Block { 4 Block* fNext; 29 static Block* Create(size_t size) 32 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size); local 33 block->fNext = NULL; 34 block->fSize = size; 35 block->fAllocated = 0 49 Block* block = fHead; local 64 Block* block = fTail; local 88 Block* block = fHead; local 102 const Block* block = fHead; local 152 const Block* block = fHead; local [all...] |
/external/libpcap/ |
gencode.h | 192 struct slist *jt; /*only for relative jump in block*/ 193 struct slist *jf; /*only for relative jump in block*/ 225 struct block *succ; 226 struct block *pred; 230 struct block { struct 242 struct block *head; 243 struct block *link; /* link field used by optimizer */ 255 struct block *b; /* protocol checks */ 273 void gen_and(struct block *, struct block *); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/ |
ISO9796d1Encoding.java | 65 * return the input block size. The largest message we can process 145 byte[] block = new byte[(bitSize + 7) / 8]; 155 block, block.length - t, t - i); 159 System.arraycopy(in, inOff, block, block.length - (i + z), z); 163 for (int i = block.length - 2 * t; i != block.length; i += 2) 165 byte val = block[block.length - t + i / 2] [all...] |
PKCS1Encoding.java | 151 byte[] block = new byte[engine.getInputBlockSize()]; 155 block[0] = 0x01; // type code 1 157 for (int i = 1; i != block.length - inLen - 1; i++) 159 block[i] = (byte)0xFF; 164 random.nextBytes(block); // random fill 166 block[0] = 0x02; // type code 2 172 for (int i = 1; i != block.length - inLen - 1; i++) 174 while (block[i] == 0) 176 block[i] = (byte)random.nextInt(); 181 block[block.length - inLen - 1] = 0x00; // mark the end of the paddin [all...] |
OAEPEncoding.java | 141 byte[] block = new byte[getInputBlockSize() + 1 + 2 * defHash.length]; 146 System.arraycopy(in, inOff, block, block.length - inLen, inLen); 151 block[block.length - inLen - 1] = 0x01; 154 // as the block is already zeroed - there's no need to add PS (the >= 0 pad of 0) 160 System.arraycopy(defHash, 0, block, defHash.length, defHash.length); 170 // mask the message block. 172 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, block.length - defHash.length); 174 for (int i = defHash.length; i != block.length; i++ [all...] |
/external/libvpx/vp8/common/ |
mbpitch.c | 48 int block; local 65 for (block = 0; block < 16; block++) // y blocks 67 vp8_setup_block(&x->block[block], x->dst.y_stride, y, x->dst.y_stride, 68 (block >> 2) * 4 * x->dst.y_stride + (block & 3) * 4, bs); 71 for (block = 16; block < 20; block++) // U and V block [all...] |
invtrans.c | 18 BLOCKD *b = &x->block[24]; 23 x->block[i].dqcoeff[0] = b->diff[i]; 41 // do 2nd order transform on the dc block 42 IDCT_INVOKE(rtcd, iwalsh16)(x->block[24].dqcoeff, x->block[24].diff); 48 vp8_inverse_transform_b(rtcd, &x->block[i], 32); 58 vp8_inverse_transform_b(rtcd, &x->block[i], 16); 71 // do 2nd order transform on the dc block 73 IDCT_INVOKE(rtcd, iwalsh16)(&x->block[24].dqcoeff[0], x->block[24].diff) [all...] |
/external/qemu/android/utils/ |
system.c | 25 void* block; local 30 block = malloc(size); 31 if (block != NULL) 32 return block; 42 void* block; local 47 block = calloc(1, size); 48 if (block != NULL) 49 return block; 57 android_realloc( void* block, size_t size ) 62 free(block); [all...] |
/external/fsck_msdos/ |
boot.c | 55 u_char block[DOSBOOTBLOCKSIZE]; local 60 if (read(dosfs, block, sizeof block) < sizeof block) { 61 perror("could not read boot block"); 65 if (block[510] != 0x55 || block[511] != 0xaa) { 66 pfatal("Invalid signature in boot block: %02x%02x", block[511], block[510]) [all...] |
/system/extras/ext4_utils/ |
backed_block.c | 23 u32 block; member in struct:data_block 43 if (data_blocks->block > new_db->block) { 51 there if the next block number is higher */ 52 if (last_used && new_db->block > last_used->block) 58 for (; db->next && db->next->block < new_db->block; db = db->next) 69 /* Queues a block of memory to be written to the specified data blocks */ 70 void queue_data_block(u8 *data, u32 len, u32 block) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
GCMUtil.java | 38 static void shiftRight(byte[] block) 44 int b = block[i] & 0xff; 45 block[i] = (byte) ((b >>> 1) | bit); 54 static void shiftRight(int[] block) 60 int b = block[i]; 61 block[i] = (b >>> 1) | bit; 70 static void xor(byte[] block, byte[] val) 74 block[i] ^= val[i]; 78 static void xor(int[] block, int[] val) 82 block[i] ^= val[i] [all...] |
/libcore/luni/src/main/java/org/apache/xml/utils/ |
SuballocatedIntVector.java | 76 * block size is currently 2K, which may be overkill for 85 * Construct a IntVector, using the given block size and number 89 * @param blocksize Size of block to allocate 108 /** Construct a IntVector, using the given block size and 111 * @param blocksize Size of block to allocate 171 int[] block=m_map[index]; local 172 if(null==block) 173 block=m_map[index]=new int[m_blocksize]; 174 block[offset]=value; 178 m_buildCache = block; 211 int[] block=m_map[index]; local 269 int[] block=m_map[index]; local 288 int[] block=m_map[index]; local 357 int[] block=m_map[index]; local 404 int[] block=m_map[index]; local 476 int[] block; local 529 int[] block=m_map[index]; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_riscosmouse.c | 229 char block[5]; local 239 block[0] = 3; 240 block[1] = osX & 0xFF; 241 block[2] = (osX >> 8) & 0xFF; 242 block[3] = osY & 0xFF; 243 block[4] = (osY >> 8) & 0xFF; 246 regs.r[1] = (int)block; 265 unsigned char block[9]; local 266 block[0] = 1; /* Define mouse cursor bounding block */ 354 Uint8 block[5]; local [all...] |
/external/openssl/include/openssl/ |
modes.h | 20 unsigned char ivec[16], block128_f block); 23 unsigned char ivec[16], block128_f block); 28 unsigned int *num, block128_f block); 33 block128_f block); 38 int enc, block128_f block); 42 int enc, block128_f block); 46 int enc, block128_f block); 50 unsigned char ivec[16], block128_f block); 56 unsigned char ivec[16], block128_f block);
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-api-fst.c | 96 word8 block[16], iv[4][4]; local 120 bcopy(cipher->IV, block, 16); 122 ((word32*)block)[0] ^= ((word32*)iv)[0]; 123 ((word32*)block)[1] ^= ((word32*)iv)[1]; 124 ((word32*)block)[2] ^= ((word32*)iv)[2]; 125 ((word32*)block)[3] ^= ((word32*)iv)[3]; 127 ((word32*)block)[0] = ((word32*)cipher->IV)[0] ^ ((word32*)input)[0]; 128 ((word32*)block)[1] = ((word32*)cipher->IV)[1] ^ ((word32*)input)[1]; 129 ((word32*)block)[2] = ((word32*)cipher->IV)[2] ^ ((word32*)input)[2]; 130 ((word32*)block)[3] = ((word32*)cipher->IV)[3] ^ ((word32*)input)[3] 210 word8 block[16], *iv, *cp; local 273 word8 block[16], iv[4][4]; local 371 word8 block[16]; local 463 word8 block[4][4]; local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
itrans.cpp | 20 /* input are in the first 16 elements of block, 23 void Intra16DCTrans(int16 *block, int Qq, int Rq) 30 inout = block; 46 inout = block; 89 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width) 96 inout = block; 115 e0 = block[0] + block[32]; 116 e1 = block[0] - block[32] [all...] |
/device/samsung/crespo/ |
vold.fstab | 15 dev_mount sdcard /mnt/sdcard 3 /devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0
|
/external/chromium/net/disk_cache/ |
mapped_file_posix.cc | 45 bool MappedFile::Load(const FileBlock* block) { 46 size_t offset = block->offset() + view_size_; 47 return Read(block->buffer(), block->size(), offset); 50 bool MappedFile::Store(const FileBlock* block) { 51 size_t offset = block->offset() + view_size_; 52 return Write(block->buffer(), block->size(), offset);
|
mapped_file_win.cc | 45 bool MappedFile::Load(const FileBlock* block) { 46 size_t offset = block->offset() + view_size_; 47 return Read(block->buffer(), block->size(), offset); 50 bool MappedFile::Store(const FileBlock* block) { 51 size_t offset = block->offset() + view_size_; 52 return Write(block->buffer(), block->size(), offset);
|
/external/dropbear/libtomcrypt/src/mac/omac/ |
omac_done.c | 39 if ((omac->buflen > (int)sizeof(omac->block)) || (omac->buflen < 0) || 40 (omac->blklen > (int)sizeof(omac->block)) || (omac->buflen > omac->blklen)) { 47 omac->block[omac->buflen++] = 0x80; 51 omac->block[omac->buflen++] = 0x00; 60 omac->block[x] ^= omac->prev[x] ^ omac->Lu[mode][x]; 64 if ((err = cipher_descriptor[omac->cipher_idx].ecb_encrypt(omac->block, omac->block, &omac->key)) != CRYPT_OK) { 71 out[x] = omac->block[x];
|
/system/core/rootdir/etc/ |
mountd.conf | 5 ## root block device with partition map or raw FAT file system 6 block_device /dev/block/mmcblk0 8 ## mount point for block device 14 ## path to the UMS driver file for specifying the block device path
|
/external/dbus/dbus/ |
dbus-mempool.c | 35 * the overhead of a malloc block for each small object, speed is 78 * block that gets chunked up into objects in the memory pool. 82 DBusMemBlock *next; /**< next block in the list, which is already used up; 88 long used_so_far; /**< bytes of this block already allocated as elements. */ 90 unsigned char elements[ELEMENT_PADDING]; /**< the block data, actually allocated to required size */ 99 int block_size; /**< size of most recently allocated block */ 119 * avoiding per-malloc-block memory overhead when allocating a lot of 164 /* pick a size for the first block; it increases 165 * for each block we need to allocate. This is 166 * actually half the initial block siz 185 DBusMemBlock *block; local 213 DBusMemBlock *block; local 271 DBusMemBlock *block; local 342 DBusMemBlock *block; local [all...] |
/external/yaffs2/yaffs2/direct/ |
yaffs_ramdisk.c | 47 yramdisk_Page page[32]; // The pages in the block 55 yramdisk_Block **block; member in struct:__anon8732 80 ramdisk.block = YMALLOC(sizeof(yramdisk_Block *) * ramdisk.nBlocks); 82 if(!ramdisk.block) return 0; 86 ramdisk.block[i] = NULL; 91 if((ramdisk.block[i] = YMALLOC(sizeof(yramdisk_Block))) == 0) 106 YFREE(ramdisk.block[i]); 108 YFREE(ramdisk.block); 133 memcpy(ramdisk.block[blk]->page[pg].data,data,512); 142 memcpy(&ramdisk.block[blk]->page[pg].data[512],&pt,sizeof(pt)) [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
SsaInsn.java | 26 /** {@code non-null;} the block that contains this instance */ 27 private final SsaBasicBlock block; field in class:SsaInsn 36 * @param block {@code non-null;} block containing this insn. Can 39 protected SsaInsn(RegisterSpec result, SsaBasicBlock block) { 40 if (block == null) { 41 throw new NullPointerException("block == null"); 44 this.block = block; 52 * @param block {@code non-null;} owning bloc [all...] |