Searched refs:_chars (Results 1 – 3 of 3) sorted by relevance
/external/lzma/CPP/Common/ |
D | MyString.cpp | 196 const char *s1 = _chars; in IsPrefixedBy_Ascii_NoCase() 211 const wchar_t *s1 = _chars; in IsPrefixedBy_Ascii_NoCase() 349 memcpy(newBuf, _chars, (size_t)(_len + 1)); \ in ReAlloc() 350 MY_STRING_DELETE(_chars); in ReAlloc() 351 _chars = newBuf; in ReAlloc() 361 MY_STRING_DELETE(_chars); in ReAlloc2() 362 _chars = newBuf; in ReAlloc2() 368 _chars = 0; in SetStartLen() 369 _chars = MY_STRING_NEW(char, len + 1); in SetStartLen() 413 memcpy(_chars, s._chars, num); in AString() [all …]
|
D | MyString.h | 188 char *_chars; variable 194 memmove(_chars + dest, _chars + src, (size_t)(_len - src + 1) * sizeof(char)); in MoveItems() 233 ~AString() { MY_STRING_DELETE(_chars); } in ~AString() 237 void Empty() { _len = 0; _chars[0] = 0; } in Empty() 239 operator const char *() const { return _chars; } 240 const char *Ptr() const { return _chars; } in Ptr() 241 const char *Ptr(unsigned pos) const { return _chars + pos; } in Ptr() 242 const char *RightPtr(unsigned num) const { return _chars + _len - num; } in RightPtr() 243 char Back() const { return _chars[_len - 1]; } in Back() 245 void ReplaceOneCharAtPos(unsigned pos, char c) { _chars[pos] = c; } in ReplaceOneCharAtPos() [all …]
|
/external/fonttools/Lib/fontTools/ |
D | afmLib.py | 101 self._chars = {} 142 self._chars[charname] = charnum, width, (l, b, r, t) 221 lines.append("StartCharMetrics " + repr(len(self._chars))) 222 …items = [(charnum, (charname, width, box)) for charname, (charnum, width, box) in self._chars.item… 267 return char in self._chars 270 return list(self._chars.keys()) 313 return self._chars[key] 321 self._chars[key] = value 329 del self._chars[key]
|