Home | History | Annotate | Download | only in wtf

Lines Matching refs:buffer

50 inline int snprintf(char* buffer, size_t count, const char* format, ...)
55 result = _vsnprintf(buffer, count, format, args);
58 // In the case where the string entirely filled the buffer, _vsnprintf will not
61 buffer[count - 1] = '\0';
66 inline double wtf_vsnprintf(char* buffer, size_t count, const char* format, va_list args)
68 int result = _vsnprintf(buffer, count, format, args);
70 // In the case where the string entirely filled the buffer, _vsnprintf will not
73 buffer[count - 1] = '\0';
79 // vsnprintf does not null terminate the buffer. WebKit can rely on the null termination.
80 #define vsnprintf(buffer, count, format, args) wtf_vsnprintf(buffer, count, format, args)
96 inline char* strnstr(const char* buffer, const char* target, size_t bufferLength)
100 return const_cast<char*>(buffer);
101 for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++) {