/third_party/lzma/CPP/Common/ |
H A D | MyBuffer2.h | 13 size_t _size;
member in CMidBuffer 18 CMidBuffer(): _data(NULL), _size(0) {}
in CMidBuffer() 21 void Free() { ::MidFree(_data); _data = NULL; _size = 0; }
in Free() 26 size_t Size() const { return _size; }
in Size() 30 if (!_data || size != _size)
in Alloc() 33 _size = 0;
in Alloc() 37 _size = size;
in Alloc() 43 if (!_data || size > _size)
in AllocAtLeast() 49 _size = 0;
in AllocAtLeast() 53 _size in AllocAtLeast() 87 size_t _size; global() member in CAlignedBuffer [all...] |
H A D | MyBuffer.h | 17 size_t _size;
member in CBuffer 27 _size = 0;
in Free() 30 CBuffer(): _items(NULL), _size(0) {}
in CBuffer() 31 CBuffer(size_t size): _items(NULL), _size(0)
in CBuffer() 36 _size = size;
in CBuffer() 39 CBuffer(const CBuffer &buffer): _items(NULL), _size(0)
in CBuffer() 41 const size_t size = buffer._size;
in CBuffer() 46 _size = size;
in CBuffer() 54 size_t Size() const { return _size; }
in Size() 58 if (size != _size)
in Alloc() 203 unsigned _size; global() member in CObjArray2 [all...] |
H A D | MyVector.h | 16 unsigned _size;
member in CRecordVector 21 memmove(_items + destIndex, _items + srcIndex, (size_t)(_size - srcIndex) * sizeof(T));
in MoveItems() 29 if (_size != 0)
in ReAllocForNewCapacity() 30 memcpy(p, _items, (size_t)_size * sizeof(T));
in ReAllocForNewCapacity() 40 if (_size != _capacity)
in ReserveOnePosition() 51 CRecordVector(): _items(NULL), _size(0), _capacity(0) {}
in CRecordVector() 53 CRecordVector(const CRecordVector &v): _items(NULL), _size(0), _capacity(0)
in CRecordVector() 60 _size = size;
in CRecordVector() 66 unsigned Size() const { return _size; }
in Size() 67 bool IsEmpty() const { return _size in Size() [all...] |
H A D | DynLimBuf.cpp | 12 _size = 0;
in CDynLimBuf() 21 _size = size;
in CDynLimBuf() 30 if (_size == _pos)
in operator +=() 32 size_t n = _sizeLimit - _size;
in operator +=() 38 if (n > _size)
in operator +=() 39 n = _size;
in operator +=() 52 _size = n;
in operator +=() 69 if (_size - _pos < len)
in operator +=() 72 if (n - _size < _size)
in operator +=() [all...] |
H A D | DynamicBuffer.h | 13 size_t _size;
member in CDynamicBuffer 21 size_t delta = _size >= 64 ? _size : 64;
in Grow() 24 size_t newCap = _size + delta;
in Grow() 27 newCap = _size + size;
in Grow() 37 _size = newCap;
in Grow() 41 CDynamicBuffer(): _items(NULL), _size(0), _pos(0) {}
in CDynamicBuffer() 48 size_t rem = _size - _pos;
in GetCurPtrAndGrow()
|
/third_party/popt/src/ |
H A D | system.h | 45 #define xmalloc(_size) (malloc(_size) ? : vmefail()) 46 #define xcalloc(_nmemb, _size) (calloc((_nmemb), (_size)) ? : vmefail()) 47 #define xrealloc(_ptr, _size) (realloc((_ptr), (_size)) ? : vmefail()) 50 #define xmalloc(_size) malloc(_size) 51 #define xcalloc(_nmemb, _size) calloc((_nmemb), (_size)) [all...] |
/third_party/lzma/CPP/7zip/Common/ |
H A D | StreamObjects.h | 35 size_t _size;
41 _size = size;
48 bool WasFinished() const { return _pos == _size; }
80 size_t _size;
82 CDynBufSeqOutStream(): _size(0) {}
83 void Init() { _size = 0; }
84 size_t GetSize() const { return _size; }
88 void UpdateSize(size_t addSize) { _size += addSize; }
97 size_t _size;
104 _size [all...] |
H A D | LimitedStreams.h | 18 UInt64 _size;
variable 26 _size = streamSize;
in Init() 31 UInt64 GetRem() const { return _size - _pos; }
in GetRem() 42 UInt64 _size;
53 _size = size;
131 UInt64 _size;
139 _size = size;
143 bool IsFinishedOK() const { return (_size == 0 && !_overflow); }
144 UInt64 GetRem() const { return _size; }
170 UInt64 _size;
[all...] |
H A D | StreamObjects.cpp | 50 if (_pos >= _size)
in Read() 52 size_t rem = _size - (size_t)_pos;
in Read() 68 case STREAM_SEEK_END: offset += _size; break;
in Seek() 122 addSize += _size;
in GetBufPtrForWriting() 123 if (addSize < _size)
in GetBufPtrForWriting() 127 return (Byte *)_buffer + _size;
in GetBufPtrForWriting() 132 dest.CopyFrom((const Byte *)_buffer, _size);
in CopyToBuffer() 153 size_t rem = _size - _pos;
in Write() 170 _size += realProcessedSize;
in Write() 214 _size in Init() [all...] |
H A D | InOutTempBuffer.cpp | 29 _size(0),
in CInOutTempBuffer() 89 const size_t index = (size_t)(_size / kBufSize);
in Write_HRESULT() 109 const size_t offset = (size_t)(_size) & (kBufSize - 1);
in Write_HRESULT() 114 _size += cur;
in Write_HRESULT() 142 _size += size;
in Write_HRESULT() 150 UInt64 rem = _size;
in WriteToStream()
|
H A D | LimitedStreams.cpp | 13 const UInt64 rem = _size - _pos;
in Read() 34 if (_virtPos >= _size)
in Read() 38 // return (_virtPos == _size) ? S_OK: E_FAIL; // ERROR_HANDLE_EOF
in Read() 41 const UInt64 rem = _size - _virtPos;
in Read() 65 case STREAM_SEEK_END: offset += _size; break;
in Seek() 244 if (size > _size)
in Write() 246 if (_size == 0)
in Write() 255 size = (UInt32)_size;
in Write() 259 _size -= size;
in Write() 307 if (_virtPos >= _size)
in Read() [all...] |
/third_party/libdrm/nouveau/nvif/ |
H A D | unpack.h | 5 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/ |
H A D | u_memory.h | 46 #define MALLOC(_size) os_malloc(_size) 48 #define CALLOC(_count, _size) os_calloc(_count, _size) 52 #define REALLOC(_ptr, _old_size, _size) os_realloc(_ptr, _old_size, _size) 61 #define align_malloc(_size, _alignment) os_malloc_aligned(_size, _alignment)
|
H A D | os_memory_stdc.h | 41 #define os_malloc(_size) malloc(_size) 42 #define os_calloc(_count, _size ) calloc(_count, _size ) 52 #define os_malloc_aligned(_size, _align) _aligned_malloc(_size, _align)
|
H A D | os_memory_debug.h | 83 #define os_malloc( _size ) \ 84 debug_malloc( __FILE__, __LINE__, __FUNCTION__, _size ) 85 #define os_calloc( _count, _size ) \ 86 debug_calloc(__FILE__, __LINE__, __FUNCTION__, _count, _size )
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 23 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/lzma/CPP/7zip/Archive/Common/ |
H A D | InStreamWithCRC.h | 18 UInt64 _size;
variable 32 _size = 0;
in Init() 38 UInt64 GetSize() const { return _size; }
in GetSize() 50 UInt64 _size;
57 _size = 0;
63 UInt64 GetSize() const { return _size; }
|
H A D | DummyOutStream.h | 15 UInt64 _size;
variable 19 void Init() { _size = 0; }
in Init() 20 UInt64 GetSize() const { return _size; }
in GetSize()
|
H A D | OutStreamWithCRC.h | 17 UInt64 _size;
variable 25 _size = 0;
in Init() 31 UInt64 GetSize() const { return _size; }
in GetSize()
|
/third_party/qrcodegen/python/ |
H A D | qrcodegen.py | 143 _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) [all...] |
/third_party/skia/third_party/externals/freetype/src/otvalid/ |
H A D | otvcommn.h | 96 #define OTV_SIZE_CHECK( _size ) \ 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 ) \ 121 if ( _size > 0 && _size < table_size ) \ 128 FT_Byte* pp = (FT_Byte*)_size ## _ [all...] |
/third_party/libunwind/libunwind/doc/ |
H A D | unw_set_cache_size.tex | 8 \begin{Name}{3}{unw\_set\_cache\_size}{Dave Watson}{Programming Library}{unw\_set\_cache\_size}unw\_set\_cache\_size -- set unwind cache size 15 \Type{int} \Func{unw\_set\_cache\_size}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{size\_t} \Var{size}, \Type{int} \Var{flag});\\ 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/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_dump.h | 148 #define trace_dump_array(_type, _obj, _size) \ 153 for(idx = 0; idx < (_size); ++idx) { \ 164 #define trace_dump_struct_array(_type, _obj, _size) \ 169 for(idx = 0; idx < (_size); ++idx) { \ 187 #define trace_dump_arg_array(_type, _arg, _size) \ 190 trace_dump_array(_type, _arg, _size); \
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | printf.cpp | 189 _q(q), _formatters(infos), _strings_in_buffer(strings_in_buffer), _size(size), _buffer() { 191 if (_size) { 193 data.reserve(_size); 197 header[1] = _size; 203 _size, (char*)data.data())); 218 {{ 0 }}, {{ _size, 1, 1 }} };
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zFolderInStream.cpp | 41 _size = 0;
in ClearFileInfo() 67 if (getProps->GetProps(&_size,
in OpenStream() 85 if (streamGetSize->GetSize(&_size) == S_OK)
in OpenStream() 219 *value = (_pos > _size ? _pos : _size);
in GetSubStreamSize()
|