Home
last modified time | relevance | path

Searched refs:_size (Results 1 – 25 of 88) sorted by relevance

1234

/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
H A Dunpack.h8 void **_data = (d); __u32 *_size = (s); int _ret = (r); \
9 if (_ret == -ENOSYS && *_size == sizeof(m)) { \
11 *_size = _ret = 0; \
17 void **_data = (d); __u32 *_size = (s); \
19 if (_ret == -ENOSYS && *_size >= sizeof(m) && \
22 *_size = *_size - sizeof(m); \
24 _ret = *_size ? -E2BIG : 0; \
26 *_size = 0; \
/netbsd-src/lib/libc/stdio/
H A Dfvwrite.c132 int _size; in __sfvwrite() local
135 _size = fp->_bf._size; in __sfvwrite()
137 _size = (_size << 1) + 1; in __sfvwrite()
138 } while ((size_t)_size < blen + len); in __sfvwrite()
140 (size_t)(_size + 1)); in __sfvwrite()
143 fp->_w += _size - fp->_bf._size; in __sfvwrite()
145 fp->_bf._size = _size; in __sfvwrite()
163 } else if (len >= (size_t)(w = fp->_bf._size)) { in __sfvwrite()
204 w = fp->_w + fp->_bf._size; in __sfvwrite()
211 } else if (s >= (w = fp->_bf._size)) { in __sfvwrite()
H A Dungetc.c73 _UB(fp)._size = BUFSIZ; in __submore()
80 i = _UB(fp)._size; in __submore()
88 _UB(fp)._size = i << 1; in __submore()
131 if (fp->_r >= _UB(fp)._size && __submore(fp)) { in ungetc()
162 _UB(fp)._size = sizeof(fp->_ubuf); in ungetc()
H A Dfindfp.c65 ._bf = { ._base = NULL, ._size = 0 }, \
72 ._ext = { ._base = (void *)(__sFext + (file)), ._size = 0 }, \
144 fp->_bf._size = 0; in __sfpinit()
150 _UB(fp)._size = 0; in __sfpinit()
H A Dsetvbuf.c127 fp->_bf._size = 1; in setvbuf()
152 fp->_bf._size = (int)size; in setvbuf()
161 fp->_lbfsize = -fp->_bf._size; in setvbuf()
H A Dwbuf.c89 if (n >= fp->_bf._size) { in __swbuf()
96 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
H A Dwsetup.c95 fp->_lbfsize = -fp->_bf._size; in __swsetup()
97 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size; in __swsetup()
/netbsd-src/sys/sys/
H A Dparam.h242 #define STACK_GROW(sp, _size) (((char *)(void *)(sp)) + (_size)) argument
243 #define STACK_SHRINK(sp, _size) (((char *)(void *)(sp)) - (_size)) argument
246 #define STACK_ALLOC(sp, _size) ((char *)(void *)(sp)) argument
247 #define STACK_MAX(p, _size) (((char *)(void *)(p)) + (_size)) argument
249 #define STACK_GROW(sp, _size) (((char *)(void *)(sp)) - (_size)) argument
250 #define STACK_SHRINK(sp, _size) (((cha argument
253 STACK_ALLOC(sp,_size) global() argument
254 STACK_MAX(p,_size) global() argument
[all...]
/netbsd-src/distrib/alpha/instkernel/ramdisk/
H A Dinstall.sh313 _size=$(( $root * $sizemult ))
315 echo -n " :pa#${_size}:oa#${_offset}" >> $DT
317 _size=$(( $swap * $sizemult ))
319 echo " :pb#${_size}:ob#${_offset}:tb=swap:\\" >> $DT
320 _size=$(( $partition * $sizemult ))
322 echo " :pc#${_size}:oc#${_offset}:\\" >> $DT
360 _size=$(( $part_size * $sizemult ))
362 echo -n " :pd#${_size}:od#${_offset}" >> $DT
367 _size=$(( $part_size * $sizemult ))
369 echo -n " :pe#${_size}:oe#${_offset}" >> $DT
[all …]
/netbsd-src/external/gpl3/gdb/dist/zlib/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs23 private int _size; field in DotZLib.CircularBuffer
34 _size = 0; in CircularBuffer()
37 public int Size { get { return _size; } }
47 _size += trueCount; in Put()
57 ++_size; in Put()
68 _size -= trueCount; in Get()
78 --_size; in Get()
/netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs23 private int _size; field in DotZLib.CircularBuffer
34 _size = 0; in CircularBuffer()
37 public int Size { get { return _size; } }
47 _size += trueCount; in Put()
57 ++_size; in Put()
68 _size -= trueCount; in Get()
78 --_size; in Get()
/netbsd-src/external/gpl3/gdb.old/dist/zlib/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs23 private int _size; field in DotZLib.CircularBuffer
34 _size = 0; in CircularBuffer()
37 public int Size { get { return _size; } }
47 _size += trueCount; in Put()
57 ++_size; in Put()
68 _size -= trueCount; in Get()
78 --_size; in Get()
/netbsd-src/common/dist/zlib/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs23 private int _size; field in DotZLib.CircularBuffer
34 _size = 0; in CircularBuffer()
37 public int Size { get { return _size; } }
47 _size += trueCount; in Put()
57 ++_size; in Put()
68 _size -= trueCount; in Get()
78 --_size; in Get()
/netbsd-src/external/gpl3/binutils/dist/zlib/contrib/dotzlib/DotZLib/
H A DCircularBuffer.cs23 private int _size; field in DotZLib.CircularBuffer
34 _size = 0; in CircularBuffer()
37 public int Size { get { return _size; } }
47 _size += trueCount; in Put()
57 ++_size; in Put()
68 _size -= trueCount; in Get()
78 --_size; in Get()
/netbsd-src/external/bsd/openpam/dist/t/
H A Dt_openpam_straddch.c87 size_t size, _size, len, _len; in t_straddch_realloc_fail() local
102 _size = size; in t_straddch_realloc_fail()
108 _size = size; in t_straddch_realloc_fail()
115 ret &= t_compare_sz(_size, size); in t_straddch_realloc_fail()
126 size_t size, _size, len, _len; in t_straddch_realloc_ok() local
139 _size = size; in t_straddch_realloc_ok()
144 if (size != _size) in t_straddch_realloc_ok()
154 ret &= t_compare_sz(_size * 2, size); in t_straddch_realloc_ok()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libmj/
H A Ddefs.h57 #define RENEW(type, _ptr, _size, _newsize, where, action) do { \ argument
65 (void) memset(&_newptr[_size], 0x0, \
66 (_newsize - _size) * sizeof(type)); \
68 _size = _newsize; \
/netbsd-src/sys/coda/
H A Dcoda_venus.c66 int name ## _size = sizeof (struct coda_in_hdr); \
74 int name ## _size = sizeof (struct name ## _in); \
81 int name ## _size = sizeof (struct name ## _in); \
87 if (Osize > name ## _size) \
88 name ## _size = Osize; \
89 CODA_ALLOC(inp, struct coda_in_hdr *, name ## _size);\
93 if (Osize > name ## _size) \
94 name ## _size = Osize; \
95 CODA_ALLOC(inp, struct name ## _in *, name ## _size);\
99 if (Osize > name ## _size) \
[all …]
/netbsd-src/external/gpl3/binutils/dist/include/
H A Dctf.h248 unsigned short _size; /* Size of entire type in bytes. */ member
268 unsigned short _size; /* Always CTF_LSIZE_SENT_V1. */ member
291 uint32_t _size; /* Size of entire type in bytes. */ member
311 uint32_t _size; /* Always CTF_LSIZE_SENT. */ member
327 #define ctt_size _u._size /* For fundamental types that have a size. */
/netbsd-src/external/gpl3/binutils.old/dist/include/
H A Dctf.h248 unsigned short _size; /* Size of entire type in bytes. */ member
268 unsigned short _size; /* Always CTF_LSIZE_SENT_V1. */ member
291 uint32_t _size; /* Size of entire type in bytes. */ member
311 uint32_t _size; /* Always CTF_LSIZE_SENT. */ member
327 #define ctt_size _u._size /* For fundamental types that have a size. */
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/
H A Dmemory.h99 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
100 while (_size--) { \
107 u32 _addr = (a), _size = (s) >> 2; \
109 while (_size--) { \
/netbsd-src/external/cddl/osnet/dist/uts/common/sys/
H A Dctf.h166 ushort_t _size; /* size of entire type in bytes */ member
183 ushort_t _size; /* always CTF_LSIZE_SENT */ member
190 #define ctt_size _u._size /* for fundamental types that have a size */
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dxmethods.py40 self._size = size
57 return self._size
70 return (int(self._size) == 0)
83 if int(self._size) > 0:
99 if int(self._size) > 0:
100 return obj['_M_elems'][self._size - 1]
115 if int(index) >= int(self._size):
117 ((int(index), self._size)))
131 if int(self._size) > 0:
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/python/libstdcxx/v6/
H A Dxmethods.py56 self._size = size
74 return self._size
88 return (int(self._size) == 0)
102 if int(self._size) > 0:
119 if int(self._size) > 0:
120 return obj['_M_elems'][self._size - 1]
136 if int(index) >= int(self._size):
138 ((int(index), self._size)))
153 if int(self._size) > 0:
/netbsd-src/sys/arch/hpc/stand/hpcboot/
H A Dhpcmenu.cpp69 _pref._size = sizeof(HpcMenuPreferences); in HpcMenuInterface()
172 if (!ReadFile(file, &_pref, _pref._size, &cnt, 0)) in load()
193 WriteFile(file, &_pref, _pref._size, &cnt, 0); in save()
195 return cnt == _pref._size; in save()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DDbeCacheMap.h41 DbeCacheMap (int _size = DefaultSize)
43 size = _size;

1234