Home
last modified time | relevance | path

Searched refs:rb (Results 1 – 25 of 778) sorted by relevance

12345678910>>...32

/third_party/skia/third_party/externals/brotli/c/enc/
Dringbuffer.h49 static BROTLI_INLINE void RingBufferInit(RingBuffer* rb) { in RingBufferInit() argument
50 rb->cur_size_ = 0; in RingBufferInit()
51 rb->pos_ = 0; in RingBufferInit()
52 rb->data_ = 0; in RingBufferInit()
53 rb->buffer_ = 0; in RingBufferInit()
57 const BrotliEncoderParams* params, RingBuffer* rb) { in RingBufferSetup() argument
60 *(uint32_t*)&rb->size_ = 1u << window_bits; in RingBufferSetup()
61 *(uint32_t*)&rb->mask_ = (1u << window_bits) - 1; in RingBufferSetup()
62 *(uint32_t*)&rb->tail_size_ = 1u << tail_bits; in RingBufferSetup()
63 *(uint32_t*)&rb->total_size_ = rb->size_ + rb->tail_size_; in RingBufferSetup()
[all …]
/third_party/node/deps/brotli/c/enc/
Dringbuffer.h49 static BROTLI_INLINE void RingBufferInit(RingBuffer* rb) { in RingBufferInit() argument
50 rb->cur_size_ = 0; in RingBufferInit()
51 rb->pos_ = 0; in RingBufferInit()
52 rb->data_ = 0; in RingBufferInit()
53 rb->buffer_ = 0; in RingBufferInit()
57 const BrotliEncoderParams* params, RingBuffer* rb) { in RingBufferSetup() argument
60 *(uint32_t*)&rb->size_ = 1u << window_bits; in RingBufferSetup()
61 *(uint32_t*)&rb->mask_ = (1u << window_bits) - 1; in RingBufferSetup()
62 *(uint32_t*)&rb->tail_size_ = 1u << tail_bits; in RingBufferSetup()
63 *(uint32_t*)&rb->total_size_ = rb->size_ + rb->tail_size_; in RingBufferSetup()
[all …]
/third_party/weston/libweston/
Dweston-log-flight-rec.c58 struct weston_ring_buffer rb; member
62 weston_ring_buffer_init(struct weston_ring_buffer *rb, size_t size, char *buf) in weston_ring_buffer_init() argument
64 rb->append_pos = 0; in weston_ring_buffer_init()
65 rb->size = size - 1; in weston_ring_buffer_init()
66 rb->buf = buf; in weston_ring_buffer_init()
67 rb->overlap = false; in weston_ring_buffer_init()
68 rb->file = stderr; in weston_ring_buffer_init()
78 weston_log_flight_recorder_adjust_end(struct weston_ring_buffer *rb, in weston_log_flight_recorder_adjust_end() argument
81 if (rb->append_pos == rb->size - bytes_to_advance) in weston_log_flight_recorder_adjust_end()
82 rb->append_pos = 0; in weston_log_flight_recorder_adjust_end()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c38 set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) in set_renderbuffer_format() argument
40 struct nouveau_surface *s = &to_nouveau_renderbuffer(rb)->surface; in set_renderbuffer_format()
42 rb->InternalFormat = internalFormat; in set_renderbuffer_format()
47 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
48 rb->Format = MESA_FORMAT_B8G8R8X8_UNORM; in set_renderbuffer_format()
53 rb->_BaseFormat = GL_RGBA; in set_renderbuffer_format()
54 rb->Format = MESA_FORMAT_B8G8R8A8_UNORM; in set_renderbuffer_format()
58 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
59 rb->Format = MESA_FORMAT_B5G6R5_UNORM; in set_renderbuffer_format()
63 rb->_BaseFormat = GL_DEPTH_COMPONENT; in set_renderbuffer_format()
[all …]
/third_party/mesa3d/src/mesa/main/
Drenderbuffer.c40 _mesa_init_renderbuffer(struct gl_renderbuffer *rb, GLuint name) in _mesa_init_renderbuffer() argument
44 rb->ClassID = 0; in _mesa_init_renderbuffer()
45 rb->Name = name; in _mesa_init_renderbuffer()
46 rb->RefCount = 1; in _mesa_init_renderbuffer()
47 rb->Delete = _mesa_delete_renderbuffer; in _mesa_init_renderbuffer()
52 rb->AllocStorage = NULL; in _mesa_init_renderbuffer()
54 rb->Width = 0; in _mesa_init_renderbuffer()
55 rb->Height = 0; in _mesa_init_renderbuffer()
56 rb->Depth = 0; in _mesa_init_renderbuffer()
69 rb->InternalFormat = GL_RGBA4; in _mesa_init_renderbuffer()
[all …]
Drenderbuffer.h41 _mesa_init_renderbuffer(struct gl_renderbuffer *rb, GLuint name);
47 _mesa_delete_renderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb);
52 struct gl_renderbuffer *rb);
57 struct gl_renderbuffer *rb);
65 struct gl_renderbuffer *rb);
69 struct gl_renderbuffer *rb) in _mesa_reference_renderbuffer() argument
71 if (*ptr != rb) in _mesa_reference_renderbuffer()
72 _mesa_reference_renderbuffer_(ptr, rb); in _mesa_reference_renderbuffer()
Dreadpix.c158 struct gl_renderbuffer *rb = in _mesa_readpixels_needs_slow_path() local
162 assert(rb); in _mesa_readpixels_needs_slow_path()
181 if (_mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, in _mesa_readpixels_needs_slow_path()
187 return _mesa_get_readpixels_transfer_ops(ctx, rb->Format, format, type, in _mesa_readpixels_needs_slow_path()
198 struct gl_renderbuffer *rb = in readpixels_can_use_memcpy() local
201 assert(rb); in readpixels_can_use_memcpy()
208 if (rb->_BaseFormat != _mesa_get_format_base_format(rb->Format)) { in readpixels_can_use_memcpy()
213 if (!_mesa_format_matches_format_and_type(rb->Format, format, type, in readpixels_can_use_memcpy()
230 struct gl_renderbuffer *rb = in readpixels_memcpy() local
244 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in readpixels_memcpy()
[all …]
/third_party/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c57 soft_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, in soft_renderbuffer_storage() argument
61 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in soft_renderbuffer_storage()
73 rb->Format = MESA_FORMAT_BGR_UNORM8; in soft_renderbuffer_storage()
83 rb->Format = MESA_FORMAT_R8G8B8A8_UNORM; in soft_renderbuffer_storage()
85 rb->Format = MESA_FORMAT_A8B8G8R8_UNORM; in soft_renderbuffer_storage()
91 rb->Format = MESA_FORMAT_RGBA_SNORM16; in soft_renderbuffer_storage()
98 rb->Format = MESA_FORMAT_S_UINT8; in soft_renderbuffer_storage()
102 rb->Format = MESA_FORMAT_Z_UNORM16; in soft_renderbuffer_storage()
105 rb->Format = MESA_FORMAT_Z24_UNORM_X8_UINT; in soft_renderbuffer_storage()
108 rb->Format = MESA_FORMAT_Z_UNORM32; in soft_renderbuffer_storage()
[all …]
Ds_depth.c211 get_z32_values(struct gl_context *ctx, struct gl_renderbuffer *rb, in get_z32_values() argument
215 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in get_z32_values()
216 const GLint w = rb->Width, h = rb->Height; in get_z32_values()
217 const GLubyte *map = _swrast_pixel_address(rb, 0, 0); in get_z32_values()
220 if (rb->Format == MESA_FORMAT_Z_UNORM32) { in get_z32_values()
229 const GLint bpp = _mesa_get_format_bytes(rb->Format); in get_z32_values()
234 _mesa_unpack_uint_z_row(rb->Format, 1, src, &zbuffer[i]); in get_z32_values()
332 put_z32_values(struct gl_context *ctx, struct gl_renderbuffer *rb, in put_z32_values() argument
336 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in put_z32_values()
337 const GLint w = rb->Width, h = rb->Height; in put_z32_values()
[all …]
Ds_texrender.c18 delete_texture_wrapper(struct gl_context *ctx, struct gl_renderbuffer *rb) in delete_texture_wrapper() argument
20 assert(rb->RefCount == 0); in delete_texture_wrapper()
21 free(rb); in delete_texture_wrapper()
32 struct gl_renderbuffer *rb = att->Renderbuffer; in update_wrapper() local
33 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in update_wrapper()
40 swImage = swrast_texture_image(rb->TexImage); in update_wrapper()
53 rb->Format = _mesa_get_srgb_format_linear(format); in update_wrapper()
82 struct gl_renderbuffer *rb = att->Renderbuffer; in _swrast_render_texture() local
86 rb->Delete = delete_texture_wrapper; in _swrast_render_texture()
94 struct gl_renderbuffer *rb) in _swrast_finish_render_texture() argument
[all …]
Ds_stencil.c293 get_s8_values(struct gl_context *ctx, struct gl_renderbuffer *rb, in get_s8_values() argument
297 struct swrast_renderbuffer *srb = swrast_renderbuffer(rb); in get_s8_values()
298 const GLint w = rb->Width, h = rb->Height; in get_s8_values()
299 const GLubyte *map = _swrast_pixel_address(rb, 0, 0); in get_s8_values()
302 if (rb->Format == MESA_FORMAT_S_UINT8) { in get_s8_values()
311 const GLint bpp = _mesa_get_format_bytes(rb->Format); in get_s8_values()
316 _mesa_unpack_ubyte_stencil_row(rb->Format, 1, src, &stencil[i]); in get_s8_values()
387 put_s8_values(struct gl_context *ctx, struct gl_renderbuffer *rb, in put_s8_values() argument
391 const GLint w = rb->Width, h = rb->Height; in put_s8_values()
393 get_pack_ubyte_stencil_func(rb->Format); in put_s8_values()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_fbo.c50 radeon_delete_renderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb) in radeon_delete_renderbuffer() argument
52 struct radeon_renderbuffer *rrb = radeon_renderbuffer(rb); in radeon_delete_renderbuffer()
56 __func__, rb, rrb); in radeon_delete_renderbuffer()
63 _mesa_delete_renderbuffer(ctx, rb); in radeon_delete_renderbuffer()
147 radeon_map_renderbuffer_s8z24(struct gl_renderbuffer *rb, in radeon_map_renderbuffer_s8z24() argument
153 struct radeon_renderbuffer *rrb = radeon_renderbuffer(rb); in radeon_map_renderbuffer_s8z24()
156 int y_flip = (rb->Name == 0) ? -1 : 1; in radeon_map_renderbuffer_s8z24()
157 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_s8z24()
185 radeon_map_renderbuffer_z16(struct gl_renderbuffer *rb, in radeon_map_renderbuffer_z16() argument
191 struct radeon_renderbuffer *rrb = radeon_renderbuffer(rb); in radeon_map_renderbuffer_z16()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_fbo.c50 radeon_delete_renderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb) in radeon_delete_renderbuffer() argument
52 struct radeon_renderbuffer *rrb = radeon_renderbuffer(rb); in radeon_delete_renderbuffer()
56 __func__, rb, rrb); in radeon_delete_renderbuffer()
63 _mesa_delete_renderbuffer(ctx, rb); in radeon_delete_renderbuffer()
147 radeon_map_renderbuffer_s8z24(struct gl_renderbuffer *rb, in radeon_map_renderbuffer_s8z24() argument
153 struct radeon_renderbuffer *rrb = radeon_renderbuffer(rb); in radeon_map_renderbuffer_s8z24()
156 int y_flip = (rb->Name == 0) ? -1 : 1; in radeon_map_renderbuffer_s8z24()
157 int y_bias = (rb->Name == 0) ? (rb->Height - 1) : 0; in radeon_map_renderbuffer_s8z24()
185 radeon_map_renderbuffer_z16(struct gl_renderbuffer *rb, in radeon_map_renderbuffer_z16() argument
191 struct radeon_renderbuffer *rrb = radeon_renderbuffer(rb); in radeon_map_renderbuffer_z16()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c69 intel_delete_renderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb) in intel_delete_renderbuffer() argument
71 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in intel_delete_renderbuffer()
77 _mesa_delete_renderbuffer(ctx, rb); in intel_delete_renderbuffer()
85 struct gl_renderbuffer *rb, in intel_map_renderbuffer() argument
93 struct swrast_renderbuffer *srb = (struct swrast_renderbuffer *)rb; in intel_map_renderbuffer()
94 struct intel_renderbuffer *irb = intel_renderbuffer(rb); in intel_map_renderbuffer()
99 assert((rb->Name == 0) == flip_y); in intel_map_renderbuffer()
103 GLint bpp = _mesa_get_format_bytes(rb->Format); in intel_map_renderbuffer()
116 if (rb->Name == 0) { in intel_map_renderbuffer()
117 y = rb->Height - y - h; in intel_map_renderbuffer()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fbo.c58 brw_delete_renderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb) in brw_delete_renderbuffer() argument
60 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in brw_delete_renderbuffer()
67 _mesa_delete_renderbuffer(ctx, rb); in brw_delete_renderbuffer()
104 struct gl_renderbuffer *rb, in brw_map_renderbuffer() argument
112 struct swrast_renderbuffer *srb = (struct swrast_renderbuffer *)rb; in brw_map_renderbuffer()
113 struct brw_renderbuffer *irb = brw_renderbuffer(rb); in brw_map_renderbuffer()
120 GLint bpp = _mesa_get_format_bytes(rb->Format); in brw_map_renderbuffer()
142 if (rb->NumSamples > 1) { in brw_map_renderbuffer()
146 rb->Width, rb->Height, in brw_map_renderbuffer()
167 y = rb->Height - y - h; in brw_map_renderbuffer()
[all …]
/third_party/grpc/tools/run_tests/helper_scripts/
Drun_ruby_end2end_tests.sh22 time ruby src/ruby/end2end/sig_handling_driver.rb || EXIT_CODE=1
23 time ruby src/ruby/end2end/channel_state_driver.rb || EXIT_CODE=1
24 time ruby src/ruby/end2end/channel_closing_driver.rb || EXIT_CODE=1
25 time ruby src/ruby/end2end/sig_int_during_channel_watch_driver.rb || EXIT_CODE=1
26 time ruby src/ruby/end2end/killed_client_thread_driver.rb || EXIT_CODE=1
27 time ruby src/ruby/end2end/forking_client_driver.rb || EXIT_CODE=1
28 time ruby src/ruby/end2end/grpc_class_init_driver.rb || EXIT_CODE=1
29 time ruby src/ruby/end2end/multiple_killed_watching_threads_driver.rb || EXIT_CODE=1
30 time ruby src/ruby/end2end/load_grpc_with_gc_stress_driver.rb || EXIT_CODE=1
31 time ruby src/ruby/end2end/client_memory_usage_driver.rb || EXIT_CODE=1
[all …]
/third_party/gstreamer/gstplugins_bad/sys/opensles/
Dopenslesringbuffer.c111 _opensles_recorder_acquire (GstAudioRingBuffer * rb, in _opensles_recorder_acquire() argument
114 GstOpenSLESRingBuffer *thiz = GST_OPENSLES_RING_BUFFER_CAST (rb); in _opensles_recorder_acquire()
213 GstAudioRingBuffer *rb = GST_AUDIO_RING_BUFFER_CAST (context); in _opensles_recorder_cb() local
214 GstOpenSLESRingBuffer *thiz = GST_OPENSLES_RING_BUFFER_CAST (rb); in _opensles_recorder_cb()
222 gst_audio_ring_buffer_advance (rb, 1); in _opensles_recorder_cb()
226 if (!gst_audio_ring_buffer_prepare_read (rb, &seg, &ptr, &len)) { in _opensles_recorder_cb()
227 GST_WARNING_OBJECT (rb, "No segment available"); in _opensles_recorder_cb()
243 _opensles_recorder_start (GstAudioRingBuffer * rb) in _opensles_recorder_start() argument
245 GstOpenSLESRingBuffer *thiz = GST_OPENSLES_RING_BUFFER_CAST (rb); in _opensles_recorder_start()
251 _opensles_recorder_cb, rb); in _opensles_recorder_start()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/intel/
Dfilter_sse2_intrinsics.c59 size_t rb; in png_read_filter_row_sub3_sse2() local
65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2()
66 while (rb >= 4) { in png_read_filter_row_sub3_sse2()
72 rb -= 3; in png_read_filter_row_sub3_sse2()
74 if (rb > 0) { in png_read_filter_row_sub3_sse2()
80 rb -= 3; in png_read_filter_row_sub3_sse2()
92 size_t rb; in png_read_filter_row_sub4_sse2() local
98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2()
99 while (rb > 4) { in png_read_filter_row_sub4_sse2()
105 rb -= 4; in png_read_filter_row_sub4_sse2()
[all …]
/third_party/libpng/intel/
Dfilter_sse2_intrinsics.c59 size_t rb; in png_read_filter_row_sub3_sse2() local
65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2()
66 while (rb >= 4) { in png_read_filter_row_sub3_sse2()
72 rb -= 3; in png_read_filter_row_sub3_sse2()
74 if (rb > 0) { in png_read_filter_row_sub3_sse2()
80 rb -= 3; in png_read_filter_row_sub3_sse2()
92 size_t rb; in png_read_filter_row_sub4_sse2() local
98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2()
99 while (rb > 4) { in png_read_filter_row_sub4_sse2()
105 rb -= 4; in png_read_filter_row_sub4_sse2()
[all …]
/third_party/skia/third_party/externals/libpng/intel/
Dfilter_sse2_intrinsics.c59 size_t rb; in png_read_filter_row_sub3_sse2() local
65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2()
66 while (rb >= 4) { in png_read_filter_row_sub3_sse2()
72 rb -= 3; in png_read_filter_row_sub3_sse2()
74 if (rb > 0) { in png_read_filter_row_sub3_sse2()
80 rb -= 3; in png_read_filter_row_sub3_sse2()
92 size_t rb; in png_read_filter_row_sub4_sse2() local
98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2()
99 while (rb > 4) { in png_read_filter_row_sub4_sse2()
105 rb -= 4; in png_read_filter_row_sub4_sse2()
[all …]
/third_party/weston/doc/scripts/gdb/
Dflight_rec.py33 self.rb = ''
41 self.rb = ring_buff
42 self.display_rb_data(self.rb)
49 def display_rb_data(self, rb): argument
53 if rb.value():
55 "Overlaped: {overlap}".format(append=rb.value()['append_pos'],
56 size=rb.value()['size'],
57 overlap=rb.value()['overlap']))
63 _str += chr(self.rb.value()['buf'][j])
70 if self.rb.value() == 0x0:
[all …]
/third_party/ffmpeg/libavcodec/
Dopus_rc.c43 av_assert0(rc->rng_cur < rc->rb.position); in opus_rc_enc_carryout()
144 while (rc->rb.bytes && rc->rb.cachelen < count) { in ff_opus_rc_get_raw()
145 rc->rb.cacheval |= *--rc->rb.position << rc->rb.cachelen; in ff_opus_rc_get_raw()
146 rc->rb.cachelen += 8; in ff_opus_rc_get_raw()
147 rc->rb.bytes--; in ff_opus_rc_get_raw()
150 value = av_mod_uintp2(rc->rb.cacheval, count); in ff_opus_rc_get_raw()
151 rc->rb.cacheval >>= count; in ff_opus_rc_get_raw()
152 rc->rb.cachelen -= count; in ff_opus_rc_get_raw()
163 const int to_write = FFMIN(32 - rc->rb.cachelen, count); in ff_opus_rc_put_raw()
166 rc->rb.cacheval |= av_mod_uintp2(val, to_write) << rc->rb.cachelen; in ff_opus_rc_put_raw()
[all …]
/third_party/parse5/test/data/parser-feedback/
Druby.test4 "description": "<html><ruby>a<rb>b<rb></ruby></html>",
5 "input": "<html><ruby>a<rb>b<rb></ruby></html>",
23 "rb",
32 "rb",
46 "description": "<html><ruby>a<rb>b<rt></ruby></html>",
47 "input": "<html><ruby>a<rb>b<rt></ruby></html>",
65 "rb",
88 "description": "<html><ruby>a<rb>b<rtc></ruby></html>",
89 "input": "<html><ruby>a<rb>b<rtc></ruby></html>",
107 "rb",
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_measure.c401 struct intel_measure_ringbuffer *rb = device->ringbuffer; in intel_measure_push_result() local
420 const uint64_t prev_end_ts = rb->results[rb->head].end_ts; in intel_measure_push_result()
423 if (++rb->head == config.buffer_size) in intel_measure_push_result()
424 rb->head = 0; in intel_measure_push_result()
425 if (rb->head == rb->tail) { in intel_measure_push_result()
439 &rb->results[rb->head]; in intel_measure_push_result()
456 ringbuffer_size(const struct intel_measure_ringbuffer *rb) in ringbuffer_size() argument
458 unsigned head = rb->head; in ringbuffer_size()
459 if (head < rb->tail) in ringbuffer_size()
461 return head - rb->tail; in ringbuffer_size()
[all …]
/third_party/protobuf/ruby/
DRakefile34 output_file = "lib/" + proto_file.sub(/\.proto$/, "_pb.rb")
93 genproto_output << "tests/generated_code.rb"
94 genproto_output << "tests/generated_code_proto2.rb"
95 genproto_output << "tests/test_import.rb"
96 genproto_output << "tests/test_import_proto2.rb"
97 genproto_output << "tests/test_ruby_package.rb"
98 genproto_output << "tests/test_ruby_package_proto2.rb"
99 genproto_output << "tests/basic_test.rb"
100 genproto_output << "tests/basic_test_proto2.rb"
101 genproto_output << "tests/wrappers.rb"
[all …]

12345678910>>...32