HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 251 - 275 of 13868) sorted by null

<<11121314151617181920>>

  /external/bluetooth/bluedroid/bta/hf_client/
bta_hf_client_at.c 254 ** No buffer parsing is being done here.
582 /* check for <cr><lf> and forward buffer if match */
592 static char *bta_hf_client_parse_ok(char *buffer)
594 AT_CHECK_EVENT(buffer, "OK");
595 AT_CHECK_RN(buffer);
599 return buffer;
602 static char *bta_hf_client_parse_error(char *buffer)
604 AT_CHECK_EVENT(buffer, "ERROR");
605 AT_CHECK_RN(buffer);
609 return buffer;
    [all...]
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-buffer-deserialize-text.hh 2 #line 1 "../../src/hb-buffer-deserialize-text.rl"
35 #line 36 "hb-buffer-deserialize-text.hh.tmp"
315 #line 91 "../../src/hb-buffer-deserialize-text.rl"
319 _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer,
328 (void) hb_buffer_get_glyph_positions (buffer, NULL);
332 if (p < pe && *p == (buffer->len ? '|' : '['))
342 #line 343 "hb-buffer-deserialize-text.hh.tmp"
347 #line 348 "hb-buffer-deserialize-text.hh.tmp"
373 #line 51 "../../src/hb-buffer-deserialize-text.rl"
379 #line 55 "../../src/hb-buffer-deserialize-text.rl
    [all...]
  /external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-drm/
