Lines Matching defs:len
176 int len = str->length();
177 if (len > 0x1000)
178 len = 0x1000;
187 for (int i = 0; i < len; i++) {
206 void Log::MessageBuilder::AppendStringPart(const char* str, int len) {
207 if (pos_ + len > Log::kMessageBufferSize) {
208 len = Log::kMessageBufferSize - pos_;
209 ASSERT(len >= 0);
210 if (len == 0) return;
214 StrNCpy(buf, str, len);
215 pos_ += len;