Lines Matching refs:len
53 size_t len = strlen(string);
54 if (position_ + len >= capacity_) {
55 if (!Grow(len)) {
60 if (memcpy_s(buffer_ + position_, capacity_ - position_, string, len) != EOK) {
63 position_ += len;
73 size_t len = static_cast<size_t>(string.GetLength());
74 if (position_ + len >= capacity_) {
75 if (!Grow(len)) {
80 if (memcpy_s(buffer_ + position_, capacity_ - position_, string.string(), len) != EOK) {
83 position_ += len;
95 int len = vsnprintf_s(buf, LINE_MAX_SIZE, LINE_MAX_SIZE - 1, format, args);
96 if (len <= 0) {
102 size_t positionTmp = position_ + static_cast<size_t>(len);
104 if (!Grow(len)) {
111 if (vsnprintf_s(buffer_ + position_, len + 1, len, format, argsCopy) < 0) {
116 position_ += len;