Home
last modified time | relevance | path

Searched refs:snprintf (Results 151 - 175 of 7112) sorted by relevance

12345678910>>...285

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
H A Ddsi_pll_10nm.c684 snprintf(vco_name, 32, "dsi%dvco_clk", pll_10nm->id); in pll_10nm_register()
691 snprintf(clk_name, 32, "dsi%d_pll_out_div_clk", pll_10nm->id); in pll_10nm_register()
692 snprintf(parent, 32, "dsi%dvco_clk", pll_10nm->id); in pll_10nm_register()
706 snprintf(clk_name, 32, "dsi%d_pll_bit_clk", pll_10nm->id); in pll_10nm_register()
707 snprintf(parent, 32, "dsi%d_pll_out_div_clk", pll_10nm->id); in pll_10nm_register()
723 snprintf(clk_name, 32, "dsi%d_phy_pll_out_byteclk", pll_10nm->id); in pll_10nm_register()
724 snprintf(parent, 32, "dsi%d_pll_bit_clk", pll_10nm->id); in pll_10nm_register()
737 snprintf(clk_name, 32, "dsi%d_pll_by_2_bit_clk", pll_10nm->id); in pll_10nm_register()
738 snprintf(parent, 32, "dsi%d_pll_bit_clk", pll_10nm->id); in pll_10nm_register()
749 snprintf(clk_nam in pll_10nm_register()
[all...]
H A Ddsi_pll_7nm.c710 snprintf(vco_name, 32, "dsi%dvco_clk", pll_7nm->id); in pll_7nm_register()
717 snprintf(clk_name, 32, "dsi%d_pll_out_div_clk", pll_7nm->id); in pll_7nm_register()
718 snprintf(parent, 32, "dsi%dvco_clk", pll_7nm->id); in pll_7nm_register()
732 snprintf(clk_name, 32, "dsi%d_pll_bit_clk", pll_7nm->id); in pll_7nm_register()
733 snprintf(parent, 32, "dsi%d_pll_out_div_clk", pll_7nm->id); in pll_7nm_register()
749 snprintf(clk_name, 32, "dsi%d_phy_pll_out_byteclk", pll_7nm->id); in pll_7nm_register()
750 snprintf(parent, 32, "dsi%d_pll_bit_clk", pll_7nm->id); in pll_7nm_register()
763 snprintf(clk_name, 32, "dsi%d_pll_by_2_bit_clk", pll_7nm->id); in pll_7nm_register()
764 snprintf(parent, 32, "dsi%d_pll_bit_clk", pll_7nm->id); in pll_7nm_register()
775 snprintf(clk_nam in pll_7nm_register()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c86 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
109 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
140 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
238 snprintf(path, sizeof(path), "/proc/%d/setgroups", pid); in write_id_mapping()
253 ret = snprintf(path, sizeof(path), "/proc/%d/uid_map", pid); in write_id_mapping()
256 ret = snprintf(path, sizeof(path), "/proc/%d/gid_map", pid); in write_id_mapping()
319 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getuid()); in change_idmaps()
325 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getgid()); in change_idmaps()
403 snprintf(device_path, sizeof(device_path), in TEST()
412 snprintf(devic in TEST()
[all...]
/kernel/linux/linux-5.10/security/tomoyo/
H A Daudit.c38 len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); in tomoyo_print_bprm()
106 snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_bprm()
165 pos = snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_header()
196 pos += snprintf(buffer + pos, in tomoyo_print_header()
206 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
216 pos += snprintf(buffer + pos, in tomoyo_print_header()
221 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
279 pos = snprintf(buf, len, "%s", header); in tomoyo_init_log()
283 pos += snprintf(buf + pos, len - pos, in tomoyo_init_log()
287 pos += snprintf(bu in tomoyo_init_log()
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A Daudit.c38 len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); in tomoyo_print_bprm()
106 snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_bprm()
165 pos = snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_header()
196 pos += snprintf(buffer + pos, in tomoyo_print_header()
206 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
216 pos += snprintf(buffer + pos, in tomoyo_print_header()
221 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
279 pos = snprintf(buf, len, "%s", header); in tomoyo_init_log()
283 pos += snprintf(buf + pos, len - pos, in tomoyo_init_log()
287 pos += snprintf(bu in tomoyo_init_log()
[all...]
/third_party/libsnd/regtest/
H A Ddatabase.c161 snprintf (db->cmdbuf, sizeof (db->cmdbuf), "select fname from sndfile where fname='%s'", filename) ; in db_file_exists()
202 snprintf (db->cmdbuf, sizeof (db->cmdbuf), "insert into sndfile " in db_add_file()
251 snprintf (db->cmdbuf, sizeof (db->cmdbuf), "select ekey from sndfile") ; in db_check_all()
291 snprintf (db->cmdbuf, sizeof (db->cmdbuf), "select ekey from sndfile where fname='%s'", db->filename) ; in get_ekey_from_filename()
316 snprintf (db->cmdbuf, sizeof (db->cmdbuf), "select fname,fpath from sndfile where ekey='%d'", ekey) ; in get_filename_pathname_by_ekey()
330 snprintf (db->filename, sizeof (db->filename), "%s", result [2]) ; in get_filename_pathname_by_ekey()
331 snprintf (db->pathname, sizeof (db->pathname), "%s", result [3]) ; in get_filename_pathname_by_ekey()
362 snprintf (db->cmdbuf, sizeof (db->cmdbuf), "select fname,srate,frames,channels,format," in check_file_by_ekey()
444 snprintf (db->pathname + slen, sizeof (db->pathname) - slen, "/%s", filepath) ; in get_filename_pathname()
447 snprintf (d in get_filename_pathname()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dump.c56 snprintf(test_file, sizeof(test_file), "%s.o", t->file); in test_btf_dump_case()
78 snprintf(out_file, sizeof(out_file), "/tmp/%s.output.XXXXXX", t->file); in test_btf_dump_case()
99 snprintf(test_file, sizeof(test_file), "progs/%s.c", t->file); in test_btf_dump_case()
105 snprintf(test_file, sizeof(test_file), "%s.c", t->file); in test_btf_dump_case()
113 snprintf(diff_cmd, sizeof(diff_cmd), in test_btf_dump_case()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c78 count = snprintf(buf, PAGE_SIZE, "0 (No Interference" in b43legacy_attr_interfmode_show()
82 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference" in b43legacy_attr_interfmode_show()
86 count = snprintf(buf, PAGE_SIZE, "2 (WLAN Interference" in b43legacy_attr_interfmode_show()
158 count = snprintf(buf, PAGE_SIZE, "1 (Short Preamble" in b43legacy_attr_preamble_show()
161 count = snprintf(buf, PAGE_SIZE, "0 (Short Preamble" in b43legacy_attr_preamble_show()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/
H A Dnfp_port.c118 n = snprintf(name, len, "p%d", eth_port->label_port); in nfp_port_get_phys_port_name()
120 n = snprintf(name, len, "p%ds%d", eth_port->label_port, in nfp_port_get_phys_port_name()
125 n = snprintf(name, len, "pf%d", port->pf_id); in nfp_port_get_phys_port_name()
127 n = snprintf(name, len, "pf%ds%d", port->pf_id, in nfp_port_get_phys_port_name()
131 n = snprintf(name, len, "pf%dvf%d", port->pf_id, port->vf_id); in nfp_port_get_phys_port_name()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c78 count = snprintf(buf, PAGE_SIZE, "0 (No Interference" in b43legacy_attr_interfmode_show()
82 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference" in b43legacy_attr_interfmode_show()
86 count = snprintf(buf, PAGE_SIZE, "2 (WLAN Interference" in b43legacy_attr_interfmode_show()
158 count = snprintf(buf, PAGE_SIZE, "1 (Short Preamble" in b43legacy_attr_preamble_show()
161 count = snprintf(buf, PAGE_SIZE, "0 (Short Preamble" in b43legacy_attr_preamble_show()
/third_party/alsa-utils/alsactl/
H A Dlock.c63 snprintf(lcktxt, sizeof(lcktxt), "%10li\n", (long)getpid()); in state_lock_()
65 snprintf(lcktxt, sizeof(lcktxt), "%10s\n", ""); in state_lock_()
155 snprintf(buf, buflen, "%s", lockfile); in state_lock_file()
157 snprintf(buf, buflen, "%s/%s", lockpath, lockfile); in state_lock_file()
186 snprintf(buf, buflen, "%s/card%i.lock", lockpath, card_number); in card_lock_file()
/third_party/alsa-lib/src/control/
H A Dctlparse.c126 snprintf(buf, sizeof(buf), "numid=%u,iface=%s,name='%s'", in snd_ctl_ascii_elem_id_get()
129 snprintf(buf, sizeof(buf), "iface=%s,name='%s'", in snd_ctl_ascii_elem_id_get()
137 snprintf(buf1, sizeof(buf1), ",index=%u", index); in snd_ctl_ascii_elem_id_get()
142 snprintf(buf1, sizeof(buf1), ",device=%u", device); in snd_ctl_ascii_elem_id_get()
147 snprintf(buf1, sizeof(buf1), ",subdevice=%u", subdevice); in snd_ctl_ascii_elem_id_get()
/third_party/libsnd/programs/
H A Dsndfile-metadata-set.c129 { snprintf (time, sizeof (time), "%02d:%02d:%02d", timedata.tm_hour, timedata.tm_min, timedata.tm_sec) ; in main()
132 snprintf (date, sizeof (date), "%04d-%02d-%02d", timedata.tm_year + 1900, timedata.tm_mon + 1, timedata.tm_mday) ; in main()
138 { snprintf (time, sizeof (time), "%02d:%02d:%02d", timedata.tm_hour, timedata.tm_min, timedata.tm_sec) ; in main()
144 { snprintf (date, sizeof (date), "%04d-%02d-%02d", timedata.tm_year + 1900, timedata.tm_mon + 1, timedata.tm_mday) ; in main()
150 { snprintf (date, sizeof (date), "%04d-%02d-%02d", timedata.tm_year + 1900, timedata.tm_mon + 1, timedata.tm_mday) ; in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
H A Dexamine_stack.cc142 snprintf(buf, sizeof(buf), "%s@ %*p (unknown) %s\n", prefix, in DumpPCAndFrameSizeAndSymbol()
145 snprintf(buf, sizeof(buf), "%s@ %*p %9d %s\n", prefix, in DumpPCAndFrameSizeAndSymbol()
157 snprintf(buf, sizeof(buf), "%s@ %*p (unknown)\n", prefix, in DumpPCAndFrameSize()
160 snprintf(buf, sizeof(buf), "%s@ %*p %9d\n", prefix, in DumpPCAndFrameSize()
195 snprintf(buf, sizeof(buf), " @ ... and at least %d more frames\n", in DumpPCAndFrameSizesAndStackTrace()
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c73 return snprintf(buf, PAGE_SIZE, "%s\n", data); in ipsps_string_show()
94 return snprintf(buf, PAGE_SIZE, "%u.%02u%u-%u.%02u\n", in ipsps_fw_version_show()
114 return snprintf(buf, PAGE_SIZE, "[%s] %s %s\n", in ipsps_mode_show()
118 return snprintf(buf, PAGE_SIZE, "%s [%s] %s\n", in ipsps_mode_show()
122 return snprintf(buf, PAGE_SIZE, "%s %s [%s]\n", in ipsps_mode_show()
126 return snprintf(buf, PAGE_SIZE, "unspecified\n"); in ipsps_mode_show()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Daudio_manager_module.c171 snprintf(name_string, 128, "NAME=%s", module->desc.name); in send_add_uevent()
172 snprintf(vid_string, 64, "VID=%d", module->desc.vid); in send_add_uevent()
173 snprintf(pid_string, 64, "PID=%d", module->desc.pid); in send_add_uevent()
174 snprintf(intf_id_string, 64, "INTF_ID=%d", module->desc.intf_id); in send_add_uevent()
175 snprintf(ip_devices_string, 64, "I/P DEVICES=0x%X", in send_add_uevent()
177 snprintf(op_devices_string, 64, "O/P DEVICES=0x%X", in send_add_uevent()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Daudio_manager_module.c172 snprintf(name_string, 128, "NAME=%s", module->desc.name); in send_add_uevent()
173 snprintf(vid_string, 64, "VID=%d", module->desc.vid); in send_add_uevent()
174 snprintf(pid_string, 64, "PID=%d", module->desc.pid); in send_add_uevent()
175 snprintf(intf_id_string, 64, "INTF_ID=%d", module->desc.intf_id); in send_add_uevent()
176 snprintf(ip_devices_string, 64, "I/P DEVICES=0x%X", in send_add_uevent()
178 snprintf(op_devices_string, 64, "O/P DEVICES=0x%X", in send_add_uevent()
/third_party/cups-filters/filter/foomatic-rip/
H A Dspooler.c116 snprintf(job->ppdfile, 2048, "%s.ppd", job->printer); /* current dir */ in find_ppdfile()
119 snprintf(job->ppdfile, 2048, "%s/%s.ppd", user_default_path, job->printer); /* user dir */ in find_ppdfile()
122 snprintf(job->ppdfile, 2048, "%s/direct/%s.ppd", CONFIG_PATH, job->printer); /* system dir */ in find_ppdfile()
125 snprintf(job->ppdfile, 2048, "%s/%s.ppd", CONFIG_PATH, job->printer); /* system dir */ in find_ppdfile()
128 snprintf(job->ppdfile, 2048, "/etc/cups/ppd/%s.ppd", job->printer); /* CUPS config dir */ in find_ppdfile()
131 snprintf(job->ppdfile, 2048, "/usr/local/etc/cups/ppd/%s.ppd", job->printer); /* CUPS config dir */ in find_ppdfile()
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount03.c51 snprintf(file, PATH_MAX, "%s/rdonly", MNTPOINT); in test_rdonly()
57 snprintf(file, PATH_MAX, "%s/nodev", MNTPOINT); in test_nodev()
65 snprintf(file, PATH_MAX, "%s/noexec", MNTPOINT); in test_noexec()
73 snprintf(file, PATH_MAX, "%s/remount", MNTPOINT); in test_remount()
108 snprintf(file, PATH_MAX, "%s/noatime", MNTPOINT); in test_file_dir_noatime()
111 snprintf(dir, PATH_MAX, "%s/nodiratime", MNTPOINT); in test_file_dir_noatime()
/third_party/node/deps/v8/src/utils/
H A Dostreams.cc16 #define snprintf sprintf_s macro
131 snprintf(buf, sizeof(buf), format, c); in PrintUC16()
140 snprintf(buf, sizeof(buf), format, c); in PrintUC16ForJSON()
149 snprintf(buf, sizeof(buf), "\\u{%06x}", c); in PrintUC32()
181 snprintf(buf, kMaxHexLength, "%s%.*" PRIx64, hex.with_prefix ? "0x" : "", in operator <<()
201 #undef snprintf macro
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dqdio_debug.h31 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
43 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
56 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_attrs.c17 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]); in fnic_show_state()
23 return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION); in fnic_show_drv_version()
31 return snprintf(buf, PAGE_SIZE, "%s\n", (lp->link_up) in fnic_show_link_state()
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dqdio_debug.h31 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
43 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
56 snprintf(debug_buffer, QDIO_DBF_LEN, text); \
/third_party/elfutils/libebl/
H A Deblsegmenttypename.c77 snprintf (buf, len, "LOOS+%d", segment - PT_LOOS); in ebl_segment_type_name()
79 snprintf (buf, len, "LOPROC+%d", segment - PT_LOPROC); in ebl_segment_type_name()
81 snprintf (buf, len, "%s: %d", _("<unknown>"), segment); in ebl_segment_type_name()
/third_party/alsa-utils/seq/aseqdump/
H A Daseqdump.c157 snprintf(tmp, sizeof(tmp), "%.2f%%", in midi1_data()
160 snprintf(tmp, sizeof(tmp), "%.2f%%", in midi1_data()
175 snprintf(tmp, sizeof(tmp), "%.2f%%", in midi1_pitchbend()
178 snprintf(tmp, sizeof(tmp), "%.2f%%", in midi1_pitchbend()
442 snprintf(tmp, sizeof(tmp), "%.2f", in midi2_velocity()
445 snprintf(tmp, sizeof(tmp), ".2%f", in midi2_velocity()
449 snprintf(tmp, sizeof(tmp), "%.2f%%", ((double)v * 100.0) / 0xffff); in midi2_velocity()
467 snprintf(tmp, sizeof(tmp), "%.2f", in midi2_data()
470 snprintf(tmp, sizeof(tmp), "%.2f", in midi2_data()
474 snprintf(tm in midi2_data()
[all...]

Completed in 14 milliseconds

12345678910>>...285