/external/syslinux/com32/gpllib/dmi/ |
D | dmi_memory.c | 35 sprintf(array, "%s", "Not Provided"); in dmi_memory_array_error_handle() 37 sprintf(array, "%s", "No Error"); in dmi_memory_array_error_handle() 39 sprintf(array, "0x%04X", code); in dmi_memory_array_error_handle() 49 sprintf(width, "%s", "Unknown"); in dmi_memory_device_width() 51 sprintf(width, "%u bits", code); in dmi_memory_device_width() 57 sprintf(size, "%s", "Free"); in dmi_memory_device_size() 59 sprintf(size, "%s", "Unknown"); in dmi_memory_device_size() 62 sprintf(size, "%u kB", code & 0x7FFF); in dmi_memory_device_size() 64 sprintf(size, "%u MB", code); in dmi_memory_device_size() 97 sprintf(set, "%s", "None"); in dmi_memory_device_set() [all …]
|
D | dmi_battery.c | 53 sprintf(capacity, "%s", "Unknown"); in dmi_battery_capacity() 55 sprintf(capacity, "%u mWh", code * multiplier); in dmi_battery_capacity() 61 sprintf(voltage, "%s", "Unknown"); in dmi_battery_voltage() 63 sprintf(voltage, "%u mV", code); in dmi_battery_voltage() 69 sprintf(error, "%s", "Unknown"); in dmi_battery_maximum_error() 71 sprintf(error, "%u%%", code); in dmi_battery_maximum_error()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | r300_fragprog.c | 38 sprintf(out, "bias"); in presub_string() 41 sprintf(out, "sub"); in presub_string() 44 sprintf(out, "add"); in presub_string() 47 sprintf(out, "inv "); in presub_string() 143 sprintf(srcc[j], "%c%i", in r300FragmentProgramDump() 145 sprintf(srca[j], "%c%i", in r300FragmentProgramDump() 150 sprintf(flags, "%s%s%s", in r300FragmentProgramDump() 162 sprintf(dstc, "t%i.%s ", in r300FragmentProgramDump() 168 sprintf(flags, "%s%s%s", in r300FragmentProgramDump() 176 sprintf(tmp, "o%i.%s", in r300FragmentProgramDump() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | trace_impl.cc | 82 return sprintf(trace_message, "%10u; ", thread_id); in AddThreadId() 94 sprintf(sz_message, "STATEINFO ; "); in AddLevel() 97 sprintf(sz_message, "WARNING ; "); in AddLevel() 100 sprintf(sz_message, "ERROR ; "); in AddLevel() 103 sprintf(sz_message, "CRITICAL ; "); in AddLevel() 106 sprintf(sz_message, "DEBUGINFO ; "); in AddLevel() 109 sprintf(sz_message, "MODULECALL; "); in AddLevel() 112 sprintf(sz_message, "MEMORY ; "); in AddLevel() 115 sprintf(sz_message, "TIMER ; "); in AddLevel() 118 sprintf(sz_message, "STREAM ; "); in AddLevel() [all …]
|
/external/fmtlib/test/ |
D | printf-test.cc | 50 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")); in TEST() 59 EXPECT_EQ("%", fmt::sprintf("%%")); in TEST() 60 EXPECT_EQ("before %", fmt::sprintf("before %%")); in TEST() 61 EXPECT_EQ("% after", fmt::sprintf("%% after")); in TEST() 62 EXPECT_EQ("before % after", fmt::sprintf("before %% after")); in TEST() 63 EXPECT_EQ("%s", fmt::sprintf("%%s")); in TEST() 67 EXPECT_EQ("42", fmt::sprintf("%1$d", 42)); in TEST() 68 EXPECT_EQ("before 42", fmt::sprintf("before %1$d", 42)); in TEST() [all …]
|
/external/compiler-rt/lib/BlocksRuntime/ |
D | runtime.c | 625 sprintf(cp, "NULL passed to _Block_dump\n"); in _Block_dump() 632 cp += sprintf(cp, "^%p (new layout) =\n", (void *)closure); in _Block_dump() 634 cp += sprintf(cp, "isa: NULL\n"); in _Block_dump() 637 cp += sprintf(cp, "isa: stack Block\n"); in _Block_dump() 640 cp += sprintf(cp, "isa: malloc heap Block\n"); in _Block_dump() 643 cp += sprintf(cp, "isa: GC heap Block\n"); in _Block_dump() 646 cp += sprintf(cp, "isa: global Block\n"); in _Block_dump() 649 cp += sprintf(cp, "isa: finalizing Block\n"); in _Block_dump() 652 cp += sprintf(cp, "isa?: %p\n", (void *)closure->isa); in _Block_dump() 654 cp += sprintf(cp, "flags:"); in _Block_dump() [all …]
|
/external/syslinux/com32/hdt/ |
D | hdt-util.c | 44 sprintf(buffer, "%3d.%02d TiB", tib,sub(gib)); in sectors_to_size() 46 sprintf(buffer, "%3d.%02d GiB", gib,sub(mib)); in sectors_to_size() 48 sprintf(buffer, "%3d.%02d MiB", mib,sub(b)); in sectors_to_size() 50 sprintf(buffer, "%d B", b); in sectors_to_size() 89 sprintf(buffer, "%3d.%02d TB", tib,sub_dec(gib)); in sectors_to_size_dec2() 91 sprintf(buffer, "%3d.%02d GB", gib,sub_dec(mib)); in sectors_to_size_dec2() 93 sprintf(buffer, "%3d.%02d MB", mib,sub_dec(b)); in sectors_to_size_dec2() 95 sprintf(buffer, "%d B", b); in sectors_to_size_dec2()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open07.c | 163 sprintf(file1, "open03.1.%d", getpid()); in setupfunc_test1() 164 sprintf(file2, "open03.2.%d", getpid()); in setupfunc_test1() 179 sprintf(file1, "open03.3.%d", getpid()); in setupfunc_test2() 180 sprintf(file2, "open03.4.%d", getpid()); in setupfunc_test2() 194 sprintf(file1, "open03.5.%d", getpid()); in setupfunc_test3() 195 sprintf(file2, "open03.6.%d", getpid()); in setupfunc_test3() 196 sprintf(file3, "open03.7.%d", getpid()); in setupfunc_test3() 214 sprintf(file1, "open03.8.%d", getpid()); in setupfunc_test4() 215 sprintf(file2, "open03.9.%d", getpid()); in setupfunc_test4() 216 sprintf(file3, "open03.10.%d", getpid()); in setupfunc_test4() [all …]
|
/external/ltp/lib/ |
D | tlibio.c | 639 sprintf(Errormsg, in lio_write_buffer() 723 sprintf(Lio_SysCall, "write(%d, buf, %d)", fd, size); in lio_write_buffer() 733 sprintf(Errormsg, in lio_write_buffer() 742 sprintf(Errormsg, in lio_write_buffer() 764 sprintf(Lio_SysCall, in lio_write_buffer() 775 sprintf(Errormsg, in lio_write_buffer() 784 sprintf(Lio_SysCall, in lio_write_buffer() 797 sprintf(Errormsg, in lio_write_buffer() 823 sprintf(Lio_SysCall, in lio_write_buffer() 834 sprintf(Errormsg, in lio_write_buffer() [all …]
|
/external/syslinux/com32/lua/src/ |
D | dhcp.c | 111 sprintf(op_name, "%u", option); in ip_address_list() 113 sprintf(op_value, "%u.%u.%u.%u", value[0], value[1], value[2], value[3]); in ip_address_list() 118 sprintf(op_name, "%u.%d", option, done+1); in ip_address_list() 120 …sprintf(op_value, "%u.%u.%u.%u", value[0+(done*4)], value[1+(done*4)], value[2+(done*4)], value[3+… in ip_address_list() 204 sprintf(op_name, "%u", option); in dhcp_getoptions() 214 sprintf(op_name, "%u", option); in dhcp_getoptions() 234 sprintf(op_name, "%u", option); in dhcp_getoptions() 243 sprintf(op_name, "%u", option); in dhcp_getoptions() 302 …sprintf(dhcp_arg, "%u.%u.%u.%u", dhcp->ciaddr[0], dhcp->ciaddr[1], dhcp->ciaddr[2], dhcp->ciaddr[3… in dhcp_gettable() 307 …sprintf(dhcp_arg, "%u.%u.%u.%u", dhcp->yiaddr[0], dhcp->yiaddr[1], dhcp->yiaddr[2], dhcp->yiaddr[3… in dhcp_gettable() [all …]
|
/external/icu/icu4c/source/tools/pkgdata/ |
D | pkgdata.cpp | 522 sprintf(cmd, "bash -c \"%s\"", command); in runCommand() 525 sprintf(cmd, "QSH CMD('%s')", command); in runCommand() 676 sprintf(checkLibFile, "%s%s", targetDir, libFileNames[LIB_FILE_VERSION]); in pkg_executeOptions() 899 sprintf(libFileNames[LIB_FILE], "%s", libName); in createFileNames() 901 sprintf(libFileNames[LIB_FILE], "%s%s", in createFileNames() 906 sprintf(libFileNames[LIB_FILE], "%s%s", in createFileNames() 917 sprintf(libFileNames[LIB_FILE_MINGW], "lib%s.dll.a", libName); in createFileNames() 919 sprintf(libFileNames[LIB_FILE_CYGWIN], "cyg%s%s%s", in createFileNames() 923 sprintf(libFileNames[LIB_FILE_CYGWIN_VERSION], "cyg%s%s%s%s", in createFileNames() 932 sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s", in createFileNames() [all …]
|
/external/dng_sdk/source/ |
D | dng_parse_utils.cpp | 133 sprintf (s, "SubIFD %u", (unsigned) (parentCode - tcFirstSubIFD + 1)); in LookupParentCode() 141 sprintf (s, "Chained IFD %u", (unsigned) (parentCode - tcFirstChainedIFD + 1)); in LookupParentCode() 148 sprintf (s, "ParentIFD %u", (unsigned) parentCode); in LookupParentCode() 535 sprintf (s, "CRW_%04X", (unsigned) tagCode); in LookupTagCode() 551 sprintf (s, "MRW%c%c%c%c", c1, c2, c3, c4); in LookupTagCode() 557 sprintf (s, "RAF1_%04X", (unsigned) tagCode); in LookupTagCode() 562 sprintf (s, "RAF2_%04X", (unsigned) tagCode); in LookupTagCode() 567 sprintf (s, "Tag%u", (unsigned) tagCode); in LookupTagCode() 610 sprintf (s, "Type%u", (unsigned) tagType); in LookupTagType() 642 sprintf (s, "%u", (unsigned) key); in LookupNewSubFileType() [all …]
|
/external/ltp/testcases/misc/math/float/trigo/ |
D | gentrigo.c | 80 sprintf(funct, "%s/gencos", bin_path); in main() 84 sprintf(funct, "%s/gensin", bin_path); in main() 88 sprintf(funct, "%s/gentan", bin_path); in main() 92 sprintf(funct, "%s/genatan", bin_path); in main() 96 sprintf(funct, "%s/genatan2", bin_path); in main() 100 sprintf(funct, "%s/genacos", bin_path); in main() 104 sprintf(funct, "%s/genasin", bin_path); in main()
|
/external/ltp/testcases/misc/math/float/exp_log/ |
D | genexp_log.c | 79 sprintf(funct, "%s/genexp", bin_path); in main() 83 sprintf(funct, "%s/genlog", bin_path); in main() 87 sprintf(funct, "%s/genlog10", bin_path); in main() 91 sprintf(funct, "%s/genfrexp", bin_path); in main() 95 sprintf(funct, "%s/genldexp", bin_path); in main() 99 sprintf(funct, "%s/genhypot", bin_path); in main() 103 sprintf(funct, "%s/genmodf", bin_path); in main()
|
/external/llvm/test/Transforms/InstCombine/ |
D | sprintf-1.ll | 1 ; Test that the sprintf library call simplifier works correctly. 17 declare i32 @sprintf(i8*, i8*, ...) 19 ; Check sprintf(dst, fmt) -> llvm.memcpy(str, fmt, strlen(fmt) + 1, 1). 24 call i32 (i8*, i8*, ...) @sprintf(i8* %dst, i8* %fmt) 33 call i32 (i8*, i8*, ...) @sprintf(i8* %dst, i8* %fmt) 42 call i32 (i8*, i8*, ...) @sprintf(i8* %dst, i8* %fmt) 48 ; Check sprintf(dst, "%c", chr) -> *(i8*)dst = chr; *((i8*)dst + 1) = 0. 53 call i32 (i8*, i8*, ...) @sprintf(i8* %dst, i8* %fmt, i8 104) 61 ; Check sprintf(dst, "%s", str) -> llvm.memcpy(dest, str, strlen(str) + 1, 1). 66 call i32 (i8*, i8*, ...) @sprintf(i8* %dst, i8* %fmt, i8* %str) [all …]
|
/external/e2fsprogs/ext2ed/ |
D | group_com.c | 34 sprintf (buffer,"entry %ld",group_info.group_num+entry_offset); in type_ext2_group_desc___next() 50 sprintf (buffer,"entry %ld",group_info.group_num-entry_offset); in type_ext2_group_desc___prev() 74 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer); in type_ext2_group_desc___entry() 103 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer); in type_ext2_group_desc___gocopy() 142 sprintf (buffer,"setoffset block %ld",inode_offset);dispatch (buffer); in type_ext2_group_desc___inode() 143 sprintf (buffer,"settype ext2_inode");dispatch (buffer); in type_ext2_group_desc___inode() 156 sprintf (buffer,"setoffset block %ld",block_bitmap_offset);dispatch (buffer); in type_ext2_group_desc___blockbitmap() 157 sprintf (buffer,"settype block_bitmap");dispatch (buffer); in type_ext2_group_desc___blockbitmap() 170 sprintf (buffer,"setoffset block %ld",inode_bitmap_offset);dispatch (buffer); in type_ext2_group_desc___inodebitmap() 171 sprintf (buffer,"settype inode_bitmap");dispatch (buffer); in type_ext2_group_desc___inodebitmap()
|
D | ext2_com.c | 39 sprintf (buffer,"setoffset %ld",file_system_info.super_block_offset);dispatch (buffer); in type_ext2___super() 40 sprintf (buffer,"settype ext2_super_block");dispatch (buffer); in type_ext2___super() 70 sprintf (temp,"cd %s",buffer+1);dispatch (temp); in type_ext2___cd() 95 sprintf (buffer,"setoffset %ld",file_system_info.first_group_desc_offset);dispatch (buffer); in type_ext2___group() 96 sprintf (buffer,"settype ext2_group_desc");dispatch (buffer); in type_ext2___group() 97 sprintf (buffer,"entry %ld",group_num);dispatch (buffer); in type_ext2___group()
|
/external/autotest/client/tests/crashme/ |
D | crashme_2.4-9.diff | 290 - sprintf(notes,"Subprocess run for %d seconds (%d %02d:%02d:%02d)", 291 + sprintf(notes,"Subprocess run for %ld seconds (%ld %02ld:%02ld:%02ld)", 296 - sprintf(notes,"Creating %d crashme subprocesses",nsubs);} 297 + sprintf(notes,"Creating %ld crashme subprocesses",nsubs);} 301 {sprintf(notes, 320 - sprintf(notes,"crashme %s%ld.%d %ld %ld", 321 + sprintf(notes,"crashme %s%ld.%ld %ld %ld", 328 - sprintf(notes,"Badboy at %d. 0x%X",badboy,badboy); 329 + sprintf(notes,"Badboy at %d. 0x%X",(int) badboy,(unsigned int) badboy); 337 - sprintf(notes,"try %d, offset %d",i,offset); [all …]
|
/external/ltp/testcases/misc/math/float/power/ |
D | genpower.c | 79 sprintf(funct, "%s/genceil", bin_path); in main() 83 sprintf(funct, "%s/genfabs", bin_path); in main() 87 sprintf(funct, "%s/genfloor", bin_path); in main() 91 sprintf(funct, "%s/genfmod", bin_path); in main() 95 sprintf(funct, "%s/genpow", bin_path); in main() 99 sprintf(funct, "%s/gensqrt", bin_path); in main()
|
/external/iputils/Modules/ |
D | pg3.c | 155 sprintf(pg_result, "No such netdevice: \"%s\"", pg_outdev); in pg_setup_inject() 160 sprintf(pg_result, "Not ethernet device: \"%s\"", pg_outdev); in pg_setup_inject() 165 sprintf(pg_result, "Device is down: \"%s\"", pg_outdev); in pg_setup_inject() 249 sprintf(pg_result, "No memory"); in fill_packet() 436 p += sprintf(p, "OK: %u(c%u+d%u) usec, %u (%dbyte,%dfrags) %upps %uMB/sec", in pg_inject() 451 sprintf(pg_result, "Interrupted"); in pg_inject() 466 p += sprintf(p, "%d\n", pg_busy); in proc_pg_busy_read() 479 p += sprintf(p, "Params: count=%u pkt_size=%u frags %d ipg %u odev \"%s\" dst %s dstmac ", in proc_pg_read() 483 p += sprintf(p, "%02X%s", pg_dstmac[i], i == 5 ? "\n" : ":"); in proc_pg_read() 486 p += sprintf(p, "Result: %s\n", pg_result); in proc_pg_read() [all …]
|
/external/autotest/client/profilers/powertop/src/ |
D | wireless.c | 94 sprintf(line,"iwconfig %s 2> /dev/null", wireless_nic); in check_unused_wiresless_up() 121 sprintf(line, "/sbin/iwpriv %s get_power 2> /dev/null", iface); in need_wireless_suggest() 176 sprintf(pathname, "/sys/bus/pci/drivers/iwl4965/%s/power_level", dirent->d_name); in find_4965() 188 sprintf(pathname, "/sys/bus/pci/drivers/iwl3945/%s/power_level", dirent->d_name); in find_4965() 267 sprintf(rfkill_path,"/sys/bus/pci/devices/%s/rfkill/rfkill0/state", driver.bus_info); in find_wireless_nic() 268 sprintf(powersave_path,"/sys/bus/pci/devices/%s/power_level", driver.bus_info); in find_wireless_nic() 275 sprintf(line, "/sbin/iwpriv %s set_power 5 2> /dev/null", wireless_nic); in activate_wireless_suggestion() 308 …sprintf(sug, _("Suggestion: Enable wireless power saving mode by executing the following command:\… in suggest_wireless_powersave() 314 …sprintf(sug, _("Suggestion: Enable wireless power saving mode by executing the following command:\… in suggest_wireless_powersave() 320 sprintf(sug, _("Suggestion: Disable the unused WIFI radio by executing the following command:\n " in suggest_wireless_powersave()
|
/external/fio/lib/ |
D | num2str.c | 70 sprintf(tmp, "%llu", (unsigned long long) num); in num2str() 88 sprintf(buf, "%llu%s%s", (unsigned long long) num, in num2str() 96 sprintf(tmp, "%llu", (unsigned long long) num); in num2str() 108 sprintf(fmt, "%%.%df", (int)(maxlen - strlen(tmp) - 1)); in num2str() 109 sprintf(tmp, fmt, (double)modulo / (double)thousand[!!pow2]); in num2str() 111 sprintf(buf, "%llu.%s%s%s", (unsigned long long) num, &tmp[2], in num2str()
|
/external/ltp/testcases/kernel/syscalls/nftw/ |
D | tools64.c | 72 sprintf(ebuf, "Can't mkdir ./tmp"); in setup_path() 80 sprintf(ebuf, "Can't mkdir %s %d", in setup_path() 90 sprintf(ebuf, "Can't symlink %s ", in setup_path() 101 sprintf(ebuf, "Can't open %s", pathdat[i].name); in setup_path() 123 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333"); in setup_path() 131 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d666"); in setup_path() 139 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/dirg/dir_right.1"); in setup_path() 197 sprintf(s, "Unknown value for third argument to fn(): %d\n", x); in ftw_mnemonic()
|
D | tools.c | 73 sprintf(ebuf, "Can't mkdir ./tmp"); in setup_path() 81 sprintf(ebuf, "Can't mkdir %s %d", in setup_path() 91 sprintf(ebuf, "Can't symlink %s ", in setup_path() 102 sprintf(ebuf, "Can't open %s", pathdat[i].name); in setup_path() 124 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333"); in setup_path() 132 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d666"); in setup_path() 140 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/dirg/dir_right.1"); in setup_path() 197 sprintf(s, "Unknown value for third argument to fn(): %d\n", x); in ftw_mnemonic()
|
/external/vboot_reference/tests/ |
D | rollback_index2_tests.c | 91 mock_cnext += sprintf(mock_cnext, "TlclLibInit()\n"); in TlclLibInit() 97 mock_cnext += sprintf(mock_cnext, "TlclStartup()\n"); in TlclStartup() 103 mock_cnext += sprintf(mock_cnext, "TlclResume()\n"); in TlclResume() 109 mock_cnext += sprintf(mock_cnext, "TlclForceClear()\n"); in TlclForceClear() 115 mock_cnext += sprintf(mock_cnext, "TlclSetEnable()\n"); in TlclSetEnable() 121 mock_cnext += sprintf(mock_cnext, "TlclSetDeactivated(%d)\n", flag); in TlclSetDeactivated() 127 mock_cnext += sprintf(mock_cnext, "TlclRead(0x%x, %d)\n", in TlclRead() 147 mock_cnext += sprintf(mock_cnext, "TlclWrite(0x%x, %d)\n", in TlclWrite() 165 mock_cnext += sprintf(mock_cnext, "TlclDefineSpace(0x%x, 0x%x, %d)\n", in TlclDefineSpace() 172 mock_cnext += sprintf(mock_cnext, "TlclSelfTestFull()\n"); in TlclSelfTestFull() [all …]
|