/external/chromium_org/third_party/brotli/src/brotli/dec/ |
H A D | safe_malloc.c | 27 const uint64_t total_size = nmemb * size; local 30 if (total_size != (size_t)total_size) return 0;
|
H A D | huffman.c | 81 int total_size; /* sum of root table size and 2nd level table sizes */ local 112 total_size = table_size; 118 for (key = 0; key < total_size; ++key) { 122 return total_size; 138 mask = total_size - 1; 146 total_size += table_size; 159 return total_size;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
H A D | dxbc_assemble.cpp | 37 size_t total_size = sizeof(dxbc_container_header) + data_size; local 38 dxbc_container_header* header = (dxbc_container_header*)malloc(total_size); 45 header->total_size = bswap_le32(total_size); 58 return std::make_pair((void*)header, total_size);
|
/external/lldb/examples/python/ |
H A D | cmdtemplate.py | 59 total_size = 0 63 total_size = total_size + variable_type.GetByteSize() 64 average_size = float(total_size) / variables_count 65 print >>result, "Your frame has %d variables. Their total size is %d bytes. The average size is %f bytes" % (variables_count,total_size,average_size)
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
H A D | dxbc_assemble.cpp | 37 size_t total_size = sizeof(dxbc_container_header) + data_size; local 38 dxbc_container_header* header = (dxbc_container_header*)malloc(total_size); 45 header->total_size = bswap_le32(total_size); 58 return std::make_pair((void*)header, total_size);
|
/external/oprofile/libopagent/ |
H A D | 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
|
H A D | opagent.c | 206 rec.total_size = sizeof(rec); 242 rec.total_size = code ? sizeof(rec) + sz_symb_name + size : 245 padding_count = PADDING_8ALIGNED(rec.total_size); 246 rec.total_size += padding_count; 304 rec.total_size = 0; 334 rec.total_size = last_pos - cur_pos; 335 padding_count = PADDING_8ALIGNED(rec.total_size); 336 rec.total_size += padding_count; 368 rec.total_size = sizeof(rec);
|
/external/chromium_org/media/formats/mp4/ |
H A D | cenc.h | 25 bool GetTotalSizeOfSubsamples(size_t* total_size) const WARN_UNUSED_RESULT;
|
H A D | cenc.cc | 45 bool FrameCENCInfo::GetTotalSizeOfSubsamples(size_t* total_size) const { 53 *total_size = size;
|
/external/chromium_org/mojo/system/ |
H A D | message_in_transit.h | 107 return (total_size() > main_buffer_size()) 112 return total_size() - main_buffer_size(); 114 size_t total_size() const { return header()->total_size; } function in class:mojo::system::MessageInTransit::View 186 size_t total_size() const { return header()->total_size; } function in class:mojo::system::MessageInTransit 232 uint32_t total_size; member in struct:mojo::system::MessageInTransit::Header
|
/external/chromium_org/third_party/libyuv/util/ |
H A D | psnr_main.cc | 91 size_t total_size = ftell(file_org); local 93 uint8* const ch_org = new uint8[total_size]; 94 memset(ch_org, 0, total_size); 95 size_t bytes_org = fread(ch_org, sizeof(uint8), total_size, file_org); 97 if (bytes_org == total_size) { 98 if (0 == libyuv::MJPGSize(ch_org, total_size, width_ptr, height_ptr)) { 238 const int y_size, const int uv_size, const size_t total_size, 269 static_cast<double>(total_size)); 278 / total_size; 350 const size_t total_size local 237 UpdateMetrics(uint8* ch_org, uint8* ch_rec, const int y_size, const int uv_size, const size_t total_size, int number_of_frames, metric* cur_distortion_psnr, metric* distorted_frame, bool do_psnr) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
H A D | 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 [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | 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 [all...] |
/external/chromium_org/v8/src/ |
H A D | preparse-data.cc | 65 int total_size = PreparseDataConstants::kHeaderSize + function_size; local 66 unsigned* data = NewArray<unsigned>(total_size); 75 total_size * sizeof(unsigned));
|
/external/blktrace/btt/ |
H A D | 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/chromium_org/tools/telemetry/telemetry/core/ |
H A D | bitmaptools.cc | 97 total_size = size; 105 if (box.bottom * row_stride > total_size || 118 total_size = (box.bottom - box.top) * row_stride; 129 row < data + total_size; 146 int total_size; member in struct:Bitmap 180 for (const unsigned char* row = bmp.data; row < bmp.data + bmp.total_size; 207 box.left = bmp.total_size; 208 box.top = bmp.total_size; 214 for (const unsigned char* row = bmp.data; row < bmp.data + bmp.total_size;
|
/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/ |
H A D | cld_utf8statetable.h | 80 const uint32 total_size; member in struct:__anon11725 96 const uint32 total_size; member in struct:__anon11726
|
/external/chromium_org/v8/src/third_party/kernel/tools/perf/util/ |
H A D | 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/lldb/examples/scripting/ |
H A D | tree_utils.py | 96 total_size = left_size + right_size + 1 97 return total_size
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
H A D | 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/ |
H A D | 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/chromium_org/net/server/ |
H A D | http_connection_unittest.cc | 237 EXPECT_EQ(0, buffer->total_size()); 243 EXPECT_EQ(static_cast<int>(kData.size()), buffer->total_size()); 254 buffer->total_size()); 267 buffer->total_size()); 278 EXPECT_EQ(static_cast<int>(kData2.size()), buffer->total_size()); 287 EXPECT_EQ(0, buffer->total_size()); 302 EXPECT_EQ(kDataLength, buffer->total_size()); 304 EXPECT_EQ(kDataLength * 2, buffer->total_size()); 308 EXPECT_EQ(kDataLength * 2, buffer->total_size()); 313 EXPECT_EQ(kDataLength * 2 - kConsumedLength, buffer->total_size()); [all...] |
/external/pcre/dist/sljit/ |
H A D | 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));
|
/external/chromium_org/cc/resources/ |
H A D | tile.cc | 94 size_t total_size = 0; local 96 total_size += managed_state_.tile_versions[mode].GPUMemoryUsageInBytes(); 97 return total_size;
|
/external/chromium_org/chromeos/dbus/ |
H A D | image_burner_client.cc | 106 int64 total_size; local 109 !reader.PopInt64(&total_size)) { 115 total_size);
|