Lines Matching defs:buffer
53 WideString buffer;
57 int32_t lastCharSize = encodeChar(c, buffer, e);
61 int32_t unwritten = (buffer.GetLength() / 3) * 2;
69 if ((buffer.GetLength() % 3) == 2) {
71 lastCharSize = BacktrackOneCharacter(&context, &buffer, lastCharSize);
78 while ((buffer.GetLength() % 3) == 1 &&
80 lastCharSize = BacktrackOneCharacter(&context, &buffer, lastCharSize);
88 int32_t count = buffer.GetLength();
98 handleEOD(context, buffer, e);
101 WideString& buffer) {
102 context.writeCodewords(EncodeToC40Codewords(buffer, 0));
103 buffer.Delete(0, 3);
106 WideString& buffer,
108 int32_t unwritten = (buffer.GetLength() / 3) * 2;
109 int32_t rest = buffer.GetLength() % 3;
117 buffer += (wchar_t)'\0';
118 while (buffer.GetLength() >= 3) {
119 writeNextTriplet(context, buffer);
125 while (buffer.GetLength() >= 3) {
126 writeNextTriplet(context, buffer);
133 while (buffer.GetLength() >= 3) {
134 writeNextTriplet(context, buffer);
190 WideString* buffer,
195 int32_t count = buffer->GetLength();
199 buffer->Delete(count - lastCharSize, lastCharSize);