/external/v8/test/cctest/ |
test-platform-win32.cc | 19 size_t block_size = 4 * KB; local 20 CHECK(vm->Commit(block_addr, block_size, false)); 24 CHECK(vm->Uncommit(block_addr, block_size));
|
test-platform-linux.cc | 73 size_t block_size = 4 * KB; local 74 CHECK(vm->Commit(block_addr, block_size, false)); 78 CHECK(vm->Uncommit(block_addr, block_size));
|
test-platform-nullos.cc | 73 size_t block_size = 4 * KB; local 74 CHECK(vm->Commit(block_addr, block_size, false)); 78 CHECK(vm->Uncommit(block_addr, block_size));
|
/external/protobuf/src/google/protobuf/io/ |
printer_unittest.cc | 55 const int block_size = 100; local 56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); 64 for (int block_size = 1; block_size < 512; block_size *= 2) { 65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); 89 for (int block_size = 1; block_size < 512; block_size *= 2) { 90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); [all...] |
/device/htc/common/updater/ |
firmware.c | 70 size_t block_size; local 71 if (mtd_partition_info(part, NULL, &block_size, NULL) != 0) { 75 printf("block size is 0x%x\n", block_size); 77 char* buffer = malloc(block_size); 90 if (mtd_read_data(ctx, buffer, block_size) != block_size) { 94 pos += block_size; 117 if (to_read > block_size) to_read = block_size;
|
/external/bluetooth/glib/tests/ |
base64-test.c | 11 #define BLOCK_SIZE 32 20 gsize len, decoded_len, max, input_len, block_size; local 35 block_size = MIN (BLOCK_SIZE, length - input_len); 36 len += g_base64_encode_step (data + input_len, block_size, 38 input_len += block_size; 59 int chunk_len = MIN (BLOCK_SIZE, len);
|
slice-color.c | 58 touch_mem (guint64 block_size, 68 mema[j] = g_slice_alloc (block_size); 71 memb[j] = g_slice_alloc (block_size); 74 memc[j] = g_slice_alloc (block_size); 90 g_slice_free1 (block_size, mema[j]); 91 g_slice_free1 (block_size, memb[j]); 92 g_slice_free1 (block_size, memc[j]); 110 guint64 block_size = 512, area_size = 1024 * 1024, n_blocks, repeats = 1000000; local 113 block_size = parse_memsize (argv[1]); 117 block_size = 512 [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_fast_common.c | 107 int block_size; local 109 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn); 110 if (block_size < 0) 113 out = os_malloc(block_size + len); 117 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len) 119 os_memmove(out, out + block_size, len); 138 keys.server_random_len, out, block_size + len)) 141 os_memmove(out, out + block_size, len);
|
/bootable/recovery/mtdutils/ |
flash_image.c | 121 size_t block_size; local 122 if (mtd_partition_info(partition, NULL, &block_size, NULL)) 128 int left = block_size - headerlen; 129 while (left < 0) left += block_size;
|
/external/qemu/block/ |
cloop.c | 31 uint32_t block_size; member in struct:BDRVCloopState 70 if(read(s->fd,&s->block_size,4)<4) 72 s->block_size=be32_to_cpu(s->block_size); 93 s->uncompressed_block = qemu_malloc(s->block_size); 98 s->sectors_per_block = s->block_size/512; 117 s->zstream.avail_out = s->block_size; 122 if(ret != Z_STREAM_END || s->zstream.total_out != s->block_size)
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_attr_build.c | 232 const size_t block_size = 16; local 238 pad_len = block_size - wpabuf_len(plain) % block_size; 242 wpabuf_put_be16(msg, block_size + wpabuf_len(plain)); 244 iv = wpabuf_put(msg, block_size); 245 if (os_get_random(iv, block_size) < 0)
|
wps_common.c | 155 const size_t block_size = 16; local 161 if (encr == NULL || encr_len < 2 * block_size || encr_len % block_size) 167 decrypted = wpabuf_alloc(encr_len - block_size); 172 wpabuf_put_data(decrypted, encr + block_size, encr_len - block_size);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ConnectionState.java | 41 protected int block_size; field in class:ConnectionState 97 int mask = block_size - 1; 98 return (block_size - (content_size & mask));
|
/external/dbus/dbus/ |
dbus-mempool.c | 99 int block_size; /**< size of most recently allocated block */ member in struct:DBusMemPool 169 pool->block_size = pool->element_size * 8; 171 _dbus_assert ((pool->block_size % 268 pool->blocks->used_so_far == pool->block_size) 277 if (pool->block_size <= _DBUS_INT_MAX / 4) /* avoid overflow */ 280 pool->block_size *= 2; 281 _dbus_assert ((pool->block_size % 285 alloc_size = sizeof (DBusMemBlock) - ELEMENT_PADDING + pool->block_size;
|
/external/e2fsprogs/lib/ext2fs/ |
ext2_io.h | 36 int block_size; member in struct:struct_io_channel
|
/external/libvpx/vpx_mem/memory_manager/include/ |
hmm_intrnl.h | 50 HMM_UNIQUE(size_bau) previous_block_size, block_size; member in struct:head_struct 79 (((head_record *) (HEAD_PTR))->block_size & ~HIGH_BIT_BAU_SIZE) 104 (((((head_record *) (HEAD_PTR))->block_size | \ 110 h_ptr->block_size &= ~HIGH_BIT_BAU_SIZE; \ 117 h_ptr->block_size |= HIGH_BIT_BAU_SIZE; }
|
/external/wpa_supplicant/ |
crypto_internal.c | 240 size_t block_size; member in struct:crypto_cipher::__anon8392::__anon8394 289 ctx->u.aes.block_size = key_len; 290 os_memcpy(ctx->u.aes.cbc, iv, ctx->u.aes.block_size); 323 if (len % ctx->u.aes.block_size) 325 blocks = len / ctx->u.aes.block_size; 327 for (j = 0; j < ctx->u.aes.block_size; j++) 332 ctx->u.aes.block_size); 333 plain += ctx->u.aes.block_size; 334 crypt += ctx->u.aes.block_size; 374 if (len % ctx->u.aes.block_size) [all...] |
sha256.c | 299 #define block_size 64 macro 305 if (md->curlen == 0 && inlen >= block_size) { 308 md->length += block_size * 8; 309 in += block_size; 310 inlen -= block_size; 312 n = MIN(inlen, (block_size - md->curlen)); 317 if (md->curlen == block_size) { 320 md->length += 8 * block_size;
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
sha256.c | 302 #define block_size 64 macro 308 if (md->curlen == 0 && inlen >= block_size) { 311 md->length += block_size * 8; 312 in += block_size; 313 inlen -= block_size; 315 n = MIN(inlen, (block_size - md->curlen)); 320 if (md->curlen == block_size) { 323 md->length += 8 * block_size;
|
crypto_internal.c | 241 size_t block_size; member in struct:crypto_cipher::__anon8558::__anon8560 290 ctx->u.aes.block_size = key_len; 291 os_memcpy(ctx->u.aes.cbc, iv, ctx->u.aes.block_size); 324 if (len % ctx->u.aes.block_size) 326 blocks = len / ctx->u.aes.block_size; 328 for (j = 0; j < ctx->u.aes.block_size; j++) 333 ctx->u.aes.block_size); 334 plain += ctx->u.aes.block_size; 335 crypt += ctx->u.aes.block_size; 375 if (len % ctx->u.aes.block_size) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
AndroidJarLoader.java | 380 int block_size = 1024; local 381 int data_size = entrySize < 1 ? block_size : entrySize; 399 byte[] temp = new byte[data_size + block_size]; 401 data_size += block_size; 403 block_size *= 2;
|
/system/extras/ext4_utils/ |
ext4_utils.h | 76 u32 block_size; member in struct:fs_info
|
/external/bluetooth/bluez/test/ |
ipctest.c | 105 size_t block_size; member in struct:userdata 644 u->block_size = u->a2dp.codesize; 650 u->block_size = u->link_mtu;
|
/external/e2fsprogs/ext2ed/ |
ext2ed.h | 129 unsigned short block_size; member in struct:struct_file_system_info 208 extern short block_size;
|
/external/e2fsprogs/misc/ |
badblocks.c | 80 fprintf(stderr, _("Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n [-c blocks_at_once] [-p num_passes] [-t test_pattern [-t test_pattern [...]]]\n device [last_block [start_block]]\n"), 265 static long do_read (int dev, unsigned char * buffer, int try, int block_size, 270 set_o_direct(dev, buffer, try * block_size, current_block); 276 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, 277 SEEK_SET) != (ext2_loff_t) current_block * block_size) 281 got = read (dev, buffer, try * block_size); 286 got /= block_size; 294 static long do_write (int dev, unsigned char * buffer, int try, int block_size, 299 set_o_direct(dev, buffer, try * block_size, current_block); 305 if (ext2fs_llseek (dev, (ext2_loff_t) current_block * block_size, 826 int block_size = 1024; local [all...] |