Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 5 of 5) sorted by relevance

/system/core/libnl_2/genl/
Dgenl.c52 int new_size; in genlmsg_put() local
58 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()
/system/core/libpixelflinger/codeflinger/tinyutils/
DSharedBuffer.cpp88 SharedBuffer* SharedBuffer::reset(size_t new_size) const in reset()
91 SharedBuffer* sb = alloc(new_size); in reset()
DVectorImpl.cpp283 const size_t new_size = mCount + amount; in _grow() local
284 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() local
337 if (new_size*3 < capacity()) { in _shrink()
338 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink()
/system/core/libpixelflinger/codeflinger/
Dblending.cpp129 int new_size = temp.size() < 8 ? temp.size() : 8; in build_blending() local
130 expand(fb, fb, new_size); in build_blending()
/system/core/sh/
Darith_lex.c1114 int new_size = b->yy_buf_size * 2; in yy_get_next_buffer() local
1116 if ( new_size <= 0 ) in yy_get_next_buffer()