/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getservent.c | 76 snprintf(buf, sizeof(buf), "%d/%s", ntohs(___getservbyport_yp), 107 snprintf(line, BUFSIZ, "%.*s\n", resultlen, result); 126 snprintf(buf, sizeof(buf), "%s/%s", ___getservbyname_yp, 138 snprintf(line, BUFSIZ, "%.*s\n", resultlen, result); 180 snprintf(line, BUFSIZ, "%.*s\n", resultlen, result);
|
D | getnameinfo.c | 242 snprintf(numserv, sizeof(numserv), "%u", ntohs(port)); in getnameinfo_inet() 440 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id); in ip6_sa2str() 460 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id); in ip6_sa2str() 496 n = snprintf(host, hostlen, "link#%u", sdl->sdl_index); 511 n = snprintf(host, hostlen, "%u", CLLADDR(sdl)[0]); 513 n = snprintf(host, hostlen, "%u.%u", 571 n = snprintf(outp, hostlen, "%s%02x",
|
/device/google/contexthub/util/nanotool/ |
D | sensorevent.cpp | 155 snprintf(buffer, sizeof(buffer), "%" PRIu64 ".%06" PRIu64 " ms", in GetSampleTimeStr() 177 snprintf(buffer, sizeof(buffer), in ToString() 213 snprintf(buffer, sizeof(buffer), " %f @ %s\n", in StringForSample() 230 snprintf(buffer, sizeof(buffer), " %d @ %s\n", in StringForSample() 250 snprintf(buffer, sizeof(buffer), " X:%f Y:%f Z:%f @ %s%s\n", in StringForSample() 294 snprintf(buffer, sizeof(buffer), " X:%f Y:%f Z:%f @ %s%s\n", in StringForSample()
|
D | log.cpp | 83 offset += snprintf(&line[offset], sizeof(line) - offset, "%02x ", in DebugBuf() 85 offset_chars += snprintf( in DebugBuf() 93 offset += snprintf(&line[offset], sizeof(line) - offset, " "); in DebugBuf() 132 snprintf(prefix, sizeof(prefix), "%c %6.03f: ", Log::LevelAbbrev(level), in LogEx()
|
D | nanomessage.cpp | 52 snprintf(buffer, sizeof(buffer), format_string, in ToString() 67 snprintf(buffer, sizeof(buffer), format_string, in ToString() 99 snprintf(buffer, sizeof(buffer), format_string, in ToString() 108 snprintf(buffer, sizeof(buffer), "ReadEventResponse %u\n", GetEventType()); in ToString() 225 snprintf(buffer, sizeof(buffer), format_string, in ToString()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | snprintf.c | 59 __weak_alias(snprintf,_snprintf) in __weak_alias() argument 63 snprintf(char *str, size_t n, char const *fmt, ...) in __weak_alias()
|
D | tmpnam.c | 67 (void)snprintf(s, L_tmpnam, "%stmp_%lu_XXXX", _PATH_TMP, tmpcount); in tmpnam()
|
/device/google/sunfish/dumpstate/ |
D | DumpstateDevice.cpp | 215 snprintf(cmd, sizeof(cmd), in dumpModemThread() 267 snprintf(cmd, sizeof(cmd), "%s/appid", touch_spi_path); in DumpTouch() 273 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch() 277 snprintf(cmd, sizeof(cmd), in DumpTouch() 283 snprintf(cmd, sizeof(cmd), in DumpTouch() 289 snprintf(cmd, sizeof(cmd), in DumpTouch() 348 snprintf(cmd, sizeof(cmd), "%s/stm_fts_cmd", touch_spi_path); in DumpTouch() 351 snprintf(cmd, sizeof(cmd), in DumpTouch()
|
/device/generic/goldfish-opengl/shared/qemupipe/ |
D | qemu_pipe_guest.cpp | 55 bufLen = snprintf(buf, sizeof(buf), "pipe:%s:%s", ns, pipeName); in qemu_pipe_open_ns() 57 bufLen = snprintf(buf, sizeof(buf), "pipe:%s", pipeName); in qemu_pipe_open_ns()
|
/device/google/sunfish/json-c/ |
D | json_util.c | 51 # define snprintf _snprintf macro 53 # error You do not have snprintf on your system. 226 snprintf(buf_cmp_start, sizeof(buf_cmp), "%" PRId64, num64); in json_parse_int64()
|
/device/google/crosshatch/json-c/ |
D | json_util.c | 51 # define snprintf _snprintf macro 53 # error You do not have snprintf on your system. 226 snprintf(buf_cmp_start, sizeof(buf_cmp), "%" PRId64, num64); in json_parse_int64()
|
/device/google/coral/json-c/ |
D | json_util.c | 51 # define snprintf _snprintf macro 53 # error You do not have snprintf on your system. 226 snprintf(buf_cmp_start, sizeof(buf_cmp), "%" PRId64, num64); in json_parse_int64()
|
/device/google/bonito/json-c/ |
D | json_util.c | 51 # define snprintf _snprintf macro 53 # error You do not have snprintf on your system. 226 snprintf(buf_cmp_start, sizeof(buf_cmp), "%" PRId64, num64); in json_parse_int64()
|
/device/generic/goldfish/qemu-props/ |
D | qemu-props.c | 127 snprintf(vendortemp, sizeof(vendortemp), "vendor.%s", temp); in main() 185 snprintf(set, sizeof(set), "%s", mesg); in sendMessage()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | setlocale.c | 237 (void)snprintf(current_locale_string, in currentlocale() 314 (void)snprintf(name, sizeof(name), "%s/%s/%s", in load_locale_sub() 339 (void)snprintf(name, sizeof(name), "%s/%s", in load_locale_sub()
|
/device/generic/goldfish/wifi/execns/ |
D | execns.cpp | 94 snprintf(nsPath, sizeof(nsPath), "%s/%s.pid", kNetNsDir, ns); in readNamespacePid() 135 snprintf(nsPath, sizeof(nsPath), "/proc/%s/ns/net", pid.c_str()); in setNetworkNamespace() 223 int printed = snprintf(buffer, sizeof(buffer), in execCommand()
|
/device/google/wahoo/health/ |
D | CycleCountBackupRestore.cpp | 65 snprintf(strData, kBuffSize, "%d %d %d %d %d %d %d %d", in SaveToStorage() 99 snprintf(strData, kBuffSize, "%d %d %d %d %d %d %d %d", in SaveToSRAM()
|
D | LearnedCapacityBackupRestore.cpp | 72 snprintf(strData, kBuffSize, "%d", sw_cap_); in SaveToStorage() 115 snprintf(strData, kBuffSize, "%d", hw_cap_); in SaveToSRAM()
|
/device/google/bonito/health/ |
D | LearnedCapacityBackupRestore.cpp | 60 snprintf(strData, kBuffSize, "%d", sw_cap_); in SaveToStorage() 103 snprintf(strData, kBuffSize, "%d", hw_cap_); in SaveToSRAM()
|
/device/linaro/poplar/wifi/wpa_supplicant_8_lib/ |
D | driver_cmd_nl80211.c | 133 snprintf(buf, sizeof(buf), "P2P_SET_NOA %d %d %d", count, start, duration); in wpa_driver_set_p2p_noa() 149 snprintf(buf, sizeof(buf), "P2P_SET_PS %d %d %d", legacy_ps, opp_ps, ctwindow); in wpa_driver_set_p2p_ps() 190 pbuf += snprintf(pbuf, buf_len - wpabuf_len(ap_wps_p2p_ie), in wpa_driver_set_ap_wps_p2p_ie()
|
/device/google/coral/dumpstate/ |
D | DumpstateDevice.cpp | 256 snprintf(cmd, sizeof(cmd), "%s/appid", touch_spi_path); in DumpTouch() 262 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch() 266 snprintf(cmd, sizeof(cmd), in DumpTouch() 272 snprintf(cmd, sizeof(cmd), in DumpTouch() 278 snprintf(cmd, sizeof(cmd), in DumpTouch()
|
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ |
D | fiptool.c | 90 snprintf(buf, sizeof(buf), "%s: %s", msg, strerror(errno)); in log_err() 241 snprintf(s, len, "%08X-%04X-%04X-%04X-%04X%04X%04X", in uuid_to_str() 343 snprintf(filename, sizeof(filename), "%s%s", in parse_fip() 640 snprintf(filename, len, "%s", p); in parse_blob_opt() 806 snprintf(outfile, sizeof(outfile), "%s", optarg); in update_cmd() 820 snprintf(outfile, sizeof(outfile), "%s", argv[0]); in update_cmd() 915 snprintf(outdir, sizeof(outdir), "%s", optarg); in unpack_cmd() 944 snprintf(file, sizeof(file), "%s.bin", in unpack_cmd() 947 snprintf(file, sizeof(file), "%s", in unpack_cmd() 1052 snprintf(outfile, sizeof(outfile), "%s", optarg); in remove_cmd() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/ |
D | stdio.h | 72 int snprintf(char * __restrict, size_t, const char * __restrict,
|
/device/generic/goldfish/qemud/ |
D | qemud.cpp | 39 snprintf(header, sizeof(header), "%04x", size); in qemud_channel_send()
|
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
D | inet_ntop.c | 111 l = snprintf(tmp, sizeof(tmp), "%u.%u.%u.%u", in inet_ntop4() 210 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i]); in inet_ntop6()
|