/external/blktrace/btt/ |
mmap.c | 37 static off_t cur_min, cur, cur_max, total_size; variable 87 len = min_len(DEF_LEN, total_size - cur_min); 117 total_size = buf.st_size; 149 return 100.0 * ((double)cur / (double)total_size);
|
/external/puffin/src/ |
extent_stream.cc | 36 uint64_t total_size = 0; local 39 total_size += extent.length; 40 extents_upper_bounds_.emplace_back(total_size); 43 size_ = total_size;
|
/external/u-boot/arch/x86/cpu/efi/ |
payload.c | 23 ulong board_get_usable_ram_top(ulong total_size) 155 gd->start_addr_sp -= hdr->total_size; 156 memcpy((void *)gd->start_addr_sp, hdr, hdr->total_size); 158 gd->arch.table, gd->start_addr_sp, hdr->total_size);
|
/external/u-boot/arch/x86/cpu/qemu/ |
dram.c | 44 ulong board_get_usable_ram_top(ulong total_size)
|
/external/vboot_reference/host/lib21/ |
host_signature.c | 117 s.c.total_size = s.sig_offset + s.sig_size; 155 buf = calloc(1, s.c.total_size); 232 if (sig_offset + sig->c.total_size > c->total_size) { 237 memcpy(buf + sig_offset, sig, sig->c.total_size); 259 if (sig_next + sig->c.total_size > c->total_size) { 264 memcpy(buf + sig_next, sig, sig->c.total_size); 265 sig_next += sig->c.total_size;
|
/external/minigbm/ |
rockchip.c | 64 const uint32_t total_size = body_plane_offset + body_plane_size; local 67 bo->sizes[0] = total_size; 70 bo->total_size = total_size; 180 bo->total_size = bo->strides[0] * aligned_height + w_mbs * h_mbs * 128; 210 gem_create.size = bo->total_size; 254 void *addr = mmap(0, bo->total_size, drv_get_prot(map_flags), MAP_SHARED, bo->drv->fd, 257 vma->length = bo->total_size; 261 priv->cached_addr = calloc(1, bo->total_size); 287 memcpy(priv->cached_addr, priv->gem_addr, bo->total_size); [all...] |
/device/google/cuttlefish_common/common/vsoc/lib/ |
vsoc_audio_message.h | 50 size32_t total_size; member in struct:gce_audio_message 83 total_size(sizeof(gce_audio_message)),
|
circqueue_test.cpp | 76 void ReadBytesInChunk(CircQueueRegionView* region, int total_size, int chuck_size) { 80 int remaining = total_size; 89 EXPECT_EQ(total_read, total_size); 92 void WriteBytesInChunk(CircQueueRegionView* region, int total_size, int chuck_size) { 96 int remaining = total_size; 105 EXPECT_EQ(total_write, total_size); 208 const int total_size = 3.3 * kQueueCapacity; local 213 std::thread(ReadBytesInChunk, &this->region_, total_size, chunk_size)); 217 std::thread(WriteBytesInChunk, &this->region_, total_size, chunk_size));
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/ |
arm_bl1_setup.c | 51 bl1_tzram_layout.total_size = ARM_BL_RAM_SIZE; 88 bl1_tzram_layout.total_size,
|
arm_common.c | 37 size_t total_size, 54 (void *) total_base, (void *) (total_base + total_size)); 56 total_size,
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/ |
bl1_plat_setup.c | 46 bl1_tzram_layout.total_size = BL_MEM_SIZE; 64 bl1_tzram_layout.total_size,
|
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/aarch64/ |
platform_common.c | 40 unsigned long total_size, \ 47 total_size, \
|
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/aarch64/ |
platform_common.c | 31 unsigned long total_size, \ 38 total_size, \
|
/external/ImageMagick/coders/ |
clipboard.c | 140 total_size; 174 total_size=clip_size+BMP_HEADER_SIZE; 175 clip_data=AcquireMagickMemory(total_size); 197 p[2]=(unsigned char) total_size; 198 p[3]=(unsigned char) (total_size >> 8); 199 p[4]=(unsigned char) (total_size >> 16); 200 p[5]=(unsigned char) (total_size >> 24); 204 image=BlobToImage(read_info,clip_data,total_size,exception); 136 total_size; local
|
/external/vboot_reference/tests/ |
vb21_host_misc_tests.c | 58 c->total_size = sizeof(cbuf); 64 TEST_EQ(read_size, c->total_size, " data size");
|
vb21_host_sig_tests.c | 89 TEST_EQ(size, sig->c.total_size, " size"); 104 TEST_EQ(size, sig->c.total_size, " size"); 125 c->total_size = bufsize; 142 c->total_size = bufsize; 149 sig2 = (struct vb2_signature *)(buf + c_sig_offs + sig->c.total_size); 153 c->total_size -= 4; 157 TEST_EQ(size, sig->c.total_size + sig2->c.total_size,
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
svga3d_surfacedefs.h | 1023 uint32 slice_size, total_size; local 1028 total_size = clamped_umul32(image_blocks.width, 1030 total_size = clamped_umul32(total_size, image_blocks.depth); 1031 total_size = clamped_umul32(total_size, desc->bytes_per_block); 1032 return total_size; 1039 total_size = clamped_umul32(slice_size, image_blocks.depth); 1041 return total_size; 1087 uint64_t total_size = 0 local [all...] |
/external/protobuf/python/google/protobuf/internal/ |
wire_format.py | 209 total_size = (2 * TagByteSize(1) + TagByteSize(2) + TagByteSize(3)) 212 total_size += _VarUInt64ByteSizeNoTag(field_number) 217 total_size += _VarUInt64ByteSizeNoTag(message_size) 220 total_size += message_size 221 return total_size
|
/art/tools/dexanalyze/ |
dexanalyze_experiments.cc | 188 void AnalyzeDebugInfo::Dump(std::ostream& os, uint64_t total_size) const { 189 os << "Debug info bytes " << Percent(total_bytes_, total_size) << "\n"; 191 os << " DBG_END_SEQUENCE: " << Percent(total_end_seq_bytes_, total_size) << "\n"; 192 os << " DBG_ADVANCE_PC: " << Percent(total_advance_pc_bytes_, total_size) << "\n"; 193 os << " DBG_ADVANCE_LINE: " << Percent(total_advance_line_bytes_, total_size) << "\n"; 194 os << " DBG_START_LOCAL: " << Percent(total_start_local_bytes_, total_size) << "\n"; 196 << Percent(total_start_local_extended_bytes_, total_size) << "\n"; 197 os << " DBG_END_LOCAL: " << Percent(total_end_local_bytes_, total_size) << "\n"; 198 os << " DBG_RESTART_LOCAL: " << Percent(total_restart_local_bytes_, total_size) << "\n"; 199 os << " DBG_SET_PROLOGUE bytes " << Percent(total_epilogue_bytes_, total_size) << "\n" 573 os << "Total Dex size: " << total_size << "\\n"; local [all...] |
/external/pcre/dist2/src/sljit/ |
sljitExecAllocator.c | 155 static sljit_uw total_size; variable 227 total_size += chunk_size; 288 if (total_size - free_block->size > (allocated_size * 3 / 2)) { 289 total_size -= free_block->size; 310 total_size -= free_block->size; 317 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks));
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorScan.h | 167 const Index total_size = internal::array_prod(dimensions()); local 168 m_output = static_cast<CoeffReturnType*>(m_device.allocate(total_size * sizeof(Scalar))); 216 Index total_size = internal::array_prod(self.dimensions()); local 221 for (Index idx1 = 0; idx1 < total_size; idx1 += self.stride() * self.size()) { 251 __global__ void ScanKernel(Self self, Index total_size, typename Self::CoeffReturnType* data) { 256 if (offset + (self.size() - 1) * self.stride() < total_size) { 277 Index total_size = internal::array_prod(self.dimensions()); local 278 Index num_blocks = (total_size / self.size() + 63) / 64; 280 LAUNCH_CUDA_KERNEL((ScanKernel<Self, Reducer>), num_blocks, block_size, 0, self.device(), self, total_size, data);
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
nvc0_miptree.c | 179 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1); 182 mt->layer_stride = align(mt->total_size, NVC0_TILE_SIZE(0x10)); 183 mt->total_size = mt->layer_stride * pt->array_size; 212 lvl->offset = mt->total_size; 222 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz); 230 mt->layer_stride = align(mt->total_size, 232 mt->total_size = mt->layer_stride * pt->array_size; 312 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size, &bo_config, 322 mt->total_size);
|
/external/tensorflow/tensorflow/go/ |
attrs.go | 64 // Add one element in case total_size is zero. 65 storage := make([]C.char, meta.total_size+1) 66 C.TF_OperationGetAttrStringList(op.c, cname, &values[0], &lengths[0], C.int(meta.list_size), unsafe.Pointer(&storage[0]), C.size_t(meta.total_size), status.c) 158 // Add one element in case total_size is zero. 159 storage := make([]C.int64_t, meta.total_size+1) 160 C.TF_OperationGetAttrShapeList(op.c, cname, &dims[0], &numDims[0], C.int(meta.list_size), &storage[0], C.int(meta.total_size), status.c) 189 if meta.total_size == 0 { 192 v := make([]C.char, meta.total_size) 193 C.TF_OperationGetAttrString(op.c, cname, unsafe.Pointer(&v[0]), C.size_t(meta.total_size), status.c) 197 return C.GoStringN(&v[0], C.int(meta.total_size)), ni [all...] |
/external/vboot_reference/firmware/lib21/ |
common.c | 26 if (parent_size < c->total_size) 33 if (c->total_size < c->fixed_size || c->fixed_size < sizeof(*c)) 37 if (!vb2_aligned(c->total_size, sizeof(uint32_t))) 49 if (c->fixed_size + c->desc_size > c->total_size) 86 if (member_end > c->total_size) 119 rv = vb2_verify_common_header(m, p->total_size - member_offset); 124 *min_offset = member_offset + m->total_size; 357 block->c.total_size - sig_offset); 420 sig, preamble->c.total_size - hash_offset);
|
/external/bcc/tools/lib/ |
uobjnew.py | 64 u64 total_size; 83 valp->total_size += size; 101 valp->total_size += size; 118 valp->total_size += size; 185 data = sorted(data.items(), key=lambda kv: kv[1].total_size) 188 data = sorted(data.items(), key=lambda kv: kv[1].total_size) 196 (obj_type, value.num_allocs, value.total_size))
|