Searched refs:writeIdx (Results 1 – 2 of 2) sorted by relevance
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | Metadata.java | 328 int writeIdx = i * 2; in remove() local 331 System.arraycopy(namesAndValues, readIdx, namesAndValues, writeIdx, readLen); in remove() 345 int writeIdx = 0; in removeAll() local 354 name(writeIdx, name(readIdx)); in removeAll() 355 value(writeIdx, value(readIdx)); in removeAll() 356 writeIdx++; in removeAll() 358 int newSize = writeIdx; in removeAll() 360 Arrays.fill(namesAndValues, writeIdx * 2, len(), null); in removeAll() 374 int writeIdx = 0; in discardAll() local 380 name(writeIdx, name(readIdx)); in discardAll() [all …]
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | MessageFramerTest.java | 399 private int writeIdx; 407 System.arraycopy(bytes, srcIndex, data, writeIdx, length); 408 writeIdx += length; 413 data[writeIdx++] = b; 418 return data.length - writeIdx; 423 return writeIdx; 432 return writeIdx;
|