ByteAt
uint8 ByteAt(int32 offset) const;
char ByteAt(int32 index) const;
char next = fSequence.ByteAt(i);
char nextChar = fSequence.ByteAt(i);
uint8 c = (uint8)encodedText.ByteAt(i);
if (i < end - 1 && encodedText.ByteAt(i + 1) == '-') {
c = encodedText.ByteAt(i);
if (!isdigit(string.ByteAt(i)))
if (result.ByteAt(0) == '.')
if (result.ByteAt(0) == '.')
if (canEndLine(currentLine->ByteAt(i)))
if (mustEndLine(currentLine->ByteAt(i)))
if (ByteAt(start) == ' ')
while (i < len && _IsSpaceOrControl(value.ByteAt(i)))
while (i > 0 && _IsSpaceOrControl(value.ByteAt(i)))
if (_IsSpaceOrControl(value.ByteAt(i)))
for (charLen = 1; str.ByteAt(i + charLen) & 0x80; charLen++);
while (urlPos >= startIndex && (isalnum(string.ByteAt(urlPos - 1))
|| string.ByteAt(urlPos - 1) == '-'))
if (ByteAt(offset) == B_ENTER)
if ((ByteAt(offset) & 0xC0) != 0x80)
|| view->ByteAt(view->TextLength() - 1) == '\n';
while (!IsInitialUTF8Byte(ByteAt(--start))) {
for (end = start + 1; !IsInitialUTF8Byte(ByteAt(end)); end++) {
for (end = start + 1; !IsInitialUTF8Byte(ByteAt(end));
unsigned char ch = ByteAt(i);
if (ByteAt(offset) == B_TAB)
if (ByteAt(offset - 1) == B_ENTER)
if (offset != textLength && ByteAt(offset - 1) == B_SPACE)
if (classification == CHAR_CLASS_END_OF_TEXT || ByteAt(offset) == B_ENTER)
|| ByteAt(offset + 1) == B_ENTER)) {
if (ByteAt((line + 1)->offset - 1) == B_ENTER)
if (ByteAt(fCaretOffset - 1) == B_ENTER)
while (ByteAt(offset) != '\0' &&
(ByteAt(offset) == B_TAB || ByteAt(offset) == B_SPACE)
&& ByteAt(offset) == B_ENTER) {
&& ByteAt(offset) == B_ENTER) {
if (ByteAt(startOffset) == B_ENTER) {
if (ByteAt((line + 1)->offset - 1) == B_ENTER)
if (ByteAt(offset + tabChars + numTabs) != B_TAB)
for (++offset; (ByteAt(offset) & 0xC0) == 0x80; ++offset)
if ((ByteAt(offset) & 0xC0) != 0x80)
buffer[x] = fTextView->ByteAt(start + x);
fTextData[x] = fTextView->ByteAt(start + x);
buffer[fTextLength + x] = fTextView->ByteAt(start + x);
if (i < name.Length() && isspace(name.ByteAt(i))) {
while (dots < name.Length() && name.ByteAt(dots) == '.')
if (!isspace(sub_cat.ByteAt(h))) {
if (!isspace(sub_cat.ByteAt(h))) {
while (isspace (end_piece.ByteAt(0)))
if (end_piece.ByteAt(0) == '\"') {
if (pos != 0 && header.ByteAt(pos - 1) != '\n')
if (header.ByteAt(fieldEndPos) == ':')
if (header.ByteAt(crPos - 1) == '\r') {
char nextByte = header.ByteAt(crPos);
&& (separator == 0 || host.ByteAt(separator - 1) != ']')) {
if (path.IsEmpty() || path.ByteAt(0) != '/')
if (parent.ByteAt(length - 1) != '/') {
if (normalizedPath.ByteAt(normalizedPathLength - 1) != '/') {
if (position != B_ERROR && buffer.ByteAt(position + 2) == '0')
if (fExtension.ByteAt(0) == '.')
if (first.ByteAt(0) == '<') {
if (second.ByteAt(0) != '<')
} else if (second.ByteAt(0) == '<')
if (maybeRelativePath.ByteAt(0) == '/')
CPPUNIT_ASSERT_EQUAL(0, string.ByteAt(-10));
CPPUNIT_ASSERT_EQUAL(0, string.ByteAt(200));
CPPUNIT_ASSERT_EQUAL(' ', string.ByteAt(1));
CPPUNIT_ASSERT_EQUAL('e', string.ByteAt(7));