Searched refs:new_size (Results 1 – 5 of 5) sorted by relevance
52 int new_size; in genlmsg_put() local58 new_size = NLMSG_HDRLEN + GENL_HDRLEN + hdrlen; in genlmsg_put()59 if ((sizeof(struct nl_msg) + new_size) > msg->nm_size) in genlmsg_put()64 nlh->nlmsg_len = new_size; in genlmsg_put()
88 SharedBuffer* SharedBuffer::reset(size_t new_size) const in reset()91 SharedBuffer* sb = alloc(new_size); in reset()
283 const size_t new_size = mCount + amount; in _grow() local284 if (capacity() < new_size) { in _grow()285 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); in _grow()336 const size_t new_size = mCount - amount; in _shrink() local337 if (new_size*3 < capacity()) { in _shrink()338 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink()
129 int new_size = temp.size() < 8 ? temp.size() : 8; in build_blending() local130 expand(fb, fb, new_size); in build_blending()
1114 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer() local1116 if ( new_size <= 0 ) in yy_get_next_buffer()