Searched refs:_items (Results 1 – 10 of 10) sorted by relevance
/third_party/lzma/CPP/Common/ |
D | MyBuffer.h | 16 T *_items; variable 22 if (_items) in Free() 24 delete []_items; in Free() 25 _items = NULL; in Free() 30 CBuffer(): _items(NULL), _size(0) {} in CBuffer() 31 CBuffer(size_t size): _items(NULL), _size(0) in CBuffer() 35 _items = new T[size]; in CBuffer() 39 CBuffer(const CBuffer &buffer): _items(NULL), _size(0) in CBuffer() 44 _items = new T[size]; in CBuffer() 45 memcpy(_items, buffer._items, size * sizeof(T)); in CBuffer() [all …]
|
D | MyVector.h | 15 T *_items; variable 21 memmove(_items + destIndex, _items + srcIndex, (size_t)(_size - srcIndex) * sizeof(T)); in MoveItems() 30 memcpy(p, _items, (size_t)_size * sizeof(T)); in ReAllocForNewCapacity() 31 delete []_items; in ReAllocForNewCapacity() 32 _items = p; in ReAllocForNewCapacity() 51 CRecordVector(): _items(NULL), _size(0), _capacity(0) {} in CRecordVector() 53 CRecordVector(const CRecordVector &v): _items(NULL), _size(0), _capacity(0) in CRecordVector() 59 _items = new T[size]; in CRecordVector() 62 memcpy(_items, v._items, (size_t)size * sizeof(T)); in CRecordVector() 73 Z7_ARRAY_NEW(_items, T, size) in ConstructReserve() [all …]
|
D | DynamicBuffer.h | 12 T *_items; variable 34 memcpy(newBuffer, _items, _pos * sizeof(T)); in Grow() 35 delete []_items; in Grow() 36 _items = newBuffer; in Grow() 41 CDynamicBuffer(): _items(NULL), _size(0), _pos(0) {} in CDynamicBuffer() 43 operator const T *() const { return _items; } 44 ~CDynamicBuffer() { delete []_items; } in ~CDynamicBuffer() 51 T *res = _items + _pos; in GetCurPtrAndGrow()
|
/third_party/lzma/CPP/7zip/UI/FileManager/ |
D | ExtractCallback.h | 36 Byte *_items; variable 48 memcpy(buf, _items, keepSize); in Z7_CLASS_NO_COPY() 49 MyFree(_items); in Z7_CLASS_NO_COPY() 50 _items = (Byte *)buf; in Z7_CLASS_NO_COPY() 55 CGrowBuf(): _items(NULL), _size(0) {} in CGrowBuf() 56 ~CGrowBuf() { MyFree(_items); } in ~CGrowBuf() 58 operator Byte *() { return _items; } 59 operator const Byte *() const { return _items; }
|
/third_party/lzma/CPP/7zip/UI/Common/ |
D | OpenArchive.cpp | 179 CObjectVector<CParseItem> _items; 185 if (_items.IsEmpty()) 187 const CParseItem &back = _items.Back(); 200 unsigned left = 0, right = _items.Size(); 204 const CParseItem &midItem = _items[mid]; 240 _items.Add(item2); 242 else if (_maxEndOffset > next && !_items.IsEmpty()) 244 CParseItem &back = _items.Back(); 259 _items.Insert((unsigned)pos, item); 307 _items.Clear(); [all …]
|
/third_party/python/Lib/ |
D | operator.py | 275 self._items = (item,) 280 self._items = items = (item,) + items 291 ', '.join(map(repr, self._items))) 294 return self.__class__, self._items
|
/third_party/python/Lib/multiprocessing/ |
D | pool.py | 841 self._items = collections.deque() 853 item = self._items.popleft() 860 item = self._items.popleft() 877 self._items.append(obj) 881 self._items.append(obj) 907 self._items.append(obj)
|
/third_party/curl/ |
D | CMakeLists.txt | 1503 # Helper to populate a list (_items) with a label when conditions (the remaining 1508 set(_items ${_items} "${label}") variable 1519 set(_items) variable 1556 string(REPLACE ";" " " SUPPORT_FEATURES "${_items}") 1560 set(_items) variable 1595 if(_items) 1596 list(SORT _items) 1598 string(REPLACE ";" " " SUPPORT_PROTOCOLS "${_items}") 1602 set(_items) variable 1611 if(_items) [all …]
|
/third_party/python/Lib/test/ |
D | test_random.py | 174 self._items = items 177 return len(self._items) 180 return self._items[index]
|
D | test_buffer.py | 1074 _items = items if shape else items[0] 1075 ex1 = ndarray(_items, format=fmt, flags=flags,
|