Searched refs:sprintf (Results 1 - 25 of 1410) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A D2003-10-02-UnionLValueError.c3 int sprintf(char * restrict str, const char * restrict format, ...);
10 sprintf(buffer, u->s);
/external/syslinux/com32/gpllib/dmi/
H A Ddmi_battery.c53 sprintf(capacity, "%s", "Unknown");
55 sprintf(capacity, "%u mWh", code * multiplier);
61 sprintf(voltage, "%s", "Unknown");
63 sprintf(voltage, "%u mV", code);
69 sprintf(error, "%s", "Unknown");
71 sprintf(error, "%u%%", code);
H A Ddmi_memory.c35 sprintf(array, "%s", "Not Provided");
37 sprintf(array, "%s", "No Error");
39 sprintf(array, "0x%04X", code);
49 sprintf(width, "%s", "Unknown");
51 sprintf(width, "%u bits", code);
57 sprintf(size, "%s", "Free");
59 sprintf(size, "%s", "Unknown");
62 sprintf(size, "%u kB", code & 0x7FFF);
64 sprintf(size, "%u MB", code);
97 sprintf(se
[all...]
/external/syslinux/com32/hdt/
H A Dhdt-util.c44 sprintf(buffer, "%3d.%02d TiB", tib,sub(gib));
46 sprintf(buffer, "%3d.%02d GiB", gib,sub(mib));
48 sprintf(buffer, "%3d.%02d MiB", mib,sub(b));
50 sprintf(buffer, "%d B", b);
89 sprintf(buffer, "%3d.%02d TB", tib,sub_dec(gib));
91 sprintf(buffer, "%3d.%02d GB", gib,sub_dec(mib));
93 sprintf(buffer, "%3d.%02d MB", mib,sub_dec(b));
95 sprintf(buffer, "%d B", b);
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c38 sprintf(out, "bias");
41 sprintf(out, "sub");
44 sprintf(out, "add");
47 sprintf(out, "inv ");
143 sprintf(srcc[j], "%c%i",
145 sprintf(srca[j], "%c%i",
150 sprintf(flags, "%s%s%s",
162 sprintf(dstc, "t%i.%s ",
168 sprintf(flags, "%s%s%s",
176 sprintf(tm
[all...]
/external/ltp/tools/top-LTP/proc/
H A Ddevname.c123 sprintf(buf, "/dev/%s%d", tmn->name, min); /* like "/dev/ttyZZ255" */
127 sprintf(buf, "/dev/%s", tmn->name); /* like "/dev/ttyZZ255" */
147 sprintf(buf, "/dev/tty%d", min);
151 sprintf(buf, "/dev/ttyS%d", min - 64);
158 sprintf(buf, "/dev/tty%c%c", t0, t1);
161 sprintf(buf, "/dev/ttyH%d", min);
164 sprintf(buf, "/dev/ttyC%d", min);
167 sprintf(buf, "/dev/ttyD%d", min);
170 sprintf(buf, "/dev/ttyD%d", min);
173 sprintf(bu
[all...]
H A Dwhattime.c44 pos = sprintf(buf, " %02d:%02d:%02d ",
56 sprintf(buf + pos, "%d day%s, ", updays,
63 pos += sprintf(buf + pos, "%2d:%02d, ", uphours, upminutes);
65 pos += sprintf(buf + pos, "%d min, ", upminutes);
79 sprintf(buf + pos, "%2d user%s, ", numuser,
84 pos += sprintf(buf + pos, " load average: %.2f, %.2f, %.2f",
/external/ltp/testcases/misc/math/float/exp_log/
H A Dgenexp_log.c79 sprintf(funct, "%s/genexp", bin_path);
83 sprintf(funct, "%s/genlog", bin_path);
87 sprintf(funct, "%s/genlog10", bin_path);
91 sprintf(funct, "%s/genfrexp", bin_path);
95 sprintf(funct, "%s/genldexp", bin_path);
99 sprintf(funct, "%s/genhypot", bin_path);
103 sprintf(funct, "%s/genmodf", bin_path);
/external/webrtc/webrtc/system_wrappers/source/
H A Dtrace_impl.cc82 return sprintf(trace_message, "%10u; ", thread_id);
94 sprintf(sz_message, "STATEINFO ; ");
97 sprintf(sz_message, "WARNING ; ");
100 sprintf(sz_message, "ERROR ; ");
103 sprintf(sz_message, "CRITICAL ; ");
106 sprintf(sz_message, "DEBUGINFO ; ");
109 sprintf(sz_message, "MODULECALL; ");
112 sprintf(sz_message, "MEMORY ; ");
115 sprintf(sz_message, "TIMER ; ");
118 sprintf(sz_messag
[all...]
/external/valgrind/none/tests/
H A Dfdleak_creat.c12 sprintf(filename, "/tmp/file.%ld", (long) getpid());
/external/e2fsprogs/ext2ed/
H A Dext2_com.c39 sprintf (buffer,"setoffset %ld",file_system_info.super_block_offset);dispatch (buffer);
40 sprintf (buffer,"settype ext2_super_block");dispatch (buffer);
70 sprintf (temp,"cd %s",buffer+1);dispatch (temp);
95 sprintf (buffer,"setoffset %ld",file_system_info.first_group_desc_offset);dispatch (buffer);
96 sprintf (buffer,"settype ext2_group_desc");dispatch (buffer);
97 sprintf (buffer,"entry %ld",group_num);dispatch (buffer);
/external/ltp/testcases/misc/math/float/power/
H A Dgenpower.c79 sprintf(funct, "%s/genceil", bin_path);
83 sprintf(funct, "%s/genfabs", bin_path);
87 sprintf(funct, "%s/genfloor", bin_path);
91 sprintf(funct, "%s/genfmod", bin_path);
95 sprintf(funct, "%s/genpow", bin_path);
99 sprintf(funct, "%s/gensqrt", bin_path);
/external/ltp/lib/
H A Drmobj.c115 sprintf(err_msg, "Cannot remove /");
125 sprintf(err_msg,
146 sprintf(dirobj, "%s/%s", obj, dir_ent->d_name);
162 sprintf(err_msg,
175 sprintf(err_msg,
186 sprintf(err_msg,
198 sprintf(err_msg,
/external/ltp/testcases/misc/math/float/trigo/
H A Dgentrigo.c80 sprintf(funct, "%s/gencos", bin_path);
84 sprintf(funct, "%s/gensin", bin_path);
88 sprintf(funct, "%s/gentan", bin_path);
92 sprintf(funct, "%s/genatan", bin_path);
96 sprintf(funct, "%s/genatan2", bin_path);
100 sprintf(funct, "%s/genacos", bin_path);
104 sprintf(funct, "%s/genasin", bin_path);
/external/fio/lib/
H A Dnum2str.c39 sprintf(tmp, "%llu", (unsigned long long) num);
54 sprintf(buf, "%llu%s%s", (unsigned long long) num,
59 sprintf(tmp, "%llu", (unsigned long long) num);
68 sprintf(tmp, "%u", modulo);
75 sprintf(buf, "%llu.%u%s%s", (unsigned long long) num, modulo,
/external/ltp/testcases/misc/math/float/bessel/
H A Dgenbessel.c82 sprintf(funct, "%s/genj0", bin_path);
86 sprintf(funct, "%s/genj1", bin_path);
90 sprintf(funct, "%s/geny0", bin_path);
94 sprintf(funct, "%s/geny1", bin_path);
98 sprintf(funct, "%s/genlgamma", bin_path);
/external/ltp/testcases/kernel/containers/userns/
H A Duserns_helper.h51 sprintf(path, "/proc/%d/uid_map", cpid);
53 sprintf(path, "/proc/%d/gid_map", cpid);
57 sprintf(content, "%d %d 1", idnum, parentmappid);
/external/ltp/testcases/kernel/syscalls/open/
H A Dopen07.c163 sprintf(file1, "open03.1.%d", getpid());
164 sprintf(file2, "open03.2.%d", getpid());
179 sprintf(file1, "open03.3.%d", getpid());
180 sprintf(file2, "open03.4.%d", getpid());
194 sprintf(file1, "open03.5.%d", getpid());
195 sprintf(file2, "open03.6.%d", getpid());
196 sprintf(file3, "open03.7.%d", getpid());
214 sprintf(file1, "open03.8.%d", getpid());
215 sprintf(file2, "open03.9.%d", getpid());
216 sprintf(file
[all...]
/external/fio/profiles/
H A Dtiobench.c97 sprintf(sz_idx, "size=%llu", size);
101 sprintf(bs_idx, "bs=%u", bs);
102 sprintf(loop_idx, "loops=%u", loops);
105 sprintf(dir_idx, "directory=%s", dir);
107 sprintf(dir_idx, "directory=./");
109 sprintf(t_idx, "numjobs=%u", nthreads);
/external/fmtlib/test/
H A Dprintf-test.cc50 EXPECT_EQ(expected_output, fmt::sprintf(format, arg)) \
52 EXPECT_EQ(expected_output, fmt::sprintf(make_positional(format), arg))
55 EXPECT_EQ("test", fmt::sprintf("test"));
59 EXPECT_EQ("%", fmt::sprintf("%%"));
60 EXPECT_EQ("before %", fmt::sprintf("before %%"));
61 EXPECT_EQ("% after", fmt::sprintf("%% after"));
62 EXPECT_EQ("before % after", fmt::sprintf("before %% after"));
63 EXPECT_EQ("%s", fmt::sprintf("%%s"));
67 EXPECT_EQ("42", fmt::sprintf("%1$d", 42));
68 EXPECT_EQ("before 42", fmt::sprintf("befor
[all...]
/external/bison/lib/
H A Dstrerror.c33 #undef sprintf macro
59 sprintf (buf, fmt, n);
/external/curl/lib/
H A Dcurl_printf.h49 /* We define away the sprintf functions unconditonally since we don't want
51 # undef sprintf macro
53 # define sprintf sprintf_was_used macro
/external/ltp/testcases/network/nfs/nfs_stress/
H A Dnfs05_make_tree.c275 what_todo ? sprintf(command, "make -s") : sprintf(command,
278 sprintf(dirname, "%s/%s.%ld", base_dir, hname, gettid());
381 sprintf(dirname, "%s/%s.%ld", base_dir, hname,
384 sprintf(tmpdirname, "%s/%ld.%d", dirname,
386 sprintf(dirname, "%s", tmpdirname);
398 sprintf(filename, "%s/%ld.%d.%d.c", dirname, gettid(),
416 sprintf(filename, "%s/%s", dirname, "makefile");
437 sprintf(subdir, "%s/%ld.%d", dirname, gettid(), dircnt);
539 numchar[0] = sprintf(prog_bu
[all...]
/external/autotest/client/profilers/powertop/src/
H A Dusb.c49 sprintf(filename, "/sys/bus/usb/devices/%s/power/autosuspend", dirent->d_name);
55 sprintf(filename, "/sys/bus/usb/devices/%s/power/level", dirent->d_name);
83 sprintf(filename, "/sys/bus/usb/devices/%s/power/autosuspend", dirent->d_name);
98 sprintf(filename, "/sys/bus/usb/devices/%s/power/level", dirent->d_name);
/external/compiler-rt/test/asan/TestCases/
H A Dprintf-4.c5 // FIXME: sprintf is not intercepted on Windows yet.
15 fputs("before sprintf\n", stderr);
16 sprintf((char *)buf, "%c %d %.3f %s\n", c, x, f, s);
17 fputs("after sprintf", stderr);
21 // CHECK-ON: before sprintf
22 // CHECK-ON-NOT: after sprintf

Completed in 1267 milliseconds

1234567891011>>