| /third_party/ltp/testcases/kernel/mem/lib/ |
| H A D | mem.c | 248 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 D | tinjpage.c | 326 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 D | sb_bc.h | 94 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 D | linux-pid-attach.c | 56 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 D | libf2fs_zoned.c | 47 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 D | hashenc.c | 148 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 D | vf_photosensitivity.c | 278 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 D | SymbolTable.cpp | 123 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 D | xfer-options.c | 438 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 D | test_file_io.c | 76 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 D | libbitmask.c | 142 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 D | safe_net.c | 38 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 D | ares_getnameinfo.c | 332 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 D | loader.c | 92 (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 D | frameCompress.c | 394 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 D | post_example.c | 180 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 D | netstat.c | 89 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 D | mali_kbase_jm_internal.h | 56 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 D | mali_kbase_jm_internal.h | 63 snprintf(js_string, js_size, "job_slot_%i", js); in kbasep_make_job_slot_string()
|
| /third_party/elfutils/libebl/ |
| H A D | ebldynamictagname.c | 103 snprintf (buf, len, _("<unknown>: %#" PRIx64), tag); in ebl_dynamic_tag_name()
|
| H A D | eblmachineflagname.c | 69 snprintf (cp, buf + len - cp, "%#x", flags); in ebl_machine_flag_name()
|
| H A D | eblosabiname.c | 73 snprintf (buf, len, "%s: %d", _("<unknown>"), osabi); in ebl_osabi_name()
|
| /third_party/alsa-utils/alsactl/ |
| H A D | init_ucm.c | 46 snprintf(id, sizeof(id), "%shw:%d", nodev, cardno); in init_ucm()
|
| /third_party/backends/backend/escl/ |
| H A D | escl_reset.c | 61 snprintf(scan_cmd, sizeof(scan_cmd), "%s%s%s%s", in escl_scanner()
|
| /third_party/backends/backend/genesys/ |
| H A D | test_settings.cpp | 81 name.resize(std::snprintf(&name.front(), max_size, "test device:0x%04x:0x%04x", in get_testing_device_name()
|