HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 601 - 625 of 9401) sorted by null

<<21222324252627282930>>

  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
DecodingImageGenerator.cpp 56 RefPtr<SharedBuffer> buffer = nullptr; local
58 m_frameGenerator->copyData(&buffer, &allDataReceived);
59 if (buffer && allDataReceived)
60 return SkData::NewWithCopy(buffer->data(), buffer->size());
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-buffer-serialize.cc 27 #include "hb-buffer-private.hh"
92 _hb_buffer_serialize_glyphs_json (hb_buffer_t *buffer,
101 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL);
102 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL);
165 _hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer,
174 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL);
175 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL);
229 * @buffer: a buffer.
246 hb_buffer_serialize_glyphs (hb_buffer_t *buffer,
    [all...]
hb-graphite2.cc 218 hb_buffer_t *buffer,
226 const char *lang = hb_language_to_string (hb_buffer_get_language (buffer));
245 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size);
249 for (unsigned int i = 0; i < buffer->len; ++i)
250 chars[i] = buffer->info[i].codepoint;
253 hb_ot_tags_from_script (hb_buffer_get_script (buffer), &script_tag[0], &script_tag[1]);
258 gr_utf32, chars, buffer->len,
259 2 | (hb_buffer_get_direction (buffer) == HB_DIRECTION_RTL ? 1 : 0));
273 scratch = buffer->get_scratch_buffer (&scratch_size);
274 while ((DIV_CEIL (sizeof (hb_graphite2_cluster_t) * buffer->len, sizeof (*scratch))
    [all...]
  /external/chromium_org/third_party/icu/source/common/
ucat.c 24 * Fill in buffer with a set_num/msg_num key string, given the numeric
25 * values. Numeric values must be >= 0. Buffer must be of length
29 _catkey(char* buffer, int32_t set_num, int32_t msg_num) {
31 i = T_CString_integerToString(buffer, set_num, 10);
32 buffer[i++] = SEPARATOR;
33 T_CString_integerToString(buffer+i, msg_num, 10);
34 return buffer;
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
DataChannel.java 62 public static class Buffer {
72 public Buffer(ByteBuffer data, boolean binary) {
83 * A data buffer was successfully received. NOTE: |buffer.data| will be
87 public void onMessage(Buffer buffer);
130 public boolean send(Buffer buffer) {
133 byte[] data = new byte[buffer.data.remaining()];
134 buffer.data.get(data)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
filevideocapturer.cc 69 rtc::ByteBuffer buffer; local
70 buffer.WriteUInt32(frame.width);
71 buffer.WriteUInt32(frame.height);
72 buffer.WriteUInt32(frame.fourcc);
73 buffer.WriteUInt32(frame.pixel_width);
74 buffer.WriteUInt32(frame.pixel_height);
75 buffer.WriteUInt64(frame.elapsed_time);
76 buffer.WriteUInt64(frame.time_stamp);
77 buffer.WriteUInt32(size);
80 if (rtc::SR_SUCCESS != video_file_.Write(buffer.Data()
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_mc.h 87 bool vl_mc_init_buffer(struct vl_mc *renderer, struct vl_mc_buffer *buffer);
89 void vl_mc_cleanup_buffer(struct vl_mc_buffer *buffer);
91 void vl_mc_set_surface(struct vl_mc_buffer *buffer, struct pipe_surface *surface);
93 void vl_mc_render_ref(struct vl_mc *renderer, struct vl_mc_buffer *buffer, struct pipe_sampler_view *ref);
95 void vl_mc_render_ycbcr(struct vl_mc *renderer, struct vl_mc_buffer *buffer, unsigned component, unsigned num_instances);
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
translate_test.c 57 unsigned char* buffer[5]; local
136 for (i = 1; i < Elements(buffer); ++i)
137 buffer[i] = align_malloc(buffer_size, 4096);
249 memset(buffer[i], 0xcd - (0x22 * i), 4096);
252 buffer[0] = (unsigned char*)float_buffer;
254 buffer[0] = (unsigned char*)double_buffer;
256 buffer[0] = (unsigned char*)half_buffer;
260 buffer[0] = byte_buffer;
262 translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1);
263 translate[0]->run_elts(translate[0], elts, count, 0, buffer[1])
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_device/android/
fine_audio_buffer.cc 39 // audio frames are pulled in chunks of 10ms we will need a buffer that can
44 void FineAudioBuffer::GetBufferData(int8_t* buffer) {
46 memcpy(buffer, &cache_buffer_.get()[cached_buffer_start_],
53 memcpy(buffer, &cache_buffer_.get()[cached_buffer_start_], cached_bytes_);
54 // Push another n*10ms of audio to |buffer|. n > 1 if
57 int8_t* unwritten_buffer = &buffer[cached_bytes_];
74 // Put the samples that were written to |buffer| but are not used in the
77 int8_t* cache_ptr = &buffer[cache_location];
80 // If cached_bytes_ is larger than the cache buffer, uninitialized memory
  /external/chromium_org/third_party/webrtc/modules/video_coding/codecs/i420/main/source/
i420.cc 101 // Reallocate buffer.
108 uint8_t *buffer = _encodedImage._buffer; local
110 buffer = InsertHeader(buffer, width, height);
113 buffer);
122 uint8_t* I420Encoder::InsertHeader(uint8_t *buffer, uint16_t width,
124 *buffer++ = static_cast<uint8_t>(width >> 8);
125 *buffer++ = static_cast<uint8_t>(width & 0xFF);
126 *buffer++ = static_cast<uint8_t>(height >> 8);
127 *buffer++ = static_cast<uint8_t>(height & 0xFF)
189 const uint8_t* buffer = inputImage._buffer; local
    [all...]
  /external/chromium_org/ui/ozone/platform/dri/
gbm_buffer.cc 56 scoped_refptr<GbmBuffer> buffer(new GbmBuffer(dri, bo, scanout));
57 if (scanout && !buffer->GetFramebufferId())
60 return buffer;
63 GbmPixmap::GbmPixmap(scoped_refptr<GbmBuffer> buffer) : buffer_(buffer) {
hardware_display_controller.cc 59 OverlayPlane::OverlayPlane(scoped_refptr<ScanoutBuffer> buffer)
60 : buffer(buffer),
62 display_bounds(gfx::Point(), buffer->GetSize()),
66 OverlayPlane::OverlayPlane(scoped_refptr<ScanoutBuffer> buffer,
71 : buffer(buffer),
99 DCHECK(primary.buffer.get());
103 status &= ModesetCrtc(primary.buffer, mode, crtc_states_[i]);
120 DCHECK(primary.buffer.get())
    [all...]
  /external/harfbuzz_ng/src/
hb-buffer-serialize.cc 27 #include "hb-buffer-private.hh"
92 _hb_buffer_serialize_glyphs_json (hb_buffer_t *buffer,
101 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL);
102 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL);
165 _hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer,
174 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL);
175 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL);
229 * @buffer: a buffer.
246 hb_buffer_serialize_glyphs (hb_buffer_t *buffer,
    [all...]
  /external/harfbuzz_ng/util/
view-cairo.hh 54 void consume_text (hb_buffer_t *buffer,
60 void shape_failed (hb_buffer_t *buffer,
67 void consume_glyphs (hb_buffer_t *buffer,
72 direction = hb_buffer_get_direction (buffer);
74 helper_cairo_line_from_buffer (&l, buffer, text, text_len, scale, utf8_clusters);
options.hh 197 void setup_buffer (hb_buffer_t *buffer)
199 hb_buffer_set_direction (buffer, hb_direction_from_string (direction, -1));
200 hb_buffer_set_script (buffer, hb_script_from_string (script, -1));
201 hb_buffer_set_language (buffer, hb_language_from_string (language, -1));
202 hb_buffer_set_flags (buffer, (hb_buffer_flags_t) (HB_BUFFER_FLAG_DEFAULT |
206 hb_buffer_guess_segment_properties (buffer);
209 void populate_buffer (hb_buffer_t *buffer, const char *text, int text_len,
212 hb_buffer_clear_contents (buffer);
215 hb_buffer_add_utf8 (buffer, text_before, len, len, 0);
217 hb_buffer_add_utf8 (buffer, text, text_len, 0, text_len)
    [all...]
  /external/icu/icu4c/source/common/
ucat.c 24 * Fill in buffer with a set_num/msg_num key string, given the numeric
25 * values. Numeric values must be >= 0. Buffer must be of length
29 _catkey(char* buffer, int32_t set_num, int32_t msg_num) {
31 i = T_CString_integerToString(buffer, set_num, 10);
32 buffer[i++] = SEPARATOR;
33 T_CString_integerToString(buffer+i, msg_num, 10);
34 return buffer;
  /external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/
Android.mk 17 test_makefile := external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/Android.mk
19 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekpos
23 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsync
27 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsetbuf
31 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekoff
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_mc.h 87 bool vl_mc_init_buffer(struct vl_mc *renderer, struct vl_mc_buffer *buffer);
89 void vl_mc_cleanup_buffer(struct vl_mc_buffer *buffer);
91 void vl_mc_set_surface(struct vl_mc_buffer *buffer, struct pipe_surface *surface);
93 void vl_mc_render_ref(struct vl_mc *renderer, struct vl_mc_buffer *buffer, struct pipe_sampler_view *ref);
95 void vl_mc_render_ycbcr(struct vl_mc *renderer, struct vl_mc_buffer *buffer, unsigned component, unsigned num_instances);
  /external/mesa3d/src/gallium/tests/unit/
translate_test.c 57 unsigned char* buffer[5]; local
136 for (i = 1; i < Elements(buffer); ++i)
137 buffer[i] = align_malloc(buffer_size, 4096);
249 memset(buffer[i], 0xcd - (0x22 * i), 4096);
252 buffer[0] = (unsigned char*)float_buffer;
254 buffer[0] = (unsigned char*)double_buffer;
256 buffer[0] = (unsigned char*)half_buffer;
260 buffer[0] = byte_buffer;
262 translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1);
263 translate[0]->run_elts(translate[0], elts, count, 0, buffer[1])
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
Event.java 114 protected StringBuffer encodeBody(StringBuffer buffer) {
116 buffer.append(eventType);
119 buffer.append(SEMICOLON);
120 this.parameters.encode(buffer);
122 return buffer;
  /external/oprofile/libop/
op_xml_out.h 64 void open_xml_element(tag_t tag, int with_attrs, char *buffer, size_t size);
65 void close_xml_element(tag_t tag, int has_nested, char *buffer, size_t size);
66 void init_xml_int_attr(tag_t attr, int value, char *buffer, size_t size);
67 void init_xml_dbl_attr(tag_t attr, double value, char *buffer, size_t size);
68 void init_xml_str_attr(tag_t attr, char const *str, char *buffer, size_t size);
  /external/chromium_org/content/browser/device_sensors/
data_fetcher_shared_memory_base_unittest.cc 37 bool Init(ConsumerType consumer_type, void* buffer) {
38 EXPECT_TRUE(buffer);
42 motion_buffer_ = static_cast<DeviceMotionHardwareBuffer*>(buffer);
46 static_cast<DeviceOrientationHardwareBuffer*>(buffer);
49 light_buffer_ = static_cast<DeviceLightHardwareBuffer*>(buffer);
58 DeviceLightHardwareBuffer* buffer = GetLightBuffer(); local
59 ASSERT_TRUE(buffer);
60 buffer->seqlock.WriteBegin();
61 buffer->data.value = 100;
62 buffer->seqlock.WriteEnd()
67 DeviceMotionHardwareBuffer* buffer = GetMotionBuffer(); local
76 DeviceOrientationHardwareBuffer* buffer = GetOrientationBuffer(); local
    [all...]
  /external/e2fsprogs/ext2ed/
inode_com.c 26 char *ptr,buffer [80]; local
32 ptr=parse_word (command_line,buffer);
35 ptr=parse_word (ptr,buffer);
36 mult=atol (buffer);
55 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer);
56 strcpy (buffer,"show");dispatch (buffer);
73 char *ptr,buffer [80]; local
79 ptr=parse_word (command_line,buffer);
285 char *ptr,buffer [80]; local
318 char buffer [80]; local
332 char buffer [80]; local
350 char buffer [80]; local
    [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/utils/
Util.java 421 StringBuffer buffer = new StringBuffer(); local
424 buffer.append("00:00:"); //$NON-NLS-1$
425 if (seconds < 10) buffer.append('0');
426 buffer.append(seconds);
430 buffer.append("00:"); //$NON-NLS-1$
431 if (minutes < 10) buffer.append('0');
432 buffer.append(minutes);
433 buffer.append(':');
435 if (seconds < 10) buffer.append('0');
436 buffer.append(seconds)
486 StringBuffer buffer = new StringBuffer(); local
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
cmd_parser_test.cc 24 // a fixed size memory buffer. Also provides a simple API to create a
44 // Creates a parser, with a buffer of the specified size (in entries).
53 parser->SetBuffer(buffer(), shm_size, 0, command_buffer_size);
59 CommandBufferEntry *buffer() { return buffer_.get(); } function in class:gpu::CommandParserTest
84 buffer()[put++].value_header = header;
96 buffer()[put++].value_header = header;
97 buffer()[put++].value_int32 = 2134;
98 buffer()[put++].value_float = 1.f;
108 // Tests having multiple commands in the buffer.
117 buffer()[put++].value_header = header
    [all...]

Completed in 772 milliseconds

<<21222324252627282930>>