/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
tokenizer.c | 948 Py_ssize_t newsize = curvalid + BUFSIZ;
local 951 newsize);
959 tok->end = tok->buf + newsize;
1321 int newsize = atoi(tp + strlen(*cp)); local [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
Widget.java | 97 * @param newSize
99 protected void onMetricsChanged(SizeMetrics oldSize, SizeMetrics newSize) {
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
BitSet.cs | 142 int newSize = Math.Max(_bits.Length << 1, NumWordsToHold(bit)); 143 SetSize(newSize);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
BitSet.cs | 158 int newSize = Math.Max( _bits.Length << 1, NumWordsToHold( bit ) ); 159 SetSize(newSize);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BitSet.java | 130 int newSize = Math.max(bits.length << 1, numWordsToHold(bit)); 131 long newbits[] = new long[newSize];
|
/external/bsdiff/ |
bspatch.cc | 221 uint64_t newsize = ParseInt64(patch_data + 24); local 222 new_file.reset(new BufferFile(std::move(new_file), newsize));
|
/external/eigen/Eigen/src/Core/ |
Transpositions.h | 74 inline void resize(Index newSize) 76 indices().resize(newSize);
|
PermutationMatrix.h | 136 inline void resize(Index newSize) 138 indices().resize(newSize); 151 void setIdentity(Index newSize) 153 resize(newSize);
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.cpp | 392 STDMETHODIMP COutFileStream::SetSize(UInt64 newSize)
399 bool result = File.SetLength(newSize);
|
/external/python/cpython2/Parser/ |
tokenizer.c | 972 Py_ssize_t newsize = curvalid + BUFSIZ; local 975 newsize); 985 tok->end = tok->buf + newsize; 1347 int newsize = atoi(tp + strlen(*cp)); local [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
SmallBitVector.h | 92 void switchToSmall(uintptr_t NewSmallBits, size_t NewSize) { 94 setSmallSize(NewSize);
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
EventManager.java | 356 public void changeEventCacheSize(int newSize) { 360 mEventRecords = new LinkedBlockingQueue<>(newSize);
|
/frameworks/ex/common/java/com/android/common/widget/ |
GroupingListAdapter.java | 203 int newSize = idealLongArraySize( 205 long[] array = new long[newSize];
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
DiffUtil.java | 117 final int newSize = cb.getNewListSize(); 125 stack.add(new Range(0, oldSize, 0, newSize)); 127 final int max = oldSize + newSize + Math.abs(oldSize - newSize); 198 final int newSize = endNew - startNew; 204 final int delta = oldSize - newSize; 205 final int dLimit = (oldSize + newSize + 1) / 2; 225 while (x < oldSize && y < newSize [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
listobject.c | 11 /* Ensure ob_item has room for at least newsize elements, and set
12 * ob_size to newsize. If newsize > ob_size on entry, the content
16 * Failure is impossible if newsize <= self.allocated on entry, although
21 * Note that self->ob_item may change, and even if newsize is less
25 list_resize(PyListObject *self, Py_ssize_t newsize)
32 to accommodate the newsize. If the newsize falls lower than half
35 if (allocated >= newsize && newsize >= (allocated >> 1)) { [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
listobject.c | 11 /* Ensure ob_item has room for at least newsize elements, and set
12 * ob_size to newsize. If newsize > ob_size on entry, the content
16 * Failure is impossible if newsize <= self.allocated on entry, although
21 * Note that self->ob_item may change, and even if newsize is less
25 list_resize(PyListObject *self, Py_ssize_t newsize)
32 to accommodate the newsize. If the newsize falls lower than half
35 if (allocated >= newsize && newsize >= (allocated >> 1)) { [all...] |
/external/python/cpython2/Objects/ |
listobject.c | 11 /* Ensure ob_item has room for at least newsize elements, and set 12 * ob_size to newsize. If newsize > ob_size on entry, the content 16 * Failure is impossible if newsize <= self.allocated on entry, although 21 * Note that self->ob_item may change, and even if newsize is less 25 list_resize(PyListObject *self, Py_ssize_t newsize) 32 to accommodate the newsize. If the newsize falls lower than half 35 if (allocated >= newsize && newsize >= (allocated >> 1)) [all...] |
/external/python/cpython3/Objects/ |
listobject.c | 12 /* Ensure ob_item has room for at least newsize elements, and set 13 * ob_size to newsize. If newsize > ob_size on entry, the content 17 * Failure is impossible if newsize <= self.allocated on entry, although 22 * Note that self->ob_item may change, and even if newsize is less 26 list_resize(PyListObject *self, Py_ssize_t newsize) 33 to accommodate the newsize. If the newsize falls lower than half 36 if (allocated >= newsize && newsize >= (allocated >> 1)) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Vector.java | 281 * components at index {@code newSize} and greater are discarded. 283 * @param newSize the new size of this vector 286 public synchronized void setSize(int newSize) { 288 if (newSize > elementCount) { 289 ensureCapacityHelper(newSize); 291 for (int i = newSize ; i < elementCount ; i++) { 295 elementCount = newSize; [all...] |
/dalvik/tools/hprof-conv/ |
HprofConv.c | 181 int newSize = pBuf->curLen + size + 128; /* oversize slightly */ 182 unsigned char* newStorage = realloc(pBuf->storage, newSize); 184 fprintf(stderr, "ERROR: realloc failed on size=%d\n", newSize); 189 pBuf->maxLen = newSize;
|
/external/flatbuffers/include/flatbuffers/ |
reflection.h | 417 uint8_t *ResizeAnyVector(const reflection::Schema &schema, uoffset_t newsize, 423 void ResizeVector(const reflection::Schema &schema, uoffset_t newsize, T val, 426 auto delta_elem = static_cast<int>(newsize) - static_cast<int>(vec->size()); 427 auto newelems = ResizeAnyVector(schema, newsize,
|
/external/llvm/include/llvm/Support/ |
OnDiskHashTable.h | 98 void resize(size_t NewSize) { 99 Bucket *NewBuckets = (Bucket *)std::calloc(NewSize, sizeof(Bucket)); 105 insert(NewBuckets, NewSize, E); 110 NumBuckets = NewSize;
|
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUPromoteAlloca.cpp | 668 uint32_t NewSize = alignTo(CurrentLocalMemUsage, Align); 670 NewSize += AllocSize; 672 if (NewSize > LocalMemLimit) { 678 CurrentLocalMemUsage = NewSize;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
3-2.c | 180 If newsize is not 0, the stack size in ta will be set to this value once the thread is created. 183 int test_stack(pthread_attr_t * ta, size_t newsize) 262 if (newsize) { 263 ret = pthread_attr_setstacksize(ta, newsize);
|
/external/python/cpython3/Modules/_io/ |
winconsoleio.c | 827 DWORD newsize = new_buffersize(self, len); local 828 if (newsize > BUFMAX) 830 if (newsize < bufsize) { 837 bufsize = newsize; [all...] |