Home
last modified time | relevance | path

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

1234

/third_party/popt/src/
Dsystem.h45 #define xmalloc(_size) (malloc(_size) ? : vmefail()) argument
46 #define xcalloc(_nmemb, _size) (calloc((_nmemb), (_size)) ? : vmefail()) argument
47 #define xrealloc(_ptr, _size) (realloc((_ptr), (_size)) ? : vmefail()) argument
50 #define xmalloc(_size) malloc(_size) argument
51 #define xcalloc(_nmemb, _size) calloc((_nmemb), (_size)) argument
52 #define xrealloc(_ptr, _size) realloc((_ptr), (_size)) argument
/third_party/libdrm/nouveau/nvif/
Dunpack.h5 void **_data = (d); __u32 *_size = (s); int _ret = (r); \
6 if (_ret == -ENOSYS && *_size == sizeof(m)) { \
8 *_size = _ret = 0; \
14 void **_data = (d); __u32 *_size = (s); \
16 if (_ret == -ENOSYS && *_size >= sizeof(m) && \
19 *_size = *_size - sizeof(m); \
21 _ret = *_size ? -E2BIG : 0; \
23 *_size = 0; \
/third_party/mesa3d/src/util/
Du_memory.h46 #define MALLOC(_size) os_malloc(_size) argument
48 #define CALLOC(_count, _size) os_calloc(_count, _size) argument
52 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) argument
61 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment) argument
Dos_memory_stdc.h41 #define os_malloc(_size) malloc(_size) argument
42 #define os_calloc(_count, _size ) calloc(_count, _size ) argument
52 #define os_malloc_aligned(_size, _align) _aligned_malloc(_size, _align) argument
Dos_memory_debug.h83 #define os_malloc( _size ) \ argument
84 debug_malloc( __FILE__, __LINE__, __FUNCTION__, _size )
85 #define os_calloc( _count, _size ) \ argument
86 debug_calloc(__FILE__, __LINE__, __FUNCTION__, _count, _size )
/third_party/node/deps/npm/node_modules/sshpk/lib/
Dssh-buffer.js13 this._size = opts.buffer ? opts.buffer.length : 1024;
14 this._buffer = opts.buffer || Buffer.alloc(this._size);
35 this._size *= 2;
36 var buf = Buffer.alloc(this._size);
91 while (this._offset + 4 + buf.length > this._size)
104 while (this._offset + 1 + str.length > this._size)
112 while (this._offset + 4 > this._size)
128 while (this._offset + 8 > this._size)
135 while (this._offset + 1 > this._size)
145 while (this._offset + buf.length > this._size)
/third_party/zlib/contrib/dotzlib/DotZLib/
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()
/third_party/qrcodegen/python/
Dqrcodegen.py143 _size: int
176 self._size = version * 4 + 17
180 self._modules = [[False] * self._size for _ in range(self._size)] # Initially all light
181 self._isfunction = [[False] * self._size for _ in range(self._size)]
215 return self._size
229 return (0 <= x < self._size) and (0 <= y < self._size) and self._modules[y][x]
237 for i in range(self._size):
243 self._draw_finder_pattern(self._size - 4, 3)
244 self._draw_finder_pattern(3, self._size - 4)
282 self._set_function_module(self._size - 1 - i, 8, _get_bit(bits, i))
[all …]
/third_party/freetype/src/otvalid/
Dotvcommn.h96 #define OTV_SIZE_CHECK( _size ) \ argument
98 if ( _size > 0 && _size < table_size ) \
105 FT_Byte* pp = (FT_Byte*)_size ## _p; \
111 #_size )); \
114 _size = pp[0] = pp[1] = 0; \
119 #define OTV_SIZE_CHECK32( _size ) \ argument
121 if ( _size > 0 && _size < table_size ) \
128 FT_Byte* pp = (FT_Byte*)_size ## _p; \
134 #_size )); \
137 _size = pp[0] = pp[1] = pp[2] = pp[3] = 0; \
/third_party/skia/third_party/externals/freetype/src/otvalid/
Dotvcommn.h96 #define OTV_SIZE_CHECK( _size ) \ argument
98 if ( _size > 0 && _size < table_size ) \
105 FT_Byte* pp = (FT_Byte*)_size ## _p; \
111 #_size )); \
114 _size = pp[0] = pp[1] = 0; \
119 #define OTV_SIZE_CHECK32( _size ) \ argument
121 if ( _size > 0 && _size < table_size ) \
128 FT_Byte* pp = (FT_Byte*)_size ## _p; \
134 #_size )); \
137 _size = pp[0] = pp[1] = pp[2] = pp[3] = 0; \
/third_party/flutter/skia/third_party/externals/freetype/src/otvalid/
Dotvcommn.h97 #define OTV_SIZE_CHECK( _size ) \ argument
99 if ( _size > 0 && _size < table_size ) \
106 FT_Byte* pp = (FT_Byte*)_size ## _p; \
112 "\n", #_size )); \
114 _size = pp[0] = pp[1] = 0; \
119 #define OTV_SIZE_CHECK32( _size ) \ argument
121 if ( _size > 0 && _size < table_size ) \
128 FT_Byte* pp = (FT_Byte*)_size ## _p; \
134 "\n", #_size )); \
136 _size = pp[0] = pp[1] = pp[2] = pp[3] = 0; \
/third_party/libunwind/doc/
Dunw_set_cache_size.tex8 \begin{Name}{3}{unw\_set\_cache\_size}{Dave Watson}{Programming Library}{unw\_set\_cache\_size}unw\…
15 \Type{int} \Func{unw\_set\_cache\_size}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{size\_t} \Var{si…
19 The \Func{unw\_set\_cache\_size}() routine sets the cache size of
28 On successful completion, \Func{unw\_set\_cache\_size}() returns 0.
34 \Func{unw\_set\_cache\_size}() is thread-safe but \emph{not} safe
/third_party/node/deps/npm/node_modules/asn1/lib/ber/
Dreader.js23 this._size = data.length;
41 get: function () { return (this._size - this._offset); }
57 if (this._size - this._offset < 1)
89 if (offset >= this._size)
105 if (this._size - offset < lenB)
177 if (this.length > this._size - o)
240 if (this.length > this._size - o)
Dwriter.js47 this._size = this._buf.length;
300 if (this._size - this._offset < len) {
301 var sz = this._size * this._options.growthFactor;
309 this._size = sz;
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump.h148 #define trace_dump_array(_type, _obj, _size) \ argument
153 for(idx = 0; idx < (_size); ++idx) { \
164 #define trace_dump_struct_array(_type, _obj, _size) \ argument
169 for(idx = 0; idx < (_size); ++idx) { \
187 #define trace_dump_arg_array(_type, _arg, _size) \ argument
190 trace_dump_array(_type, _arg, _size); \
/third_party/typescript/src/harness/
DcollectionsImpl.ts255 private _size = -1; property in collections.Metadata
264 … if (this._size === -1 || (this._parent && this._parent._version !== this._parentVersion)) {
267 this._size = size;
272 return this._size;
290 this._size = -1;
299 this._size = -1;
308 this._size = -1;
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dprintf.cpp189 _q(q), _formatters(infos), _strings_in_buffer(strings_in_buffer), _size(size), _buffer() { in printf_handler()
191 if (_size) { in printf_handler()
193 data.reserve(_size); in printf_handler()
197 header[1] = _size; in printf_handler()
203 _size, (char*)data.data())); in printf_handler()
218 {{ 0 }}, {{ _size, 1, 1 }} }; in print()
/third_party/python/Lib/
D_compression.py45 self._size = -1
108 self._size = self._pos
138 if self._size < 0:
141 offset = self._size + offset
/third_party/flutter/flutter/packages/flutter/test/rendering/
Drendering_tester.dart195 RenderSizedBox(this._size);
197 final Size _size;
201 return _size.width;
206 return _size.width;
211 return _size.height;
216 return _size.height;
224 size = constraints.constrain(_size);
/third_party/mesa3d/src/vulkan/util/
Dvk_alloc.h211 #define vk_multialloc_add_size(_ma, _ptr, _type, _size) \ argument
216 (_size), alignof(_type)); \
222 #define VK_MULTIALLOC_DECL_SIZE(_ma, _type, _name, _size) \ argument
224 vk_multialloc_add_size(_ma, &_name, _type, _size);
/third_party/python/Lib/multiprocessing/
Dheap.py127 self._size = size
160 length = self._roundup(max(self._size, size), mmap.PAGESIZE)
163 if self._size < self._DOUBLE_ARENA_SIZE_UNTIL:
164 self._size *= 2
/third_party/skia/modules/canvaskit/
Dskottie.js82 this._size(_scratchFourFloatsAPtr);
128 this._size(_scratchFourFloatsAPtr);
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dview.dart68 Size get size => _size;
69 Size _size = Size.zero;
148 _size = configuration.size;
149 assert(_size.isFinite);
152 child.layout(BoxConstraints.tight(_size));
/third_party/node/deps/npm/node_modules/fs-minipass/
Dindex.js35 const _size = Symbol('_size') constant
54 this[_size] = typeof opt.size === 'number' ? opt.size : Infinity
55 this[_remain] = this[_size]
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctionsstartwith.c51 #define TYPE_FIND_REGISTER_START_WITH_DEFINE(typefind_name, name, rank, ext, _data, _size, _probabi… argument
58 sw_data->size = _size; \

1234