Home
last modified time | relevance | path

Searched refs:snprintf (Results 226 - 250 of 1397) sorted by relevance

12345678910>>...56

/third_party/ffmpeg/libavutil/
H A Dopt.c813 snprintf(buf, size, "INT64_MAX"); in format_duration()
815 snprintf(buf, size, "INT64_MIN"); in format_duration()
817 snprintf(buf, size, "%"PRId64":%02d:%02d.%06d", d / 3600000000, in format_duration()
822 snprintf(buf, size, "%d:%02d.%06d", in format_duration()
827 snprintf(buf, size, "%d.%06d", in format_duration()
856 ret = snprintf(buf, sizeof(buf), "%s", (char *)av_x_if_null(get_bool_name(*(int *)dst), "invalid")); in av_opt_get()
859 ret = snprintf(buf, sizeof(buf), "0x%08X", *(int *)dst); in av_opt_get()
862 ret = snprintf(buf, sizeof(buf), "%d", *(int *)dst); in av_opt_get()
865 ret = snprintf(buf, sizeof(buf), "%"PRId64, *(int64_t *)dst); in av_opt_get()
868 ret = snprintf(bu in av_opt_get()
[all...]
/third_party/selinux/libsepol/src/
H A Dkernel_to_cil.c573 snprintf(unknown, 18, "%s%u", "UNKNOWN", i); in write_sids_to_cil()
1087 len = snprintf(p, remaining, "%s %s ", in cats_ebitmap_to_str()
1091 len = snprintf(p, remaining, "(range %s %s) ", in cats_ebitmap_to_str()
1096 len = snprintf(p, remaining, "%s ", val_to_name[start]); in cats_ebitmap_to_str()
1670 len = snprintf(p, remaining, " (range 0x%hx 0x%hx)", low_value, value); in xperms_to_str()
1673 len = snprintf(p, remaining, " 0x%hx", value); in xperms_to_str()
1679 len = snprintf(p, remaining, " (range 0x%hx 0x%hx)", low_value, (uint16_t) (value|0xff)); in xperms_to_str()
1682 len = snprintf(p, remaining, " (range 0x%hx 0x%hx)", value, (uint16_t) (value|0xff)); in xperms_to_str()
2583 snprintf(unknown, 18, "%s%u", "UNKNOWN", i); in write_sid_context_rules_to_cil()
2767 rc = snprintf(low_high_st in write_selinux_port_rules_to_cil()
[all...]
/third_party/elfutils/libdwfl/
H A Ddwfl_build_id_find_elf.c60 int n = snprintf (&id_name[sizeof "/.build-id/" - 1], in __libdwfl_open_by_build_id()
66 n = snprintf (&id_name[sizeof "/.build-id/" - 1 + 3 + (i - 1) * 2], in __libdwfl_open_by_build_id()
/third_party/exfatprogs/tune/
H A Dtune.c68 snprintf(label_input, sizeof(label_input), "%s", in main()
99 snprintf(ui.dev_name, sizeof(ui.dev_name), "%s", argv[argc - 1]); in main()
/third_party/eudev/src/shared/
H A Dtime-util.c153 k = snprintf(p, l, in format_timespan()
168 k = snprintf(p, l, in format_timespan()
/third_party/ffmpeg/libavformat/
H A Dvorbiscomment.c103 snprintf(chapter_number, sizeof(chapter_number), "%03d", i); in ff_vorbiscomment_write()
104 snprintf(chapter_time, sizeof(chapter_time), "%02d:%02d:%02d.%03d", h, m, s, ms); in ff_vorbiscomment_write()
/third_party/ffmpeg/tests/checkasm/
H A Dmotion.c131 snprintf(buf, sizeof(buf), "pix_abs_%d_%d", i, j); in check_motion()
138 snprintf(buf, sizeof(buf), #me_cmp_array "_%d", i); \ in check_motion()
/third_party/glslang/glslang/Include/
H A DInfoSink.h78 snprintf(buf, size, (fabs(n) > 1e-8 && fabs(n) < 1e8) || n == 0.0f ? "%f" : "%g", n); in operator <<()
100 snprintf(locText, maxSize, ":%d", loc.line); in location()
/third_party/backends/include/sane/
H A Dconfig.h326 /* Define to 1 if you have the `snprintf' function. */
747 /* Prototype for snprintf */
749 #define snprintf sanei_snprintf macro
751 int snprintf (char *str,size_t count,const char *fmt,...);
/third_party/libsnd/src/
H A Dbroadcast.c149 snprintf (chnstr, sizeof (chnstr), "%dchn", psfinfo->channels) ; in gen_coding_history()
182 count = snprintf (added_history, added_history_max, in gen_coding_history()
/third_party/libsnd/tests/
H A Dformat_check_test.c134 snprintf (filename, sizeof (filename), "format-check.%s", major_fmt_info.extension) ; in format_combo_test()
142 { snprintf (filename, sizeof (filename), "._format-check.%s", major_fmt_info.extension) ; in format_combo_test()
/third_party/ltp/testcases/kernel/fs/fs_fill/
H A Dfs_fill.c52 snprintf(file, sizeof(file), "%s/%s", in worker()
110 snprintf(workers[i].dir, sizeof(workers[i].dir), in setup()
/third_party/ltp/testcases/kernel/fs/ftest/
H A Dlibftest.c145 snprintf(name, PATH_MAX, "%s/%c%c", dirname, a, b); in ft_mkname()
147 snprintf(name, PATH_MAX, "%c%c", a, b); in ft_mkname()
/third_party/ltp/lib/
H A Dtst_pid.c79 ret = snprintf(path, sizeof(path), path_fmt, uid); in read_session_pids_limit()
127 snprintf(status_path, sizeof(status_path), "/proc/%s/status", ent->d_name); in get_used_pids()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_flush.c85 snprintf(filename, sizeof(filename), "cbuf_%u.bmp", frame_no); in softpipe_flush()
87 snprintf(filename, sizeof(filename), "zsbuf_%u.bmp", frame_no); in softpipe_flush()
/third_party/mesa3d/src/glx/apple/
H A Dapple_visual.c186 snprintf(__crashreporter_info_buff__, sizeof(__crashreporter_info_buff__), in apple_visual_create_pfobj()
193 snprintf(__crashreporter_info_buff__, sizeof(__crashreporter_info_buff__), in apple_visual_create_pfobj()
/third_party/musl/porting/linux/user/src/hook/
H A Dmusl_socket_preinit.c26 (void)snprintf(symbol, sizeof(symbol), "%s_%s", __socket_hook_function_prefix, "socket"); in init_socket_function()
74 (void)snprintf(symbol, sizeof(symbol), "%s_%s", __socket_hook_function_prefix, names[i]); in init_socket_hook_shared_library()
/third_party/musl/src/hook/linux/
H A Dmusl_socket_preinit.c41 (void)snprintf(symbol, sizeof(symbol), "%s_%s", __socket_hook_function_prefix, "socket"); in init_socket_function()
89 (void)snprintf(symbol, sizeof(symbol), "%s_%s", __socket_hook_function_prefix, names[i]); in init_socket_hook_shared_library()
/third_party/ninja/src/
H A Dstatus.h116 snprintf(buf, S, "?"); in SnprintfRate()
118 snprintf(buf, S, format, rate); in SnprintfRate()
/third_party/node/deps/cares/src/lib/
H A Dinet_ntop.c89 if ((size_t)snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]) >= in inet_ntop4()
187 tp += snprintf(tp, sizeof(tmp) - (size_t)(tp - tmp), "%x", words[i]); in inet_ntop6()
/third_party/ltp/testcases/kernel/syscalls/mount/
H A Dmount06.c145 snprintf(mntpoint_src, PATH_MAX, "%s/%s", path_name, MNTPOINT_SRC); in setup()
146 snprintf(mntpoint_des, PATH_MAX, "%s/%s", path_name, MNTPOINT_DES); in setup()
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise08.c72 snprintf(tmpcpattern, sizeof(tmpcpattern), "%s/dump-%%p", cwd); in setup()
111 snprintf(dumpname, 256, "dump-%d", pid); in find_sequence()
/third_party/ltp/testcases/kernel/syscalls/swapon/
H A Dswapon03.c195 if (snprintf(filename, sizeof(filename), in clean_swap()
228 if (snprintf(cmd_buffer, sizeof(cmd_buffer), in check_and_swapoff()
/third_party/mesa3d/src/gallium/auxiliary/pipe-loader/
H A Dpipe_loader.c194 ret = snprintf(path, sizeof(path), "%.*s/%s%s%s", in pipe_loader_find_module()
198 ret = snprintf(path, sizeof(path), "%s%s%s", in pipe_loader_find_module()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_debug.cpp236 snprintf(filename, sizeof filename, "/tmp/perf-%llu.map", (unsigned long long)pid); in lp_profile()
238 snprintf(filename, sizeof filename, "/tmp/perf-%llu.map.asm", (unsigned long long)pid); in lp_profile()

Completed in 14 milliseconds

12345678910>>...56