/third_party/cups-filters/backend/ |
H A D | ieee1284.c | 136 snprintf(devparport, sizeof(devparport), "/dev/parport%s", in backendGetDeviceID() 449 snprintf(temp, sizeof(temp), "%s %s", mfg, mdl); in backendGetMakeModel() 637 snprintf(buffer, bufsize, "Xerox %s", make_and_model); in normalize_make_and_model() 645 snprintf(buffer, bufsize, "Kodak %s", make_and_model + 7); in normalize_make_and_model() 653 snprintf(buffer, bufsize, "Apple LaserWriter%s", make_and_model + 11); in normalize_make_and_model() 661 snprintf(buffer, bufsize, "Seiko %s", make_and_model); in normalize_make_and_model() 669 snprintf(buffer, bufsize, "EFI %s", make_and_model); in normalize_make_and_model() 678 snprintf(buffer, bufsize, "Canon %s", make_and_model); in normalize_make_and_model() 686 snprintf(buffer, bufsize, "Fargo %s", make_and_model); in normalize_make_and_model() 695 snprintf(buffe in normalize_make_and_model() [all...] |
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | write_log.c | 132 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_open() 144 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_open() 221 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_record_write() 228 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_record_write() 236 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_record_write() 242 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_record_write() 277 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_scan_backward() 284 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_scan_backward() 312 snprintf(Wlog_Error_String, sizeof(Wlog_Error_String), in wlog_scan_backward() 321 snprintf(Wlog_Error_Strin in wlog_scan_backward() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | hugetlb_cgroup.c | 581 snprintf(buf, size, "%luGB", hsize >> 30); in mem_fmt() 583 snprintf(buf, size, "%luMB", hsize >> 20); in mem_fmt() 585 snprintf(buf, size, "%luKB", hsize >> 10); in mem_fmt() 629 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.max", buf); in __hugetlb_cgroup_file_dfl_init() 637 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.rsvd.max", buf); in __hugetlb_cgroup_file_dfl_init() 645 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.current", buf); in __hugetlb_cgroup_file_dfl_init() 652 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.rsvd.current", buf); in __hugetlb_cgroup_file_dfl_init() 659 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.events", buf); in __hugetlb_cgroup_file_dfl_init() 667 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.events.local", buf); in __hugetlb_cgroup_file_dfl_init() 693 snprintf(cf in __hugetlb_cgroup_file_legacy_init() [all...] |
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btqca.c | 466 snprintf(config->fwname, sizeof(config->fwname), in qca_download_firmware() 611 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 615 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 619 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 627 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 631 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 635 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 639 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 655 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup() 663 snprintf(confi in qca_uart_setup() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | snic_attrs.c | 30 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name); in snic_show_sym_name() 40 return snprintf(buf, PAGE_SIZE, "%s\n", in snic_show_state() 49 return snprintf(buf, PAGE_SIZE, "%s\n", SNIC_DRV_VERSION); in snic_show_drv_version() 62 return snprintf(buf, PAGE_SIZE, "%s\n", in snic_show_link_state()
|
/third_party/ltp/testcases/kernel/uevents/ |
H A D | uevent01.c | 58 snprintf(ev_msg, sizeof(ev_msg), in verify_uevent() 61 snprintf(ev_dev_path, sizeof(ev_dev_path), in verify_uevent() 64 snprintf(ev_dev_minor, sizeof(ev_dev_minor), "MINOR=%i", dev_num); in verify_uevent() 65 snprintf(ev_dev_name, sizeof(ev_dev_name), "DEVNAME=loop%i", dev_num); in verify_uevent()
|
/third_party/vulkan-loader/loader/ |
H A D | dlopen_fuchsia.c | 65 snprintf(g_error, sizeof(g_error), "libvulkan.so:dlopen_fuchsia: no connection to loader svc\n"); in dlopen_fuchsia() 72 snprintf(g_error, sizeof(g_error), "libvulkan.so:dlopen_fuchsia: Get() failed: %d\n", st); in dlopen_fuchsia() 77 snprintf(g_error, sizeof(g_error), "libvulkan.so:dlopen_fuchsia: Get() returned invalid vmo\n"); in dlopen_fuchsia() 84 snprintf(g_error, sizeof(g_error), "%s", dlerror()); in dlopen_fuchsia()
|
/third_party/toybox/toys/pending/ |
H A D | lsof.c | 94 snprintf(toybuf, sizeof(toybuf), "/proc/%d/fdinfo/%s", fi->pi.pid, fi->fd); in fill_flags() 104 snprintf(fi->size_off, sizeof(fi->size_off), "0t%lld", pos); in fill_flags() 264 snprintf(fi->type, sizeof(fi->type), "%04o", sb.st_mode & S_IFMT); in fill_stat() 273 snprintf(fi->device, sizeof(fi->device), "%d,%d", in fill_stat() 278 snprintf(fi->size_off, sizeof(fi->size_off), "%lld", in fill_stat() 282 snprintf(fi->node, sizeof(fi->node), "%ld", (long)sb.st_ino); in fill_stat() 311 snprintf(fi->fd, sizeof(fi->fd), "%s", name); in visit_symlink() 312 snprintf(toybuf, sizeof(toybuf), "/proc/%d/%s", pi->pid, path); in visit_symlink() 314 snprintf(fi->fd, sizeof(fi->fd), "%s", path); in visit_symlink() 316 snprintf(toybu in visit_symlink() [all...] |
/third_party/libinput/tools/ |
H A D | shared.c | 270 snprintf(options->disable_pattern, in tools_parse_option() 279 snprintf(options->match, in tools_parse_option() 587 snprintf(path, path_len, "%s", devnode); in find_touchpad_device() 630 snprintf(new_path, in setup_path() 651 rc = snprintf(executable, in tools_exec_command() 694 printed = snprintf(buf, sz, "%s=", name); in sprintf_event_codes() 705 printed = snprintf(buf + off, sz - off, "%c%s;", enable ? '+' : '-', name); in sprintf_event_codes() 721 printed = snprintf(buf, sz, "%s=", name); in sprintf_input_props() 731 printed = snprintf(buf + off, sz - off, "%c%s;", enable ? '+' : '-', name); in sprintf_input_props() 760 snprintf(bu in tools_list_device_quirks() [all...] |
/third_party/libcoap/man/ |
H A D | examples-code-check.c | 155 snprintf(file_name, sizeof(file_name), "tmp/%s-header.c", file); in check_synopsis() 172 snprintf(buffer, sizeof(buffer), in check_synopsis() 294 snprintf(&outbuf[len], sizeof(outbuf)-len, "%*.*s%c", in decode_synopsis_definition() 297 snprintf(&outbuf[len], sizeof(outbuf)-len, "%*.*s U%c", in decode_synopsis_definition() 310 snprintf(&outbuf[len], sizeof(outbuf)-len, "%s", cp); in decode_synopsis_definition() 325 snprintf(&outbuf[len-3], sizeof(outbuf)-(len-3), in decode_synopsis_definition() 464 snprintf(man_name, sizeof(man_name), "%s", pdir_ent->d_name); in main() 482 snprintf(file_name, sizeof(file_name), "tmp/%s.h", in main() 496 snprintf(file_name, sizeof(file_name), "tmp/%s.h", in main() 627 snprintf(outbu in main() [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | device_node.c | 204 size += snprintf(buf + size, PAGE_SIZE - size, "peers status\n"); in sbi_status_show() 208 size += snprintf(buf + size, PAGE_SIZE - size, "%s %d\n", in sbi_status_show() 211 size += snprintf( in sbi_status_show() 217 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_status_show() 254 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_stat_show() 256 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_stat_show() 260 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_stat_show() 301 return snprintf(buf, PAGE_SIZE, "%u\n", to_sbi(kobj)->dcache_precision); in sbi_dcache_precision_show() 332 return snprintf(buf, PAGE_SIZE, "%lu\n", in sbi_dcache_threshold_show() 365 ret = snprintf(bu in server_statistic_show() [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | device_node.c | 204 size += snprintf(buf + size, PAGE_SIZE - size, "peers status\n"); in sbi_status_show() 208 size += snprintf(buf + size, PAGE_SIZE - size, "%s %d\n", in sbi_status_show() 211 size += snprintf( in sbi_status_show() 217 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_status_show() 254 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_stat_show() 256 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_stat_show() 260 size += snprintf(buf + size, PAGE_SIZE - size, in sbi_stat_show() 301 return snprintf(buf, PAGE_SIZE, "%u\n", to_sbi(kobj)->dcache_precision); in sbi_dcache_precision_show() 332 return snprintf(buf, PAGE_SIZE, "%lu\n", in sbi_dcache_threshold_show() 365 ret = snprintf(bu in server_statistic_show() [all...] |
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pdftopdf_jcl.cc | 34 snprintf(buf,sizeof(buf),"%d",deviceCopies); in emitJCLOptions() 50 snprintf(buf,sizeof(buf),"pdftopdfJCL%s", in emitJCLOptions() 141 snprintf(buf,sizeof(buf),"%d",param.deviceCopies); in emitPreamble() 152 snprintf(ppd->jcl_ps, size, "@PJL SET QTY=%d\n%s", in emitPreamble() 155 snprintf(ppd->jcl_ps, size, "@PJL SET COPIES=%d\n%s", in emitPreamble() 190 snprintf(buf,sizeof(buf),"%d",param.deviceCopies); in emitComment()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_rcb.c | 937 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_rcb_pkt_num", index); in hns_rcb_get_strings() 939 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_tx_pkt_num", index); in hns_rcb_get_strings() 941 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_ppe_drop_pkt_num", index); in hns_rcb_get_strings() 943 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_fbd_num", index); in hns_rcb_get_strings() 946 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_pkt_num", index); in hns_rcb_get_strings() 948 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_bytes", index); in hns_rcb_get_strings() 950 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_err_cnt", index); in hns_rcb_get_strings() 952 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_io_err", index); in hns_rcb_get_strings() 954 snprintf(buff, ETH_GSTRING_LEN, "tx_ring%d_sw_err", index); in hns_rcb_get_strings() 956 snprintf(buf in hns_rcb_get_strings() [all...] |
H A D | hns_ethtool.c | 437 snprintf(buff + i % 16 * 2, 3, /* tailing \0*/ in __lb_other_process() 919 snprintf(buff, ETH_GSTRING_LEN, "rx_packets"); in hns_get_strings() 921 snprintf(buff, ETH_GSTRING_LEN, "tx_packets"); in hns_get_strings() 923 snprintf(buff, ETH_GSTRING_LEN, "rx_bytes"); in hns_get_strings() 925 snprintf(buff, ETH_GSTRING_LEN, "tx_bytes"); in hns_get_strings() 927 snprintf(buff, ETH_GSTRING_LEN, "rx_errors"); in hns_get_strings() 929 snprintf(buff, ETH_GSTRING_LEN, "tx_errors"); in hns_get_strings() 931 snprintf(buff, ETH_GSTRING_LEN, "rx_dropped"); in hns_get_strings() 933 snprintf(buff, ETH_GSTRING_LEN, "tx_dropped"); in hns_get_strings() 935 snprintf(buf in hns_get_strings() [all...] |
/kernel/linux/linux-5.10/drivers/most/ |
H A D | core.c | 211 return snprintf(buf, PAGE_SIZE, "%d\n", in number_of_packet_buffers_show() 222 return snprintf(buf, PAGE_SIZE, "%d\n", in number_of_stream_buffers_show() 233 return snprintf(buf, PAGE_SIZE, "%d\n", in size_of_packet_buffer_show() 244 return snprintf(buf, PAGE_SIZE, "%d\n", in size_of_stream_buffer_show() 254 return snprintf(buf, PAGE_SIZE, "%d\n", c->is_starving); in channel_starving_show() 263 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.num_buffers); in set_number_of_buffers_show() 272 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.buffer_size); in set_buffer_size_show() 282 return snprintf(buf, PAGE_SIZE, "tx\n"); in set_direction_show() 284 return snprintf(buf, PAGE_SIZE, "rx\n"); in set_direction_show() 285 return snprintf(bu in set_direction_show() [all...] |
/kernel/linux/linux-6.6/drivers/most/ |
H A D | core.c | 211 return snprintf(buf, PAGE_SIZE, "%d\n", in number_of_packet_buffers_show() 222 return snprintf(buf, PAGE_SIZE, "%d\n", in number_of_stream_buffers_show() 233 return snprintf(buf, PAGE_SIZE, "%d\n", in size_of_packet_buffer_show() 244 return snprintf(buf, PAGE_SIZE, "%d\n", in size_of_stream_buffer_show() 254 return snprintf(buf, PAGE_SIZE, "%d\n", c->is_starving); in channel_starving_show() 263 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.num_buffers); in set_number_of_buffers_show() 272 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.buffer_size); in set_buffer_size_show() 282 return snprintf(buf, PAGE_SIZE, "tx\n"); in set_direction_show() 284 return snprintf(buf, PAGE_SIZE, "rx\n"); in set_direction_show() 285 return snprintf(bu in set_direction_show() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/occ/ |
H A D | common.c | 875 snprintf(attr->name, sizeof(attr->name), "temp%d_label", s); in occ_setup_sensor_attrs() 882 snprintf(attr->name, sizeof(attr->name), in occ_setup_sensor_attrs() 885 snprintf(attr->name, sizeof(attr->name), in occ_setup_sensor_attrs() 894 snprintf(attr->name, sizeof(attr->name), in occ_setup_sensor_attrs() 900 snprintf(attr->name, sizeof(attr->name), in occ_setup_sensor_attrs() 907 snprintf(attr->name, sizeof(attr->name), in occ_setup_sensor_attrs() 920 snprintf(attr->name, sizeof(attr->name), "freq%d_label", s); in occ_setup_sensor_attrs() 925 snprintf(attr->name, sizeof(attr->name), "freq%d_input", s); in occ_setup_sensor_attrs() 943 snprintf(attr->name, sizeof(attr->name), in occ_setup_sensor_attrs() 950 snprintf(att in occ_setup_sensor_attrs() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_sensors_temp.c | 223 snprintf(gr->name, sizeof(gr->name), "%.6s..%s (%s)", in hud_sensors_temp_graph_install() 263 snprintf(sti->chipname, sizeof(sti->chipname), "%s", chipname); in create_object() 264 snprintf(sti->featurename, sizeof(sti->featurename), "%s", featurename); in create_object() 265 snprintf(sti->name, sizeof(sti->name), "%s.%s", sti->chipname, in create_object() 355 snprintf(line, sizeof(line), " sensors_temp_cu-%s", sti->name); in hud_get_num_sensors() 358 snprintf(line, sizeof(line), " sensors_temp_cr-%s", sti->name); in hud_get_num_sensors() 361 snprintf(line, sizeof(line), " sensors_volt_cu-%s", sti->name); in hud_get_num_sensors() 364 snprintf(line, sizeof(line), " sensors_curr_cu-%s", sti->name); in hud_get_num_sensors() 367 snprintf(line, sizeof(line), " sensors_pow_cu-%s", sti->name); in hud_get_num_sensors()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 746 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 749 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 752 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 755 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 758 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 761 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 764 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 767 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 770 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 773 snprintf(model_desc in bfad_im_model_desc_show() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 746 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 749 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 752 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 755 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 758 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 761 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 764 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 767 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 770 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show() 773 snprintf(model_desc in bfad_im_model_desc_show() [all...] |
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | pdf.c | 50 snprintf(gscommand, CMDLINE_MAX, "%s -dNODISPLAY -dNOSAFER -dNOPAUSE -q -c " in pdf_count_pages() 127 snprintf(filename, PATH_MAX, "%s/foomatic-XXXXXX", temp_dir()); in pdf_extract_pages() 132 snprintf(filename_arg, PATH_MAX, "-sOutputFile=%s", filename); in pdf_extract_pages() 138 snprintf(first_arg, 50, "-dFirstPage=%d", first); in pdf_extract_pages() 140 snprintf(last_arg, 50, "-dLastPage=%d", last); in pdf_extract_pages() 143 snprintf(gscommand, CMDLINE_MAX, "%s -q -dNOPAUSE -dBATCH -dSAFER -dNOINTERPOLATE -dNOMEDIAATTRS" in pdf_extract_pages() 303 snprintf(tmpfilename, PATH_MAX, "%s/foomatic-XXXXXX", temp_dir()); in print_pdf()
|
/third_party/selinux/libsepol/src/ |
H A D | util.c | 113 snprintf(p, sizeof(avbuf) - avlen, " %s", in sepol_av_to_string() 146 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "ioctl { "); in sepol_extended_perms_to_string() 168 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", low_value, value); in sepol_extended_perms_to_string() 170 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx ", value); in sepol_extended_perms_to_string() 176 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", low_value, (uint16_t) (value|0xff)); in sepol_extended_perms_to_string() 178 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "0x%hx-0x%hx ", value, (uint16_t) (value|0xff)); in sepol_extended_perms_to_string() 192 len = snprintf(p, sizeof(xpermsbuf) - xpermslen, "}"); in sepol_extended_perms_to_string()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | fd-003-kthread.c | 47 snprintf(buf, sizeof(buf), "/proc/%u", pid); in kernel_thread_fd() 138 snprintf(buf, sizeof(buf), "%d", i); in test_lookup() 142 snprintf(buf, sizeof(buf), "%d", i); in test_lookup() 146 snprintf(buf, sizeof(buf), "%u", u); in test_lookup() 150 snprintf(buf, sizeof(buf), "%u", u); in test_lookup()
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
H A D | w1_ds2423.c | 65 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 74 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 97 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 100 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 106 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
|