/third_party/e2fsprogs/e2fsck/ |
D | mtrace.awk | 5 $1 == "+" { if (allocated[$2] != "") 6 print "+", $2, "Alloc", NR, "duplicate:", allocated[$2]; 8 allocated[$2] = $3; 10 $1 == "-" { if (allocated[$2] != "") { 11 allocated[$2] = ""; 12 if (allocated[$2] != "") 13 print "DELETE FAILED", $2, allocated[$2]; 17 $1 == "<" { if (allocated[$2] != "") 18 allocated[$2] = ""; 22 $1 == ">" { if (allocated[$2] != "") [all …]
|
/third_party/glib/glib/ |
D | grcbox.c | 184 char *allocated; in g_rc_box_alloc_full() local 221 allocated = g_malloc0 (real_size + sizeof (gpointer)); in g_rc_box_alloc_full() 223 allocated = g_malloc (real_size + sizeof (gpointer)); in g_rc_box_alloc_full() 225 *(gpointer *) (allocated + private_size + block_size) = allocated + ALIGN_STRUCT (1); in g_rc_box_alloc_full() 227 VALGRIND_MALLOCLIKE_BLOCK (allocated + private_size, block_size + sizeof (gpointer), 0, TRUE); in g_rc_box_alloc_full() 228 …VALGRIND_MALLOCLIKE_BLOCK (allocated + ALIGN_STRUCT (1), private_size - ALIGN_STRUCT (1), 0, TRUE); in g_rc_box_alloc_full() 234 allocated = g_malloc0 (real_size); in g_rc_box_alloc_full() 236 allocated = g_malloc (real_size); in g_rc_box_alloc_full() 246 GArcBox *real_box = (GArcBox *) (allocated + private_offset); in g_rc_box_alloc_full() 265 GRcBox *real_box = (GRcBox *) (allocated + private_offset); in g_rc_box_alloc_full() [all …]
|
D | gerror.c | 667 guint8 *allocated; in g_error_allocate() local 695 allocated = g_slice_alloc0 (private_size + sizeof (GError) + sizeof (gpointer)); in g_error_allocate() 696 *(gpointer *) (allocated + private_size + sizeof (GError)) = allocated + ALIGN_STRUCT (1); in g_error_allocate() 697 …VALGRIND_MALLOCLIKE_BLOCK (allocated + private_size, sizeof (GError) + sizeof (gpointer), 0, TRUE); in g_error_allocate() 698 …VALGRIND_MALLOCLIKE_BLOCK (allocated + ALIGN_STRUCT (1), private_size - ALIGN_STRUCT (1), 0, TRUE); in g_error_allocate() 702 allocated = g_slice_alloc0 (private_size + sizeof (GError)); in g_error_allocate() 704 error = (GError *) (allocated + private_size); in g_error_allocate() 827 guint8 *allocated; in g_error_free() local 848 allocated = ((guint8 *) error) - private_size; in g_error_free() 856 allocated -= ALIGN_STRUCT (1); in g_error_free() [all …]
|
/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc_test.cc | 81 AllocMap allocated; in Test() local 108 it = allocated.find(rnd); in Test() 109 if (it != allocated.end()) { in Test() 116 allocated[rnd] = block_desc; in Test() 120 it = allocated.begin(); in Test() 121 if (it != allocated.end()) { in Test() 126 allocated.erase(it); in Test() 132 while ((it = allocated.begin()) != allocated.end()) { in Test() 137 allocated.erase(it); in Test()
|
/third_party/gettext/gettext-tools/src/ |
D | format-c-parse.h | 187 unsigned int allocated; in format_parse_entrails() local 197 allocated = 0; in format_parse_entrails() 305 if (allocated == numbered_arg_count) in format_parse_entrails() 307 allocated = 2 * allocated + 1; in format_parse_entrails() 308 … numbered = (struct numbered_arg *) xrealloc (numbered, allocated * sizeof (struct numbered_arg)); in format_parse_entrails() 327 if (allocated == spec.unnumbered_arg_count) in format_parse_entrails() 329 allocated = 2 * allocated + 1; in format_parse_entrails() 330 …spec.unnumbered = (struct unnumbered_arg *) xrealloc (spec.unnumbered, allocated * sizeof (struct … in format_parse_entrails() 391 if (allocated == numbered_arg_count) in format_parse_entrails() 393 allocated = 2 * allocated + 1; in format_parse_entrails() [all …]
|
D | format-ruby.c | 161 unsigned int allocated; in format_parse() local 170 allocated = 0; in format_parse() 604 if (allocated == spec.numbered_arg_count) in format_parse() 606 allocated = 2 * allocated + 1; in format_parse() 607 …spec.numbered = (struct numbered_arg *) xrealloc (spec.numbered, allocated * sizeof (struct number… in format_parse() 615 if (allocated == unnumbered_arg_count) in format_parse() 617 allocated = 2 * allocated + 1; in format_parse() 618 …spec.numbered = (struct numbered_arg *) xrealloc (spec.numbered, allocated * sizeof (struct number… in format_parse() 631 if (allocated == spec.numbered_arg_count) in format_parse() 633 allocated = 2 * allocated + 1; in format_parse() [all …]
|
D | format-python.c | 122 unsigned int allocated; in format_parse() local 130 allocated = 0; in format_parse() 194 if (allocated == spec.unnamed_arg_count) in format_parse() 196 allocated = 2 * allocated + 1; in format_parse() 197 …spec.unnamed = (struct unnamed_arg *) xrealloc (spec.unnamed, allocated * sizeof (struct unnamed_a… in format_parse() 223 if (allocated == spec.unnamed_arg_count) in format_parse() 225 allocated = 2 * allocated + 1; in format_parse() 226 …spec.unnamed = (struct unnamed_arg *) xrealloc (spec.unnamed, allocated * sizeof (struct unnamed_a… in format_parse() 291 if (allocated == spec.named_arg_count) in format_parse() 293 allocated = 2 * allocated + 1; in format_parse() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | low_level_alloc_test.cc | 85 AllocMap allocated; in Test() local 112 it = allocated.find(rnd); in Test() 113 if (it != allocated.end()) { in Test() 120 allocated[rnd] = block_desc; in Test() 124 it = allocated.begin(); in Test() 125 if (it != allocated.end()) { in Test() 130 allocated.erase(it); in Test() 136 while ((it = allocated.begin()) != allocated.end()) { in Test() 141 allocated.erase(it); in Test()
|
/third_party/gettext/libtextstyle/gnulib-local/lib/ |
D | memory-ostream.oo.c | 38 size_t allocated; /* Allocated size of the buffer. */ member 49 if (len > stream->allocated - stream->buflen) in write_mem() 53 xsum (stream->allocated, stream->allocated)); in write_mem() 59 stream->allocated = new_allocated; in write_mem() 96 stream->allocated = 250; in memory_ostream_create() 97 stream->buffer = XNMALLOC (stream->allocated, char); in memory_ostream_create()
|
/third_party/ffmpeg/libavfilter/ |
D | framequeue.c | 27 return &fq->queue[(fq->tail + idx) & (fq->allocated - 1)]; in bucket() 50 fq->allocated = 1; in ff_framequeue_init() 68 if (fq->queued == fq->allocated) { in ff_framequeue_add() 69 if (fq->allocated == 1) { in ff_framequeue_add() 76 fq->allocated = na; in ff_framequeue_add() 78 size_t na = fq->allocated << 1; in ff_framequeue_add() 82 if (fq->tail + fq->queued > fq->allocated) in ff_framequeue_add() 83 memmove(nq + fq->allocated, nq, in ff_framequeue_add() 84 (fq->tail + fq->queued - fq->allocated) * sizeof(*nq)); in ff_framequeue_add() 86 fq->allocated = na; in ff_framequeue_add() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/server/ |
D | ObjectStorage.h | 34 bool allocated; member 63 reservation.allocated = false; 76 if (!data->allocated) { 89 if (!data->allocated) { 105 data.allocated = true; 113 if (mKnown[id].allocated) { 124 mKnown[id].allocated = false; 130 if (data.allocated && data.handle != nullptr) { 132 data.allocated = false;
|
/third_party/alsa-utils/alsamixer/ |
D | utils.c | 124 unsigned int allocated = 2048; in read_file() local 136 allocated *= 2; in read_file() 137 buf = crealloc(buf, allocated); in read_file() 138 bytes_read = fread(buf + *file_size, 1, allocated - *file_size, f); in read_file() 140 } while (*file_size == allocated && allocated < MAX_FILE_SIZE); in read_file() 142 if (*file_size > 0 && buf[*file_size - 1] != '\n' && *file_size < allocated) { in read_file()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-vector.hh | 50 allocated = o.allocated; in hb_vector_t() 58 int allocated; /* == -1 means allocation failed. */ member 66 allocated = length = 0; in init() 95 allocated = o.allocated; in operator =() 179 bool in_error () const { return allocated < 0; } in in_error() 184 if (unlikely (allocated < 0)) in alloc() 187 if (likely (size <= (unsigned) allocated)) in alloc() 192 unsigned int new_allocated = allocated; in alloc() 199 (new_allocated < (unsigned) allocated) || in alloc() 206 allocated = -1; in alloc() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-vector.hh | 50 allocated = o.allocated; in hb_vector_t() 58 int allocated; /* == -1 means allocation failed. */ member 66 allocated = length = 0; in init() 86 allocated = length; // Big hack! in reset() 100 allocated = o.allocated; in operator =() 189 bool in_error () const { return allocated < 0; } in in_error() 197 if (likely (size <= (unsigned) allocated)) in alloc() 202 unsigned int new_allocated = allocated; in alloc() 209 (new_allocated < (unsigned) allocated) || in alloc() 216 allocated = -1; in alloc() [all …]
|
/third_party/boost/libs/lockfree/test/ |
D | freelist_test.cpp | 37 assert(allocated == 0); in dummy() 38 allocated = 1; in dummy() 44 assert(allocated == 1); in ~dummy() 45 allocated = 0; in ~dummy() 49 int allocated; member 66 dummy * allocated = fl.template construct<threadsafe, bounded>(); in run_test() local 67 BOOST_REQUIRE(nodes.find(allocated) == nodes.end()); in run_test() 68 nodes.insert(allocated); in run_test() 111 dummy * allocated = fl.template construct<threadsafe, bounded>(); in oom_test() local 112 BOOST_REQUIRE(allocated == NULL); in oom_test()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-vector.hh | 63 allocated = o.allocated; in hb_vector_t() 71 int allocated = 0; /* == -1 means allocation failed. */ member 79 allocated = length = 0; in init() 99 allocated = length; // Big hack! in reset() 105 hb_swap (a.allocated, b.allocated); in swap() 205 bool in_error () const { return allocated < 0; } in in_error() 213 if (likely (size <= (unsigned) allocated)) in alloc() 218 unsigned int new_allocated = allocated; in alloc() 225 (new_allocated < (unsigned) allocated) || in alloc() 232 allocated = -1; in alloc() [all …]
|
/third_party/pulseaudio/src/tests/ |
D | get-binary-name-test.c | 34 size_t allocated = 128; in START_TEST() local 37 exename = pa_xmalloc(allocated); in START_TEST() 39 if (!pa_get_binary_name(exename, allocated)) { in START_TEST() 45 if (strlen(exename) < allocated - 1) { in START_TEST() 52 allocated *= 2; in START_TEST()
|
/third_party/python/Include/internal/ |
D | pycore_blocks_output_buffer.h | 47 Py_ssize_t allocated; member 134 buffer->allocated = block_size; in _BlocksOutputBuffer_InitAndGrow() 175 buffer->allocated = init_size; in _BlocksOutputBuffer_InitWithSize() 213 Py_ssize_t rest = buffer->max_length - buffer->allocated; in _BlocksOutputBuffer_Grow() 223 if (block_size > PY_SSIZE_T_MAX - buffer->allocated) { in _BlocksOutputBuffer_Grow() 241 buffer->allocated += block_size; in _BlocksOutputBuffer_Grow() 252 return buffer->allocated - avail_out; in _BlocksOutputBuffer_GetDataSize() 279 result = PyBytes_FromStringAndSize(NULL, buffer->allocated - avail_out); in _BlocksOutputBuffer_Finish()
|
/third_party/abseil-cpp/absl/container/ |
D | fixed_array_test.cc | 102 absl::FixedArray<int, 10> allocated(15); in TEST() local 103 std::iota(allocated.begin(), allocated.end(), 0); in TEST() 104 absl::FixedArray<int, 10> alloced_copy = allocated; in TEST() 105 EXPECT_THAT(alloced_copy, ElementsAreArray(allocated)); in TEST() 119 absl::FixedArray<std::unique_ptr<int>, 10> allocated(15); in TEST() local 121 allocated[i] = absl::make_unique<int>(i); in TEST() 125 std::move(allocated); in TEST() 127 EXPECT_EQ(allocated.size(), alloced_copy.size()); in TEST() 548 absl::FixedArray<int, 0> allocated = {1, 2, 3}; in TEST() local 549 EXPECT_EQ(allocated.front(), 1); in TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | fixed_array_test.cc | 102 absl::FixedArray<int, 10> allocated(15); in TEST() local 103 std::iota(allocated.begin(), allocated.end(), 0); in TEST() 104 absl::FixedArray<int, 10> alloced_copy = allocated; in TEST() 105 EXPECT_THAT(alloced_copy, ElementsAreArray(allocated)); in TEST() 119 absl::FixedArray<std::unique_ptr<int>, 10> allocated(15); in TEST() local 121 allocated[i] = absl::make_unique<int>(i); in TEST() 125 std::move(allocated); in TEST() 127 EXPECT_EQ(allocated.size(), alloced_copy.size()); in TEST() 548 absl::FixedArray<int, 0> allocated = {1, 2, 3}; in TEST() local 549 EXPECT_EQ(allocated.front(), 1); in TEST() [all …]
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | psarrst.c | 67 arrstack->allocated = 0; in cf2_arrstack_init() 82 arrstack->allocated = 0; in cf2_arrstack_finalize() 114 arrstack->allocated = numElements; in cf2_arrstack_setNumElements() 144 if ( numElements > arrstack->allocated ) in cf2_arrstack_setCount() 216 if ( arrstack->count == arrstack->allocated ) in cf2_arrstack_push() 220 arrstack, arrstack->allocated * 2 + 16 ) ) in cf2_arrstack_push()
|
/third_party/freetype/src/psaux/ |
D | psarrst.c | 67 arrstack->allocated = 0; in cf2_arrstack_init() 83 arrstack->allocated = 0; in cf2_arrstack_finalize() 115 arrstack->allocated = numElements; in cf2_arrstack_setNumElements() 145 if ( numElements > arrstack->allocated ) in cf2_arrstack_setCount() 217 if ( arrstack->count == arrstack->allocated ) in cf2_arrstack_push() 221 arrstack, arrstack->allocated + arrstack->chunk ) ) in cf2_arrstack_push()
|
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/ |
D | psarrst.c | 67 arrstack->allocated = 0; in cf2_arrstack_init() 83 arrstack->allocated = 0; in cf2_arrstack_finalize() 115 arrstack->allocated = numElements; in cf2_arrstack_setNumElements() 145 if ( numElements > arrstack->allocated ) in cf2_arrstack_setCount() 217 if ( arrstack->count == arrstack->allocated ) in cf2_arrstack_push() 221 arrstack, arrstack->allocated + arrstack->chunk ) ) in cf2_arrstack_push()
|
/third_party/libwebsockets/lib/core/ |
D | alloc.c | 32 static size_t allocated; variable 127 allocated -= malloc_usable_size(ptr); in _realloc() 136 allocated += malloc_usable_size(v); in _realloc() 142 allocated -= malloc_usable_size(ptr); in _realloc() 175 return allocated; in lws_get_allocated_heap()
|
/third_party/flutter/skia/third_party/externals/angle2/extensions/ |
D | ANGLE_memory_size.txt | 43 allocated for an OpenGL resource. This information can be useful for 80 + allocated for level of the texture bound to target. 86 number of bytes allocated for the renderbuffer bound to target. 94 MEMORY_SIZE_ANGLE Z+ GetBufferParameter64v - Estimated bytes allocated 6 100 MEMORY_SIZE_ANGLE Z+ GetTexParameter - Estimated bytes allocated 6.1.3 107 MEMORY_SIZE_ANGLE Z+ GetRenderbufferParameteriv - Estimated bytes allocated 9.2.6 121 the allocated memory if exact numbers are not known. The lower bound is
|