Searched refs:newSize (Results 1 – 7 of 7) sorted by relevance
251 int newSize = size() - 1; in withoutFirst() local253 if (newSize == 0) { in withoutFirst()257 RegisterSpecList result = new RegisterSpecList(newSize); in withoutFirst()259 for (int i = 0; i < newSize; i++) { in withoutFirst()278 int newSize = size() - 1; in withoutLast() local280 if (newSize == 0) { in withoutLast()284 RegisterSpecList result = new RegisterSpecList(newSize); in withoutLast()286 for (int i = 0; i < newSize; i++) { in withoutLast()307 int newSize = size() - exclusionSet.cardinality(); in subset() local309 if (newSize == 0) { in subset()[all …]
247 int newSize = size() - 1; in withoutFirst() local249 if (newSize == 0) { in withoutFirst()253 RegisterSpecList result = new RegisterSpecList(newSize); in withoutFirst()255 for (int i = 0; i < newSize; i++) { in withoutFirst()274 int newSize = size() - 1; in withoutLast() local276 if (newSize == 0) { in withoutLast()280 RegisterSpecList result = new RegisterSpecList(newSize); in withoutLast()282 for (int i = 0; i < newSize; i++) { in withoutLast()
71 int newSize = i+1; in getMaxLabel() local73 labelToIndex.shrink(newSize); in getMaxLabel()75 return newSize; in getMaxLabel()
324 public void shrink(int newSize) { in shrink() argument325 if (newSize < 0) { in shrink()329 if (newSize > size) { in shrink()335 size = newSize; in shrink()
70 int newSize = i + 1; in getMaxLabel() local72 labelToIndex.shrink(newSize); in getMaxLabel()74 return newSize; in getMaxLabel()
181 int newSize = pBuf->curLen + size + 128; /* oversize slightly */ in ebEnsureCapacity() local182 unsigned char* newStorage = realloc(pBuf->storage, newSize); in ebEnsureCapacity()184 fprintf(stderr, "ERROR: realloc failed on size=%d\n", newSize); in ebEnsureCapacity()189 pBuf->maxLen = newSize; in ebEnsureCapacity()