Home
last modified time | relevance | path

Searched refs:snprintf (Results 176 - 200 of 7108) sorted by relevance

12345678910>>...285

/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()
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
H A Dcgroup_util.c63 snprintf(ret, len, "%s/%s", root, name); in cg_name()
73 snprintf(ret, len, "%s/%s_%d", root, name, index); in cg_name_indexed()
83 snprintf(ret, len, "%s/%s", cgroup, control); in cg_control()
92 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_read()
183 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_write()
296 snprintf(pidbuf, sizeof(pidbuf), "%d", pid); in cg_enter()
322 snprintf(buf, sizeof(buf), "%d", getpid()); in cg_run()
445 snprintf(buf, sizeof(buf), "%d", getpid()); in cg_run_nowait()
537 snprintf(path, sizeof(path), "/proc/%s/%s", in proc_read_text()
540 snprintf(pat in proc_read_text()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay-sysfs.c25 return snprintf(buf, PAGE_SIZE, "%s\n", ovl->name); in overlay_name_show()
30 return snprintf(buf, PAGE_SIZE, "%s\n", in overlay_manager_show()
111 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_input_size_show()
121 return snprintf(buf, PAGE_SIZE, "%d\n", info.screen_width); in overlay_screen_width_show()
130 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_position_show()
169 return snprintf(buf, PAGE_SIZE, "%d,%d\n", in overlay_output_size_show()
204 return snprintf(buf, PAGE_SIZE, "%d\n", ovl->is_enabled(ovl)); in overlay_enabled_show()
234 return snprintf(buf, PAGE_SIZE, "%d\n", in overlay_global_alpha_show()
276 return snprintf(buf, PAGE_SIZE, "%d\n", in overlay_pre_mult_alpha_show()
317 return snprintf(bu in overlay_zorder_show()
[all...]
H A Ddisplay-sysfs.c22 return snprintf(buf, PAGE_SIZE, "%s\n", in display_name_show()
29 return snprintf(buf, PAGE_SIZE, "%d\n", in display_enabled_show()
62 return snprintf(buf, PAGE_SIZE, "%d\n", in display_tear_show()
96 return snprintf(buf, PAGE_SIZE, "%u,%u/%u/%u/%u,%u/%u/%u/%u\n", in display_timings_show()
146 return snprintf(buf, PAGE_SIZE, "%u\n", rotate); in display_rotate_show()
174 return snprintf(buf, PAGE_SIZE, "%u\n", mirror); in display_mirror_show()
206 return snprintf(buf, PAGE_SIZE, "0x%05x\n", wss); in display_wss_show()
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/
H A Darcmsr_attr.c263 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_version()
275 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_posted_cmd()
287 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_reset()
299 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_abort()
311 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_model()
324 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_version()
337 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_request_len()
350 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_numbers_queue()
363 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_sdram_size()
376 return snprintf(bu in arcmsr_attr_host_fw_hd_channels()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dcgroup_util.c60 snprintf(ret, len, "%s/%s", root, name); in cg_name()
70 snprintf(ret, len, "%s/%s_%d", root, name, index); in cg_name_indexed()
80 snprintf(ret, len, "%s/%s", cgroup, control); in cg_control()
91 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_read()
181 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_write()
309 snprintf(pidbuf, sizeof(pidbuf), "%d", pid); in cg_enter()
335 snprintf(buf, sizeof(buf), "%d", getpid()); in cg_run()
458 snprintf(buf, sizeof(buf), "%d", getpid()); in cg_run_nowait()
563 snprintf(path, sizeof(path), "/proc/%s/%s", in proc_read_text()
566 snprintf(pat in proc_read_text()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/arcmsr/
H A Darcmsr_attr.c261 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_version()
273 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_posted_cmd()
285 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_reset()
297 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_driver_abort()
309 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_model()
322 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_version()
335 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_request_len()
348 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_numbers_queue()
361 return snprintf(buf, PAGE_SIZE, in arcmsr_attr_host_fw_sdram_size()
374 return snprintf(bu in arcmsr_attr_host_fw_hd_channels()
[all...]
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dxlated_dumper.c152 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_call_pcrel()
155 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_call_pcrel()
158 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_call_pcrel()
168 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_call_helper()
171 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_call_helper()
201 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_imm()
204 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_imm()
207 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_imm()
210 snprintf(dd->scratch_buff, sizeof(dd->scratch_buff), in print_imm()
213 snprintf(d in print_imm()
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dwritesrc.cpp357 snprintf(line, sizeof(line), "static const uint16_t %s_trieIndex[%%ld]={\n", name); in usrc_writeUCPTrie()
358 snprintf(line2, sizeof(line2), "static const uint%d_t %s_trieData[%%ld]={\n", (int)width, name); in usrc_writeUCPTrie()
359 snprintf(line3, sizeof(line3), "\n};\n\n"); in usrc_writeUCPTrie()
362 snprintf(line, sizeof(line), "index = [\n "); in usrc_writeUCPTrie()
363 snprintf(line2, sizeof(line2), "data_%d = [\n ", (int)width); in usrc_writeUCPTrie()
364 snprintf(line3, sizeof(line3), "\n]\n"); in usrc_writeUCPTrie()
373 snprintf(line, sizeof(line), "static const UCPTrie %s_trie={\n", name); in usrc_writeUCPTrie()
374 snprintf(line2, sizeof(line2), "%s_trieIndex", name); in usrc_writeUCPTrie()
375 snprintf(line3, sizeof(line3), "%s_trieData", name); in usrc_writeUCPTrie()
376 snprintf(line in usrc_writeUCPTrie()
[all...]
/third_party/f2fs-tools/fsck/
H A Ddump.c70 snprintf(buf, BUF_SZ, in nat_dump()
91 snprintf(buf, BUF_SZ, in nat_dump()
125 snprintf(buf, BUF_SZ, "segment_type(0:HD, 1:WD, 2:CD, " in sit_dump()
134 snprintf(buf, BUF_SZ, in sit_dump()
152 snprintf(buf, BUF_SZ, " %02x", in sit_dump()
158 snprintf(buf, BUF_SZ, "\n"); in sit_dump()
166 snprintf(buf, BUF_SZ, in sit_dump()
187 snprintf(buf, BUF_SZ, "Note: dump.f2fs -b blkaddr = 0x%x + segno * " in ssa_dump()
199 snprintf(buf, BUF_SZ, "\n\nsegno: %x, Current Node\n", segno); in ssa_dump()
202 snprintf(bu in ssa_dump()
[all...]
/third_party/musl/src/malloc/liteos_a/user_debug/
H A Dmemory_check.c238 snprintf(mem_stat.f_path_buf + len, PATH_MAX - len, "pid(%d)_%s", getpid(), pos + 1); in file_path_init()
240 snprintf(mem_stat.f_path_buf, PATH_MAX, "pid(%d)_%s", getpid(), mem_stat.f_path); in file_path_init()
290 snprintf(str_buf, ITEM_BUFFER_SIZE, " [Check point]:\n"); in get_backtrace_info()
304 snprintf(str_buf, ITEM_BUFFER_SIZE, "\t#%02d: <%s+%#x>[%#x] -> %s\n", i, info.dli_sname, in get_backtrace_info()
307 snprintf(str_buf, ITEM_BUFFER_SIZE, "\t#%02d: %#x\n", i, buffer[i]); in get_backtrace_info()
337 snprintf(buffer, ITEM_BUFFER_SIZE, "\n==PID:%d== Memory integrity information:\n", getpid()); in print_integrity_info()
342 snprintf(buffer, ITEM_BUFFER_SIZE, " [TID:%d PID:%d allocated addr: %#x, size: %#x] %s\n", node->tid, node->pid, in print_integrity_info()
519 snprintf(buffer, ITEM_BUFFER_SIZE, "\n==PID:%d== double free\n", getpid()); in get_free_trace()
524 snprintf(buffer, ITEM_BUFFER_SIZE, " [TID:%d freed addr: %#x]:\n", tid, ptr); in get_free_trace()
560 snprintf(buffe in watch_mem()
[all...]
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
H A Dmemory_check.c223 snprintf(mem_stat.f_path_buf + len, PATH_MAX - len, "pid(%d)_%s", getpid(), pos + 1); in file_path_init()
225 snprintf(mem_stat.f_path_buf, PATH_MAX, "pid(%d)_%s", getpid(), mem_stat.f_path); in file_path_init()
275 snprintf(str_buf, ITEM_BUFFER_SIZE, " [Check point]:\n"); in get_backtrace_info()
289 snprintf(str_buf, ITEM_BUFFER_SIZE, "\t#%02d: <%s+%#x>[%#x] -> %s\n", i, info.dli_sname, in get_backtrace_info()
292 snprintf(str_buf, ITEM_BUFFER_SIZE, "\t#%02d: %#x\n", i, buffer[i]); in get_backtrace_info()
322 snprintf(buffer, ITEM_BUFFER_SIZE, "\n==PID:%d== Memory integrity information:\n", getpid()); in print_integrity_info()
327 snprintf(buffer, ITEM_BUFFER_SIZE, " [TID:%d PID:%d allocated addr: %#x, size: %#x] %s\n", node->tid, node->pid, in print_integrity_info()
504 snprintf(buffer, ITEM_BUFFER_SIZE, "\n==PID:%d== double free\n", getpid()); in get_free_trace()
509 snprintf(buffer, ITEM_BUFFER_SIZE, " [TID:%d freed addr: %#x]:\n", tid, ptr); in get_free_trace()
545 snprintf(buffe in watch_mem()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
H A Dsysfs.c17 return snprintf(buf, PAGE_SIZE, "%d\n", get); \
44 return snprintf(buf, PAGE_SIZE, "%d\n", get); \
67 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_NOISE_IMM_LVL); in ath5k_attr_show_noise_immunity_level_max()
76 return snprintf(buf, PAGE_SIZE, "%d\n", ATH5K_ANI_MAX_FIRSTEP_LVL); in ath5k_attr_show_firstep_level_max()
/kernel/linux/linux-5.10/drivers/nubus/
H A Dproc.c60 snprintf(name, sizeof(name), "%x", board->slot); in nubus_proc_add_board()
77 snprintf(name, sizeof(name), "%x", ent->type); in nubus_proc_add_rsrc_dir()
162 snprintf(name, sizeof(name), "%x", ent->type); in nubus_proc_add_rsrc_mem()
180 snprintf(name, sizeof(name), "%x", ent->type); in nubus_proc_add_rsrc()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_nat_ftp.c40 return snprintf(buffer, buflen, "%u,%u,%u,%u,%u,%u", in nf_nat_ftp_fmt_cmd()
49 return snprintf(buffer, buflen, "|1|%pI4|%u|", in nf_nat_ftp_fmt_cmd()
52 return snprintf(buffer, buflen, "|2|%pI6|%u|", in nf_nat_ftp_fmt_cmd()
55 return snprintf(buffer, buflen, "|||%u|", port); in nf_nat_ftp_fmt_cmd()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtest_local_storage.c118 snprintf(tmp_exec_path, sizeof(tmp_exec_path), "%s/copy_of_rm", in test_test_local_storage()
120 snprintf(cmd, sizeof(cmd), "cp /bin/rm %s", tmp_exec_path); in test_test_local_storage()
147 snprintf(cmd, sizeof(cmd), "mv %s/copy_of_rm %s/check_null_ptr", in test_test_local_storage()
165 snprintf(cmd, sizeof(cmd), "rm -rf %s", tmp_dir_path); in test_test_local_storage()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_nat_ftp.c40 return snprintf(buffer, buflen, "%u,%u,%u,%u,%u,%u", in nf_nat_ftp_fmt_cmd()
49 return snprintf(buffer, buflen, "|1|%pI4|%u|", in nf_nat_ftp_fmt_cmd()
52 return snprintf(buffer, buflen, "|2|%pI6|%u|", in nf_nat_ftp_fmt_cmd()
55 return snprintf(buffer, buflen, "|||%u|", port); in nf_nat_ftp_fmt_cmd()
/third_party/libsnd/src/
H A Dtest_conversions.c56 snprintf (format_str, sizeof (format_str), "%c12348", endian) ; in conversion_test()
58 snprintf (test_name, sizeof (test_name), "Testing %s conversions", endian == 'e' ? "little endian" : "big endian") ; in conversion_test()
65 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in conversion_test()
80 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in conversion_test()
/third_party/glslang/glslang/MachineIndependent/
H A DInitialize.cpp2201 snprintf(buf, bufSize, op, floatTypes[j], floatTypes[j]); in initialize()
2206 snprintf(buf, bufSize, op, doubleTypes[j], doubleTypes[j]); in initialize()
2213 snprintf(buf, bufSize, op, boolTypes[j], boolTypes[j]); in initialize()
2218 snprintf(buf, bufSize, op, intTypes[j], intTypes[j]); in initialize()
7259 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxVertexAttribs = %d;", resources.maxVertexAttribs); in initialize()
7262 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxVertexUniformVectors = %d;", resources.maxVertexUniformVectors); in initialize()
7265 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxVertexTextureImageUnits = %d;", resources.maxVertexTextureImageUnits); in initialize()
7268 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxCombinedTextureImageUnits = %d;", resources.maxCombinedTextureImageUnits); in initialize()
7271 snprintf(builtInConstant, maxSize, "const mediump int gl_MaxTextureImageUnits = %d;", resources.maxTextureImageUnits); in initialize()
7274 snprintf(builtInConstan in initialize()
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dtask_fd_query_user.c50 ret = snprintf(buf, sizeof(buf), PMU_TYPE_FILE, event_type); in bpf_find_probe_type()
72 ret = snprintf(buf, sizeof(buf), PMU_RETPROBE_FILE, event_type); in bpf_get_retprobe_bit()
226 snprintf(buf, sizeof(buf), "/sys/kernel/debug/tracing/%s_events", in test_debug_fs_uprobe()
231 res = snprintf(event_alias, sizeof(event_alias), "test_%d", getpid()); in test_debug_fs_uprobe()
234 res = snprintf(buf, sizeof(buf), "%c:%ss/%s %s:0x%lx", in test_debug_fs_uprobe()
243 snprintf(buf, sizeof(buf), "/sys/kernel/debug/tracing/events/%ss/%s/id", in test_debug_fs_uprobe()
298 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); in main()
/kernel/linux/linux-5.10/net/sunrpc/
H A Daddr.c40 return snprintf(buf, buflen, "::"); in rpc_ntop6_noscopeid()
48 return snprintf(buf, buflen, "::1"); in rpc_ntop6_noscopeid()
57 return snprintf(buf, buflen, "::ffff:%pI4", in rpc_ntop6_noscopeid()
63 return snprintf(buf, buflen, "%pI6c", addr); in rpc_ntop6_noscopeid()
83 rc = snprintf(scopebuf, sizeof(scopebuf), "%c%u", in rpc_ntop6()
117 return snprintf(buf, buflen, "%pI4", &sin->sin_addr); in rpc_ntop4()
286 if (snprintf(portbuf, sizeof(portbuf), in rpc_sockaddr2uaddr()
/kernel/linux/linux-5.10/tools/lib/api/fs/
H A Dfs.c275 snprintf(upper_name, name_len, "PERF_%s_ENVIRONMENT", fs->name); in mount_overload()
449 snprintf(path, sizeof(path), "%s/%s", procfs, entry); in procfs__read_str()
463 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_ull_base()
486 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_int()
499 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_str()
541 snprintf(path, sizeof(path), "%s/sys/%s", procfs, sysctl); in sysctl__read_int()
554 if (snprintf(path, sizeof(path), "%s/%s", sysfs, entry) >= PATH_MAX) in sysfs__write_int()
/kernel/linux/linux-6.6/net/sunrpc/
H A Daddr.c40 return snprintf(buf, buflen, "::"); in rpc_ntop6_noscopeid()
48 return snprintf(buf, buflen, "::1"); in rpc_ntop6_noscopeid()
57 return snprintf(buf, buflen, "::ffff:%pI4", in rpc_ntop6_noscopeid()
63 return snprintf(buf, buflen, "%pI6c", addr); in rpc_ntop6_noscopeid()
83 rc = snprintf(scopebuf, sizeof(scopebuf), "%c%u", in rpc_ntop6()
117 return snprintf(buf, buflen, "%pI4", &sin->sin_addr); in rpc_ntop4()
286 if (snprintf(portbuf, sizeof(portbuf), in rpc_sockaddr2uaddr()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c39 snprintf(buf, sizeof(buf), "%s%s%d%s", CGROUP_MOUNT_PATH, \
49 snprintf(buf, sizeof(buf), "%s%s", NETCLS_MOUNT_PATH, \
62 snprintf(path, sizeof(path), "%s/cgroup.controllers", in __enable_controllers()
84 snprintf(path, sizeof(path), "%s/cgroup.subtree_control", cgroup_path); in __enable_controllers()
127 snprintf(file_path, sizeof(file_path), "%s/%s", cgroup_path, file); in __write_cgroup_file()
243 snprintf(cgroup_procs_path, sizeof(cgroup_procs_path), in join_cgroup_from_top()
545 snprintf(cgroup_classid_path, sizeof(cgroup_classid_path), in set_classid()
/kernel/linux/linux-6.6/tools/lib/api/fs/
H A Dfs.c263 snprintf(upper_name, name_len, "PERF_%s_ENVIRONMENT", fs->name); in mount_overload()
421 snprintf(path, sizeof(path), "%s/%s", procfs, entry); in procfs__read_str()
435 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_ull_base()
458 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_int()
471 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_str()
513 snprintf(path, sizeof(path), "%s/sys/%s", procfs, sysctl); in sysctl__read_int()
526 if (snprintf(path, sizeof(path), "%s/%s", sysfs, entry) >= PATH_MAX) in sysfs__write_int()

Completed in 24 milliseconds

12345678910>>...285