HomeSort by relevance Sort by last modified time
    Searched refs:newcap (Results 1 - 9 of 9) sorted by null

  /external/mesa3d/src/gallium/auxiliary/util/
u_dynarray.h 69 unsigned newcap = buf->capacity << 1; local
70 if(newsize > newcap)
71 newcap = newsize;
72 buf->data = REALLOC(buf->data, buf->capacity, newcap);
73 buf->capacity = newcap;
  /prebuilts/go/darwin-x86/src/runtime/
slice.go 68 newcap := old.cap
69 if newcap+newcap < cap {
70 newcap = cap
74 newcap += newcap
76 newcap += newcap / 4
78 if newcap >= cap {
84 if uintptr(newcap) >= _MaxMem/uintptr(et.size)
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
slice.go 68 newcap := old.cap
69 if newcap+newcap < cap {
70 newcap = cap
74 newcap += newcap
76 newcap += newcap / 4
78 if newcap >= cap {
84 if uintptr(newcap) >= _MaxMem/uintptr(et.size)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
ios.cpp 172 size_t newcap; local
175 newcap = _VSTD::max(2 * __iarray_cap_, req_size);
177 newcap = mx;
178 size_t newsize = newcap * sizeof(long);
188 for (long* p = __iarray_ + __iarray_size_; __iarray_cap_ < newcap; ++__iarray_cap_, ++p)
201 size_t newcap; local
204 newcap = _VSTD::max(2 * __parray_cap_, req_size);
206 newcap = mx;
207 size_t newsize = newcap * sizeof(void*);
217 for (void** p = __parray_ + __parray_size_; __parray_cap_ < newcap; ++__parray_cap_, ++p
232 size_t newcap; local
    [all...]
  /external/libcxx/src/
ios.cpp 186 size_t newcap = __ios_new_cap<long>(req_size, __iarray_cap_); local
187 long* iarray = static_cast<long*>(realloc(__iarray_, newcap * sizeof(long)));
196 for (long* p = __iarray_ + __iarray_size_; p < __iarray_ + newcap; ++p)
198 __iarray_cap_ = newcap;
210 size_t newcap = __ios_new_cap<void *>(req_size, __iarray_cap_); local
211 void** parray = static_cast<void**>(realloc(__parray_, newcap * sizeof(void *)));
220 for (void** p = __parray_ + __parray_size_; p < __parray_ + newcap; ++p)
222 __parray_cap_ = newcap;
236 size_t newcap = __ios_new_cap<event_callback>(req_size, __event_cap_); local
237 event_callback* fns = static_cast<event_callback*>(realloc(__fn_, newcap * sizeof(event_callback)))
    [all...]
  /external/boringssl/src/crypto/bytestring/
cbb.c 102 size_t newcap = base->cap * 2; local
109 if (newcap < base->cap || newcap < newlen) {
110 newcap = newlen;
112 newbuf = OPENSSL_realloc(base->buf, newcap);
118 base->cap = newcap;
  /prebuilts/go/darwin-x86/src/encoding/json/
decode.go 432 newcap := v.Cap() + v.Cap()/2
433 if newcap < 4 {
434 newcap = 4
436 newv := reflect.MakeSlice(v.Type(), v.Len(), newcap)
  /prebuilts/go/linux-x86/src/encoding/json/
decode.go 432 newcap := v.Cap() + v.Cap()/2
433 if newcap < 4 {
434 newcap = 4
436 newv := reflect.MakeSlice(v.Type(), v.Len(), newcap)
  /prebuilts/tools/common/m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/
backport-util-concurrent-3.1.jar 

Completed in 1324 milliseconds