/external/lzma/CPP/Common/ |
D | MyBuffer.h | 13 T *_items; variable 19 if (_items) in Free() 21 delete []_items; in Free() 22 _items = 0; in Free() 27 CBuffer(): _items(0), _size(0) {}; in CBuffer() 28 CBuffer(size_t size): _items(0), _size(0) { _items = new T[size]; _size = size; } in CBuffer() 29 CBuffer(const CBuffer &buffer): _items(0), _size(0) in CBuffer() 34 _items = new T[size]; in CBuffer() 35 memcpy(_items, buffer._items, size * sizeof(T)); in CBuffer() 40 ~CBuffer() { delete []_items; } in ~CBuffer() [all …]
|
D | MyVector.h | 11 T *_items; variable 17 memmove(_items + destIndex, _items + srcIndex, (size_t)(_size - srcIndex) * sizeof(T)); in MoveItems() 29 memcpy(p, _items, (size_t)_size * sizeof(T)); in ReserveOnePosition() 30 delete []_items; in ReserveOnePosition() 31 _items = p; in ReserveOnePosition() 38 CRecordVector(): _items(0), _size(0), _capacity(0) {} in CRecordVector() 40 CRecordVector(const CRecordVector &v): _items(0), _size(0), _capacity(0) in CRecordVector() 45 _items = new T[size]; in CRecordVector() 48 memcpy(_items, v._items, (size_t)size * sizeof(T)); in CRecordVector() 59 MY_ARRAY_NEW(_items, T, size) in ConstructReserve() [all …]
|
D | DynamicBuffer.h | 8 T *_items; variable 30 memcpy(newBuffer, _items, _pos * sizeof(T)); in Grow() 31 delete []_items; in Grow() 32 _items = newBuffer; in Grow() 37 CDynamicBuffer(): _items(0), _size(0), _pos(0) {} in CDynamicBuffer() 39 operator const T *() const { return _items; } 40 ~CDynamicBuffer() { delete []_items; } in ~CDynamicBuffer() 47 T *res = _items + _pos; in GetCurPtrAndGrow()
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | curses_widgets.py | 63 self._items = [] 74 if self._pointer + 1 < len(self._items): 75 self._items = self._items[:self._pointer + 1] 76 self._items.append( 78 if len(self._items) > self._capacity: 79 self._items = self._items[-self._capacity:] 80 self._pointer = len(self._items) - 1 91 if not self._items: 93 self._items[self._pointer].scroll_position = new_scroll_position 96 return len(self._items) [all …]
|
D | debugger_cli_common.py | 1166 self._items = [] 1174 self._items.append(item) 1177 self._items.insert(index, item) 1180 return len(self._items) 1183 return [item.caption for item in self._items] 1203 return self._items[captions.index(caption)] 1236 for item in self._items:
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ExtractCallback.h | 36 Byte *_items; variable 48 memcpy(buf, _items, keepSize); in ReAlloc_KeepData() 49 MyFree(_items); in ReAlloc_KeepData() 50 _items = (Byte *)buf; in ReAlloc_KeepData() 55 CGrowBuf(): _items(0), _size(0) {} in CGrowBuf() 56 ~CGrowBuf() { MyFree(_items); } in ~CGrowBuf() 58 operator Byte *() { return _items; } 59 operator const Byte *() const { return _items; }
|
/external/lzma/CPP/7zip/UI/Common/ |
D | OpenArchive.cpp | 178 CObjectVector<CParseItem> _items; member in NArchive::NParser::CHandler 191 if (_items.IsEmpty()) in GetLastEnd() 193 const CParseItem &back = _items.Back(); in GetLastEnd() 206 unsigned left = 0, right = _items.Size(); in FindInsertPos() 210 const CParseItem & midItem = _items[mid]; in FindInsertPos() 244 _items.Add(item2); in AddUnknownItem() 246 else if (_maxEndOffset > next && !_items.IsEmpty()) in AddUnknownItem() 248 CParseItem &back = _items.Back(); in AddUnknownItem() 263 _items.Insert(pos, item); in AddItem() 311 _items.Clear(); in Close() [all …]
|
/external/python/cpython3/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
|
/external/python/cpython2/Lib/multiprocessing/ |
D | pool.py | 643 self._items = collections.deque() 656 item = self._items.popleft() 662 item = self._items.popleft() 681 self._items.append(obj) 685 self._items.append(obj) 715 self._items.append(obj)
|
/external/autotest/cli/ |
D | action_common_unittest.py | 182 def _items(): function 189 crdel.get_items = _items 237 def _items(): function 250 addrm.get_items = _items
|
/external/python/cpython2/Demo/tkinter/ttk/ |
D | ttkcalendar.py | 52 self._items = [self._calendar.insert('', 'end', values='') 142 for indx, item in enumerate(self._items): 167 if not column or not item in self._items:
|
/external/python/cpython3/Lib/multiprocessing/ |
D | pool.py | 721 self._items = collections.deque() 733 item = self._items.popleft() 739 item = self._items.popleft() 755 self._items.append(obj) 759 self._items.append(obj) 783 self._items.append(obj)
|
/external/ImageMagick/www/assets/ |
D | magick.js | 6 …_items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this…
|
/external/curl/ |
D | CMakeLists.txt | 1171 # Helper to populate a list (_items) with a label when conditions (the remaining 1176 set(_items ${_items} "${label}" PARENT_SCOPE) variable 1181 set(_items) variable 1212 string(REPLACE ";" " " SUPPORT_FEATURES "${_items}") 1216 set(_items) variable 1242 list(SORT _items) 1243 string(REPLACE ";" " " SUPPORT_PROTOCOLS "${_items}")
|
/external/flatbuffers/dart/lib/ |
D | flat_buffers.dart | 1101 List<E> _items; 1108 _items ??= new List<E>(length); 1109 E item = _items[i]; 1112 _items[i] = item;
|
/external/libchrome/third_party/ply/ |
D | lex.py | 884 _items = [(k,getattr(module,k)) for k in dir(module)] 885 ldict = dict(_items)
|
D | yacc.py | 3052 _items = [(k,getattr(module,k)) for k in dir(module)] 3053 pdict = dict(_items)
|
/external/ply/ply/ply/ |
D | lex.py | 889 _items = [(k, getattr(module, k)) for k in dir(module)] 890 ldict = dict(_items)
|
D | yacc.py | 3235 _items = [(k, getattr(module, k)) for k in dir(module)] 3236 pdict = dict(_items)
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 889 _items = [(k, getattr(module, k)) for k in dir(module)] 890 ldict = dict(_items)
|
D | yacc.py | 3235 _items = [(k, getattr(module, k)) for k in dir(module)] 3236 pdict = dict(_items)
|
/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 1047 _items = items if shape else items[0] 1048 ex1 = ndarray(_items, format=fmt, flags=flags,
|