Home
last modified time | relevance | path

Searched refs:snprintf (Results 201 - 225 of 1397) sorted by relevance

12345678910>>...56

/third_party/selinux/libselinux/src/
H A Dbooleans.c54 snprintf(path, sizeof path, "%s%s", selinux_mnt, SELINUX_BOOL_DIR); in security_get_boolean_names()
166 ret = snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, name); in bool_open()
185 ret = snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, alt_name); in bool_open()
308 snprintf(path, sizeof path, "%s/commit_pending_bools", selinux_mnt); in security_commit_booleans()
/third_party/ltp/lib/
H A Dtst_test.c98 snprintf(shm_path, sizeof(shm_path), "/dev/shm/ltp_%s_%d", in setup_ipc()
107 snprintf(shm_path, sizeof(shm_path), "%s/ltp_%s_%d", in setup_ipc()
247 ret = snprintf(str, size, "%s:%i: ", file, lineno); in print_result()
252 ret = snprintf(str, size, "%s%s: %s", tst_ttype2color(ttype), in print_result()
255 ret = snprintf(str, size, "%s: ", res); in print_result()
268 ret = snprintf(str, size, ": %s (%d)", str_errno, int_errno); in print_result()
276 snprintf(str, size, "\n"); in print_result()
1009 snprintf(buf, sizeof(buf), "%s/dir/", mntpoint); in prepare_and_mount_ro_fs()
1012 snprintf(buf, sizeof(buf), "%s/file", mntpoint); in prepare_and_mount_ro_fs()
1048 snprintf(templat in tst_creat_unlinked()
[all...]
H A Dtst_device.c57 snprintf(path, path_len, dev_loop_variants[i], dev); in set_dev_loop_path()
72 snprintf(path, path_len, dev_variants[i], dev); in set_dev_path()
457 ret = snprintf(mpath, PATH_MAX, "%s/%s", cdir, path); in tst_is_mounted_at_tmpdir()
460 "snprintf() should have returned %d instead of %d", in tst_is_mounted_at_tmpdir()
472 snprintf(path, path_len, "/sys/block/%s/stat", devname); in find_stat_file()
481 snprintf(path, path_len, "/sys/block/%s/%s/stat", ent->d_name, devname); in find_stat_file()
H A Dtst_kconfig.c48 snprintf(path_buf, path_buf_len, "/lib/modules/%s/build/.config", un.release); in kconfig_path()
53 snprintf(path_buf, path_buf_len, "/lib/modules/%s/config", un.release); in kconfig_path()
59 snprintf(path_buf, path_buf_len, "/boot/config-%s", un.release); in kconfig_path()
65 snprintf(path_buf, path_buf_len, "/lib/kernel/config-%s", un.release); in kconfig_path()
92 snprintf(buf, sizeof(buf), "zcat '%s'", path); in open_kconfig()
/third_party/mesa3d/src/intel/tools/
H A Daubinator_viewer.cpp127 snprintf(file->app_name, sizeof(app_name), "%s", app_name); in handle_info()
382 snprintf(window->base.name, sizeof(window->base.name), in new_shader_window()
445 snprintf(window->base.name, sizeof(window->base.name), in new_urb_window()
517 snprintf(window->base.name, sizeof(window->base.name), in new_edit_window()
618 snprintf(window->base.name, sizeof(window->base.name), in show_pml4_window()
639 snprintf(name, sizeof(name), "command filter##%p", &cfg->command_filter); in display_decode_options()
641 snprintf(name, sizeof(name), "field filter##%p", &cfg->field_filter); in display_decode_options()
804 snprintf(window->base.name, sizeof(window->base.name), in new_batch_window()
869 snprintf(window->name, sizeof(window->name), "Registers"); in show_register_window()
953 snprintf(windo in show_commands_window()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dtjbench.c107 snprintf(buf, 80, "%s %s", csName[cs], subNameLong[subsamp]); in formatName()
120 snprintf(format, 80, "%%.0f"); in sigfig()
122 snprintf(format, 80, "%%.%df", digitsAfterDecimal); in sigfig()
123 snprintf(buf, len, format, val); in sigfig()
160 snprintf(qualStr, 13, "_Q%d", jpegQual); in decomp()
264 snprintf(sizeStr, 24, "%d_%d", sf.num, sf.denom); in decomp()
266 snprintf(sizeStr, 24, "%dx%d", tilew, tileh); in decomp()
267 else snprintf(sizeStr, 24, "full"); in decomp()
269 snprintf(tempStr, 1024, "%s_%s.%s", fileName, sizeStr, ext); in decomp()
271 snprintf(tempSt in decomp()
[all...]
/third_party/elfutils/src/
H A Darlib.c54 /* Using snprintf here has a problem: the call always wants to add a in arlib_init()
62 int s = snprintf (tmpbuf, sizeof (tmpbuf), "%-*lld", in arlib_init()
111 without zero terminator (we add + 1 here only so snprintf can in arlib_finalize()
127 int s = snprintf (tmpbuf, sizeof (tmpbuf), "%-*" PRIu32 "", in arlib_finalize()
175 snprintf (tmpbuf, sizeof (tmpbuf), "%-*" PRIu32 "", in arlib_finalize()
/third_party/ffmpeg/libavformat/
H A Dos_support.c160 snprintf(host, hostlen, "%s", ent->h_name); in ff_getnameinfo()
165 snprintf(host, hostlen, "%d.%d.%d.%d", in ff_getnameinfo()
174 snprintf(serv, servlen, "%d", ntohs(sin->sin_port)); in ff_getnameinfo()
H A Dftp.c253 err = snprintf(buf, sizeof(buf), "USER %s\r\n", s->user); in ftp_auth()
262 err = snprintf(buf, sizeof(buf), "PASS %s\r\n", s->password); in ftp_auth()
409 ret = snprintf(command, sizeof(command), "SIZE %s\r\n", s->path); in ftp_file_size()
431 ret = snprintf(command, sizeof(command), "RETR %s\r\n", s->path); in ftp_retrieve()
450 ret = snprintf(command, sizeof(command), "STOR %s\r\n", s->path); in ftp_store()
479 snprintf(command, sizeof(command), "REST %"PRId64"\r\n", pos); in ftp_restart()
492 ret = snprintf(command, sizeof(command), "CWD %s\r\n", s->path); in ftp_set_dir()
1105 ret = snprintf(command, sizeof(command), "DELE %s\r\n", s->path); in ftp_delete()
1116 ret = snprintf(command, sizeof(command), "RMD %s\r\n", s->path); in ftp_delete()
1143 ret = snprintf(comman in ftp_move()
[all...]
/third_party/alsa-lib/src/topology/
H A Dsave.c107 return snprintf(dst, dst_size, "%d", (int)value); in tplg_nice_value_format()
109 return snprintf(dst, dst_size, "0x%x", value); in tplg_nice_value_format()
111 return snprintf(dst, dst_size, "%u", value); in tplg_nice_value_format()
430 snprintf(pfx2, sizeof(pfx2), "%s\t", prefix ?: ""); in tplg_save()
/third_party/mesa3d/src/amd/llvm/
H A Dac_llvm_util.c313 snprintf(str, sizeof(str), "0x%x", value); in ac_llvm_add_target_dep_function_attr()
323 snprintf(str, sizeof(str), "%u,%u", size, size); in ac_llvm_set_workgroup_size()
331 snprintf(features, sizeof(features), "+DumpCode%s%s", in ac_llvm_set_target_features()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
H A Dfailure_signal_handler.cc229 snprintf(on_cpu, sizeof(on_cpu), " on cpu %d", cpu); in WriteSignalMessage()
234 snprintf(buf, sizeof(buf), "*** %s received at time=%ld%s ***\n", in WriteSignalMessage()
239 snprintf(buf, sizeof(buf), "*** Signal %d received at time=%ld%s ***\n", in WriteSignalMessage()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
H A Dscsimain.c669 snprintf(ebuff, EBUFF_SZ, ME "Error closing %s ", in run_sg_scan_tests()
691 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
700 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
709 snprintf(ebuff, EBUFF_SZ, ME "device %s failed on scsi " in run_sg_scan_tests()
718 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
742 snprintf(ebuff, EBUFF_SZ, in run_sg_scan_tests()
781 snprintf(ebuff, EBUFF_SZ, ME "device %s writing, skip", in run_sg_scan_tests()
789 snprintf(ebuff, EBUFF_SZ, ME "device %s reading, skip", in run_sg_scan_tests()
924 snprintf(ebuff, EBUFF_SZ, ME "ppc=%d, sp=%d, " in do_logs()
1494 snprintf(ebuf in show_scsi_logs()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dhlr_auc_gw.c510 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
538 pos += snprintf(pos, end - pos, "%s ", m->imsi); in update_milenage_file()
555 snprintf(name, sizeof(name), "%s.bak", fname); in update_milenage_file()
561 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
610 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); in sim_req_auth()
652 ret = snprintf(rpos, rend - rpos, " FAILURE"); in sim_req_auth()
786 ret = snprintf(pos, end - pos, "AKA-RESP-AUTH %s ", imsi); in aka_req_auth()
791 ret = snprintf(pos, end - pos, "FAILURE"); in aka_req_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dhlr_auc_gw.c510 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
538 pos += snprintf(pos, end - pos, "%s ", m->imsi); in update_milenage_file()
555 snprintf(name, sizeof(name), "%s.bak", fname); in update_milenage_file()
561 snprintf(name, sizeof(name), "%s.new", fname); in update_milenage_file()
610 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi); in sim_req_auth()
652 ret = snprintf(rpos, rend - rpos, " FAILURE"); in sim_req_auth()
786 ret = snprintf(pos, end - pos, "AKA-RESP-AUTH %s ", imsi); in aka_req_auth()
791 ret = snprintf(pos, end - pos, "FAILURE"); in aka_req_auth()
/third_party/alsa-utils/alsaucm/
H A Ddump.c458 snprintf(buf, sizeof(buf), "%s/%s/%s", list, device, verb); in render_devlist()
491 snprintf(buf, sizeof(buf), "_identifiers/%s/%s", device, verb); in render_values()
506 snprintf(buf, sizeof(buf), "%s/%s/%s", list[j], device, verb); in render_values()
570 snprintf(buf, sizeof(buf), "_devices/%s", verb); in render()
596 snprintf(buf, sizeof(buf), "_modifiers/%s", verb); in render()
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_opt_dead_builtin_varyings.c320 snprintf(name, 32, "gl_%s_%s%i_dummy", mode_str, var_name, i); in prepare_array()
324 snprintf(name, 32, "gl_%s_%s%i", mode_str, var_name, i); in prepare_array()
385 snprintf(name, 32, "gl_%s_FrontColor%i_dummy", mode_str, i); in replace_varyings()
392 snprintf(name, 32, "gl_%s_BackColor%i_dummy", mode_str, i); in replace_varyings()
403 snprintf(name, 32, "gl_%s_FogFragCoord_dummy", mode_str); in replace_varyings()
H A Dir_print_visitor.cpp155 snprintf(binding, sizeof(binding), "binding=%i ", ir->data.binding); in visit()
159 snprintf(loc, sizeof(loc), "location=%i ", ir->data.location); in visit()
163 snprintf(component, sizeof(component), "component=%i ", in visit()
169 snprintf(stream, sizeof(stream), "stream(%u,%u,%u,%u) ", in visit()
174 snprintf(stream, sizeof(stream), "stream%u ", ir->data.stream); in visit()
179 snprintf(image_format, sizeof(image_format), "format=%x ", in visit()
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil_unittest.cc42 #define snprintf _snprintf macro
550 snprintf(first_equals, 6, " = = "); in TEST()
553 snprintf(first_equals, 6, " = "); in TEST()
566 snprintf(first_equals, 6, " = = "); in TEST()
569 snprintf(first_equals, 6, " = "); in TEST()
/third_party/zlib/test/
H A Dminigzip.c44 # define snprintf _snprintf macro
454 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); in file_compress()
493 snprintf(buf, sizeof(buf), "%s", file); in file_uncompress()
506 snprintf(buf + len, sizeof(buf) - len, "%s", GZ_SUFFIX); in file_uncompress()
546 snprintf(outmode, sizeof(outmode), "%s", "wb6 "); in main()
/third_party/ntfs-3g/ntfsprogs/
H A Dutils.c584 snprintf(temp, 30, "<MFT%llu>", (unsigned in utils_inode_get_name()
622 len = snprintf(buffer + offset, bufsize - offset, "%c%s", PATH_SEP, names[i]); in utils_inode_get_name()
666 len = snprintf(buffer, bufsize, "%s", name); in utils_attr_get_name()
669 len = snprintf(buffer, bufsize, "<UNKNOWN>"); in utils_attr_get_name()
692 len = snprintf(buffer, bufsize, "<UNKNOWN>"); in utils_attr_get_name()
696 len = snprintf(buffer, bufsize, "(%s)", name); in utils_attr_get_name()
/third_party/node/deps/v8/src/d8/
H A Dd8-posix.cc171 snprintf(c_arg, len, "%s", *prog); in Init()
189 snprintf(c_arg, len, "%s", *utf8_arg); in Init()
372 snprintf(message, sizeof(message), "Child killed by signal %d", in WaitForChild()
379 snprintf(message, sizeof(message), "Child exited with status %d", in WaitForChild()
392 snprintf(message, sizeof(message), "Child killed by signal %d", in WaitForChild()
400 snprintf(message, sizeof(message), "Child exited with status %d", in WaitForChild()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_cat_test.cc487 snprintf(expected, sizeof(expected), nopad_format, v); in CheckHex()
493 snprintf(expected, sizeof(expected), zeropad_format, in CheckHex()
501 snprintf(expected, sizeof(expected), spacepad_format, in CheckHex()
513 snprintf(expected, sizeof(expected), nopad_format, v); in CheckDec()
519 snprintf(expected, sizeof(expected), zeropad_format, in CheckDec()
529 snprintf(expected, sizeof(expected), spacepad_format, in CheckDec()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
H A Dosu_client.c500 snprintf(fname, sizeof(fname), "%s/ca.pem", dir); in download_trust_roots()
502 snprintf(fname, sizeof(fname), "%s/polupd-ca.pem", dir); in download_trust_roots()
506 snprintf(fname, sizeof(fname), "%s/aaa-ca.pem", dir); in download_trust_roots()
604 snprintf(fname, fname_len, "SP/%s", fqdn); in hs20_add_pps_mo()
618 snprintf(fname, fname_len, "SP/%s/pps.xml", fqdn); in hs20_add_pps_mo()
722 snprintf(backup, sizeof(backup), "%s.bak", pps_fname); in update_pps_file()
861 snprintf(val, sizeof(val), "%s,%d,%d,%s", txt, in set_pps_cred_policy_prp()
1416 snprintf(pos, end - pos, "%02x", pw[i]); in set_pps_cred_password()
2038 snprintf(last->bssid, sizeof(last->bssid), "%s", in parse_osu_providers()
2046 snprintf(las in parse_osu_providers()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
H A Dosu_client.c500 snprintf(fname, sizeof(fname), "%s/ca.pem", dir); in download_trust_roots()
502 snprintf(fname, sizeof(fname), "%s/polupd-ca.pem", dir); in download_trust_roots()
506 snprintf(fname, sizeof(fname), "%s/aaa-ca.pem", dir); in download_trust_roots()
604 snprintf(fname, fname_len, "SP/%s", fqdn); in hs20_add_pps_mo()
618 snprintf(fname, fname_len, "SP/%s/pps.xml", fqdn); in hs20_add_pps_mo()
722 snprintf(backup, sizeof(backup), "%s.bak", pps_fname); in update_pps_file()
862 snprintf(val, sizeof(val), "%s,%d,%d,%s", txt, in set_pps_cred_policy_prp()
1418 snprintf(pos, end - pos, "%02x", pw[i]); in set_pps_cred_password()
2040 snprintf(last->bssid, sizeof(last->bssid), "%s", in parse_osu_providers()
2048 snprintf(las in parse_osu_providers()
[all...]

Completed in 33 milliseconds

12345678910>>...56