Home
last modified time | relevance | path

Searched refs:base_buf (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/gdbstub/src/protocol/common/
Dhex.rs87 pub fn decode_hex_buf(base_buf: &mut [u8]) -> Result<&mut [u8], DecodeHexBufError> { in decode_hex_buf()
90 if base_buf.is_empty() { in decode_hex_buf()
94 let odd_adust = base_buf.len() % 2; in decode_hex_buf()
96 base_buf[0] = ascii2byte(base_buf[0]).ok_or(NotAscii)?; in decode_hex_buf()
99 let buf = &mut base_buf[odd_adust..]; in decode_hex_buf()
145 unsafe { Ok(base_buf.get_unchecked_mut(..decoded_len + odd_adust)) } in decode_hex_buf()
154 pub fn decode_hex_buf(base_buf: &mut [u8]) -> Result<&mut [u8], DecodeHexBufError> { in decode_hex_buf()
157 let odd_adust = base_buf.len() % 2; in decode_hex_buf()
159 base_buf[0] = ascii2byte(base_buf[0]).ok_or(NotAscii)?; in decode_hex_buf()
161 let buf = &mut base_buf[odd_adust..]; in decode_hex_buf()
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_buffer.h165 struct pb_buffer **base_buf,
197 struct pb_buffer **base_buf, in pb_get_base_buffer() argument
202 base_buf = NULL; in pb_get_base_buffer()
208 buf->vtbl->get_base_buffer(buf, base_buf, offset); in pb_get_base_buffer()
209 assert(*base_buf); in pb_get_base_buffer()
210 assert(*offset < (*base_buf)->size); in pb_get_base_buffer()
Dpb_bufmgr_cache.c161 struct pb_buffer **base_buf, in pb_cache_buffer_get_base_buffer() argument
165 pb_get_base_buffer(buf->buffer, base_buf, offset); in pb_cache_buffer_get_base_buffer()
Dpb_bufmgr_mm.c153 struct pb_buffer **base_buf, in mm_buffer_get_base_buffer() argument
158 pb_get_base_buffer(mm->buffer, base_buf, offset); in mm_buffer_get_base_buffer()
Dpb_bufmgr_debug.c290 struct pb_buffer **base_buf, in pb_debug_buffer_get_base_buffer() argument
294 pb_get_base_buffer(buf->buffer, base_buf, offset); in pb_debug_buffer_get_base_buffer()
Dpb_buffer_fenced.c850 struct pb_buffer **base_buf, in fenced_buffer_get_base_buffer() argument
865 pb_get_base_buffer(fenced_buf->buffer, base_buf, offset); in fenced_buffer_get_base_buffer()
867 *base_buf = buf; in fenced_buffer_get_base_buffer()
Dpb_bufmgr_slab.c268 struct pb_buffer **base_buf, in pb_slab_buffer_get_base_buffer() argument
272 pb_get_base_buffer(buf->slab->bo, base_buf, offset); in pb_slab_buffer_get_base_buffer()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c172 struct pb_buffer **base_buf, in vmw_gmr_buffer_get_base_buffer() argument
175 *base_buf = buf; in vmw_gmr_buffer_get_base_buffer()
284 struct pb_buffer *base_buf; in vmw_gmr_bufmgr_region_ptr() local
288 pb_get_base_buffer( buf, &base_buf, &offset ); in vmw_gmr_bufmgr_region_ptr()
290 gmr_buf = vmw_gmr_buffer(base_buf); in vmw_gmr_bufmgr_region_ptr()
Dpb_buffer_simple_fenced.c685 struct pb_buffer **base_buf, in fenced_buffer_get_base_buffer() argument
696 pb_get_base_buffer(fenced_buf->buffer, base_buf, offset); in fenced_buffer_get_base_buffer()
698 *base_buf = buf; in fenced_buffer_get_base_buffer()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1061 agg::renderer_base<agg::pixfmt_gray8> base_buf(pixel_buf); in SetClipMask() local
1063 base_buf, path_rect.left, path_rect.top); in SetClipMask()