/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
D | CodedInputStreamMicro.java | 198 if (size <= (bufferSize - bufferPos) && size > 0) { in readString() 201 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString() 202 bufferPos += size; in readString() 240 if (size <= (bufferSize - bufferPos) && size > 0) { in readBytes() 243 final ByteStringMicro result = ByteStringMicro.copyFrom(buffer, bufferPos, size); in readBytes() 244 bufferPos += size; in readBytes() 438 private int bufferPos; field in CodedInputStreamMicro 466 bufferPos = off; in CodedInputStreamMicro() 473 bufferPos = 0; in CodedInputStreamMicro() 537 byteLimit += totalBytesRetired + bufferPos; in pushLimit() [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | CodedInputStream.java | 201 if (size <= (bufferSize - bufferPos) && size > 0) { in readString() 204 final String result = new String(buffer, bufferPos, size, "UTF-8"); in readString() 205 bufferPos += size; in readString() 266 if (size <= (bufferSize - bufferPos) && size > 0) { in readBytes() 269 final ByteString result = ByteString.copyFrom(buffer, bufferPos, size); in readBytes() 270 bufferPos += size; in readBytes() 482 private int bufferPos; field in CodedInputStream 512 bufferPos = off; in CodedInputStream() 520 bufferPos = 0; in CodedInputStream() 572 totalBytesRetired = -bufferPos; in resetSizeCounter() [all …]
|
/external/icu4c/common/ |
D | normlzr.cpp | 35 buffer(), bufferPos(0) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 44 buffer(), bufferPos(0) in Normalizer() 53 buffer(), bufferPos(0) in Normalizer() 62 buffer(copy.buffer), bufferPos(copy.bufferPos) in Normalizer() 101 …return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextI… in hashCode() 112 bufferPos==that.bufferPos && in operator ==() 250 if(bufferPos<buffer.length() || nextNormalize()) { in current() 251 return buffer.char32At(bufferPos); in current() 263 if(bufferPos<buffer.length() || nextNormalize()) { in next() 264 UChar32 c=buffer.char32At(bufferPos); in next() [all …]
|
D | unames.c | 236 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) { \ argument 241 ++(bufferPos); \ 263 uint16_t token, tokenCount=*tokens++, bufferPos=0; in expandName() local 300 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 315 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 320 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { in expandName() 332 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName() 343 return bufferPos; in expandName() 788 uint16_t i, factor, bufferPos=0; in writeFactorSuffix() local 829 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in writeFactorSuffix() [all …]
|
/external/webkit/Source/WebCore/plugins/ |
D | PluginDatabase.cpp | 556 char* bufferPos = fileContents.data() + 1; in loadPersistentMetadataCache() local 563 while (bufferPos < end) { in loadPersistentMetadataCache() 569 if (!(readUTF8String(path, bufferPos, end) in loadPersistentMetadataCache() 570 && readTime(lastModified, bufferPos, end) in loadPersistentMetadataCache() 571 && readUTF8String(name, bufferPos, end) in loadPersistentMetadataCache() 572 && readUTF8String(desc, bufferPos, end) in loadPersistentMetadataCache() 573 && readUTF8String(mimeDesc, bufferPos, end))) { in loadPersistentMetadataCache()
|
/external/webkit/Source/WebCore/platform/ |
D | KURL.cpp | 475 char* bufferPos = parseBuffer.data(); in init() local 486 *bufferPos++ = *baseStringStart++; in init() 487 char* bufferPathStart = bufferPos; in init() 499 *bufferPos++ = '/'; in init() 501 … bufferPos += copyPathRemovingDots(bufferPos, baseStringStart, 0, baseStringEnd - baseStringStart); in init() 508 if (relStringPos[0] == '.' && bufferPos[-1] == '/') { in init() 523 if (bufferPos > bufferPathStart + 1) in init() 524 bufferPos--; in init() 525 while (bufferPos > bufferPathStart + 1 && bufferPos[-1] != '/') in init() 526 bufferPos--; in init() [all …]
|
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/ |
D | GeometryBatchFactory.java | 249 int bufferPos[] = new int[lodLevels]; in makeLods() local 261 lodData[i][bufferPos[i] + j] = buffer.get() + numOfVertices * curGeom; in makeLods() 264 bufferPos[i] += buffer.capacity(); in makeLods()
|
/external/icu4c/common/unicode/ |
D | normlzr.h | 757 int32_t bufferPos; variable
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | StringPrototype.cpp | 278 int bufferPos = 0; in jsSpliceSubstringsWithSeparators() local 282 …StringImpl::copyChars(buffer + bufferPos, source.characters() + substringRanges[i].position, srcLe… in jsSpliceSubstringsWithSeparators() 283 bufferPos += srcLen; in jsSpliceSubstringsWithSeparators() 288 StringImpl::copyChars(buffer + bufferPos, separators[i].characters(), sepLen); in jsSpliceSubstringsWithSeparators() 289 bufferPos += sepLen; in jsSpliceSubstringsWithSeparators()
|