Searched refs:extra_bytes (Results 1 – 13 of 13) sorted by relevance
93 gsize extra_bytes = terminate ? 2 : 0; in _g_win32_copy_and_maybe_terminate() local104 extra_bytes = 0; in _g_win32_copy_and_maybe_terminate()109 extra_bytes = 1; in _g_win32_copy_and_maybe_terminate()119 *alloc_buf = g_malloc (to_copy + extra_bytes); in _g_win32_copy_and_maybe_terminate()140 if (extra_bytes > 0) in _g_win32_copy_and_maybe_terminate()154 else if (extra_bytes > 0 || to_copy >= 2) in _g_win32_copy_and_maybe_terminate()156 buf_in_chars[to_copy - 2 + extra_bytes] = 0; in _g_win32_copy_and_maybe_terminate()157 buf_in_chars[to_copy - 1 + extra_bytes] = 0; in _g_win32_copy_and_maybe_terminate()158 to_copy += extra_bytes; in _g_win32_copy_and_maybe_terminate()
105 bool grow(size_type extra_bytes) in grow() argument110 m_heapmem.resize(m_heapmem.size()+extra_bytes); in grow()120 base_t::grow(extra_bytes); in grow()
102 void grow(size_type extra_bytes) in grow() argument103 { base_t::grow(extra_bytes); } in grow()
188 static bool grow(const char *filename, size_type extra_bytes) in grow() argument191 <basic_managed_mapped_file>(filename, extra_bytes); in grow()
185 static bool grow(const char *shmname, size_type extra_bytes) in grow() argument188 <basic_managed_shared_memory>(shmname, extra_bytes); in grow()
114 static bool grow(const char *filename, size_type extra_bytes) in grow() argument124 f.truncate(old_size + extra_bytes); in grow()128 managed_memory.self_t::grow(extra_bytes); in grow()217 void grow(size_type extra_bytes) in grow() argument218 { mp_header->grow(extra_bytes); } in grow()
601 int extra_bytes = 0; in ext2fs_get_next_inode_full() local656 extra_bytes = scan->bytes_left; in ext2fs_get_next_inode_full()681 if (extra_bytes) { in ext2fs_get_next_inode_full()682 memcpy(scan->temp_buffer+extra_bytes, scan->ptr, in ext2fs_get_next_inode_full()683 scan->inode_size - extra_bytes); in ext2fs_get_next_inode_full()684 scan->ptr += scan->inode_size - extra_bytes; in ext2fs_get_next_inode_full()685 scan->bytes_left -= scan->inode_size - extra_bytes; in ext2fs_get_next_inode_full()
141 uint32_t extra_bytes; member
2032 png_uint_32 extra_bytes; /* Count of extra compressed bytes */ member2481 zlib->extra_bytes = nbytes - in_bytes; in zlib_advance()2499 zlib->extra_bytes = 0; in zlib_run()2541 if (zlib->global->errors && zlib->extra_bytes == 0) in zlib_run()2569 list->lengths[i] -= zlib->extra_bytes; in zlib_run()2601 chunk->chunk_length -= zlib->extra_bytes; in zlib_run()
1867 int extra_bytes; in copy_replace_length_codes() local1884 extra_bytes = wrote_bytes - (dst_box + box_len - new_sei); in copy_replace_length_codes()1886 dst_data += extra_bytes; in copy_replace_length_codes()1887 remaining_dst_size -= extra_bytes; in copy_replace_length_codes()
4337 [*basic_managed_heap_memory] also offers a `grow(std::size_t extra_bytes)` function that