Home
last modified time | relevance | path

Searched refs:_items (Results 1 – 13 of 13) sorted by relevance

/external/lzma/CPP/Common/
DMyBuffer.h10 T *_items; variable
17 _items = new T[buffer._size]; in CopyToEmpty()
18 memcpy(_items, buffer._items, buffer._size * sizeof(T)); in CopyToEmpty()
25 if (_items) in Free()
27 delete []_items; in Free()
28 _items = 0; in Free()
33 CBuffer(): _items(0), _size(0) {}; in CBuffer()
34 CBuffer(size_t size): _items(0), _size(0) { _items = new T[size]; _size = size; } in CBuffer()
35 CBuffer(const CBuffer &buffer): _items(0), _size(0) { CopyToEmpty(buffer); } in CBuffer()
36 ~CBuffer() { delete []_items; } in ~CBuffer()
[all …]
DMyVector.h9 T *_items; variable
15 memmove(_items + destIndex, _items + srcIndex, (size_t)(_size - srcIndex) * (size_t)sizeof(T)); in MoveItems()
24 memcpy(p, _items, (size_t)_size * (size_t)sizeof(T)); in ReserveOnePosition()
25 delete []_items; in ReserveOnePosition()
26 _items = p; in ReserveOnePosition()
33 CRecordVector(): _items(0), _size(0), _capacity(0) {} in CRecordVector()
35 CRecordVector(const CRecordVector &v): _items(0), _size(0), _capacity(0) in CRecordVector()
40 _items = new T[size]; in CRecordVector()
43 memcpy(_items, v._items, (size_t)size * (size_t)sizeof(T)); in CRecordVector()
54 _items = new T[size]; in ConstructReserve()
[all …]
DDynamicBuffer.h8 T *_items; variable
29 memcpy(newBuffer, _items, _pos * sizeof(T)); in Grow()
30 delete []_items; in Grow()
31 _items = newBuffer; in Grow()
36 CDynamicBuffer(): _items(0), _size(0), _pos(0) {} in CDynamicBuffer()
38 operator const T *() const { return _items; };
39 ~CDynamicBuffer() { delete []_items; } in ~CDynamicBuffer()
46 T *res = _items + _pos; in GetCurPtrAndGrow()
/external/fonttools/Lib/fontTools/
Dinspect.py61 for k,v in self._items:
69 self._items = items
72 self._items = [(tag,font[tag]) for tag in font.keys()]
102 self._items = sorted(value.__dict__.items())
107 self._items = sorted(value.items())
115 self._items = list(enumerate(value))
121 return len(self._items)
128 for i,(k,v) in enumerate(self._items):
131 del self._items
140 k,v = self._items[n]
[all …]
/external/lzma/CPP/7zip/UI/FileManager/
DExtractCallback.h36 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/
DOpenArchive.cpp178 CObjectVector<CParseItem> _items; member in NArchive::NParser::CHandler
191 if (_items.IsEmpty()) in GetLastEnd()
193 const CParseItem &back = _items.Back(); in GetLastEnd()
210 unsigned left = 0, right = _items.Size(); in FindInsertPos()
214 const CParseItem & midItem = _items[mid]; in FindInsertPos()
248 _items.Add(item2); in AddUnknownItem()
250 else if (_maxEndOffset > next && !_items.IsEmpty()) in AddUnknownItem()
252 CParseItem &back = _items.Back(); in AddUnknownItem()
267 _items.Insert(pos, item); in AddItem()
315 _items.Clear(); in Close()
[all …]
/external/autotest/cli/
Daction_common_unittest.py182 def _items(): function
189 crdel.get_items = _items
237 def _items(): function
250 addrm.get_items = _items
/external/curl/
DCMakeLists.txt1048 # Helper to populate a list (_items) with a label when conditions (the remaining
1053 set(_items ${_items} "${label}" PARENT_SCOPE) variable
1058 set(_items) variable
1086 string(REPLACE ";" " " SUPPORT_FEATURES "${_items}")
1090 set(_items) variable
1116 list(SORT _items)
1117 string(REPLACE ";" " " SUPPORT_PROTOCOLS "${_items}")
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py508 _items = [(k,getattr(module,k)) for k in dir(module)]
510 for (i,v) in _items:
Dyacc.py1980 _items = [(k,getattr(module,k)) for k in dir(module)]
1982 for i in _items:
/external/libmojo/third_party/ply/
Dlex.py884 _items = [(k,getattr(module,k)) for k in dir(module)]
885 ldict = dict(_items)
Dyacc.py3052 _items = [(k,getattr(module,k)) for k in dir(module)]
3053 pdict = dict(_items)
/external/robolectric/v3/libs/
Dvtd-xml-2.11.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ximpleware/ com/ ...