Home
last modified time | relevance | path

Searched refs:_chars (Results 1 – 5 of 5) sorted by relevance

/external/lzma/CPP/Common/
DMyString.cpp186 const char *s1 = _chars; in IsPrefixedBy_Ascii_NoCase()
201 const wchar_t *s1 = _chars; in IsPrefixedBy_Ascii_NoCase()
325 memcpy(newBuf, _chars, (size_t)(_len + 1)); \ in ReAlloc()
326 MY_STRING_DELETE(_chars); in ReAlloc()
327 _chars = newBuf; in ReAlloc()
334 _chars = 0; in SetStartLen()
335 _chars = MY_STRING_NEW(char, len + 1); in SetStartLen()
379 memcpy(_chars, s._chars, num); in AString()
380 _chars[num] = 0; in AString()
386 char *chars = _chars; in AString()
[all …]
DMyString.h161 char *_chars; variable
167 memmove(_chars + dest, _chars + src, (size_t)(_len - src + 1) * sizeof(char)); in MoveItems()
194 ~AString() { MY_STRING_DELETE(_chars); } in ~AString()
198 void Empty() { _len = 0; _chars[0] = 0; } in Empty()
200 operator const char *() const { return _chars; }
201 const char *Ptr() const { return _chars; } in Ptr()
202 const char *Ptr(unsigned pos) const { return _chars + pos; } in Ptr()
203 const char *RightPtr(unsigned num) const { return _chars + _len - num; } in RightPtr()
204 char Back() const { return _chars[_len - 1]; } in Back()
206 void ReplaceOneCharAtPos(unsigned pos, char c) { _chars[pos] = c; } in ReplaceOneCharAtPos()
[all …]
/external/fonttools/Lib/fontTools/
DafmLib.py101 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]
/external/jetty/src/java/org/eclipse/jetty/server/
DHttpWriter.java106 if (_out._chars==null) in write()
108 _out._chars = new char[MAX_OUTPUT_CHARS]; in write()
110 char[] chars = _out._chars; in write()
DHttpOutput.java52 char[] _chars; field in HttpOutput