HomeSort by relevance Sort by last modified time
    Searched refs:bufferPos (Results 1 - 25 of 61) sorted by null

1 2 3

  /system/chre/util/system/
debug_dump.cc 22 bool debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize,
25 if (*bufferPos < bufferSize) {
28 int strLen = vsnprintf(&buffer[*bufferPos], bufferSize - *bufferPos,
35 *bufferPos >= (bufferSize - strLenBytes)) {
36 *bufferPos = bufferSize;
39 *bufferPos += strLenBytes;
  /system/chre/util/include/chre/util/system/
debug_dump.h 29 * @param bufferPos Pointer to buffer position to start the print (in-out).
35 bool debugDumpPrint(char *buffer, size_t *bufferPos, size_t bufferSize,
  /external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
CodedInputByteBufferNano.java 190 if (size <= (bufferSize - bufferPos) && size > 0) {
193 final String result = new String(buffer, bufferPos, size, InternalNano.UTF_8);
194 bufferPos += size;
232 if (size <= (bufferSize - bufferPos) && size > 0) {
236 System.arraycopy(buffer, bufferPos, result, 0, size);
237 bufferPos += size;
401 private int bufferPos;
421 bufferPos = off;
482 byteLimit += bufferPos;
525 final int currentAbsolutePosition = bufferPos;
    [all...]
  /external/protobuf/javamicro/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;
440 private int bufferPos;
447 * {@code totalBytesRetired + bufferPos}.
468 bufferPos = off;
475 bufferPos = 0
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
CodedInputStream.java 287 private int lastPos = bufferPos;
295 byteArrayStream.write(buffer, lastPos, bufferPos - lastPos);
305 return ByteBuffer.wrap(buffer, lastPos, bufferPos - lastPos);
307 byteArrayStream.write(buffer, lastPos, bufferPos);
363 if (size <= (bufferSize - bufferPos) && size > 0) {
366 final String result = new String(buffer, bufferPos, size, Internal.UTF_8);
367 bufferPos += size;
373 String result = new String(buffer, bufferPos, size, Internal.UTF_8);
374 bufferPos += size;
390 final int oldPos = bufferPos;
    [all...]
ByteString.java     [all...]
  /system/chre/platform/include/chre/platform/
platform_nanoapp.h 103 * @param bufferPos Pointer to buffer position to start the print (in-out).
108 bool logStateToBuffer(char *buffer, size_t *bufferPos,
memory_manager.h 86 * @param bufferPos Pointer to buffer position to start the print (in-out).
91 bool logStateToBuffer(char *buffer, size_t *bufferPos,
  /system/libhwbinder/
BufferedTextOutput.cpp 43 , bufferPos(0)
54 if ((len+bufferPos) > bufferSize) {
55 size_t newSize = ((len+bufferPos)*3)/2;
56 if (newSize < (len+bufferPos)) return NO_MEMORY; // overflow
62 if ((len+bufferPos) < bufferPos) return NO_MEMORY; // integer overflow
63 memcpy(buffer+bufferPos, txt, len);
64 bufferPos += len;
69 bufferPos = 0;
82 size_t bufferPos;
    [all...]
  /system/chre/core/include/chre/core/
wwan_request_manager.h 71 * @param bufferPos Pointer to buffer position to start the print (in-out).
76 bool logStateToBuffer(char *buffer, size_t *bufferPos,
nanoapp.h 122 * @param bufferPos Pointer to buffer position to start the print (in-out).
127 bool logStateToBuffer(char *buffer, size_t *bufferPos,
sensor_request_manager.h 123 * @param bufferPos Pointer to buffer position to start the print (in-out).
128 bool logStateToBuffer(char *buffer, size_t *bufferPos,
gnss_manager.h 91 bool logStateToBuffer(char *buffer, size_t *bufferPos, size_t bufferSize)
344 * @param bufferPos Pointer to buffer position to start the print (in-out).
349 bool logStateToBuffer(char *buffer, size_t *bufferPos,
  /system/chre/core/
nanoapp.cc 92 bool Nanoapp::logStateToBuffer(char *buffer, size_t *bufferPos,
94 bool success = PlatformNanoapp::logStateToBuffer(buffer, bufferPos,
96 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
wwan_request_manager.cc 77 bool WwanRequestManager::logStateToBuffer(char *buffer, size_t *bufferPos,
79 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nWWAN:\n");
81 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
gnss_manager.cc 40 char *buffer, size_t *bufferPos, size_t bufferSize) const {
41 bool success = debugDumpPrint(buffer, bufferPos, bufferSize,"\nGNSS:");
42 success &= mLocationSession.logStateToBuffer(buffer, bufferPos, bufferSize);
44 .logStateToBuffer(buffer, bufferPos, bufferSize);
117 char *buffer, size_t *bufferPos, size_t bufferSize) const {
118 bool success = debugDumpPrint(buffer, bufferPos, bufferSize,
122 success &= debugDumpPrint(buffer, bufferPos, bufferSize, " Requests:\n");
124 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
131 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
134 success &= debugDumpPrint(buffer, bufferPos, bufferSize
    [all...]
event_loop.cc 312 bool EventLoop::logStateToBuffer(char *buffer, size_t *bufferPos,
314 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nNanoapps:\n");
316 success &= app->logStateToBuffer(buffer, bufferPos, bufferSize);
319 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
321 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
  /frameworks/native/libs/binder/
BufferedTextOutput.cpp 40 , bufferPos(0)
51 if ((len+bufferPos) > bufferSize) {
52 size_t newSize = ((len+bufferPos)*3)/2;
53 if (newSize < (len+bufferPos)) return NO_MEMORY; // overflow
59 memcpy(buffer+bufferPos, txt, len);
60 bufferPos += len;
65 bufferPos = 0;
78 size_t bufferPos;
212 //printf("Buffer is now %d bytes\n", b->bufferPos);
216 vec.iov_len = b->bufferPos;
    [all...]
  /external/icu/icu4c/source/common/
normlzr.cpp 44 buffer(), bufferPos(0)
53 buffer(), bufferPos(0)
62 buffer(), bufferPos(0)
71 buffer(copy.buffer), bufferPos(copy.bufferPos)
108 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex;
119 bufferPos==that.bufferPos &&
257 if(bufferPos<buffer.length() || nextNormalize()) {
258 return buffer.char32At(bufferPos);
    [all...]
  /system/chre/platform/shared/
memory_manager.cc 66 bool MemoryManager::logStateToBuffer(char *buffer, size_t *bufferPos,
68 return debugDumpPrint(buffer, bufferPos, bufferSize,
  /external/protobuf/csharp/src/Google.Protobuf/
CodedInputStream.cs 76 private int bufferPos = 0;
103 /// totalBytesRetired + bufferPos.
170 internal CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize)
174 this.bufferPos = bufferPos;
188 internal CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimit, int recursionLimit)
189 : this(input, buffer, bufferPos, bufferSize)
232 return input.Position - ((bufferSize + bufferSizeAfterLimit) - bufferPos);
234 return bufferPos;
342 if (bufferPos + 2 <= bufferSize)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
Normalizer.java 146 private int bufferPos;
656 copy.bufferPos = bufferPos;
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
Normalizer.java 147 private int bufferPos;
643 copy.bufferPos = bufferPos;
    [all...]
  /external/protobuf/objectivec/
GPBCodedInputStream_PackagePrivate.h 45 size_t bufferPos;
  /system/chre/platform/linux/
platform_nanoapp.cc 64 bool PlatformNanoapp::logStateToBuffer(char *buffer, size_t *bufferPos,

Completed in 406 milliseconds

1 2 3