/external/webp/src/utils/ |
utils.c | 165 const uint64_t total_size = nmemb * size; local 168 if (total_size != (size_t)total_size) return 0; 175 if (mem_limit > 0 && total_mem + total_size >= mem_limit) {
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
storage_manager.c | 41 size_t total_size; /**< Size in bytes to store non volatile data */ member in struct:data_storage_t 53 ds.total_size = sizeof(struct data_header_t); 85 ds.total_size += size + sizeof(struct data_header_t); 97 *size = ds.total_size; 178 if (sz >= ds.total_size) { 195 ds.total_size - sizeof(struct data_header_t)); 197 hd->size = ds.total_size;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
storage_manager.c | 45 size_t total_size; /**< Size in bytes to store non volatile data */ member in struct:data_storage_t 57 ds.total_size = sizeof(struct data_header_t); 89 ds.total_size += size + sizeof(struct data_header_t); 101 *size = ds.total_size; 184 if (sz >= ds.total_size) { 201 ds.total_size - sizeof(struct data_header_t)); 203 hd->size = ds.total_size;
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
storage_manager.c | 45 size_t total_size; /**< Size in bytes to store non volatile data */ member in struct:data_storage_t 57 ds.total_size = sizeof(struct data_header_t); 89 ds.total_size += size + sizeof(struct data_header_t); 101 *size = ds.total_size; 184 if (sz >= ds.total_size) { 201 ds.total_size - sizeof(struct data_header_t)); 203 hd->size = ds.total_size;
|
/system/extras/kexec_tools/ |
kexecload.c | 71 total_size; local
|
/external/chromium_org/media/formats/mp4/ |
avc.cc | 140 int total_size = 0; local 142 total_size += avc_config.sps_list[i].size() + kAnnexBStartCodeSize; 144 total_size += avc_config.pps_list[i].size() + kAnnexBStartCodeSize; 145 buffer->reserve(total_size);
|
/external/chromium_org/third_party/libwebp/dec/ |
buffer.c | 90 uint64_t uv_size = 0, a_size = 0, total_size; local 104 total_size = size + 2 * uv_size + a_size; 107 output = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*output));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug_memory.c | 267 size_t total_size = 0; local 298 total_size += hdr->size; 309 if(total_size) { 311 (unsigned long) (total_size + 1023)/1024);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_screen_cache.c | 46 unsigned bw, bh, bpb, total_size, i; local 60 total_size = 0; 67 total_size += img_size; 70 total_size *= key->numFaces; 72 return total_size; 135 assert(surf_size <= cache->total_size); 136 if (surf_size > cache->total_size) 137 cache->total_size = 0; /* should never happen, but be safe */ 139 cache->total_size -= surf_size; 179 cache->total_size -= surface_size(&entry->key) [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
unknown_field_set.cc | 96 int total_size = sizeof(*fields_) + sizeof(UnknownField) * fields_->size(); local 101 total_size += sizeof(*field.length_delimited_.string_value_) + 106 total_size += field.group_->SpaceUsed(); 112 return total_size;
|
/external/chromium_org/tools/usb_gadget/ |
usb_descriptors.py | 172 def total_size(self): member in class:Descriptor 232 def total_size(self): member in class:DescriptorContainer 233 return self.struct_size + sum([descriptor.total_size 279 ConfigurationDescriptor.AddComputedField('wTotalLength', 'H', 'total_size')
|
/external/chromium_org/v8/src/third_party/kernel/tools/perf/util/ |
jitdump.h | 19 uint32_t total_size; /* total size of header */ member in struct:jitheader 37 uint32_t total_size; member in struct:jr_prefix
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_memory.c | 267 size_t total_size = 0; local 298 total_size += hdr->size; 309 if(total_size) { 311 (unsigned long) (total_size + 1023)/1024);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_screen_cache.c | 46 unsigned bw, bh, bpb, total_size, i; local 60 total_size = 0; 67 total_size += img_size; 70 total_size *= key->numFaces; 72 return total_size; 135 assert(surf_size <= cache->total_size); 136 if (surf_size > cache->total_size) 137 cache->total_size = 0; /* should never happen, but be safe */ 139 cache->total_size -= surf_size; 179 cache->total_size -= surface_size(&entry->key) [all...] |
/external/oprofile/libopagent/ |
jitdump.h | 58 /* each record starts always with a id and a total_size */ 61 u32 total_size; member in struct:jr_prefix 67 u32 total_size; member in struct:jr_code_load 78 u32 total_size; member in struct:jr_code_unload 86 u32 total_size; member in struct:jr_code_close 93 u32 total_size; member in struct:jr_code_debug_info
|
/external/protobuf/src/google/protobuf/ |
extension_set_heavy.cc | 236 int total_size = local 242 total_size += iter->second.SpaceUsedExcludingSelf(); 244 return total_size; 253 int total_size = 0; local 258 total_size += sizeof(*repeated_##LOWERCASE##_value) + \ 278 total_size += sizeof(*repeated_message_value) + 285 total_size += sizeof(*string_value) + 289 total_size += down_cast<Message*>(message_value)->SpaceUsed(); 296 return total_size;
|
/external/webp/src/dec/ |
buffer.c | 90 uint64_t uv_size = 0, a_size = 0, total_size; local 104 total_size = size + 2 * uv_size + a_size; 107 output = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*output));
|
/frameworks/compile/mclinker/lib/Target/ |
ELFAttribute.cpp | 128 size_t total_size = FormatVersionFieldSize; local 133 total_size += (*subsec_it)->sizeOutput(); 135 return total_size; 141 uint64_t total_size = 0; local 146 total_size += FormatVersionFieldSize; 152 total_size += (*subsec_it)->emit(buffer + total_size); 155 return total_size;
|
/system/core/libdiskconfig/ |
diskconfig.c | 277 uint64_t total_size; local 346 total_size = dinfo->skip_lba * dinfo->sect_size; 352 total_size += part->len_kb * 1024; 374 if (S_ISBLK(stat.st_mode) && total_size > disk_size) { 376 "size (%"PRIu64").", total_size, disk_size);
|
/system/extras/puncture_fs/ |
puncture_fs.c | 138 static bool puncture_fs (const char * const path, const u64 total_size, 140 u64 increments = (hole_size * total_size) / total_hole_size; 160 while (ending_max <= total_size) { 162 (int) (100.0 * starting_max / total_size)); 203 u64 total_size = 0; local 246 total_size = get_free_space(path); 247 if (!total_size) { 250 if (total_size < total_hole_size || total_hole_size < hole_size) { 257 if (!puncture_fs(path, total_size, hole_size, total_hole_size)) {
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_file_system.cc | 54 uint64* total_size, 58 *total_size = static_cast<uint64>(stat.f_blocks) * stat.f_frsize; 435 uint64* total_size = new uint64(0); local 441 total_size, 446 base::Owned(total_size), 468 const uint64* total_size, 473 sizes->SetDouble("totalSize", static_cast<double>(*total_size));
|
/external/chromium_org/chrome/browser/extensions/api/gcm/ |
gcm_api.cc | 190 size_t total_size = 0u; local 193 total_size += iter->first.size() + iter->second.size(); 198 kMaximumMessageSize < total_size) 202 return total_size != 0;
|
/external/chromium_org/chrome/browser/extensions/updater/ |
local_extension_cache.cc | 466 uint64_t total_size = 0; local 470 total_size += it->second.size; 477 (max_cache_size_ && total_size > max_cache_size_)) { 478 total_size -= (*it)->second.size;
|
/external/chromium_org/chrome/browser/sessions/ |
session_backend.cc | 310 const size_type total_size = content_size + sizeof(id_type); local 312 UMA_HISTOGRAM_COUNTS("TabRestore.command_size", total_size); 314 UMA_HISTOGRAM_COUNTS("SessionRestore.command_size", total_size); 315 wrote = file->WriteAtCurrentPos(reinterpret_cast<const char*>(&total_size), 316 sizeof(total_size)); 317 if (wrote != sizeof(total_size)) {
|
/external/chromium_org/components/autofill/core/browser/ |
autofill_download_manager.cc | 238 size_t total_size = forms_in_query.size(); local 240 total_size += forms_in_query[i].length(); 243 signature.reserve(total_size);
|