Lines Matching defs:formatLength
152 size_t formatLength = strlen(format);
153 OwnPtr<char[]> formatWithPrefix = adoptArrayPtr(new char[prefixLength + formatLength + 1]);
155 memcpy(formatWithPrefix.get() + prefixLength, format, formatLength);
156 formatWithPrefix[prefixLength + formatLength] = 0;
163 size_t formatLength = strlen(format);
164 if (formatLength && format[formatLength - 1] == '\n') {
169 OwnPtr<char[]> formatWithNewline = adoptArrayPtr(new char[formatLength + 2]);
170 memcpy(formatWithNewline.get(), format, formatLength);
171 formatWithNewline[formatLength] = '\n';
172 formatWithNewline[formatLength + 1] = 0;