/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 201 if (size <= (bufferSize - bufferPos) && size > 0) { 204 final String result = new String(buffer, bufferPos, size, "UTF-8"); 205 bufferPos += size; 266 if (size <= (bufferSize - bufferPos) && size > 0) { 269 final ByteString result = ByteString.copyFrom(buffer, bufferPos, size); 270 bufferPos += size; 482 private int bufferPos; 489 * {@code totalBytesRetired + bufferPos}. This value may be negative if 512 bufferPos = off; 520 bufferPos = 0 [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
CodedInputStreamMicro.java | 198 if (size <= (bufferSize - bufferPos) && size > 0) { 201 final String result = new String(buffer, bufferPos, size, "UTF-8"); 202 bufferPos += size; 240 if (size <= (bufferSize - bufferPos) && size > 0) { 243 final ByteStringMicro result = ByteStringMicro.copyFrom(buffer, bufferPos, size); 244 bufferPos += size; 438 private int bufferPos; 445 * {@code totalBytesRetired + bufferPos}. 466 bufferPos = off; 473 bufferPos = 0 [all...] |
/external/icu4c/common/ |
normlzr.cpp | 35 buffer(), bufferPos(0) 44 buffer(), bufferPos(0) 53 buffer(), bufferPos(0) 62 buffer(copy.buffer), bufferPos(copy.bufferPos) 101 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 112 bufferPos==that.bufferPos && 250 if(bufferPos<buffer.length() || nextNormalize()) { 251 return buffer.char32At(bufferPos); [all...] |
unames.c | 236 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 241 ++(bufferPos); \ 263 uint16_t token, tokenCount=*tokens++, bufferPos=0; 300 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 315 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 320 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { 332 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 343 return bufferPos; 788 uint16_t i, factor, bufferPos=0; 829 WRITE_CHAR(buffer, bufferLength, bufferPos, c) [all...] |
/frameworks/base/libs/utils/ |
BufferedTextOutput.cpp | 40 , bufferPos(0) 51 if ((len+bufferPos) > bufferSize) { 52 void* b = realloc(buffer, ((len+bufferPos)*3)/2); 56 memcpy(buffer+bufferPos, txt, len); 57 bufferPos += len; 62 bufferPos = 0; 75 size_t bufferPos; 209 //printf("Buffer is now %d bytes\n", b->bufferPos); 213 vec.iov_len = b->bufferPos; 251 if (b->bufferPos > 0 && b->atFront) [all...] |
/external/chromium/third_party/icu/source/common/ |
normlzr.cpp | 33 buffer(), bufferPos(0) 41 buffer(), bufferPos(0) 49 buffer(), bufferPos(0) 57 buffer(copy.buffer), bufferPos(copy.bufferPos) 104 return ((CharacterIterator *)(text->context))->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 115 bufferPos==that.bufferPos && 318 if(bufferPos<buffer.length() || nextNormalize()) { 319 return buffer.char32At(bufferPos); [all...] |
unames.c | 236 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ 241 ++(bufferPos); \ 263 uint16_t token, tokenCount=*tokens++, bufferPos=0; 306 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 321 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 326 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { 338 WRITE_CHAR(buffer, bufferLength, bufferPos, c); 349 return bufferPos; 791 uint16_t i, factor, bufferPos=0; 832 WRITE_CHAR(buffer, bufferLength, bufferPos, c) [all...] |
/external/webkit/WebCore/platform/ |
KURL.cpp | 460 char* bufferPos = parseBuffer.data(); 471 *bufferPos++ = *baseStringStart++; 472 char* bufferPathStart = bufferPos; 484 *bufferPos++ = '/'; 486 bufferPos += copyPathRemovingDots(bufferPos, baseStringStart, 0, baseStringEnd - baseStringStart); 493 if (relStringPos[0] == '.' && bufferPos[-1] == '/') { 508 if (bufferPos > bufferPathStart + 1) 509 bufferPos--; 510 while (bufferPos > bufferPathStart + 1 && bufferPos[-1] != '/' [all...] |
/external/icu4c/common/unicode/ |
normlzr.h | 757 int32_t bufferPos;
|
/external/chromium/third_party/icu/public/common/unicode/ |
normlzr.h | 748 int32_t bufferPos;
|