Home
last modified time | relevance | path

Searched refs:curr_allocated (Results 1 – 3 of 3) sorted by relevance

/third_party/gettext/gettext-tools/src/
Dxg-mixed-string.c410 bp->curr_allocated = 0; in mixed_string_buffer_init()
429 if (bp->curr_buflen + count > bp->curr_allocated) in mixed_string_buffer_grow_curr_buffer()
431 size_t new_allocated = 2 * bp->curr_allocated + 10; in mixed_string_buffer_grow_curr_buffer()
434 bp->curr_allocated = new_allocated; in mixed_string_buffer_grow_curr_buffer()
444 if (bp->curr_buflen == bp->curr_allocated) in mixed_string_buffer_append_to_curr_buffer()
446 bp->curr_allocated = 2 * bp->curr_allocated + 10; in mixed_string_buffer_append_to_curr_buffer()
447 bp->curr_buffer = xrealloc (bp->curr_buffer, bp->curr_allocated); in mixed_string_buffer_append_to_curr_buffer()
Dxg-mixed-string.h117 size_t curr_allocated; member
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_reuse_checker.cc460 size_t curr_allocated = 0; in ExportEachMembufInfo() local
475 curr_allocated = curr_membuf_list.back()->offset_ + curr_membuf_list.back()->size_; in ExportEachMembufInfo()
478 each_node_allocated_size.push_back(curr_allocated); in ExportEachMembufInfo()
480 ofs << "curr allocated size: \t" << curr_allocated << "\n"; in ExportEachMembufInfo()