Searched refs:safe_sprintf (Results 1 – 10 of 10) sorted by relevance
/external/fmtlib/test/ |
D | format-test.cc | 96 safe_sprintf(buffer, "%Lg", value); in std_format() 564 safe_sprintf(format_str, "{%u", INT_MAX); in TEST() 566 safe_sprintf(format_str, "{%u}", INT_MAX); in TEST() 570 safe_sprintf(format_str, "{%u", INT_MAX + 1u); in TEST() 572 safe_sprintf(format_str, "{%u}", INT_MAX + 1u); in TEST() 879 safe_sprintf(format_str, "{0:%u", UINT_MAX); in TEST() 887 safe_sprintf(format_str, "{0:%u", INT_MAX + 1u); in TEST() 889 safe_sprintf(format_str, "{0:%u}", INT_MAX + 1u); in TEST() 906 safe_sprintf(format_str, "{0:{%u", UINT_MAX); in TEST() 964 safe_sprintf(format_str, "{0:.%u", UINT_MAX); in TEST() [all …]
|
D | printf-test.cc | 186 safe_sprintf(buffer, "%#e", -42.0); in TEST() 188 safe_sprintf(buffer, "%#E", -42.0); in TEST() 194 safe_sprintf(buffer, "%#a", 16.0); in TEST() 196 safe_sprintf(buffer, "%#A", 16.0); in TEST() 250 safe_sprintf(buffer, "%.3e", 1234.5678); in TEST() 253 safe_sprintf(buffer, "%.3g", 1234.5678); in TEST() 255 safe_sprintf(buffer, "%.3a", 1234.5678); in TEST() 402 safe_sprintf(buffer, "%e", 392.65); in TEST() 404 safe_sprintf(buffer, "%E", 392.65); in TEST() 408 safe_sprintf(buffer, "%a", -392.65); in TEST() [all …]
|
D | util.h | 43 void safe_sprintf(char (&buffer)[SIZE], const char *format, ...) { in safe_sprintf() function
|
/external/libusb/libusb/os/ |
D | windows_nt_common.c | 79 safe_sprintf(err_string, ERR_BUFFER_SIZE, "[%u] ", (unsigned int)error_code); in windows_error_str() 101 safe_sprintf(err_string, ERR_BUFFER_SIZE, in windows_error_str() 105 safe_sprintf(err_string, ERR_BUFFER_SIZE, "Unknown error code %u", (unsigned int)error_code); in windows_error_str()
|
D | windows_common.h | 60 #define safe_sprintf(dst, count, ...) do {_snprintf(dst, count, __VA_ARGS__); (dst)[(count)-1] = 0;… macro
|
D | windows_winusb.c | 436 …safe_sprintf(filter_path, sizeof("\\\\.\\libusb0-0000"), "\\\\.\\libusb0-%04u", (unsigned int)libu… in get_interface_details_filter() 758 safe_sprintf(vptr, vlen, "%s %u.%u %s", (vi.dwPlatformId == VER_PLATFORM_WIN32_NT ? "NT" : "??"), in get_windows_version() 761 safe_sprintf(vptr, vlen, "%s SP%u.%u %s", w, vi.wServicePackMajor, vi.wServicePackMinor, w64); in get_windows_version() 763 safe_sprintf(vptr, vlen, "%s SP%u %s", w, vi.wServicePackMajor, w64); in get_windows_version() 765 safe_sprintf(vptr, vlen, "%s %s", w, w64); in get_windows_version()
|
/external/libchrome/base/ |
D | base.gypi | 569 'strings/safe_sprintf.cc', 570 'strings/safe_sprintf.h',
|
D | BUILD.gn | 694 "strings/safe_sprintf.cc", 695 "strings/safe_sprintf.h",
|
/external/libchrome/ |
D | SConstruct | 135 strings/safe_sprintf.cc
|
D | Android.bp | 164 "base/strings/safe_sprintf.cc",
|