Home
last modified time | relevance | path

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

12

/third_party/boost/boost/process/
Dpipe.hpp300 mutable basic_pipebuf<CharT, Traits> _buf; member in boost::process::basic_ipstream
312 basic_pipebuf<CharT, Traits>* rdbuf() const {return &_buf;}; in rdbuf()
317 std::basic_istream<CharT, Traits>::rdbuf(&_buf); in basic_ipstream()
322 …ream(basic_ipstream && lhs) : std::basic_istream<CharT, Traits>(nullptr), _buf(std::move(lhs._buf)) in basic_ipstream()
324 std::basic_istream<CharT, Traits>::rdbuf(&_buf); in basic_ipstream()
328 …basic_ipstream(pipe_type && p) : std::basic_istream<CharT, Traits>(nullptr), _buf(std::move(p… in basic_ipstream()
330 std::basic_istream<CharT, Traits>::rdbuf(&_buf); in basic_ipstream()
334 basic_ipstream(const pipe_type & p) : std::basic_istream<CharT, Traits>(nullptr), _buf(p) in basic_ipstream()
336 std::basic_istream<CharT, Traits>::rdbuf(&_buf); in basic_ipstream()
345 _buf = std::move(lhs._buf); in operator =()
[all …]
/third_party/node/deps/npm/node_modules/asn1/lib/ber/
Dwriter.js46 this._buf = Buffer.alloc(options.size || 1024);
47 this._size = this._buf.length;
61 return (this._buf.slice(0, this._offset));
70 this._buf[this._offset++] = b;
92 this._buf[this._offset++] = tag;
93 this._buf[this._offset++] = sz;
96 this._buf[this._offset++] = ((i & 0xff000000) >>> 24);
126 this._buf[this._offset++] = tag;
127 this._buf[this._offset++] = 0x01;
128 this._buf[this._offset++] = b ? 0xff : 0x00;
[all …]
Dreader.js22 this._buf = data;
45 get: function () { return (this._buf.slice(this._offset)); }
60 var b = this._buf[this._offset] & 0xff;
92 var lenB = this._buf[offset++] & 0xff;
110 this._len = (this._len << 8) + (this._buf[offset++] & 0xff);
185 var str = this._buf.slice(this._offset, this._offset + this.length);
244 var fb = this._buf[this._offset];
249 value |= (this._buf[this._offset++] & 0xff);
/third_party/flatbuffers/dart/lib/
Dflat_buffers.dart116 ByteData _buf;
118 /// The maximum alignment that has been seen so far. If [_buf] has to be
124 /// most recently written byte is this many bytes from the end of [_buf].
128 /// end of [_buf], or `null` if a table is not currently being built.
163 _buf.setInt8(_buf.lengthInBytes - _tail, value ? 1 : 0);
174 _setInt32AtTail(_buf, _tail, value);
185 _setInt16AtTail(_buf, _tail, value);
196 _setInt8AtTail(_buf, _tail, value);
212 _setUint32AtTail(_buf, _tail, _tail - offset);
223 _setUint32AtTail(_buf, _tail, value);
[all …]
/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/flatbuffers/python/flatbuffers/
Dflexbuffers.py284 self._buf = buf
290 return self._buf[_ShiftSlice(key, self._offset, self._length)]
292 return self._buf[self._offset + key]
298 self._buf[_ShiftSlice(key, self._offset, self._length)] = value
300 self._buf[self._offset + key] = key
309 return self._buf[self._offset:].find(sub)
313 return Buf(self._buf, self._offset + offset)
325 self._buf = buf
346 return self._buf[-self._byte_width:0]
358 return self._buf[0:len(self)]
[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/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/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.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()
Dlookup_serv.c72 unsigned char _buf[1032]; in __lookup_serv() local
73 FILE _f, *f = __fopen_rb_ca("/etc/services", &_f, _buf, sizeof _buf); in __lookup_serv()
Dresolvconf.c15 unsigned char _buf[256]; in __get_resolv_conf() local
75 f = __fopen_rb_ca("/etc/resolv.conf", &_f, _buf, sizeof _buf); in __get_resolv_conf()
/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/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/boost/libs/phoenix/example/
Dadapted_echo_server.cpp86 phx::expression::argument<2>::type _buf; in main() local
90 write(_socket, buffer(_buf, _length), phx::ref(write_handler)) in main()
94 … read(_socket, buffer(_buf, max_length), boost::asio::transfer_at_least(1), phx::ref(read_handler)) in main()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h79 void radeon_bo_destroy(void *winsys, struct pb_buffer *_buf);
80 bool radeon_bo_can_reclaim(void *winsys, struct pb_buffer *_buf);
Dradeon_drm_bo.c133 struct pb_buffer *_buf, uint64_t timeout, in radeon_bo_wait() argument
136 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_wait()
354 void radeon_bo_destroy(void *winsys, struct pb_buffer *_buf) in radeon_bo_destroy() argument
356 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy()
423 static void radeon_bo_destroy_or_cache(void *winsys, struct pb_buffer *_buf) in radeon_bo_destroy_or_cache() argument
425 struct radeon_bo *bo = radeon_bo(_buf); in radeon_bo_destroy_or_cache()
432 radeon_bo_destroy(NULL, _buf); in radeon_bo_destroy_or_cache()
583 static void radeon_bo_unmap(struct radeon_winsys *rws, struct pb_buffer *_buf) in radeon_bo_unmap() argument
585 struct radeon_bo *bo = (struct radeon_bo*)_buf; in radeon_bo_unmap()
742 bool radeon_bo_can_reclaim(void *winsys, struct pb_buffer *_buf) in radeon_bo_can_reclaim() argument
[all …]
/third_party/libwebsockets/include/libwebsockets/
Dlws-logs.h180 #define lwsl_hexdump_context(_c, _fil, _buf, _len) \ argument
183 _c, _fil, _buf, _len)
184 #define lwsl_hexdump_vhost(_v, _fil, _buf, _len) \ argument
187 _v, _fil, _buf, _len)
188 #define lwsl_hexdump_wsi(_w, _fil, _buf, _len) \ argument
191 _w, _fil, _buf, _len)
192 #define lwsl_hexdump_ss(_h, _fil, _buf, _len) \ argument
195 _h, _fil, _buf, _len)
/third_party/python/Lib/multiprocessing/
Dshared_memory.py69 _buf = None variable in SharedMemory
180 self._buf = memoryview(self._mmap)
204 return self._buf
223 if self._buf is not None:
224 self._buf.release()
225 self._buf = None
/third_party/boost/boost/process/detail/windows/
Denvironment.hpp26 …std::unique_ptr<Char[], void(*)(Char*)> _buf{boost::winapi::get_environment_strings<Char>(), &nati…
28 std::vector<Char*> _env_arr{_load_var(_buf.get())};
36 _buf.reset(boost::winapi::get_environment_strings<Char>()); in reload()
37 _env_arr = _load_var(_buf.get()); in reload()
56 native_handle_type native_handle() const {return _buf.get();} in native_handle()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h120 bool amdgpu_bo_can_reclaim(struct amdgpu_winsys *ws, struct pb_buffer *_buf);
126 void amdgpu_bo_destroy(struct amdgpu_winsys *ws, struct pb_buffer *_buf);
Damdgpu_bo.c51 struct pb_buffer *_buf, uint64_t timeout, in amdgpu_bo_wait() argument
55 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_wait()
166 void amdgpu_bo_destroy(struct amdgpu_winsys *ws, struct pb_buffer *_buf) in amdgpu_bo_destroy() argument
168 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_destroy()
227 static void amdgpu_bo_destroy_or_cache(struct radeon_winsys *rws, struct pb_buffer *_buf) in amdgpu_bo_destroy_or_cache() argument
230 struct amdgpu_winsys_bo *bo = amdgpu_winsys_bo(_buf); in amdgpu_bo_destroy_or_cache()
237 amdgpu_bo_destroy(ws, _buf); in amdgpu_bo_destroy_or_cache()
620 bool amdgpu_bo_can_reclaim(struct amdgpu_winsys *ws, struct pb_buffer *_buf) in amdgpu_bo_can_reclaim() argument
622 return amdgpu_bo_wait(&ws->dummy_ws.base, _buf, 0, RADEON_USAGE_READWRITE); in amdgpu_bo_can_reclaim()
658 static void amdgpu_bo_slab_destroy(struct radeon_winsys *rws, struct pb_buffer *_buf) in amdgpu_bo_slab_destroy() argument
[all …]

12