Home
last modified time | relevance | path

Searched refs:bufferPos (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java198 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/
DCodedInputStream.java201 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/
Dnormlzr.cpp35 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 …]
Dunames.c236 #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/
DPluginDatabase.cpp556 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/
DKURL.cpp475 char* bufferPos = parseBuffer.data(); in init() local
486 *bufferPos++ = *baseStringStart++; in init()
487 char* bufferPathStart = bufferPos; in init()
499 *bufferPos++ = '/'; in init()
501bufferPos += 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/
DGeometryBatchFactory.java249 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/
Dnormlzr.h757 int32_t bufferPos; variable
/external/webkit/Source/JavaScriptCore/runtime/
DStringPrototype.cpp278 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()