/external/protobuf/src/google/protobuf/ |
D | repeated_field.cc | 72 if (old_rep && old_rep->allocated_size > 0) { in InternalExtend() 74 old_rep->allocated_size * sizeof(rep_->elements[0])); in InternalExtend() 75 rep_->allocated_size = old_rep->allocated_size; in InternalExtend() 77 rep_->allocated_size = 0; in InternalExtend() 100 for (int i = start + num; i < rep_->allocated_size; ++i) in CloseGap() 103 rep_->allocated_size -= num; in CloseGap() 107 if (rep_ != NULL && current_size_ < rep_->allocated_size) { in AddWeak() 110 if (!rep_ || rep_->allocated_size == total_size_) { in AddWeak() 113 ++rep_->allocated_size; in AddWeak()
|
D | repeated_field.h | 611 int allocated_size; 1501 int n = rep_->allocated_size; 1585 if (rep_ != NULL && current_size_ < rep_->allocated_size) { 1588 if (!rep_ || rep_->allocated_size == total_size_) { 1591 ++rep_->allocated_size; 1601 if (rep_ != NULL && current_size_ < rep_->allocated_size) { 1605 if (!rep_ || rep_->allocated_size == total_size_) { 1608 ++rep_->allocated_size; 1655 int allocated_elems = rep_->allocated_size - current_size_; 1659 if (rep_->allocated_size < current_size_) { [all …]
|
/external/webp/src/utils/ |
D | bit_writer_utils.c | 208 size_t allocated_size; in VP8LBitWriterResize() local 218 allocated_size = (3 * max_bytes) >> 1; in VP8LBitWriterResize() 219 if (allocated_size < size_required) allocated_size = size_required; in VP8LBitWriterResize() 221 allocated_size = (((allocated_size >> 10) + 1) << 10); in VP8LBitWriterResize() 222 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size); in VP8LBitWriterResize() 233 bw->end_ = bw->buf_ + allocated_size; in VP8LBitWriterResize()
|
/external/pcre/src/sljit/ |
D | sljitExecAllocator.c | 241 static sljit_uw allocated_size; variable 299 allocated_size += size; in sljit_malloc_exec() 320 allocated_size += size; in sljit_malloc_exec() 331 allocated_size += chunk_size; in sljit_malloc_exec() 348 allocated_size -= header->size; in sljit_free_exec() 377 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
|
D | sljitProtExecAllocator.c | 287 static sljit_uw allocated_size; variable 347 allocated_size += size; in sljit_malloc_exec() 375 allocated_size += size; in sljit_malloc_exec() 387 allocated_size += chunk_size; in sljit_malloc_exec() 406 allocated_size -= header->size; in sljit_free_exec() 434 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
|
/external/curl/lib/ |
D | sendf.c | 141 return psnd->buffer && psnd->allocated_size && in Curl_recv_has_postponed_data() 150 size_t bytestorecv = psnd->allocated_size - psnd->recv_size; in pre_receive_plain() 165 psnd->allocated_size = 2 * data->set.buffer_size; in pre_receive_plain() 166 psnd->buffer = malloc(psnd->allocated_size); in pre_receive_plain() 174 bytestorecv = psnd->allocated_size; in pre_receive_plain() 185 psnd->allocated_size = 0; in pre_receive_plain() 199 DEBUGASSERT(psnd->allocated_size > 0); in get_pre_recved() 200 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size); in get_pre_recved() 217 psnd->allocated_size = 0; in get_pre_recved()
|
D | url.c | 699 DEBUGASSERT(psnd->allocated_size > 0); in conn_reset_postponed_data() 700 DEBUGASSERT(psnd->recv_size <= psnd->allocated_size); in conn_reset_postponed_data() 707 psnd->allocated_size = 0; in conn_reset_postponed_data() 715 DEBUGASSERT(psnd->allocated_size == 0); in conn_reset_postponed_data()
|
/external/libchrome/base/trace_event/ |
D | malloc_dump_provider.cc | 36 size_t allocated_size; member 52 crt_heap_info->allocated_size += heap_entry.cbData; in WinHeapMemoryDumpImpl() 130 allocated_objects_size = main_heap_info.allocated_size; in OnMemoryDump()
|
/external/compiler-rt/lib/interception/ |
D | interception_win.cc | 293 uptr allocated_size; member 356 current->allocated_size = 0; in AllocateMemoryForTrampoline() 360 } else if (current->max_size - current->allocated_size > size) { in AllocateMemoryForTrampoline() 363 uptr next_address = current->content + current->allocated_size; in AllocateMemoryForTrampoline() 379 uptr allocated_space = region->content + region->allocated_size; in AllocateMemoryForTrampoline() 380 region->allocated_size += size; in AllocateMemoryForTrampoline()
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/ |
D | fake_transport_security.cc | 48 size_t allocated_size; member 155 frame->allocated_size = frame->size; in tsi_fake_frame_ensure_size() 157 static_cast<unsigned char*>(gpr_malloc(frame->allocated_size)); in tsi_fake_frame_ensure_size() 158 } else if (frame->size > frame->allocated_size) { in tsi_fake_frame_ensure_size() 162 frame->allocated_size = frame->size; in tsi_fake_frame_ensure_size() 178 frame->allocated_size = TSI_FAKE_FRAME_INITIAL_ALLOCATED_SIZE; in tsi_fake_frame_decode() 180 static_cast<unsigned char*>(gpr_malloc(frame->allocated_size)); in tsi_fake_frame_decode()
|
/external/grpc-grpc/src/core/tsi/ |
D | fake_transport_security.cc | 48 size_t allocated_size; member 159 frame->allocated_size = frame->size; in tsi_fake_frame_ensure_size() 161 static_cast<unsigned char*>(gpr_malloc(frame->allocated_size)); in tsi_fake_frame_ensure_size() 162 } else if (frame->size > frame->allocated_size) { in tsi_fake_frame_ensure_size() 166 frame->allocated_size = frame->size; in tsi_fake_frame_ensure_size() 182 frame->allocated_size = TSI_FAKE_FRAME_INITIAL_ALLOCATED_SIZE; in tsi_fake_frame_decode() 184 static_cast<unsigned char*>(gpr_malloc(frame->allocated_size)); in tsi_fake_frame_decode()
|
/external/clang/lib/Sema/ |
D | AttributeList.cpp | 34 size_t AttributeList::allocated_size() const { in allocated_size() function in AttributeList 76 size_t size = cur->allocated_size(); in reclaimPool()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tracking_allocator.cc | 92 allocated_bytes = (*itr).second.allocated_size; in DeallocateRaw() 134 return (*it).second.allocated_size; in AllocatedSize()
|
D | tracking_allocator.h | 123 size_t allocated_size; member
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_bfc_allocator_test.cc | 473 size_t allocated_size = initial_ptrs_allocated_sizes[2 * i] + in TestBinDebugInfo() local 475 EXPECT_EQ(bin_info.total_bytes_in_use, allocated_size); in TestBinDebugInfo() 476 EXPECT_EQ(bin_summary.total_bytes_in_use(), allocated_size); in TestBinDebugInfo() 477 EXPECT_EQ(bin_info.total_bytes_in_bin, allocated_size); in TestBinDebugInfo() 478 EXPECT_EQ(bin_summary.total_bytes_in_bin(), allocated_size); in TestBinDebugInfo()
|
/external/pdfium/third_party/libtiff/ |
D | tif_close.c | 97 if (tif->tif_fieldscompat[i].allocated_size) in TIFFCleanup()
|
D | tif_dir.h | 277 …uint32 allocated_size; /* 0 if array is constant, other if modified by future definition exte… member
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_malloc_mac.inc | 38 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size); 39 COMMON_MALLOC_MEMALIGN(page_size, allocated_size); 47 mprotect(new_zone, allocated_size, PROT_READ);
|
/external/nanopb-c/ |
D | pb_decode.c | 604 size_t allocated_size = *size; in decode_pointer_field() 622 if ((size_t)*size + 1 > allocated_size) in decode_pointer_field() 628 if (remain < PB_SIZE_MAX - allocated_size) in decode_pointer_field() 629 allocated_size += remain; in decode_pointer_field() 631 allocated_size += 1; in decode_pointer_field() 633 … if (!allocate_field(&substream, iter->pData, iter->pos->data_size, allocated_size)) in decode_pointer_field()
|
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 384 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); in Allocate() local 385 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate() 902 uptr allocated_size = instance.AllocationSize(ptr); in __sanitizer_get_allocated_size() local 904 if (allocated_size == 0) { in __sanitizer_get_allocated_size() 908 return allocated_size; in __sanitizer_get_allocated_size()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessXFBTests.cpp | 675 glw::GLint allocated_size = -1; in prepareObjects() local 677 gl.getBufferParameteriv(GL_TRANSFORM_FEEDBACK_BUFFER, GL_BUFFER_SIZE, &allocated_size); in prepareObjects() 680 if (allocated_size != (glw::GLint)s_bo_size) in prepareObjects() 696 allocated_size = -1; in prepareObjects() 698 gl.getBufferParameteriv(GL_TRANSFORM_FEEDBACK_BUFFER, GL_BUFFER_SIZE, &allocated_size); in prepareObjects() 701 if (allocated_size != (glw::GLint)s_bo_size) in prepareObjects()
|
/external/libcxx/test/support/ |
D | controlled_allocators.hpp | 69 std::size_t allocated_size; member 103 allocated_size += s; in countAlloc()
|
/external/grpc-grpc/third_party/nanopb/ |
D | pb_decode.c | 528 size_t allocated_size = *size; in decode_pointer_field() 537 if ((size_t)*size + 1 > allocated_size) in decode_pointer_field() 542 allocated_size += (substream.bytes_left - 1) / iter->pos->data_size + 1; in decode_pointer_field() 544 … if (!allocate_field(&substream, iter->pData, iter->pos->data_size, allocated_size)) in decode_pointer_field()
|
/external/libchrome/base/metrics/ |
D | field_trial.cc | 1097 size_t allocated_size = in GetParamsFromSharedMemory() local 1100 if (allocated_size < actual_size) in GetParamsFromSharedMemory()
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 234 size_t allocated_size() const;
|