Home
last modified time | relevance | path

Searched refs:_buf (Results 1 – 25 of 61) sorted by relevance

123

/third_party/lzma/CPP/7zip/Common/
DInBuffer.cpp10 _buf(NULL), in CInBufferBase()
42 _buf = _bufBase; in Init()
43 _bufLim = _buf; in Init()
59 _processedSize += (size_t)(_buf - _bufBase); in ReadBlock()
60 _buf = _bufBase; in ReadBlock()
71 _bufLim = _buf + processed; in ReadBlock()
85 b = *_buf++; in ReadByte_FromNewBlock()
96 return *_buf++; in ReadByte_FromNewBlock()
104 const size_t rem = (size_t)(_bufLim - _buf); in ReadBytes()
109 memcpy(buf, _buf, size); in ReadBytes()
[all …]
DFilterCoder.cpp20 ISzAlloc_Free(&alignedMidBuffer_Alloc, _buf); in ~CAlignedMidBuffer()
25 ISzAlloc_Free(&alignedMidBuffer_Alloc, _buf); in AllocAligned()
26 _buf = (Byte *)ISzAlloc_Alloc(&alignedMidBuffer_Alloc, size); in AllocAligned()
61 if (!_buf || _bufSize != size) in Alloc()
64 if (!_buf) in Alloc()
128 hres = ReadStream(inStream, _buf + readPos, &processedSize); in Z7_COM7F_IMF()
172 const UInt32 cur = Filter->Filter(_buf + filterPos, readPos - filterPos); in Z7_COM7F_IMF()
195 Byte *buf = _buf; in Z7_COM7F_IMF()
234 RINOK(WriteStream(outStream, _buf, writeSize)) in Z7_COM7F_IMF()
265 memmove(_buf, _buf + size, readPos); in Z7_COM7F_IMF()
[all …]
DInBuffer.h19 Byte *_buf;
44 UInt64 GetStreamSize() const { return _processedSize + (size_t)(_buf - _bufBase); } in GetStreamSize()
49 …UInt64 GetProcessedSize() const { return _processedSize + NumExtraBytes + (size_t)(_buf - _bufBase… in GetProcessedSize()
60 _buf = buf + pos; in SetBuf()
74 if (_buf >= _bufLim) in ReadByte()
76 b = *_buf++; in ReadByte()
83 if (_buf >= _bufLim) in ReadByte_FromBuf()
85 b = *_buf++; in ReadByte_FromBuf()
92 if (_buf >= _bufLim) in ReadByte()
94 return *_buf++; in ReadByte()
DOutBuffer.cpp14 if (_buf && _bufSize == bufSize) in Create()
18 _buf = (Byte *)::MidAlloc(bufSize); in Create()
19 return (_buf != NULL); in Create()
24 ::MidFree(_buf); in Free()
25 _buf = NULL; in Free()
59 memcpy(_buf2, _buf + _streamPos, size); in FlushPart()
70 result = _stream->Write(_buf + _streamPos, size, &processedSize); in FlushPart()
DStreamBinder.cpp57 _buf = NULL;
89 memcpy(data, _buf, size);
90 _buf = ((const Byte *)_buf) + size;
123 _buf = data;
DStreamObjects.h61 Byte *_buf;
64 CByteDynBuffer(): _capacity(0), _buf(NULL) {}
69 operator Byte*() const { return _buf; }
70 operator const Byte*() const { return _buf; }
DOutBuffer.h20 Byte *_buf;
36 COutBuffer(): _buf(NULL), _pos(0), _stream(NULL), _buf2(NULL) {} in COutBuffer()
51 _buf[pos] = b; in WriteByte()
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_cache.c108 pb_cache_buffer_destroy(void *winsys, struct pb_buffer *_buf) in pb_cache_buffer_destroy() argument
110 struct pb_cache_buffer *buf = pb_cache_buffer(_buf); in pb_cache_buffer_destroy()
124 pb_cache_buffer_map(struct pb_buffer *_buf, in pb_cache_buffer_map() argument
127 struct pb_cache_buffer *buf = pb_cache_buffer(_buf); in pb_cache_buffer_map()
133 pb_cache_buffer_unmap(struct pb_buffer *_buf) in pb_cache_buffer_unmap() argument
135 struct pb_cache_buffer *buf = pb_cache_buffer(_buf); in pb_cache_buffer_unmap()
141 pb_cache_buffer_validate(struct pb_buffer *_buf, in pb_cache_buffer_validate() argument
145 struct pb_cache_buffer *buf = pb_cache_buffer(_buf); in pb_cache_buffer_validate()
151 pb_cache_buffer_fence(struct pb_buffer *_buf, in pb_cache_buffer_fence() argument
154 struct pb_cache_buffer *buf = pb_cache_buffer(_buf); in pb_cache_buffer_fence()
[all …]
Dpb_bufmgr_debug.c229 pb_debug_buffer_destroy(void *winsys, struct pb_buffer *_buf) in pb_debug_buffer_destroy() argument
231 struct pb_debug_buffer *buf = pb_debug_buffer(_buf); in pb_debug_buffer_destroy()
250 pb_debug_buffer_map(struct pb_buffer *_buf, in pb_debug_buffer_map() argument
253 struct pb_debug_buffer *buf = pb_debug_buffer(_buf); in pb_debug_buffer_map()
272 pb_debug_buffer_unmap(struct pb_buffer *_buf) in pb_debug_buffer_unmap() argument
274 struct pb_debug_buffer *buf = pb_debug_buffer(_buf); in pb_debug_buffer_unmap()
289 pb_debug_buffer_get_base_buffer(struct pb_buffer *_buf, in pb_debug_buffer_get_base_buffer() argument
293 struct pb_debug_buffer *buf = pb_debug_buffer(_buf); in pb_debug_buffer_get_base_buffer()
300 pb_debug_buffer_validate(struct pb_buffer *_buf, in pb_debug_buffer_validate() argument
304 struct pb_debug_buffer *buf = pb_debug_buffer(_buf); in pb_debug_buffer_validate()
[all …]
Dpb_bufmgr_slab.c190 pb_slab_buffer_destroy(void *winsys, struct pb_buffer *_buf) in pb_slab_buffer_destroy() argument
192 struct pb_slab_buffer *buf = pb_slab_buffer(_buf); in pb_slab_buffer_destroy()
225 pb_slab_buffer_map(struct pb_buffer *_buf, in pb_slab_buffer_map() argument
229 struct pb_slab_buffer *buf = pb_slab_buffer(_buf); in pb_slab_buffer_map()
239 pb_slab_buffer_unmap(struct pb_buffer *_buf) in pb_slab_buffer_unmap() argument
241 struct pb_slab_buffer *buf = pb_slab_buffer(_buf); in pb_slab_buffer_unmap()
248 pb_slab_buffer_validate(struct pb_buffer *_buf, in pb_slab_buffer_validate() argument
252 struct pb_slab_buffer *buf = pb_slab_buffer(_buf); in pb_slab_buffer_validate()
258 pb_slab_buffer_fence(struct pb_buffer *_buf, in pb_slab_buffer_fence() argument
261 struct pb_slab_buffer *buf = pb_slab_buffer(_buf); in pb_slab_buffer_fence()
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c104 vmw_gmr_buffer_destroy(void *winsys, struct pb_buffer *_buf) in vmw_gmr_buffer_destroy() argument
106 struct vmw_gmr_buffer *buf = vmw_gmr_buffer(_buf); in vmw_gmr_buffer_destroy()
121 vmw_gmr_buffer_map(struct pb_buffer *_buf, in vmw_gmr_buffer_map() argument
125 struct vmw_gmr_buffer *buf = vmw_gmr_buffer(_buf); in vmw_gmr_buffer_map()
134 if ((_buf->usage & VMW_BUFFER_USAGE_SYNC) && in vmw_gmr_buffer_map()
150 vmw_gmr_buffer_unmap(struct pb_buffer *_buf) in vmw_gmr_buffer_unmap() argument
152 struct vmw_gmr_buffer *buf = vmw_gmr_buffer(_buf); in vmw_gmr_buffer_unmap()
155 if ((_buf->usage & VMW_BUFFER_USAGE_SYNC) && in vmw_gmr_buffer_unmap()
181 vmw_gmr_buffer_validate( struct pb_buffer *_buf, in vmw_gmr_buffer_validate() argument
191 vmw_gmr_buffer_fence( struct pb_buffer *_buf, in vmw_gmr_buffer_fence() argument
/third_party/libunwind/libunwind/doc/
Dlibunwind-setjmp.tex16 \Type{int} \Func{setjmp}(\Type{jmp\_buf}~\Var{env});\\
17 \Type{void} \Func{longjmp}(\Type{jmp\_buf}~\Var{env}, \Type{int}~\Var{val});\\
18 \Type{int} \Func{\_setjmp}(\Type{jmp\_buf}~\Var{env});\\
19 \Type{void} \Func{\_longjmp}(\Type{jmp\_buf}~\Var{env}, \Type{int}~\Var{val});\\
20 \Type{int} \Func{sigsetjmp}(\Type{sigjmp\_buf}~\Var{env}, \Type{int}~\Var{savemask});\\
21 \Type{void} \Func{siglongjmp}(\Type{sigjmp\_buf}~\Var{env}, \Type{int}~\Var{val});\\
54 \item The contents of \Type{jmp\_buf} and \Type{sigjmp\_buf} as setup
60 \Type{sigjmp\_buf} with \Func{sigsetjmp}() and \Func{siglongjmp}().
/third_party/lzma/CPP/7zip/Compress/
DCopyCoder.cpp15 ::MidFree(_buf); in ~CCopyCoder()
28 if (!_buf) in Z7_COM7F_IMF()
30 _buf = (Byte *)::MidAlloc(kBufSize); in Z7_COM7F_IMF()
31 if (!_buf) in Z7_COM7F_IMF()
63 readRes = inStream->Read(_buf + pos, curSize, &processed); in Z7_COM7F_IMF()
84 const HRESULT res = outStream->Write(_buf + pos, curSize, &processed); in Z7_COM7F_IMF()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetnameinfo.c48 unsigned char _buf[1032], atmp[16]; in reverse_hosts() local
50 FILE _f, *f = __fopen_rb_ca("/etc/hosts", &_f, _buf, sizeof _buf); in reverse_hosts()
89 unsigned char _buf[1032]; in reverse_services() local
90 FILE _f, *f = __fopen_rb_ca("/etc/services", &_f, _buf, sizeof _buf); in reverse_services()
/third_party/musl/src/network/
Dgetnameinfo.c68 unsigned char _buf[1032], atmp[16]; in reverse_hosts() local
70 FILE _f, *f = __fopen_rb_ca("/etc/hosts", &_f, _buf, sizeof _buf); in reverse_hosts()
111 unsigned char _buf[1032]; in reverse_services() local
112 FILE _f, *f = __fopen_rb_ca("/etc/services", &_f, _buf, sizeof _buf); in reverse_services()
Dlookup_serv.c73 unsigned char _buf[1032]; in __lookup_serv() local
74 FILE _f, *f = __fopen_rb_ca("/etc/services", &_f, _buf, sizeof _buf); in __lookup_serv()
/third_party/musl/porting/linux/user/src/network/
Dgetnameinfo.c68 unsigned char _buf[1032], atmp[16]; in reverse_hosts() local
70 FILE _f, *f = __fopen_rb_ca("/etc/hosts", &_f, _buf, sizeof _buf); in reverse_hosts()
111 unsigned char _buf[1032]; in reverse_services() local
112 FILE _f, *f = __fopen_rb_ca("/etc/services", &_f, _buf, sizeof _buf); in reverse_services()
Dlookup_serv.c73 unsigned char _buf[1032]; in __lookup_serv() local
74 FILE _f, *f = __fopen_rb_ca("/etc/services", &_f, _buf, sizeof _buf); in __lookup_serv()
/third_party/lzma/CPP/Common/
DSha256Reg.cpp17 CAlignedBuffer1 _buf;
21 CSha256 *Sha() { return (CSha256 *)(void *)(Byte *)_buf; }
24 _buf(sizeof(CSha256))
/third_party/FreeBSD/sys/kern/
Dbus_if.h75 typedef int bus_child_pnpinfo_str_t(device_t _dev, device_t _child, char *_buf,
99 char *_buf, size_t _buflen) in BUS_CHILD_PNPINFO_STR() argument
103 return ((bus_child_pnpinfo_str_t *) _m)(_dev, _child, _buf, _buflen); in BUS_CHILD_PNPINFO_STR()
109 typedef int bus_child_location_str_t(device_t _dev, device_t _child, char *_buf,
132 char *_buf, size_t _buflen) in BUS_CHILD_LOCATION_STR() argument
136 return ((bus_child_location_str_t *) _m)(_dev, _child, _buf, _buflen); in BUS_CHILD_LOCATION_STR()
/third_party/libfuse/test/
Dconftest.py36 self._buf = bytearray()
57 self._buf += buf
63 buf = self._buf.decode('utf8', errors='replace')
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() argument
49 struct wpabuf *buf = *_buf; in wpabuf_resize()
55 *_buf = wpabuf_alloc(add_len); in wpabuf_resize()
56 return *_buf == NULL ? -1 : 0; in wpabuf_resize()
99 *_buf = buf; in wpabuf_resize()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() argument
49 struct wpabuf *buf = *_buf; in wpabuf_resize()
55 *_buf = wpabuf_alloc(add_len); in wpabuf_resize()
56 return *_buf == NULL ? -1 : 0; in wpabuf_resize()
99 *_buf = buf; in wpabuf_resize()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dtypes.rs102 _buf: c::iovec, field
110 _buf: c::iovec { in from_slice()
121 _buf: c::iovec { in from_slice_mut()
/third_party/libwebsockets/include/libwebsockets/
Dlws-logs.h188 #define lwsl_hexdump_context(_c, _fil, _buf, _len) \ argument
191 _c, _fil, _buf, _len)
192 #define lwsl_hexdump_vhost(_v, _fil, _buf, _len) \ argument
195 _v, _fil, _buf, _len)
196 #define lwsl_hexdump_wsi(_w, _fil, _buf, _len) \ argument
199 _w, _fil, _buf, _len)
200 #define lwsl_hexdump_ss(_h, _fil, _buf, _len) \ argument
203 _h, _fil, _buf, _len)

123