wayland-drm.c 51 struct wl_drm_buffer *buffer = resource->data; local
52 struct wl_drm *drm = buffer->drm;
54 drm->callbacks->release_buffer(drm->user_data, buffer);
55 free(buffer);
77 struct wl_drm_buffer *buffer; local
79 buffer = calloc(1, sizeof *buffer);
80 if (buffer == NULL) {
85 buffer->drm = drm;
86 buffer->buffer.width = width
247 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local
255 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local
    [all...]
  /external/harfbuzz_ng/src/
hb-buffer-deserialize-text.hh 2 #line 1 "../../src/hb-buffer-deserialize-text.rl"
35 #line 36 "hb-buffer-deserialize-text.hh.tmp"
315 #line 91 "../../src/hb-buffer-deserialize-text.rl"
319 _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer,
328 (void) hb_buffer_get_glyph_positions (buffer, NULL);
332 if (p < pe && *p == (buffer->len ? '|' : '['))
342 #line 343 "hb-buffer-deserialize-text.hh.tmp"
347 #line 348 "hb-buffer-deserialize-text.hh.tmp"
373 #line 51 "../../src/hb-buffer-deserialize-text.rl"
379 #line 55 "../../src/hb-buffer-deserialize-text.rl
    [all...]
  /external/mesa3d/src/egl/wayland/wayland-drm/
wayland-drm.c 51 struct wl_drm_buffer *buffer = resource->data; local
52 struct wl_drm *drm = buffer->drm;
54 drm->callbacks->release_buffer(drm->user_data, buffer);
55 free(buffer);
77 struct wl_drm_buffer *buffer; local
79 buffer = calloc(1, sizeof *buffer);
80 if (buffer == NULL) {
85 buffer->drm = drm;
86 buffer->buffer.width = width
247 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local
255 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local
    [all...]
  /external/chromium_org/mojo/system/
message_pipe_unittest.cc 22 // - with buffer size 0 (and null buffer) -- should get size
23 // - with too-small buffer -- should get size
33 int32_t buffer[2]; local
34 const uint32_t kBufferSize = static_cast<uint32_t>(sizeof(buffer));
38 buffer[0] = 123;
39 buffer[1] = 456;
43 UserPointer<void>(buffer),
49 EXPECT_EQ(123, buffer[0]);
50 EXPECT_EQ(456, buffer[1])
239 int32_t buffer[1]; local
273 int32_t buffer[2]; local
413 int32_t buffer[1]; local
533 int32_t buffer[1]; local
    [all...]
  /external/valgrind/main/none/tests/ppc32/
data-cache-instructions.c 43 /* Test dcbzl at addr in buffer given dcbzl_block_size */
44 static void test_dcbzl_at(char *addr, char *buffer, int block_size)
48 /* Note: Assumption is that the length of buffer is three times the block_size. */
49 memset(buffer, 0xff, 3 * block_size);
52 assert(buffer[i] == 0xff);
53 assert(buffer[block_size + i] == 0x00);
54 assert(buffer[2 * block_size + i] == 0xff);
62 char *buffer = NULL; local
69 err = posix_memalign((void **) &buffer, block_size, buffer_size);
76 test_dcbzl_at(&buffer[block_size], buffer, block_size)
    [all...]
  /frameworks/webview/chromium/plat_support/
graphic_buffer_impl.cpp 38 GraphicBufferImpl* buffer = new GraphicBufferImpl( local
40 if (buffer->InitCheck() != NO_ERROR) {
41 delete buffer;
44 return reinterpret_cast<intptr_t>(buffer);
49 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local
50 delete buffer;
55 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local
56 return buffer->Map(mode, vaddr);
61 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local
62 return buffer->Unmap()
67 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local
73 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local
    [all...]
  /external/apache-http/src/org/apache/http/util/
ByteArrayBuffer.java 50 private byte[] buffer; field in class:ByteArrayBuffer
56 throw new IllegalArgumentException("Buffer capacity may not be negative");
58 this.buffer = new byte[capacity];
62 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)];
63 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len);
64 this.buffer = newbuffer;
79 if (newlen > this.buffer.length) {
82 System.arraycopy(b, off, this.buffer, this.len, len);
88 if (newlen > this.buffer.length) {
91 this.buffer[this.len] = (byte)b
148 public byte[] buffer() { method in class:ByteArrayBuffer
    [all...]
  /libcore/luni/src/main/java/java/net/
Socks4Message.java 55 protected byte[] buffer; field in class:Socks4Message
58 buffer = new byte[BUFFER_LENGTH];
66 return buffer[INDEX_COMMAND];
73 buffer[INDEX_COMMAND] = (byte) command;
80 return Memory.peekShort(buffer, INDEX_PORT, ByteOrder.BIG_ENDIAN);
87 Memory.pokeShort(buffer, INDEX_PORT, (short) port, ByteOrder.BIG_ENDIAN);
94 return Memory.peekInt(buffer, INDEX_IP, ByteOrder.BIG_ENDIAN);
101 buffer[INDEX_IP] = ip[0];
102 buffer[INDEX_IP + 1] = ip[1];
103 buffer[INDEX_IP + 2] = ip[2]
    [all...]
  /external/chromium_org/tools/gn/
c_include_iterator_unittest.cc 23 std::string buffer; local
24 buffer.append("// Some comment\n");
25 buffer.append("\n");
26 buffer.append("#include \"foo/bar.h\"\n");
27 buffer.append("\n");
28 buffer.append("#include <stdio.h>\n");
29 buffer.append("\n");
30 buffer.append(" #include \"foo/baz.h\"\n"); // Leading whitespace
31 buffer.append("#include \"la/deda.h\"\n");
32 buffer.append("#import \"weird_mac_import.h\"\n")
64 std::string buffer; local
82 std::string buffer; local
111 std::string buffer; local
    [all...]
  /frameworks/base/core/java/android/net/
SntpClient.java 78 byte[] buffer = new byte[NTP_PACKET_SIZE];
79 DatagramPacket request = new DatagramPacket(buffer, buffer.length, address, NTP_PORT);
84 buffer[0] = NTP_MODE_CLIENT | (NTP_VERSION << 3);
89 writeTimeStamp(buffer, TRANSMIT_TIME_OFFSET, requestTime);
94 DatagramPacket response = new DatagramPacket(buffer, buffer.length);
100 long originateTime = readTimeStamp(buffer, ORIGINATE_TIME_OFFSET);
101 long receiveTime = readTimeStamp(buffer, RECEIVE_TIME_OFFSET);
102 long transmitTime = readTimeStamp(buffer, TRANSMIT_TIME_OFFSET)
    [all...]
  /external/chromium_org/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
874 UChar buffer[32]; local
    [all...]
  /external/icu/icu4c/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
874 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...]
  /external/chromium_org/media/base/
container_names.cc 32 // Helper function to read 2 bytes (16 bits, big endian) from a buffer.
37 // Helper function to read 3 bytes (24 bits, big endian) from a buffer.
42 // Helper function to read 4 bytes (32 bits, big endian) from a buffer.
47 // Helper function to read 4 bytes (32 bits, little endian) from a buffer.
52 // Helper function to do buffer comparisons with a string without going off the
53 // end of the buffer.
54 static bool StartsWith(const uint8* buffer,
59 memcmp(buffer, prefix, prefix_size) == 0);
62 // Helper function to do buffer comparisons with another buffer (to allow fo
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
sctputils.cc 30 #include "webrtc/base/buffer.h"
51 bool ParseDataChannelOpenMessage(const rtc::Buffer& payload,
57 rtc::ByteBuffer buffer(payload.data(), payload.length());
60 if (!buffer.ReadUInt8(&message_type)) {
71 if (!buffer.ReadUInt8(&channel_type)) {
77 if (!buffer.ReadUInt16(&priority)) {
82 if (!buffer.ReadUInt32(&reliability_param)) {
87 if (!buffer.ReadUInt16(&label_length)) {
92 if (!buffer.ReadUInt16(&protocol_length)) {
96 if (!buffer.ReadString(label, (size_t) label_length))
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_vertex_buffers.h 116 bool vl_vb_init(struct vl_vertex_buffer *buffer,
120 unsigned vl_vb_attributes_per_plock(struct vl_vertex_buffer *buffer);
122 void vl_vb_map(struct vl_vertex_buffer *buffer, struct pipe_context *pipe);
124 struct pipe_vertex_buffer vl_vb_get_ycbcr(struct vl_vertex_buffer *buffer, int component);
126 struct vl_ycbcr_block *vl_vb_get_ycbcr_stream(struct vl_vertex_buffer *buffer, int component);
128 struct pipe_vertex_buffer vl_vb_get_mv(struct vl_vertex_buffer *buffer, int ref_frame);
130 unsigned vl_vb_get_mv_stream_stride(struct vl_vertex_buffer *buffer);
132 struct vl_motionvector *vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame);
134 void vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe);
136 void vl_vb_cleanup(struct vl_vertex_buffer *buffer);
    [all...]
  /external/mdnsresponder/mDNSShared/
mDNSDebug.c 55 char buffer[512]; local
58 buffer[mDNS_vsnprintf(buffer, sizeof(buffer), format, ptr)] = 0;
60 mDNSPlatformWriteDebugMsg(buffer);
67 char buffer[512]; local
68 buffer[mDNS_vsnprintf((char *)buffer, sizeof(buffer), format, ptr)] = 0;
69 mDNSPlatformWriteLogMsg(ProgramName, buffer, logLevel)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_vertex_buffers.h 116 bool vl_vb_init(struct vl_vertex_buffer *buffer,
120 unsigned vl_vb_attributes_per_plock(struct vl_vertex_buffer *buffer);
122 void vl_vb_map(struct vl_vertex_buffer *buffer, struct pipe_context *pipe);
124 struct pipe_vertex_buffer vl_vb_get_ycbcr(struct vl_vertex_buffer *buffer, int component);
126 struct vl_ycbcr_block *vl_vb_get_ycbcr_stream(struct vl_vertex_buffer *buffer, int component);
128 struct pipe_vertex_buffer vl_vb_get_mv(struct vl_vertex_buffer *buffer, int ref_frame);
130 unsigned vl_vb_get_mv_stream_stride(struct vl_vertex_buffer *buffer);
132 struct vl_motionvector *vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame);
134 void vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe);
136 void vl_vb_cleanup(struct vl_vertex_buffer *buffer);
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableHighSpeedVideoConfiguration.java 47 public void marshal(HighSpeedVideoConfiguration value, ByteBuffer buffer) {
48 buffer.putInt(value.getWidth());
49 buffer.putInt(value.getHeight());
50 buffer.putInt(value.getFpsMin());
51 buffer.putInt(value.getFpsMax());
55 public HighSpeedVideoConfiguration unmarshal(ByteBuffer buffer) {
56 int width = buffer.getInt();
57 int height = buffer.getInt();
58 int fpsMin = buffer.getInt();
59 int fpsMax = buffer.getInt()
    [all...]
MarshalQueryableRect.java 41 public void marshal(Rect value, ByteBuffer buffer) {
42 buffer.putInt(value.left);
43 buffer.putInt(value.top);
44 buffer.putInt(value.width());
45 buffer.putInt(value.height());
49 public Rect unmarshal(ByteBuffer buffer) {
50 int left = buffer.getInt();
51 int top = buffer.getInt();
52 int width = buffer.getInt();
53 int height = buffer.getInt()
    [all...]
MarshalQueryableStreamConfiguration.java 45 public void marshal(StreamConfiguration value, ByteBuffer buffer) {
46 buffer.putInt(value.getFormat());
47 buffer.putInt(value.getWidth());
48 buffer.putInt(value.getHeight());
49 buffer.putInt(value.isInput() ? 1 : 0);
53 public StreamConfiguration unmarshal(ByteBuffer buffer) {
54 int format = buffer.getInt();
55 int width = buffer.getInt();
56 int height = buffer.getInt();
57 boolean input = buffer.getInt() != 0
    [all...]
MarshalQueryableStreamConfigurationDuration.java 54 public void marshal(StreamConfigurationDuration value, ByteBuffer buffer) {
55 buffer.putLong(value.getFormat() & MASK_UNSIGNED_INT); // unsigned int -> long
56 buffer.putLong(value.getWidth());
57 buffer.putLong(value.getHeight());
58 buffer.putLong(value.getDuration());
62 public StreamConfigurationDuration unmarshal(ByteBuffer buffer) {
63 int format = (int)buffer.getLong();
64 int width = (int)buffer.getLong();
65 int height = (int)buffer.getLong();
66 long durationNs = buffer.getLong()
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
CharacterDataImpl.java 35 protected StringBuffer buffer; field in class:CharacterDataImpl
43 buffer.append(arg);
47 buffer.delete(offset, offset + count);
51 return buffer.toString();
58 stringBuilder.append(buffer);
62 return buffer.length();
72 buffer.insert(offset, arg);
81 buffer.replace(offset, offset + count, arg);
88 buffer = new StringBuffer(data);
93 return buffer.substring(offset, offset + count)
    [all...]

Completed in 539 milliseconds

<<11121314151617181920>>