/external/skia/src/image/ |
SkDataPixelRef.cpp | 30 void SkDataPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const { 31 this->INHERITED::flatten(buffer); 32 buffer.writeFlattenable(fData); 35 SkDataPixelRef::SkDataPixelRef(SkFlattenableReadBuffer& buffer) 36 : INHERITED(buffer, NULL) { 37 fData = (SkData*)buffer.readFlattenable();
|
/frameworks/av/media/libnbaio/ |
SourceAudioBufferProvider.cpp | 48 status_t SourceAudioBufferProvider::getNextBuffer(Buffer *buffer, int64_t pts) 50 ALOG_ASSERT(buffer != NULL && buffer->frameCount > 0 && mGetCount == 0); 54 if (mRemaining < buffer->frameCount) { 55 buffer->frameCount = mRemaining; 57 buffer->raw = (char *) mAllocated + (mOffset << mFrameBitShift); 58 mGetCount = buffer->frameCount; 62 if (buffer->frameCount > mSize) { 64 mAllocated = malloc(buffer->frameCount << mFrameBitShift) [all...] |
/frameworks/wilhelm/tools/hashgen/ |
frag3.c | 4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]); 18 char buffer[40]; local 19 buffer[39] = 'x'; 20 MPH_to_MPH_string(MPH, buffer); 21 assert('x' == buffer[39]); 22 printf(" %s", buffer);
|
/libcore/luni/src/main/java/java/io/ |
OutputStream.java | 79 * Equivalent to {@code write(buffer, 0, buffer.length)}. 81 public void write(byte[] buffer) throws IOException { 82 write(buffer, 0, buffer.length); 86 * Writes {@code count} bytes from the byte array {@code buffer} starting at 89 * @param buffer 90 * the buffer to be written. 92 * the start position in {@code buffer} from where to get bytes. 94 * the number of bytes from {@code buffer} to write to thi [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/rmi/ |
RmiSerializer.java | 56 private void writeString(ByteBuffer buffer, String string) throws IOException{ 60 buffer.put( (byte) 0 ); 64 buffer.put( (byte) length ); 66 buffer.put( (byte) string.charAt(i) ); 70 private String readString(ByteBuffer buffer){ 71 int length = buffer.get() & 0xff; 73 chrBuf[i] = (char) (buffer.get() & 0xff); 78 private void writeType(ByteBuffer buffer, Class<?> clazz) throws IOException{ 80 buffer.putShort((short)0); 87 buffer.putShort(reg.getId()) [all...] |
/external/srtp/crypto/test/ |
stat_driver.c | 35 uint8_t buffer[2500]; local 53 buffer[i] = 0; 56 printf("running stat_tests on all-null buffer, expecting failure\n"); 57 printf("monobit %d\n", stat_test_monobit(buffer)); 58 printf("poker %d\n", stat_test_poker(buffer)); 59 printf("runs %d\n", stat_test_runs(buffer)); 62 buffer[i] = rand(); 64 printf("monobit %d\n", stat_test_monobit(buffer)); 65 printf("poker %d\n", stat_test_poker(buffer)); 66 printf("runs %d\n", stat_test_runs(buffer)); [all...] |
/external/embunit/src/ |
AssertImpl.c | 41 char buffer[32]; /*"exp -2147483647 was -2147483647"*/ local 44 stdimpl_strcpy(buffer, "exp "); 47 stdimpl_strncat(buffer, numbuf, 11); } 49 stdimpl_strcat(buffer, " was "); 52 stdimpl_strncat(buffer, numbuf, 11); } 54 addFailure(buffer, line, file); 59 char buffer[ASSERT_STRING_BUFFER_MAX]; local 93 stdimpl_strcpy(buffer, "exp \""); 94 stdimpl_strncat(buffer, expected, el); 95 stdimpl_strcat(buffer, "\" was \"") [all...] |
/external/skia/legacy/src/core/ |
SkMallocPixelRef.cpp | 39 void SkMallocPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const { 40 this->INHERITED::flatten(buffer); 42 buffer.write32(fSize); 43 buffer.writePad(fStorage, fSize); 45 buffer.writeBool(true); 46 fCTable->flatten(buffer); 48 buffer.writeBool(false); 52 SkMallocPixelRef::SkMallocPixelRef(SkFlattenableReadBuffer& buffer) 53 : INHERITED(buffer, NULL) { 54 fSize = buffer.readU32() [all...] |
/external/clang/test/CodeGen/ |
2003-10-02-UnionLValueError.c | 9 void format_message(char *buffer, union U *u) { 10 sprintf(buffer, u->s);
|
/external/clang/test/PCH/ |
va_arg.cpp | 14 void f(char *buffer, unsigned count, const char* format, va_list argptr) { 15 vsnprintf(buffer, count, format, argptr);
|
attrs-PR8406.c | 14 int buffer[123] __attribute__((__aligned__(512))); member in struct:Bar
|
/external/icu4c/common/ |
ustrfmt.c | 17 * @param buffer UChar buffer to receive result 18 * @param capacity capacity of buffer 28 uprv_itou (UChar * buffer, int32_t capacity, 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7)); 43 buffer[length++] = (UChar) 0x0030;/*zero padding */ 45 /* null terminate the buffer */ 47 buffer[length] = (UChar) 0x0000; 52 temp = buffer[(length-1) - j]; 53 buffer[(length-1) - j] = buffer[j] [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BitWriterBuffer.java | 7 private ByteBuffer buffer; field in class:BitWriterBuffer 11 public BitWriterBuffer(ByteBuffer buffer) { 12 this.buffer = buffer; 13 this.initialPos = buffer.position(); 22 int current = (buffer.get(initialPos + position / 8)); 25 buffer.put(initialPos + position / 8, (byte) (current > 127 ? current - 256 : current)); 32 buffer.position(initialPos + position / 8 + ((position % 8 > 0) ? 1 : 0));
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Route.java | 90 protected StringBuffer encodeBody(StringBuffer buffer) { 93 buffer.append('<'); 94 address.encode(buffer); 95 buffer.append('>'); 97 address.encode(buffer); 100 buffer.append(SEMICOLON); 101 parameters.encode(buffer); 103 return buffer;
|
/external/chromium/net/disk_cache/ |
file_block.h | 21 virtual void* buffer() const = 0;
|
/external/chromium/sdch/open-vcdiff/src/ |
checksum.h | 31 inline VCDChecksum ComputeAdler32(const char* buffer, 34 reinterpret_cast<const Bytef*>(buffer), 39 const char* buffer, 42 reinterpret_cast<const Bytef*>(buffer),
|
/external/e2fsprogs/lib/ext2fs/ |
crc16.h | 24 extern crc16_t ext2fs_crc16(crc16_t crc, const void *buffer, unsigned int len);
|
/external/easymock/src/org/easymock/ |
IArgumentMatcher.java | 40 * Appends a string representation of this matcher to the given buffer. In case
44 * @param buffer the buffer to which the string representation is appended.
46 void appendTo(StringBuffer buffer);
|
/external/easymock/src/org/easymock/internal/matchers/ |
Not.java | 36 public void appendTo(StringBuffer buffer) {
37 buffer.append("not(");
38 first.appendTo(buffer);
39 buffer.append(")");
|
/external/icu4c/samples/case/ |
ucase.c | 29 UChar buffer[32]; local 48 /* result buffer = "ab?" latin small letter a, latin small letter b, latin 50 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, 52 if(U_FAILURE(errorCode) || buffer[length]!=0) { 57 u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer); 61 /* result buffer = "ABI" latin CAPITAL letter A, latin capital letter B, 63 length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, [all...] |
/external/open-vcdiff/src/ |
checksum.h | 31 inline VCDChecksum ComputeAdler32(const char* buffer, 34 reinterpret_cast<const Bytef*>(buffer), 39 const char* buffer, 42 reinterpret_cast<const Bytef*>(buffer),
|
/external/protobuf/src/google/protobuf/io/ |
coded_stream_inl.h | 47 inline bool CodedInputStream::InternalReadStringInline(string* buffer, 52 STLStringResizeUninitialized(buffer, size); 53 memcpy(string_as_array(buffer), buffer_, size); 58 return ReadStringFallback(buffer, size);
|
/external/qemu/distrib/sdl-1.2.15/src/video/nds/ |
SDL_ndsvideo.h | 38 void *buffer; member in struct:SDL_PrivateVideoData
|
/external/skia/legacy/src/effects/ |
SkRectShape.cpp | 67 void SkRectShape::flatten(SkFlattenableWriteBuffer& buffer) { 68 this->INHERITED::flatten(buffer); 70 buffer.writeRect(fBounds); 71 *(SkSize*)buffer.reserve(sizeof(SkSize)) = fRadii; 74 SkRectShape::SkRectShape(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) { 75 buffer.read(&fBounds, sizeof(fBounds)); 76 buffer.read(&fRadii, sizeof(fRadii)); 79 SkFlattenable* SkRectShape::CreateProc(SkFlattenableReadBuffer& buffer) { 80 return SkNEW_ARGS(SkRectShape, (buffer)); [all...] |
/external/skia/src/ports/ |
SkDebug_nacl.cpp | 29 char buffer[kBufferSize + 1]; local 32 sprintf(buffer, kLogPrefix); 33 vsnprintf(buffer + strlen(kLogPrefix), kBufferSize, format, args); 35 pp::Var msg = pp::Var(buffer);
|