/external/tpm2/ |
Marshal_Import.c | 14 UINT16 total_size = 0; local 23 // Don't add to total_size, but increment *buffer and decrement *size. 27 total_size += TPM2B_PRIVATE_Marshal(&source->outPrivate, buffer, size); 28 // Compute actual parameter_size. Don't add result to total_size. 30 parameter_size = total_size - num_response_handles * sizeof(TPM_HANDLE); 34 return total_size;
|
/system/libufdt/utils/src/ |
dt_table.c | 31 header->total_size = cpu_to_fdt32(header_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;
|
/system/extras/puncture_fs/ |
puncture_fs.c | 139 static bool puncture_fs (const char * const path, const u64 total_size, 141 u64 increments = (hole_size * total_size) / total_hole_size; 161 while (ending_max <= total_size) { 163 (int) (100.0 * starting_max / total_size)); 208 u64 total_size = 0; local 251 total_size = get_free_space(path); 252 if (!total_size) { 255 if (total_size < total_hole_size || total_hole_size < hole_size) { 262 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) {
|
/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/python/cpython3/Lib/test/ |
test_crypt.py | 23 self.assertEqual(len(pw), method.total_size) 25 self.assertEqual(len(pw), method.total_size)
|
/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,
|
/frameworks/compile/mclinker/lib/Target/ |
ELFAttribute.cpp | 125 size_t total_size = FormatVersionFieldSize; local 132 total_size += (*subsec_it)->sizeOutput(); 134 return total_size; 139 uint64_t total_size = 0; local 144 total_size += FormatVersionFieldSize; 152 total_size += (*subsec_it)->emit(buffer + total_size); 155 return total_size;
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
camscope_packet_type.cpp | 344 uint32_t total_size = local 346 if (size == total_size) { 381 uint32_t total_size = local 383 if (size == total_size) { 421 uint32_t total_size = local 423 if (size == total_size) { 464 uint32_t total_size = local 466 if (size == 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/nanopb-c/generator/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
|
/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
|
/external/pcre/dist2/src/sljit/ |
sljitExecAllocator.c | 148 static sljit_uw total_size; variable 220 total_size += chunk_size; 281 if (total_size - free_block->size > (allocated_size * 3 / 2)) { 282 total_size -= free_block->size; 303 total_size -= free_block->size; 310 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks));
|
/system/connectivity/wifilogd/ |
command_processor.cpp | 172 uint16_t total_size; local 173 static_assert(GetMaxVal(total_size) > sizeof(TimestampHeader) && 174 GetMaxVal(total_size) - sizeof(TimestampHeader) >= 176 "total_size cannot represent some input messages"); 177 total_size = sizeof(TimestampHeader) + command_len; 178 CHECK(current_log_buffer_.CanFitEver(total_size)); 180 if (!current_log_buffer_.CanFitNow(total_size)) { 187 CHECK(current_log_buffer_.CanFitNow(total_size));
|
/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/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);
|
/system/core/cpio/ |
mkbootfs.c | 57 static int total_size = 0; variable 98 while(total_size & 3) { 99 total_size++; 126 total_size += 6 + 8*13 + olen + 1; 130 while(total_size & 3) { 131 total_size++; 137 total_size += datasize; 147 while(total_size & 0xff) { 148 total_size++;
|