/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/ |
H A D | isst-display.c | 15 snprintf(str, str_len, "none"); in printcpulist() 25 index = snprintf(&str[curr_index], in printcpulist() 31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist() 68 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask() 98 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print_txt() 133 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print() 150 k += snprintf(&delimiters[k], in format_and_print() 174 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d", in print_package_info() 180 snprintf(header, sizeof(header), "package-%d", in print_package_info() 183 snprintf(heade in print_package_info() [all...] |
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/ |
H A D | isst-display.c | 15 snprintf(str, str_len, "none"); in printcpulist() 25 index = snprintf(&str[curr_index], in printcpulist() 31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist() 68 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask() 98 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print_txt() 133 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print() 150 k += snprintf(&delimiters[k], in format_and_print() 176 snprintf(header, sizeof(header), "package-%d:die-%d:powerdomain-%d:cpu-%d", in print_package_info() 179 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d", in print_package_info() 184 snprintf(heade in print_package_info() [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-picolcd_debugfs.c | 406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report() 417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 420 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 425 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 428 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 433 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 436 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 441 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 444 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", in picolcd_debug_out_report() 450 snprintf(buf in picolcd_debug_out_report() [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-picolcd_debugfs.c | 406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report() 417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 420 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 425 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 428 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 433 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 436 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 441 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 444 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", in picolcd_debug_out_report() 450 snprintf(buf in picolcd_debug_out_report() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-debug.h | 19 ret = snprintf(str, size, "usbirq: 0x%02x - ", usb_irq); in cdns2_decode_usb_irq() 22 ret += snprintf(str + ret, size - ret, "SOF "); in cdns2_decode_usb_irq() 24 ret += snprintf(str + ret, size - ret, "SUTOK "); in cdns2_decode_usb_irq() 26 ret += snprintf(str + ret, size - ret, "SETUP "); in cdns2_decode_usb_irq() 28 ret += snprintf(str + ret, size - ret, "Suspend "); in cdns2_decode_usb_irq() 30 ret += snprintf(str + ret, size - ret, "Reset "); in cdns2_decode_usb_irq() 32 ret += snprintf(str + ret, size - ret, "HS "); in cdns2_decode_usb_irq() 34 ret += snprintf(str + ret, size - ret, "LPM "); in cdns2_decode_usb_irq() 36 ret += snprintf(str + ret, size - ret, ", EXT: 0x%02x - ", ext_irq); in cdns2_decode_usb_irq() 39 ret += snprintf(st in cdns2_decode_usb_irq() [all...] |
/third_party/mesa3d/src/imagination/vulkan/pds/ |
H A D | pvr_pds_printer.c | 47 snprintf(instr_str, in pvr_pds_disassemble_operand() 53 snprintf(instr_str, instr_len, "UNRESOLVED"); in pvr_pds_disassemble_operand() 55 snprintf(instr_str, in pvr_pds_disassemble_operand() 76 snprintf(instr_str, in pvr_pds_disassemble_instruction_add64() 100 snprintf(instr_str, in pvr_pds_disassemble_instruction_add32() 127 snprintf(src2, sizeof(src2), "%u", (uint32_t)instruction->src2->literal); in pvr_pds_disassemble_instruction_sftlp32() 132 snprintf(instr_str, in pvr_pds_disassemble_instruction_sftlp32() 142 snprintf(instr_str, in pvr_pds_disassemble_instruction_sftlp32() 152 snprintf(instr_str, in pvr_pds_disassemble_instruction_sftlp32() 183 snprintf(stm_pre in pvr_pds_disassemble_instruction_stm() [all...] |
/third_party/ltp/testcases/kernel/uevents/ |
H A D | uevent03.c | 42 snprintf(path, sizeof(path), "/dev/input/%s", device); in get_minor_major() 46 snprintf(major, buf_sizes, "MAJOR=%i", major(stbuf.st_rdev)); in get_minor_major() 47 snprintf(minor, buf_sizes, "MINOR=%i", minor(stbuf.st_rdev)); in get_minor_major() 190 snprintf(add_msg, sizeof(add_msg), "add@%s", sysname); in verify_uevent() 192 snprintf(rem_msg, sizeof(rem_msg), "remove@%s", sysname); in verify_uevent() 194 snprintf(dev_path, sizeof(dev_path), "DEVPATH=%s", sysname); in verify_uevent() 196 snprintf(add_msg_event1, sizeof(add_msg_event1), in verify_uevent() 199 snprintf(rem_msg_event1, sizeof(rem_msg_event1), in verify_uevent() 202 snprintf(dev_path_event1, sizeof(dev_path_event1), in verify_uevent() 205 snprintf(dev_name in verify_uevent() [all...] |
/third_party/libcoap/src/ |
H A D | coap_debug.c | 128 lensofar += snprintf(&s[lensofar], len-lensofar, ".%03u", in print_timestamp() 139 return snprintf(s, len, "%u.%03u", in print_timestamp() 229 snprintf((char *)buf, len, "%s:%d", in coap_print_addr() 236 snprintf((char *)buf, len, "[%s]:%d", in coap_print_addr() 243 snprintf((char *)buf, len, "'%s'", addr->addr.cun.sun_path); in coap_print_addr() 261 snprintf((char *)buf, len, "[%s]:%d", in coap_print_addr() 304 snprintf((char *)buf, len, "[%s]:%d", in coap_print_addr() 389 snprintf(buf, len, "'%s'", addr->addr.cun.sun_path); in coap_print_ip_addr() 506 snprintf(buf, sizeof(buf), "%u.%02u", (c >> 5) & 0x7, c & 0x1f); in msg_code_string() 603 snprintf(bu in msg_option_string() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/arm-spe-decoder/ |
H A D | arm-spe-pkt-decoder.c | 285 return snprintf(buf, buf_len, "%s", name); in arm_spe_pkt_desc() 290 ret = snprintf(buf, buf_len, "EV"); in arm_spe_pkt_desc() 294 ret = snprintf(buf, buf_len, " EXCEPTION-GEN"); in arm_spe_pkt_desc() 299 ret = snprintf(buf, buf_len, " RETIRED"); in arm_spe_pkt_desc() 304 ret = snprintf(buf, buf_len, " L1D-ACCESS"); in arm_spe_pkt_desc() 309 ret = snprintf(buf, buf_len, " L1D-REFILL"); in arm_spe_pkt_desc() 314 ret = snprintf(buf, buf_len, " TLB-ACCESS"); in arm_spe_pkt_desc() 319 ret = snprintf(buf, buf_len, " TLB-REFILL"); in arm_spe_pkt_desc() 324 ret = snprintf(buf, buf_len, " NOT-TAKEN"); in arm_spe_pkt_desc() 329 ret = snprintf(bu in arm_spe_pkt_desc() [all...] |
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-debug.h | 192 ret = snprintf(str, size, in cdnsp_decode_trb() 205 ret = snprintf(str, size, in cdnsp_decode_trb() 217 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb() 222 ret = snprintf(str, size, in cdnsp_decode_trb() 244 ret = snprintf(str, size, in cdnsp_decode_trb() 260 ret = snprintf(str, size, in cdnsp_decode_trb() 276 ret = snprintf(str, size, in cdnsp_decode_trb() 296 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb() 301 ret = snprintf(str, size, "%s: slot %ld flags %c", in cdnsp_decode_trb() 307 ret = snprintf(st in cdnsp_decode_trb() [all...] |
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_stat.c | 55 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show() 60 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 65 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show() 70 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 105 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show() 110 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show() 116 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show() 123 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show() 125 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show() 138 return snprintf(pag in target_stat_tgt_non_access_lus_show() [all...] |
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_stat.c | 52 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show() 57 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 62 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show() 67 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 102 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show() 107 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show() 113 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show() 120 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show() 122 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show() 135 return snprintf(pag in target_stat_tgt_non_access_lus_show() [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 54 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 61 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 67 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 73 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 80 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show() 86 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show() 103 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show() 112 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show() 122 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show() 130 return snprintf(pag in iscsi_stat_instance_disc_time_show() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 53 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 60 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 66 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 72 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 79 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show() 85 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show() 102 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show() 111 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show() 121 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show() 129 return snprintf(pag in iscsi_stat_instance_disc_time_show() [all...] |
/kernel/linux/linux-5.10/drivers/usb/common/ |
H A D | debug.c | 18 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 21 snprintf(str, size, in usb_decode_get_status() 26 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status() 77 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature() 84 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature() 90 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature() 101 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address() 164 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor() 171 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration() 176 snprintf(st in usb_decode_set_configuration() [all...] |
/kernel/linux/linux-6.6/drivers/usb/common/ |
H A D | debug.c | 19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 22 snprintf(str, size, in usb_decode_get_status() 27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status() 78 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature() 85 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature() 91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature() 102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address() 165 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor() 172 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration() 177 snprintf(st in usb_decode_set_configuration() [all...] |
/kernel/linux/linux-5.10/tools/lib/api/fs/ |
H A D | tracing_path.c | 22 snprintf(tracing_mnt, sizeof(tracing_mnt), "%s", mountpoint); in __tracing_path_set() 23 snprintf(tracing_path, sizeof(tracing_path), "%s/%s", in __tracing_path_set() 25 snprintf(tracing_events_path, sizeof(tracing_events_path), "%s/%s%s", in __tracing_path_set() 122 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*"); in tracing_path__strerror_open_tp() 135 snprintf(buf, size, in tracing_path__strerror_open_tp() 141 snprintf(buf, size, in tracing_path__strerror_open_tp() 148 snprintf(buf, size, "%s", in tracing_path__strerror_open_tp() 155 snprintf(buf, size, in tracing_path__strerror_open_tp() 162 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
|
/third_party/backends/lib/ |
H A D | snprintf.c | 12 snprintf( char *buffer, int len, const char *format,...) 18 This version of snprintf was developed originally for printing 36 This version of snprintf is VERY limited by modern standards. 213 snprintf, plp_vsnprintf - formatted output conversion 220 snprintf(const char *format, size_t size, va_list ap); 224 AKA snprintf and unsafe_snprintf in the documentation below 253 By default, the snprintf function will not format control 256 using snprintf for secure applications and when debugging. 444 snprintf or vsnprintf(). 492 " LOCAL REVISIONS: renamed plp_snprintf to snprintf, conditionalize 612 int snprintf (char *str,size_t count,const char *fmt,...) snprintf() function [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen2_config.c | 30 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i); in adf_gen2_crypto_dev_config() 36 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_gen2_crypto_dev_config() 42 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_gen2_crypto_dev_config() 49 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_gen2_crypto_dev_config() 57 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_gen2_crypto_dev_config() 64 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_gen2_crypto_dev_config() 71 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_gen2_crypto_dev_config() 78 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_gen2_crypto_dev_config() 85 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_gen2_crypto_dev_config() 92 snprintf(ke in adf_gen2_crypto_dev_config() [all...] |
/third_party/libexif/libexif/canon/ |
H A D | mnote-canon-entry.c | 37 snprintf (v, maxlen, \ 49 snprintf (v, maxlen, \ 58 snprintf (v, maxlen, \ 457 snprintf (val, maxlen, "0x%04x", vs); in canon_search_table_value() 497 snprintf (val, maxlen, "0x%04x", vs); in canon_search_table_bitfield() 587 snprintf (val, maxlen, _("%i (ms)"), vs * 100); in mnote_canon_entry_get_value() 592 snprintf (val, maxlen, "%i", vs & ~0x4000); in mnote_canon_entry_get_value() 601 snprintf (val, maxlen, "%u", vs); in mnote_canon_entry_get_value() 605 snprintf (val, maxlen, "%.2f", apex_value_to_aperture (vs / 32.0)); in mnote_canon_entry_get_value() 611 snprintf (va in mnote_canon_entry_get_value() [all...] |
/third_party/cups-filters/filter/ |
H A D | gstoraster.c | 132 snprintf(tmpstr, sizeof(tmpstr), "-sMediaClass=%s", h->MediaClass); in add_pdf_header_options() 136 snprintf(tmpstr, sizeof(tmpstr), "-sMediaColor=%s", h->MediaColor); in add_pdf_header_options() 140 snprintf(tmpstr, sizeof(tmpstr), "-sMediaType=%s", h->MediaType); in add_pdf_header_options() 144 snprintf(tmpstr, sizeof(tmpstr), "-sOutputType=%s", h->OutputType); in add_pdf_header_options() 148 snprintf(tmpstr, sizeof(tmpstr), "-dAdvanceDistance=%d", in add_pdf_header_options() 153 snprintf(tmpstr, sizeof(tmpstr), "-dAdvanceMedia=%d", in add_pdf_header_options() 161 snprintf(tmpstr, sizeof(tmpstr), "-dCutMedia=%d", in add_pdf_header_options() 175 snprintf(tmpstr, sizeof(tmpstr), "-r%dx%d",h->HWResolution[0], h->HWResolution[1]); in add_pdf_header_options() 182 snprintf(tmpstr, sizeof(tmpstr), "-dJog=%d", in add_pdf_header_options() 187 snprintf(tmpst in add_pdf_header_options() [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | snprintf.c | 148 TEST(i, snprintf(0, 0, "%d", 123456), 6, "length returned %d != %d"); in main() 149 TEST(i, snprintf(0, 0, "%.4s", "hello"), 4, "length returned %d != %d"); in main() 150 TEST(i, snprintf(b, 0, "%.0s", "goodbye"), 0, "length returned %d != %d"); in main() 153 TEST(i, snprintf(b, 4, "%d", 123456), 6, "length returned %d != %d"); in main() 158 TEST(i, snprintf(b, sizeof b, "%.1022f", 0x1p-1021), 1024, "%d != %d"); in main() 173 TEST(i, snprintf(NULL, 0, "%.*u", 2147483647, 0), 2147483647, "cannot print max length %d"); in main() 174 TEST(i, snprintf(NULL, 0, "%.*u ", 2147483647, 0), -1, "integer overflow %d"); in main() 178 i = snprintf(b, sizeof b, int_tests[j].fmt, int_tests[j].i); in main() 180 t_error("snprintf(b, sizeof b, \"%s\", %d) returned %d wanted %d\n", in main() 188 i = snprintf( in main() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | xbmenc.c | 54 buf += snprintf(buf, 32, "#define image_width %u\n", avctx->width); in xbm_encode_frame() 55 buf += snprintf(buf, 33, "#define image_height %u\n", avctx->height); in xbm_encode_frame() 56 buf += snprintf(buf, 39, "static unsigned char image_bits[] = {\n"); in xbm_encode_frame() 59 buf += snprintf(buf, 6, " 0x%02X", ff_reverse[*ptr++]); in xbm_encode_frame() 61 buf += snprintf(buf, 2, "\n"); in xbm_encode_frame() 64 buf += snprintf(buf, 2, ","); in xbm_encode_frame() 66 buf += snprintf(buf, 2, "\n"); in xbm_encode_frame() 72 buf += snprintf(buf, 5, " };\n"); in xbm_encode_frame()
|
/third_party/elfutils/libebl/ |
H A D | eblobjnotetypename.c | 53 snprintf (buf, len, "Version: %" PRIu32, type); in ebl_object_note_type_name() 79 snprintf (buf, len, "%s: %" PRIu32, _("<unknown>"), type); in ebl_object_note_type_name() 91 int w = snprintf (t, len, "%s ", gba); in ebl_object_note_type_name() 95 snprintf (t, len, "OPEN"); in ebl_object_note_type_name() 97 snprintf (t, len, "FUNC"); in ebl_object_note_type_name() 99 snprintf (t, len, "%x", type); in ebl_object_note_type_name() 113 snprintf (buf, len, "%s: %" PRIu32, _("<unknown>"), type); in ebl_object_note_type_name() 134 snprintf (buf, len, "%s: %" PRIu32, _("<unknown>"), type); in ebl_object_note_type_name()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | sysfs.c | 111 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_inodes_count_show() 119 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_blocks_count_show() 132 return snprintf(buf, PAGE_SIZE, snapshot_readme_str); in nilfs_snapshot_README_show() 233 return snprintf(buf, PAGE_SIZE, mounted_snapshots_readme_str); in nilfs_mounted_snapshots_README_show() 271 return snprintf(buf, PAGE_SIZE, "%llu\n", ncheckpoints); in nilfs_checkpoints_checkpoints_number_show() 294 return snprintf(buf, PAGE_SIZE, "%llu\n", nsnapshots); in nilfs_checkpoints_snapshots_number_show() 308 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); in nilfs_checkpoints_last_seg_checkpoint_show() 322 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show() 338 return snprintf(buf, PAGE_SIZE, checkpoints_readme_str); in nilfs_checkpoints_README_show() 369 return snprintf(bu in nilfs_segments_segments_number_show() [all...] |