HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 76 - 100 of 3205) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/icu4c/tools/genrb/
rle.c 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) {
45 if(buffer < buffLimit){
46 *buffer++ = c;
51 return buffer;
56 return buffer;
64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) {
72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status);
74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status)
    [all...]
  /system/bluetooth/brfpatch/
brfpatch.c 77 static void process_line(FILE *file_out, char *buf, char *buffer) {
78 FAILIF(strncmp(buf, "Send_", 5) != 0, "Not expecting: %s\n", buffer);
83 FAILIF(advance(&buf), "Could not find opcode in: %s\n", buffer); local
85 "Could not find opcode in: %s\n", buffer);
97 "Too much data: %s\n", buffer);
99 "Error parsing (%d): %s\n", __LINE__, buffer);
108 FAILIF(*buf != 'x', "Error parsing: %s\n", buffer);
120 "Error parsing (%d): %s\n", __LINE__, buffer);
126 "Error parsing (%d): %s\n", __LINE__, buffer);
132 "Error parsing (%d): %s\n", __LINE__, buffer);
177 char buffer[1024]; local
    [all...]
  /external/apache-http/src/org/apache/http/entity/
BufferedHttpEntity.java 47 * buffer once and provided from there as often as required.
57 private final byte[] buffer; field in class:BufferedHttpEntity
62 this.buffer = EntityUtils.toByteArray(entity);
64 this.buffer = null;
69 if (this.buffer != null) {
70 return this.buffer.length;
77 if (this.buffer != null) {
78 return new ByteArrayInputStream(this.buffer);
90 return (buffer == null) && wrappedEntity.isChunked();
107 if (this.buffer != null)
    [all...]
  /external/chromium/third_party/icu/source/tools/toolutil/
flagparser.c 12 static void extractFlag(char* buffer, int32_t bufferSize, char* flag);
13 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
20 char buffer[LARGE_BUFFER_MAX_SIZE]; local
29 if (T_FileStream_readLine(f, buffer, LARGE_BUFFER_MAX_SIZE) == NULL) {
34 extractFlag(buffer, LARGE_BUFFER_MAX_SIZE, flagBuffer[i]);
44 static void extractFlag(char* buffer, int32_t bufferSize, char* flag) {
50 if (buffer[0] != 0) {
52 offset = getFlagOffset(buffer, bufferSize);
53 pBuffer = buffer+offset;
76 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize)
    [all...]
  /external/icu4c/tools/toolutil/
flagparser.c 12 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status);
13 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
20 char buffer[LARGE_BUFFER_MAX_SIZE]; local
30 if (T_FileStream_readLine(f, buffer, LARGE_BUFFER_MAX_SIZE) == NULL) {
35 extractFlag(buffer, LARGE_BUFFER_MAX_SIZE, flagBuffer[i], flagBufferSize, status);
48 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status) {
54 if (buffer[0] != 0) {
56 offset = getFlagOffset(buffer, bufferSize);
57 pBuffer = buffer+offset;
84 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize)
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/luni/net/
SocketInputStream.java 58 byte[] buffer = new byte[1];
59 int result = socket.read(buffer, 0, 1);
60 return (result == -1) ? result : buffer[0] & 0xFF;
64 public int read(byte[] buffer) throws IOException {
65 return read(buffer, 0, buffer.length);
69 public int read(byte[] buffer, int offset, int count) throws IOException {
70 if (buffer == null) {
71 throw new IOException("buffer == null");
78 if (0 > offset || offset >= buffer.length)
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_OutputStream.java 17 private byte[] buffer; field in class:Support_OutputStream
35 buffer = new byte[bufferSize];
58 public void write(byte buffer[]) throws IOException {
62 for (int i = 0; i < buffer.length; i++) {
63 write(buffer[i]);
68 public void write(byte buffer[], int offset, int count) throws IOException {
72 if (offset < 0 || count < 0 || (offset + count) > buffer.length) {
76 write(buffer[i]);
86 buffer[position] = (byte)(oneByte & 255);
89 throw new IOException("Internal buffer overflow.")
    [all...]
  /external/apache-http/src/org/apache/http/auth/
AuthState.java 138 StringBuilder buffer = new StringBuilder(); local
139 buffer.append("auth scope [");
140 buffer.append(this.authScope);
141 buffer.append("]; credentials set [");
142 buffer.append(this.credentials != null ? "true" : "false");
143 buffer.append("]");
144 return buffer.toString();
  /external/dropbear/
signkey.h 28 #include "buffer.h"
47 int buf_get_pub_key(buffer *buf, sign_key *key, int *type);
48 int buf_get_priv_key(buffer* buf, sign_key *key, int *type);
49 void buf_put_pub_key(buffer* buf, sign_key *key, int type);
50 void buf_put_priv_key(buffer* buf, sign_key *key, int type);
52 void buf_put_sign(buffer* buf, sign_key *key, int type,
55 int buf_verify(buffer * buf, sign_key *key, const unsigned char *data,
61 buffer * line, char ** fingerprint);
  /external/nist-sip/java/gov/nist/javax/sip/header/
RecordRoute.java 77 protected StringBuffer encodeBody(StringBuffer buffer) {
79 buffer.append(LESS_THAN);
81 address.encode(buffer);
83 buffer.append(GREATER_THAN);
87 buffer.append(SEMICOLON);
88 this.parameters.encode(buffer);
90 return buffer;
  /external/webkit/WebCore/platform/graphics/gtk/
FontCustomPlatformData.cpp 44 FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer)
46 ASSERT_ARG(buffer, buffer);
60 error = FT_New_Memory_Face(library, reinterpret_cast<const FT_Byte*>(buffer->data()), buffer->size(), 0, &face);
64 buffer->ref();
68 cairo_font_face_set_user_data(fontFace, &bufferKey, buffer, releaseData);
  /external/webkit/WebCore/platform/network/
FormDataBuilder.cpp 96 static inline void append(Vector<char>& buffer, char string)
98 buffer.append(string);
101 static inline void append(Vector<char>& buffer, const char* string)
103 buffer.append(string, strlen(string));
106 static inline void append(Vector<char>& buffer, const CString& string)
108 buffer.append(string.data(), string.length());
111 static void appendQuotedString(Vector<char>& buffer, const CString& string)
122 append(buffer, "%0A");
125 append(buffer, "%0D");
128 append(buffer, "%22")
    [all...]
  /external/apache-http/src/org/apache/http/util/
ByteArrayBuffer.java 45 private byte[] buffer; field in class:ByteArrayBuffer
51 throw new IllegalArgumentException("Buffer capacity may not be negative");
53 this.buffer = new byte[capacity];
57 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)];
58 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len);
59 this.buffer = newbuffer;
74 if (newlen > this.buffer.length) {
77 System.arraycopy(b, off, this.buffer, this.len, len);
83 if (newlen > this.buffer.length) {
86 this.buffer[this.len] = (byte)b
143 public byte[] buffer() { method in class:ByteArrayBuffer
    [all...]
  /frameworks/base/core/java/android/net/
SntpClient.java 80 byte[] buffer = new byte[NTP_PACKET_SIZE];
81 DatagramPacket request = new DatagramPacket(buffer, buffer.length, address, NTP_PORT);
86 buffer[0] = NTP_MODE_CLIENT | (NTP_VERSION << 3);
91 writeTimeStamp(buffer, TRANSMIT_TIME_OFFSET, requestTime);
96 DatagramPacket response = new DatagramPacket(buffer, buffer.length);
102 long originateTime = readTimeStamp(buffer, ORIGINATE_TIME_OFFSET);
103 long receiveTime = readTimeStamp(buffer, RECEIVE_TIME_OFFSET);
104 long transmitTime = readTimeStamp(buffer, TRANSMIT_TIME_OFFSET)
    [all...]
  /external/chromium/third_party/icu/source/test/cintltst/
cstrcase.c 41 UChar buffer[32]; local
46 buffer[0]=0xabcd;
48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 ||
55 buffer[length]!=0
60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 &&
61 buffer[length]==0 ? "yes" : "no",
63 aescstrdup(buffer,-1));
66 /* lowercase with turkish locale and in the same buffer */
139 UChar buffer[32]; local
235 UChar buffer[32]; local
339 UChar buffer[32]; local
432 UChar buffer[32]; local
872 UChar buffer[32]; local
    [all...]
  /external/icu4c/test/cintltst/
cstrcase.c 41 UChar buffer[32]; local
46 buffer[0]=0xabcd;
48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 ||
55 buffer[length]!=0
60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 &&
61 buffer[length]==0 ? "yes" : "no",
63 aescstrdup(buffer,-1));
66 /* lowercase with turkish locale and in the same buffer */
139 UChar buffer[32]; local
235 UChar buffer[32]; local
339 UChar buffer[32]; local
432 UChar buffer[32]; local
872 UChar buffer[32]; local
    [all...]
  /external/e2fsprogs/ext2ed/
file_com.c 44 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
69 char *ptr,buffer [80]; local
71 ptr=parse_word (command_line,buffer);
74 ptr=parse_word (ptr,buffer);
75 block_offset*=atol (buffer);
88 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
90 strcpy (buffer,"show");dispatch (buffer);
97 char *ptr,buffer [80]; local
99 ptr=parse_word (command_line,buffer);
120 char *ptr,buffer [80]; local
147 char *ptr,buffer [80]; local
170 char *ptr,buffer [80]; local
198 char *ptr,buffer [80]; local
228 char *ptr,buffer [80]; local
401 char *ptr,buffer [80]; local
440 char *ptr,buffer [80],*ch_ptr; local
    [all...]
  /device/htc/common/updater/
log_recovery.c 45 char* buffer = malloc(erase_size); local
46 if (mtd_read_data(read, buffer, erase_size) != erase_size) {
49 free(buffer);
52 if (mtd_read_data(read, buffer, erase_size) != erase_size) {
55 free(buffer);
60 if (memcmp(buffer, LOG_MAGIC, LOG_MAGIC_SIZE) != 0) {
62 free(buffer);
66 size_t log_size = *(size_t *)(buffer + LOG_MAGIC_SIZE);
69 fwrite(buffer + sizeof(size_t) + LOG_MAGIC_SIZE, 1, log_size, stdout);
72 free(buffer);
    [all...]
  /external/chromium/third_party/icu/source/common/
cmemory.c 53 uprv_realloc(void * buffer, size_t size) {
54 if (buffer == zeroMem) {
58 (*pFree)(pContext, buffer);
60 free(buffer);
66 return (*pRealloc)(pContext, buffer, size);
68 return realloc(buffer, size);
74 uprv_free(void *buffer) {
75 if (buffer != zeroMem) {
77 (*pFree)(pContext, buffer);
79 free(buffer);
    [all...]
  /external/icu4c/common/
cmemory.c 53 uprv_realloc(void * buffer, size_t size) {
54 if (buffer == zeroMem) {
58 (*pFree)(pContext, buffer);
60 free(buffer);
66 return (*pRealloc)(pContext, buffer, size);
68 return realloc(buffer, size);
74 uprv_free(void *buffer) {
75 if (buffer != zeroMem) {
77 (*pFree)(pContext, buffer);
79 free(buffer);
    [all...]
  /external/skia/src/effects/
SkLayerRasterizer.cpp 156 static void paint_read(SkPaint* paint, SkFlattenableReadBuffer& buffer)
158 paint->setAntiAlias(buffer.readBool());
159 paint->setStyle((SkPaint::Style)buffer.readU8());
160 paint->setAlpha(buffer.readU8());
164 paint->setStrokeWidth(buffer.readScalar());
165 paint->setStrokeMiter(buffer.readScalar());
166 paint->setStrokeCap((SkPaint::Cap)buffer.readU8());
167 paint->setStrokeJoin((SkPaint::Join)buffer.readU8());
170 paint->setMaskFilter((SkMaskFilter*)buffer.readFlattenable())->safeUnref();
171 paint->setPathEffect((SkPathEffect*)buffer.readFlattenable())->safeUnref()
    [all...]
  /external/webkit/WebCore/html/canvas/
WebGLByteArray.cpp 38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(signed char)); local
39 return create(buffer, 0, length);
50 PassRefPtr<WebGLByteArray> WebGLByteArray::create(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
52 if (buffer) {
55 if ((byteOffset + (length * sizeof(signed char))) > buffer->byteLength())
59 return adoptRef(new WebGLByteArray(buffer, byteOffset, length));
62 WebGLByteArray::WebGLByteArray(PassRefPtr<WebGLArrayBuffer> buffer, int offset, unsigned length)
63 : WebGLArray(buffer, offset)
81 unsigned bufferLength = buffer()->byteLength();
84 return create(buffer(), startByte, length)
    [all...]
WebGLFloatArray.cpp 37 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(float)); local
38 return create(buffer, 0, length);
49 PassRefPtr<WebGLFloatArray> WebGLFloatArray::create(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
55 if (buffer) {
58 if ((byteOffset + (length * sizeof(float))) > buffer->byteLength())
61 return adoptRef(new WebGLFloatArray(buffer, byteOffset, length));
64 WebGLFloatArray::WebGLFloatArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
65 : WebGLArray(buffer, byteOffset)
83 unsigned bufferLength = buffer()->byteLength();
86 return create(buffer(), startByte, length)
    [all...]
WebGLIntArray.cpp 38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(int)); local
39 return create(buffer, 0, length);
50 PassRefPtr<WebGLIntArray> WebGLIntArray::create(PassRefPtr<WebGLArrayBuffer> buffer,
58 if (buffer) {
61 if ((byteOffset + (length * sizeof(int))) > buffer->byteLength())
65 return adoptRef(new WebGLIntArray(buffer, byteOffset, length));
68 WebGLIntArray::WebGLIntArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
69 : WebGLArray(buffer, byteOffset)
87 unsigned bufferLength = buffer()->byteLength();
90 return create(buffer(), startByte, length)
    [all...]
WebGLShortArray.cpp 37 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(short)); local
38 return create(buffer, 0, length);
49 PassRefPtr<WebGLShortArray> WebGLShortArray::create(PassRefPtr<WebGLArrayBuffer> buffer,
57 if (buffer) {
60 if ((byteOffset + (length * sizeof(short))) > buffer->byteLength())
64 return adoptRef(new WebGLShortArray(buffer, byteOffset, length));
67 WebGLShortArray::WebGLShortArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
68 : WebGLArray(buffer, byteOffset)
86 unsigned bufferLength = buffer()->byteLength();
89 return create(buffer(), startByte, length)
    [all...]

Completed in 1042 milliseconds

1 2 34 5 6 7 8 91011>>