/external/jetty/src/java/org/eclipse/jetty/websocket/ |
H A D | WebSocketConnectionD06.java | 275 public void fillBuffersFrom(Buffer buffer) argument 277 _parser.fill(buffer); 530 public void onFrame(byte flags, byte opcode, Buffer buffer) argument 542 byte[] array=buffer.array(); 547 if (_onFrame.onFrame(flags,opcode,array,buffer.getIndex(),buffer.length())) 553 if (_onControl.onControl(opcode,array,buffer.getIndex(),buffer.length())) 561 // If text, append to the message buffer 564 if (_utf8.append(buffer [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
H A D | IndexByteBuffer.java | 47 public IndexByteBuffer(ByteBuffer buffer) { argument 48 this.buf = buffer;
|
H A D | IndexShortBuffer.java | 47 public IndexShortBuffer(ShortBuffer buffer) { argument 48 this.buf = buffer;
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
H A D | DateSerializer.java | 52 public void writeObject(ByteBuffer buffer, Object object) throws IOException { argument 53 buffer.putLong(((Date)object).getTime());
|
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
H A D | ThreadLocalOutputBufferProvider.java | 43 throw new IllegalStateException("Thread buffer is not free."); 52 public void release(Appendable buffer) { argument 53 if (buffer != pool.get()) { 54 throw new IllegalArgumentException("Can't release buffer that does not "
|
/external/libvncserver/examples/ |
H A D | 1instance.c | 48 int get_next_message(char* buffer,int len,single_instance_struct* str,int usecs) argument 63 reallen=read(str->fd,buffer,len); 69 buffer[reallen]=0; 71 if(reallen!=0) rfbLog("message received: %s.\n",buffer); 80 char buffer[1024]; local 83 if((num_fds=get_next_message(buffer,1024,str,usecs)) && buffer[0]) 84 dispatcher(buffer);
|
H A D | camera.c | 20 * mutex to determine when the frame buffer was being accessed by any client 77 int TakePicture(unsigned char *buffer) argument 90 buffer[(j*WIDTH+i)*BPP+0]=(i+j)*128/(WIDTH+HEIGHT); /* red */ 91 buffer[(j*WIDTH+i)*BPP+1]=i*128/WIDTH; /* green */ 92 buffer[(j*WIDTH+i)*BPP+2]=j*256/HEIGHT; /* blue */ 94 buffer[j*WIDTH*BPP+0]=0xff; 95 buffer[j*WIDTH*BPP+1]=0xff; 96 buffer[j*WIDTH*BPP+2]=0xff; 108 memset(&buffer[(WIDTH * BPP) * line], 0, (WIDTH * BPP));
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_vertex.c | 53 pipe_resource_reference(&svga->curr.vb[i].buffer, buffers[i].buffer); 54 if (svga_buffer_is_user_buffer(buffers[i].buffer)) 59 pipe_resource_reference(&svga->curr.vb[i].buffer, NULL); 76 pipe_resource_reference(&svga->curr.ib.buffer, ib->buffer); 80 pipe_resource_reference(&svga->curr.ib.buffer, NULL); 124 pipe_resource_reference(&svga->curr.vb[i].buffer, NULL);
|
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
H A D | native_wayland.c | 191 if (surface->buffer[i]) 192 wl_buffer_destroy(surface->buffer[i]); 193 surface->buffer[i] = NULL; 242 wayland_buffers_swap(struct wl_buffer **buffer, argument 246 struct wl_buffer *tmp = buffer[buf1]; 247 buffer[buf1] = buffer[buf2]; 248 buffer[buf2] = tmp; 273 wayland_buffers_swap(surface->buffer, WL_BUFFER_FRONT, WL_BUFFER_BACK); 275 if (surface->buffer[WL_BUFFER_FRON 311 enum wayland_buffer_type buffer; local 354 enum wayland_buffer_type buffer; local [all...] |
/external/mesa3d/src/gallium/winsys/i915/sw/ |
H A D | i915_sw_winsys.h | 51 i915_sw_buffer(struct i915_winsys_buffer *buffer) argument 53 return (struct i915_sw_buffer *)buffer;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | MediaRange.java | 112 public StringBuffer encode(StringBuffer buffer) { argument 113 return buffer.append(type)
|
H A D | RequestLine.java | 76 public StringBuffer encode(StringBuffer buffer) { argument 78 buffer.append(method); 79 buffer.append(SP); 82 uri.encode(buffer); 83 buffer.append(SP); 85 buffer.append(sipVersion); 86 buffer.append(NEWLINE); 87 return buffer;
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | CodedInputStream.java | 77 // buffer as a limit, we allow them to get this information via 110 byte[] buffer = new byte[temp.remaining()]; 111 temp.get(buffer); 112 return newInstance(buffer); 124 // buffer as a limit, we allow them to get this information via 305 byteArrayStream.write(buffer, lastPos, bufferPos - lastPos); 315 return ByteBuffer.wrap(buffer, lastPos, bufferPos - lastPos); 317 byteArrayStream.write(buffer, lastPos, bufferPos); 374 // Fast path: We already have the bytes in a contiguous buffer, so 376 final String result = new String(buffer, bufferPo 857 private final byte[] buffer; field in class:CodedInputStream 889 CodedInputStream(final byte[] buffer, final int off, final int len) argument [all...] |
/external/skia/src/effects/ |
H A D | SkDiscretePathEffect.cpp | 119 SkFlattenable* SkDiscretePathEffect::CreateProc(SkReadBuffer& buffer) { argument 120 SkScalar segLength = buffer.readScalar(); 121 SkScalar perterb = buffer.readScalar(); 122 uint32_t seed = buffer.readUInt(); 126 void SkDiscretePathEffect::flatten(SkWriteBuffer& buffer) const { 127 buffer.writeScalar(fSegLength); 128 buffer.writeScalar(fPerterb); 129 buffer.writeUInt(fSeedAssist);
|
/external/skia/src/effects/gradients/ |
H A D | SkGradientBitmapCache.h | 20 bool find(const void* buffer, size_t len, SkBitmap*) const; 21 void add(const void* buffer, size_t len, const SkBitmap&);
|
/external/vboot_reference/firmware/stub/ |
H A D | vboot_api_stub_disk.c | 36 uint64_t lba_count, void* buffer) { 42 uint64_t lba_count, const void* buffer) { 35 VbExDiskRead(VbExDiskHandle_t handle, uint64_t lba_start, uint64_t lba_count, void* buffer) argument 41 VbExDiskWrite(VbExDiskHandle_t handle, uint64_t lba_start, uint64_t lba_count, const void* buffer) argument
|
/external/v8/test/cctest/ |
H A D | test-assembler-x64.cc | 42 // a buffer and executing them. These tests do not initialize the 73 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 75 CHECK(buffer); 76 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 86 int result = FUNCTION_CAST<F2>(buffer)(3, 2); 95 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 97 CHECK(buffer); 98 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 118 int result = FUNCTION_CAST<F2>(buffer)(3, 2); 127 byte* buffer local 130 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 149 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 152 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 180 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 183 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 208 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 211 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 236 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 239 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 260 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 263 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 282 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 285 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 306 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 309 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 335 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 338 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 359 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 362 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 393 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 396 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 422 byte* buffer = static_cast<byte*>(v8::base::OS::Allocate( local 425 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size)); local 528 byte buffer[1024]; local 593 byte buffer[1024]; local 680 byte buffer[256]; local 711 v8::internal::byte buffer[256]; local [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | ucoleitr.cpp | 59 RCEI *buffer; member in struct:RCEBuffer 73 buffer = defaultBuffer; 80 if (buffer != defaultBuffer) { 81 DELETE_ARRAY(buffer); 95 ARRAY_COPY(newBuffer, buffer, bufferSize); 97 if (buffer != defaultBuffer) { 98 DELETE_ARRAY(buffer); 101 buffer = newBuffer; 105 buffer[bufferIndex].ce = ce; 106 buffer[bufferInde [all...] |
/external/skia/src/gpu/ |
H A D | GrBufferAllocPool.cpp | 55 GrGeometryBuffer* buffer = this->createBuffer(fMinBlockSize); local 56 if (buffer) { 57 *fPreallocBuffers.append() = buffer; 65 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; local 66 if (buffer->isMapped()) { 81 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; local 82 if (buffer->isMapped()) { 162 const GrGeometryBuffer** buffer, 166 SkASSERT(buffer); 178 *buffer 160 makeSpace(size_t size, size_t alignment, const GrGeometryBuffer** buffer, size_t* offset) argument 327 GrGeometryBuffer* buffer = block.fBuffer; local 367 makeSpace(size_t vertexSize, int vertexCount, const GrVertexBuffer** buffer, int* startVertex) argument 400 makeSpace(int indexCount, const GrIndexBuffer** buffer, int* startIndex) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | norm2allmodes.h | 49 ReorderingBuffer buffer(impl, dest); 50 if(buffer.init(src.length(), errorCode)) { 51 normalize(sArray, sArray+src.length(), buffer, errorCode); 57 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0; 89 ReorderingBuffer buffer(impl, first); 90 if(buffer.init(firstLength+second.length(), errorCode)) { 92 safeMiddle, buffer, errorCode); 104 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0; 107 UChar buffer[4]; local 109 const UChar *d=impl.getDecomposition(c, buffer, lengt 122 UChar buffer[30]; local 192 normalize(const UChar *src, const UChar *limit, ReorderingBuffer &buffer, UErrorCode &errorCode) const argument 198 normalizeAndAppend(const UChar *src, const UChar *limit, UBool doNormalize, UnicodeString &safeMiddle, ReorderingBuffer &buffer, UErrorCode &errorCode) const argument 224 normalize(const UChar *src, const UChar *limit, ReorderingBuffer &buffer, UErrorCode &errorCode) const argument 230 normalizeAndAppend(const UChar *src, const UChar *limit, UBool doNormalize, UnicodeString &safeMiddle, ReorderingBuffer &buffer, UErrorCode &errorCode) const argument 295 normalize(const UChar *src, const UChar *limit, ReorderingBuffer &buffer, UErrorCode &errorCode) const argument 301 normalizeAndAppend(const UChar *src, const UChar *limit, UBool doNormalize, UnicodeString &safeMiddle, ReorderingBuffer &buffer, UErrorCode &errorCode) const argument [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.h | 56 // to identifiers in the protocol buffer language, not to natural-language 262 // a dest buffer. This should be used for non performance critical 377 // All functions take the output buffer as an arg. 379 // which may not be the beginning of the input buffer. 382 // Suggested buffer size for FastToBuffer functions. Also works with 386 LIBPROTOBUF_EXPORT char* FastInt32ToBuffer(int32 i, char* buffer); 387 LIBPROTOBUF_EXPORT char* FastInt64ToBuffer(int64 i, char* buffer); 388 char* FastUInt32ToBuffer(uint32 i, char* buffer); // inline below 389 char* FastUInt64ToBuffer(uint64 i, char* buffer); // inline below 390 LIBPROTOBUF_EXPORT char* FastHexToBuffer(int i, char* buffer); 395 FastIntToBuffer(int i, char* buffer) argument 399 FastUIntToBuffer(unsigned int i, char* buffer) argument 403 FastLongToBuffer(long i, char* buffer) argument 407 FastULongToBuffer(unsigned long i, char* buffer) argument 434 FastUInt32ToBuffer(uint32 i, char* buffer) argument 438 FastUInt64ToBuffer(uint64 i, char* buffer) argument [all...] |
/external/zlib/src/contrib/untgz/ |
H A D | untgz.c | 91 char buffer[BLOCKSIZE]; member in union:tar_buffer 134 static char buffer[1024]; local 137 strcpy(buffer,arcname); 138 origlen = strlen(buffer); 142 strcpy(buffer+origlen,TGZsuffix[i]); 143 if (access(buffer,F_OK) == 0) 144 return buffer; 330 char *buffer = strdup(newdir); local 332 int len = strlen(buffer); 335 free(buffer); 388 union tar_buffer buffer; local [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
H A D | URLCodec.java | 125 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); 135 buffer.write(b); 137 buffer.write('%'); 142 buffer.write(hex1); 143 buffer.write(hex2); 146 return buffer.toByteArray(); 165 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); 169 buffer.write(' '); 177 buffer.write((char)((u << 4) + l)); 182 buffer [all...] |
/external/dhcpcd/ |
H A D | control.c | 46 static char buffer[1024]; variable 81 bytes = read(l->fd, buffer, sizeof(buffer) - 1); 86 buffer[bytes] = '\0'; 87 p = buffer; 88 e = buffer + bytes; 190 char *p = buffer; 200 if ((p - buffer) + len > sizeof(buffer)) { 207 return write(fd, buffer, [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
H A D | AbstractResults.java | 212 StringBuffer buffer; 214 buffer = new StringBuffer(" => time spent was "); //$NON-NLS-1$ 216 buffer = new StringBuffer(" => time spent in '"); //$NON-NLS-1$ 217 buffer.append(resultsName); 218 buffer.append("' was "); //$NON-NLS-1$ 220 buffer.append(Util.timeString(time-start)); 222 buffer.append(". "); //$NON-NLS-1$ 223 buffer.append(end.trim()); 225 println(buffer); 243 void println(StringBuffer buffer) { argument [all...] |