| /third_party/ulib/musl/src/network/ |
| A D | inet_ntop.c | 14 if (snprintf(s, l, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]) < l) in inet_ntop() 19 snprintf(buf, sizeof buf, "%x:%x:%x:%x:%x:%x:%x:%x", 256 * a[0] + a[1], in inet_ntop() 23 snprintf(buf, sizeof buf, "%x:%x:%x:%x:%x:%x:%d.%d.%d.%d", 256 * a[0] + a[1], in inet_ntop()
|
| A D | inet_ntoa.c | 7 snprintf(buf, sizeof buf, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]); in inet_ntoa()
|
| /third_party/ulib/musl/src/time/ |
| A D | strftime.c | 88 *l = snprintf(*s, sizeof *s, "%2d", tm->tm_mday); in __strftime_fmt_1() 179 *l = snprintf(*s, sizeof *s, "+%lld", val); in __strftime_fmt_1() 189 *l = snprintf(*s, sizeof *s, "%+.2ld%.2ld", (tm->__tm_gmtoff) / 3600, in __strftime_fmt_1() 206 *l = snprintf(*s, sizeof *s, "%0*lld", width, val); in __strftime_fmt_1()
|
| A D | __asctime.c | 10 if (snprintf(buf, 26, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n", __nl_langinfo(ABDAY_1 + tm->tm_wday), in __asctime()
|
| /third_party/ulib/linenoise/ |
| A D | linenoise.c | 347 snprintf(seq,32,"\x1b[%dD",cols-start); 579 snprintf(seq,64,"\r"); 587 snprintf(seq,64,"\x1b[0K"); 590 snprintf(seq,64,"\r\x1b[%dC", (int)(pos+plen)); 619 snprintf(seq,64,"\x1b[%dB", old_rows-rpos); 626 snprintf(seq,64,"\r\x1b[0K\x1b[1A"); 632 snprintf(seq,64,"\r\x1b[0K"); 650 snprintf(seq,64,"\r"); 663 snprintf(seq,64,"\x1b[%dA", rows-rpos2); 671 snprintf(seq,64,"\r\x1b[%dC", col); [all …]
|
| /third_party/ulib/musl/src/legacy/ |
| A D | cuserid.c | 11 snprintf(buf, L_cuserid, "%s", pw.pw_name); in cuserid()
|
| /third_party/ulib/musl/src/conf/ |
| A D | confstr.c | 17 return snprintf(buf, len, "%s", s) + 1; in confstr()
|
| /third_party/ulib/musl/src/stdio/ |
| A D | snprintf.c | 4 int snprintf(char* restrict s, size_t n, const char* restrict fmt, ...) { in snprintf() function
|
| A D | vfwscanf.c | 350 snprintf(tmp, sizeof tmp, "%.*s%.0d%s%c%%lln", 1 + !dest, "%*", width, in vfwscanf()
|
| A D | vfwprintf.c | 410 snprintf(charfmt, sizeof charfmt, "%%%s%s%s%s%s*.*%c%c", (fl & ALT_FORM) ? "#" : "", in wprintf_core()
|
| /third_party/ulib/musl/third_party/tre/ |
| A D | regerror.c | 35 return 1 + snprintf(buf, size, "%s", s); in regerror()
|
| /third_party/lib/acpica/source/include/acpica/platform/ |
| A D | accygwin.h | 103 snprintf (char *s, size_t n, const char *format, ...);
|
| /third_party/ulib/musl/src/misc/ |
| A D | openpty.c | 22 snprintf(name, sizeof buf, "/dev/pts/%d", n); in openpty()
|
| A D | syslog.c | 94 l = snprintf(buf, sizeof buf, "<%d>%s %n%s%s%.0d%s: ", priority, timebuf, &hlen, log_ident, in _vsyslog()
|
| /third_party/ulib/usbhost/ |
| A D | usbhost.c | 93 snprintf(devname, sizeof(devname), "%s/%s", busname, de->d_name); in find_existing_devices_bus() 111 snprintf(busname, sizeof(busname), USB_FS_DIR "/%s", de->d_name); in find_existing_devices() 128 snprintf(path, sizeof(path), USB_FS_DIR "/%03d", i); in watch_existing_subdirs() 227 snprintf(path, sizeof(path), USB_FS_DIR "/%s", event->name); in usb_host_read_event() 247 snprintf(path, sizeof(path), USB_FS_DIR "/%03d/%s", i, event->name); in usb_host_read_event() 382 snprintf(result, strlen(USB_FS_ID_FORMAT) - 1, USB_FS_ID_FORMAT, bus, dev); in usb_device_get_name_from_unique_id()
|
| /third_party/ulib/musl/src/thread/ |
| A D | allocate.c | 183 if (snprintf(vmo_name, ZX_MAX_NAME_LEN, "%s:%p/TLS=%#zx", in __allocate_thread() 185 snprintf(vmo_name, ZX_MAX_NAME_LEN, "%s:%p", in __allocate_thread()
|
| /third_party/ulib/musl/src/locale/ |
| A D | strfmon.c | 61 l = snprintf(s, n, "%*.*f", w, rp, x); in vstrfmon_l()
|
| /third_party/uapp/dash/src/bltin/ |
| A D | zircon.c | 110 snprintf(tmp, sizeof(tmp), "%s/%s", dirn, de->d_name); in zxc_ls() 259 snprintf(full_filename, PATH_MAX, "%s%s", dest_name, filename_start); in mv_or_cp_to_dir() 261 snprintf(full_filename, PATH_MAX, "%s/%s", dest_name, filename_start); in mv_or_cp_to_dir()
|
| /third_party/uapp/kilo/ |
| A D | kilo.c | 369 snprintf(seq,32,"\x1b[%d;%dH",orig_row,orig_col); 915 int welcomelen = snprintf(welcome,sizeof(welcome), 959 int clen = snprintf(buf,sizeof(buf),"\x1b[%dm",color); 976 int len = snprintf(status, sizeof(status), "%.20s - %d lines %s", 978 int rlen = snprintf(rstatus, sizeof(rstatus), 1012 snprintf(buf,sizeof(buf),"\x1b[%d;%dH",E.cy+1,cx);
|
| /third_party/uapp/mkfs-msdosfs/ |
| A D | newfs_msdos.c | 157 snprintf(buf, sizeof(buf), "%s%s", _PATH_DEV, fname); in main()
|
| A D | mkfs_msdos.c | 343 snprintf(buf, sizeof(buf), "/boot/%s", bname); in mkfs_msdos() 569 snprintf(buf, sizeof(buf), "FAT%u", fat); in mkfs_msdos()
|
| /third_party/ulib/musl/include/ |
| A D | stdio.h | 101 int snprintf(char* __restrict, size_t, const char* __restrict, ...) __printflike(3, 4);
|
| /third_party/uapp/dash/src/ |
| A D | output.c | 359 int n = snprintf(str, sizeof(str) - 1, "\033]2;%s", title); in settitle()
|
| /third_party/lib/acpica/source/os_specific/service_layers/ |
| A D | oslinuxtbl.c | 520 snprintf (Format, 32, "%s=%s", Keyword, "%llx"); in OslFindRsdpViaEfiByKeyword()
|
| /third_party/ulib/musl/ldso/ |
| A D | dynlink.c | 1226 snprintf(buf, buf_size, "build_id_too_large_%u", hdr.hdr.n_descsz); in read_buildid() 1229 snprintf(&buf[i * 2], 3, "%02x", payload[i]); in read_buildid() 1353 snprintf(synthetic_name, sizeof(synthetic_name), in load_library_vmo() 1356 snprintf(synthetic_name, sizeof(synthetic_name), in load_library_vmo()
|