Home
last modified time | relevance | path

Searched refs:snprintf (Results 251 - 275 of 1572) sorted by relevance

1...<<11121314151617181920>>...63

/third_party/musl/libc-test/src/common/
H A Dcfi_util.h60 snprintf(tmp, BUFFER_SIZE, "%s/%s", log_dir, ptr->d_name); in ClearCfiLog()
121 snprintf(tmp, BUFFER_SIZE, "%s/%s", log_dir, ptr->d_name); in FindDirAndCheck()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dfileserver_example_dirs.c71 return snprintf (buf, max, in dir_reader()
116 snprintf (emsg, in ahc_echo()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceMangling.cpp143 snprintf(NewName.data(), BufLen, "_ZN%u%s%s", PrefixLength, in mangleName()
145 // We ignore the snprintf return value (here and below). If we somehow in mangleName()
181 snprintf(NewName.data(), BufLen, "_ZN%u%s%u%sE%s", PrefixLength, in mangleName()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dkill.c114 snprintf(toybuf, sizeof(toybuf), "/proc/%d/stat", procpid); in kill_main()
120 snprintf(toybuf, sizeof(toybuf), "/proc/%d/cmdline", procpid); in kill_main()
/third_party/toybox/toys/posix/
H A Dkill.c120 snprintf(toybuf, sizeof(toybuf), "/proc/%d/stat", procpid); in kill_main()
126 snprintf(toybuf, sizeof(toybuf), "/proc/%d/cmdline", procpid); in kill_main()
/third_party/selinux/libselinux/src/
H A Dcompute_create.c67 snprintf(path, sizeof path, "%s/create", selinux_mnt); in security_compute_create_name_raw()
79 len = snprintf(buf, size, "%s %s %hu", in security_compute_create_name_raw()
H A Dcompute_av.c30 snprintf(path, sizeof path, "%s/access", selinux_mnt); in security_compute_av_flags_raw()
44 ret = snprintf(buf, len, "%s %s %hu %x", scon, tcon, in security_compute_av_flags_raw()
H A Dcompute_user.c30 snprintf(path, sizeof path, "%s/user", selinux_mnt); in security_compute_user_raw()
42 ret = snprintf(buf, size, "%s %s", scon, user); in security_compute_user_raw()
/third_party/alsa-utils/alsaucm/
H A Ddump.c458 snprintf(buf, sizeof(buf), "%s/%s/%s", list, device, verb); in render_devlist()
491 snprintf(buf, sizeof(buf), "_identifiers/%s/%s", device, verb); in render_values()
506 snprintf(buf, sizeof(buf), "%s/%s/%s", list[j], device, verb); in render_values()
570 snprintf(buf, sizeof(buf), "_devices/%s", verb); in render()
596 snprintf(buf, sizeof(buf), "_modifiers/%s", verb); in render()
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_opt_dead_builtin_varyings.c320 snprintf(name, 32, "gl_%s_%s%i_dummy", mode_str, var_name, i); in prepare_array()
324 snprintf(name, 32, "gl_%s_%s%i", mode_str, var_name, i); in prepare_array()
385 snprintf(name, 32, "gl_%s_FrontColor%i_dummy", mode_str, i); in replace_varyings()
392 snprintf(name, 32, "gl_%s_BackColor%i_dummy", mode_str, i); in replace_varyings()
403 snprintf(name, 32, "gl_%s_FogFragCoord_dummy", mode_str); in replace_varyings()
H A Dir_print_visitor.cpp155 snprintf(binding, sizeof(binding), "binding=%i ", ir->data.binding); in visit()
159 snprintf(loc, sizeof(loc), "location=%i ", ir->data.location); in visit()
163 snprintf(component, sizeof(component), "component=%i ", in visit()
169 snprintf(stream, sizeof(stream), "stream(%u,%u,%u,%u) ", in visit()
174 snprintf(stream, sizeof(stream), "stream%u ", ir->data.stream); in visit()
179 snprintf(image_format, sizeof(image_format), "format=%x ", in visit()
/third_party/ltp/lib/
H A Dtst_device.c57 snprintf(path, path_len, dev_loop_variants[i], dev); in set_dev_loop_path()
72 snprintf(path, path_len, dev_variants[i], dev); in set_dev_path()
457 ret = snprintf(mpath, PATH_MAX, "%s/%s", cdir, path); in tst_is_mounted_at_tmpdir()
460 "snprintf() should have returned %d instead of %d", in tst_is_mounted_at_tmpdir()
472 snprintf(path, path_len, "/sys/block/%s/stat", devname); in find_stat_file()
481 snprintf(path, path_len, "/sys/block/%s/%s/stat", ent->d_name, devname); in find_stat_file()
H A Dtst_kconfig.c48 snprintf(path_buf, path_buf_len, "/lib/modules/%s/build/.config", un.release); in kconfig_path()
53 snprintf(path_buf, path_buf_len, "/lib/modules/%s/config", un.release); in kconfig_path()
59 snprintf(path_buf, path_buf_len, "/boot/config-%s", un.release); in kconfig_path()
65 snprintf(path_buf, path_buf_len, "/lib/kernel/config-%s", un.release); in kconfig_path()
92 snprintf(buf, sizeof(buf), "zcat '%s'", path); in open_kconfig()
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil_unittest.cc42 #define snprintf _snprintf macro
550 snprintf(first_equals, 6, " = = "); in TEST()
553 snprintf(first_equals, 6, " = "); in TEST()
566 snprintf(first_equals, 6, " = = "); in TEST()
569 snprintf(first_equals, 6, " = "); in TEST()
/third_party/zlib/test/
H A Dminigzip.c44 # define snprintf _snprintf macro
454 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); in file_compress()
493 snprintf(buf, sizeof(buf), "%s", file); in file_uncompress()
506 snprintf(buf + len, sizeof(buf) - len, "%s", GZ_SUFFIX); in file_uncompress()
546 snprintf(outmode, sizeof(outmode), "%s", "wb6 "); in main()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_android.c746 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); in wl_android_get_link_speed()
895 bytes_written = snprintf(command, total_len, "%s %s", CMD_80211_MODE, mode); in wl_android_get_80211_mode()
960 bytes_written = snprintf(command, total_len, "%s channel %d band %s bw %d", CMD_CHANSPEC, in wl_android_get_chanspec()
982 bytes_written = snprintf(command, total_len, "%s %d", CMD_DATARATE, (datarate/2)); in wl_android_get_datarate()
1004 bytes_written = snprintf(command, total_len, "%s listcount: %d Stations:", in wl_android_get_assoclist()
1008 len = snprintf(command + bytes_written, total_len - bytes_written, " " MACDBG, in wl_android_get_assoclist()
1175 bytes_written = snprintf(command, total_len, "Band %d", band); in wl_android_get_band()
1316 err = snprintf(command, total_len, "%d", err); in wls_parse_batching_cmd()
1331 err = snprintf(command, total_len, "OK"); in wls_parse_batching_cmd()
1464 return (snprintf(comman in wl_android_get_p2p_dev_addr()
[all...]
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
H A Dscsimain.c669 snprintf(ebuff, EBUFF_SZ, ME "Error closing %s ", in run_sg_scan_tests()
691 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
700 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
709 snprintf(ebuff, EBUFF_SZ, ME "device %s failed on scsi " in run_sg_scan_tests()
718 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
742 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
781 snprintf(ebuff, EBUFF_SZ, ME "device %s writing, skip", in run_sg_scan_tests()
789 snprintf(ebuff, EBUFF_SZ, ME "device %s reading, skip", in run_sg_scan_tests()
924 snprintf(ebuff, EBUFF_SZ, ME "ppc=%d, sp=%d, " in do_logs()
1494 snprintf(ebuf in show_scsi_logs()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dhlr_auc_gw.c510 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
538 pos += snprintf(pos, end - pos, "%s ", m->imsi); in update_milenage_file()
555 snprintf(name, sizeof(name), "%s.bak", fname); in update_milenage_file()
561 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
610 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); in sim_req_auth()
652 ret = snprintf(rpos, rend - rpos, " FAILURE"); in sim_req_auth()
786 ret = snprintf(pos, end - pos, "AKA-RESP-AUTH %s ", imsi); in aka_req_auth()
791 ret = snprintf(pos, end - pos, "FAILURE"); in aka_req_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dhlr_auc_gw.c510 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
538 pos += snprintf(pos, end - pos, "%s ", m->imsi); in update_milenage_file()
555 snprintf(name, sizeof(name), "%s.bak", fname); in update_milenage_file()
561 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
610 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); in sim_req_auth()
652 ret = snprintf(rpos, rend - rpos, " FAILURE"); in sim_req_auth()
786 ret = snprintf(pos, end - pos, "AKA-RESP-AUTH %s ", imsi); in aka_req_auth()
791 ret = snprintf(pos, end - pos, "FAILURE"); in aka_req_auth()
/third_party/ffmpeg/libavformat/
H A Dftp.c253 err = snprintf(buf, sizeof(buf), "USER %s\r\n", s->user); in ftp_auth()
262 err = snprintf(buf, sizeof(buf), "PASS %s\r\n", s->password); in ftp_auth()
409 ret = snprintf(command, sizeof(command), "SIZE %s\r\n", s->path); in ftp_file_size()
431 ret = snprintf(command, sizeof(command), "RETR %s\r\n", s->path); in ftp_retrieve()
450 ret = snprintf(command, sizeof(command), "STOR %s\r\n", s->path); in ftp_store()
479 snprintf(command, sizeof(command), "REST %"PRId64"\r\n", pos); in ftp_restart()
492 ret = snprintf(command, sizeof(command), "CWD %s\r\n", s->path); in ftp_set_dir()
1105 ret = snprintf(command, sizeof(command), "DELE %s\r\n", s->path); in ftp_delete()
1116 ret = snprintf(command, sizeof(command), "RMD %s\r\n", s->path); in ftp_delete()
1143 ret = snprintf(comman in ftp_move()
[all...]
/third_party/mesa3d/src/intel/ds/
H A Dintel_pps_priv.h36 snprintf(buf, sizeof(buf), in intel_pps_clock_id()
/third_party/ntfs-3g/ntfsprogs/
H A Dutils.c584 snprintf(temp, 30, "<MFT%llu>", (unsigned in utils_inode_get_name()
622 len = snprintf(buffer + offset, bufsize - offset, "%c%s", PATH_SEP, names[i]); in utils_inode_get_name()
666 len = snprintf(buffer, bufsize, "%s", name); in utils_attr_get_name()
669 len = snprintf(buffer, bufsize, "<UNKNOWN>"); in utils_attr_get_name()
692 len = snprintf(buffer, bufsize, "<UNKNOWN>"); in utils_attr_get_name()
696 len = snprintf(buffer, bufsize, "(%s)", name); in utils_attr_get_name()
/third_party/node/deps/v8/src/d8/
H A Dd8-posix.cc171 snprintf(c_arg, len, "%s", *prog); in Init()
189 snprintf(c_arg, len, "%s", *utf8_arg); in Init()
372 snprintf(message, sizeof(message), "Child killed by signal %d", in WaitForChild()
379 snprintf(message, sizeof(message), "Child exited with status %d", in WaitForChild()
392 snprintf(message, sizeof(message), "Child killed by signal %d", in WaitForChild()
400 snprintf(message, sizeof(message), "Child exited with status %d", in WaitForChild()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_cat_test.cc487 snprintf(expected, sizeof(expected), nopad_format, v); in CheckHex()
493 snprintf(expected, sizeof(expected), zeropad_format, in CheckHex()
501 snprintf(expected, sizeof(expected), spacepad_format, in CheckHex()
513 snprintf(expected, sizeof(expected), nopad_format, v); in CheckDec()
519 snprintf(expected, sizeof(expected), zeropad_format, in CheckDec()
529 snprintf(expected, sizeof(expected), spacepad_format, in CheckDec()
/third_party/musl/src/network/
H A Dinet_ntoa.c8 snprintf(buf, sizeof buf, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]); in inet_ntoa()

Completed in 30 milliseconds

1...<<11121314151617181920>>...63