Searched refs:newSize (Results 1 – 7 of 7) sorted by relevance
248 int newSize = size() - 1; in withoutFirst() local250 if (newSize == 0) { in withoutFirst()254 RegisterSpecList result = new RegisterSpecList(newSize); in withoutFirst()256 for (int i = 0; i < newSize; i++) { in withoutFirst()275 int newSize = size() - 1; in withoutLast() local277 if (newSize == 0) { in withoutLast()281 RegisterSpecList result = new RegisterSpecList(newSize); in withoutLast()283 for (int i = 0; i < newSize; i++) { in withoutLast()304 int newSize = size() - exclusionSet.cardinality(); in subset() local306 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()
176 int newSize = pBuf->curLen + size + 128; /* oversize slightly */ in ebEnsureCapacity() local177 unsigned char* newStorage = realloc(pBuf->storage, newSize); in ebEnsureCapacity()179 fprintf(stderr, "ERROR: realloc failed on size=%d\n", newSize); in ebEnsureCapacity()184 pBuf->maxLen = newSize; in ebEnsureCapacity()