Home
last modified time | relevance | path

Searched refs:snprintf (Results 376 - 400 of 1564) sorted by relevance

1...<<11121314151617181920>>...63

/third_party/ltp/testcases/kernel/mem/lib/
H A Dmem.c248 snprintf(fullpath, BUFSIZ, PATH_KSM "%s", path); in check()
552 snprintf(path, BUFSIZ, in gather_node_cpus()
555 snprintf(path1, BUFSIZ, "%s/online", path); in gather_node_cpus()
648 snprintf(path, BUFSIZ, PATH_SYSVM "%s", sys_file); in set_sys_tune()
664 snprintf(path, BUFSIZ, PATH_SYSVM "%s", sys_file); in get_sys_tune()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dtinjpage.c326 snprintf(buf, sizeof buf, TMPDIR "~poison%d",tmpcount++); in tempfd()
339 snprintf(buf, PATHBUFLEN, TMPDIR "~poison%d", tmpcount++); in playfile()
381 snprintf(fn, 30, TMPDIR "~test%d", tmpcount++); in do_file_clean()
408 snprintf(buf, 100, "%s %s", name, add); in ndesc()
815 snprintf(buf, PATHBUFLEN, "%s/test%d", hugetlbfsdir, tmpcount++); in file_backed_hugepage()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_bc.h94 snprintf(b, 32, "%g", d); in operator <<()
102 snprintf(b, 256, f, n); in print_w()
110 snprintf(b, 256, f, n); in print_wl()
127 snprintf(b, 256, f, n); in print_zw()
135 snprintf(b, 256, f, n); in print_zw_hex()
/third_party/elfutils/libdwfl/
H A Dlinux-pid-attach.c56 snprintf (buffer, sizeof (buffer), "/proc/%ld/status", (long) pid); in linux_proc_pid_is_stopped()
394 snprintf (buffer, sizeof (buffer), "/proc/%ld/status", (long) pid); in dwfl_linux_proc_attach()
433 int i = snprintf (name, sizeof (name), "/proc/%ld/task", (long) pid); in dwfl_linux_proc_attach()
447 i = snprintf (name, sizeof (name), "/proc/%ld/exe", (long) pid); in dwfl_linux_proc_attach()
/third_party/f2fs-tools/lib/
H A Dlibf2fs_zoned.c47 snprintf(str, sizeof(str), "/sys/dev/block/%d:%d", in get_sysfs_path()
54 ret = snprintf(sysfs_path, sizeof(sysfs_path), in get_sysfs_path()
60 ret = snprintf(str, sizeof(str), "%s/partition", sysfs_path); in get_sysfs_path()
83 ret = snprintf(buf, buflen, "%s/%s", sysfs_path, attr); in get_sysfs_path()
/third_party/ffmpeg/libavformat/
H A Dhashenc.c148 snprintf(buf, sizeof(buf) - 200, "%d,%c,%s=", i, get_media_type_char(st->codecpar->codec_type), in hash_write_trailer()
151 snprintf(buf, sizeof(buf) - 200, "%s=", av_hash_get_name(c->hashes[i])); in hash_write_trailer()
288 snprintf(buf, sizeof(buf) - (AV_HASH_MAX_SIZE * 2 + 1), "%d, %10"PRId64", %10"PRId64", %8"PRId64", %8d, ", in framehash_write_packet()
306 snprintf(buf, sizeof(buf) - (AV_HASH_MAX_SIZE * 2 + 1), in framehash_write_packet()
/third_party/ffmpeg/libavfilter/
H A Dvf_photosensitivity.c278 snprintf(value, sizeof(value), "%f", (float)new_badness / s->badness_threshold); in filter_frame()
281 snprintf(value, sizeof(value), "%f", (float)fixed_badness / s->badness_threshold); in filter_frame()
284 snprintf(value, sizeof(value), "%f", (float)this_badness / s->badness_threshold); in filter_frame()
287 snprintf(value, sizeof(value), "%f", factor); in filter_frame()
/third_party/glslang/glslang/MachineIndependent/
H A DSymbolTable.cpp123 snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex()); in buildMangledName()
169 snprintf(buf, maxSize, "s%lld", arraySizes->getDimNode(i)->getAsSymbolNode()->getId()); in buildMangledName()
171 snprintf(buf, maxSize, "s%p", arraySizes->getDimNode(i)); in buildMangledName()
173 snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i)); in buildMangledName()
/third_party/alsa-utils/axfer/
H A Dxfer-options.c438 snprintf(xfer->paths[index], len, single_format, template, in generate_path_with_suffix()
441 snprintf(xfer->paths[index], len, multiple_format, template, in generate_path_with_suffix()
466 snprintf(xfer->paths[index], len, single_format, template); in generate_path_without_suffix()
468 snprintf(xfer->paths[index], len, multiple_format, template, in generate_path_without_suffix()
/third_party/libsnd/src/
H A Dtest_file_io.c76 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_open_test()
129 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_read_write_test()
285 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_truncate_test()
342 snprintf (psf->file.path, sizeof (psf->file.path), "%s", filename) ; in file_seek_with_offset_test()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibbitmask.c142 cnt += snprintf(buf + cnt, MAX(buflen - cnt, 0), "%s%0*x", in bitmask_displayhex()
161 len += snprintf(buf + len, MAX(buflen - len, 0), ","); in emit()
163 len += snprintf(buf + len, MAX(buflen - len, 0), "%d", rbot); in emit()
166 snprintf(buf + len, MAX(buflen - len, 0), "%d-%d", rbot, in emit()
/third_party/ltp/lib/
H A Dsafe_net.c38 snprintf(portstr, sizeof(portstr), ":%d", in tst_sock_addr()
54 snprintf(portstr, sizeof(portstr), "]:%d", in tst_sock_addr()
69 snprintf(res, len, "%s", unp->sun_path); in tst_sock_addr()
75 snprintf(res, len, in tst_sock_addr()
/third_party/node/deps/cares/src/lib/
H A Dares_getnameinfo.c332 snprintf(tmpbuf, sizeof(tmpbuf), "%u", (unsigned int)ntohs(port)); in lookup_service()
366 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu", in append_scopeid()
370 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu", in append_scopeid()
375 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu", in append_scopeid()
/third_party/mesa3d/src/loader/
H A Dloader.c92 (void)snprintf(log_string, MAX_BUFFER_LEN, fmt, args); in ohos_logger()
477 snprintf(path, sizeof(path), "/sys/dev/char/%d:%d/device/%s", maj, min, field); in loader_get_linux_pci_field()
666 snprintf(path, sizeof(path), "%.*s/tls/%s%s.so", len, in loader_open_driver_lib()
670 snprintf(path, sizeof(path), "%.*s/%s%s.so", len, in loader_open_driver_lib()
/third_party/lz4/examples/
H A DframeCompress.c394 snprintf(inpFilename, 256, "%s", argv[1]); in main()
395 snprintf(lz4Filename, 256, "%s.lz4", argv[1]); in main()
396 snprintf(decFilename, 256, "%s.lz4.dec", argv[1]); in main()
401 snprintf(uncFilename, 256, "%s", optarg); in main()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dpost_example.c180 snprintf (ret->sid, in get_session()
248 snprintf (cstr, in add_session_cookie()
322 snprintf (reply, in fill_v1_form()
365 snprintf (reply, in fill_v1_v2_form()
/third_party/toybox/toys/net/
H A Dnetstat.c89 count = snprintf(0, 0, ":%u", port); in addr2str()
91 count = snprintf(0, 0, ":%s", ser->s_name); in addr2str()
167 snprintf(toybuf, sizeof(toybuf), "%s", pw->pw_name); in show_ip()
168 else snprintf(toybuf, sizeof(toybuf), "%d", uid); in show_ip()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_jm_internal.h56 snprintf(js_string, js_size, "job_slot_%i", js); in kbasep_make_job_slot_string()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_jm_internal.h63 snprintf(js_string, js_size, "job_slot_%i", js); in kbasep_make_job_slot_string()
/third_party/elfutils/libebl/
H A Debldynamictagname.c103 snprintf (buf, len, _("<unknown>: %#" PRIx64), tag); in ebl_dynamic_tag_name()
H A Deblmachineflagname.c69 snprintf (cp, buf + len - cp, "%#x", flags); in ebl_machine_flag_name()
H A Deblosabiname.c73 snprintf (buf, len, "%s: %d", _("<unknown>"), osabi); in ebl_osabi_name()
/third_party/alsa-utils/alsactl/
H A Dinit_ucm.c46 snprintf(id, sizeof(id), "%shw:%d", nodev, cardno); in init_ucm()
/third_party/backends/backend/escl/
H A Descl_reset.c61 snprintf(scan_cmd, sizeof(scan_cmd), "%s%s%s%s", in escl_scanner()
/third_party/backends/backend/genesys/
H A Dtest_settings.cpp81 name.resize(std::snprintf(&name.front(), max_size, "test device:0x%04x:0x%04x", in get_testing_device_name()

Completed in 21 milliseconds

1...<<11121314151617181920>>...63