Lines Matching defs:len
1306 size_t len = strlen(str);
1307 void* buf = ImGui::MemAlloc(len + 1);
1308 return (char*)memcpy(buf, (const void*)str, len + 1);
2130 int len = str_end ? (int)(str_end - str) : (int)strlen(str);
2134 const int needed_sz = write_off + len;
2135 if (write_off + len >= Buf.Capacity)
2142 memcpy(&Buf[write_off - 1], str, (size_t)len);
2143 Buf[write_off - 1 + len] = 0;
2160 int len = ImFormatStringV(NULL, 0, fmt, args); // FIXME-OPT: could do a first pass write attempt, likely successful on first pass.
2161 if (len <= 0)
2169 const int needed_sz = write_off + len;
2170 if (write_off + len >= Buf.Capacity)
2177 ImFormatStringV(&Buf[write_off - 1], (size_t)len + 1, fmt, args_copy);