Home
last modified time | relevance | path

Searched refs:sprintf (Results 1 – 25 of 1654) sorted by relevance

12345678910>>...67

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog.c38 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/
Dtrace_impl.cc82 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/compiler-rt/lib/BlocksRuntime/
Druntime.c625 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/honggfuzz/third_party/android/libBlocksRuntime/
Druntime.c625 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/scapy/scapy/contrib/
Dsebek.py31 return self.sprintf("Sebek Header v%SebekHead.version% %SebekHead.type%")
46 return self.underlayer.sprintf("Sebek v1 %SebekHead.type% (%SebekV1.cmd%)")
48 return self.sprintf("Sebek v1 (%SebekV1.cmd%)")
62 … return self.underlayer.sprintf("Sebek v%SebekHead.version% %SebekHead.type% (%SebekV3.cmd%)")
64 return self.sprintf("Sebek v3 (%SebekV3.cmd%)")
69 … return self.underlayer.sprintf("Sebek v%SebekHead.version% %SebekHead.type% (%SebekV2.cmd%)")
71 return self.sprintf("Sebek v2 (%SebekV2.cmd%)")
94 … return self.underlayer.sprintf("Sebek v%SebekHead.version% %SebekHead.type% (%SebekV3Sock.cmd%)")
96 return self.sprintf("Sebek v3 socket (%SebekV3Sock.cmd%)")
101 … return self.underlayer.sprintf("Sebek v%SebekHead.version% %SebekHead.type% (%SebekV2Sock.cmd%)")
[all …]
/external/u-boot/lib/efi_loader/
Defi_device_path_to_text.c38 s += sprintf(s, "UNKNOWN(%04x,%04x)", dp->type, dp->sub_type); in dp_unknown()
48 s += sprintf(s, "MemoryMapped(0x%x,0x%llx,0x%llx)", in dp_hardware()
57 s += sprintf(s, "VenHw(%pUl)", &vdp->guid); in dp_hardware()
73 s += sprintf(s, "Acpi(PNP%04x", EISA_PNP_NUM(adp->hid)); in dp_acpi()
75 s += sprintf(s, ",%d", adp->uid); in dp_acpi()
76 s += sprintf(s, ")"); in dp_acpi()
92 s += sprintf(s, "Ata(%d,%d,%d)", ide->primary_secondary, in dp_msging()
99 s += sprintf(s, "Scsi(%u,%u)", ide->target_id, in dp_msging()
106 s += sprintf(s, "USB(0x%x,0x%x)", udp->parent_port_number, in dp_msging()
117 s += sprintf(s, "MAC(%02x%02x%02x%02x%02x%02x,0x%1x)", in dp_msging()
[all …]
/external/ltp/testcases/kernel/syscalls/open/
Dopen07.c164 sprintf(file1, "open03.1.%d", getpid()); in setupfunc_test1()
165 sprintf(file2, "open03.2.%d", getpid()); in setupfunc_test1()
177 sprintf(file1, "open03.3.%d", getpid()); in setupfunc_test2()
178 sprintf(file2, "open03.4.%d", getpid()); in setupfunc_test2()
190 sprintf(file1, "open03.5.%d", getpid()); in setupfunc_test3()
191 sprintf(file2, "open03.6.%d", getpid()); in setupfunc_test3()
192 sprintf(file3, "open03.7.%d", getpid()); in setupfunc_test3()
206 sprintf(file1, "open03.8.%d", getpid()); in setupfunc_test4()
207 sprintf(file2, "open03.9.%d", getpid()); in setupfunc_test4()
208 sprintf(file3, "open03.10.%d", getpid()); in setupfunc_test4()
[all …]
/external/ltp/lib/
Dtlibio.c639 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/dng_sdk/source/
Ddng_parse_utils.cpp133 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/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp528 sprintf(cmd, "bash -c \"%s\"", command); in runCommand()
531 sprintf(cmd, "QSH CMD('%s')", command); in runCommand()
682 sprintf(checkLibFile, "%s%s", targetDir, libFileNames[LIB_FILE_VERSION]); in pkg_executeOptions()
905 sprintf(libFileNames[LIB_FILE], "%s", libName); in createFileNames()
907 sprintf(libFileNames[LIB_FILE], "%s%s%s", in createFileNames()
913 sprintf(libFileNames[LIB_FILE], "%s%s", in createFileNames()
924 sprintf(libFileNames[LIB_FILE_MINGW], "lib%s.dll.a", libName); in createFileNames()
926 sprintf(libFileNames[LIB_FILE_CYGWIN], "cyg%s%s%s", in createFileNames()
930 sprintf(libFileNames[LIB_FILE_CYGWIN_VERSION], "cyg%s%s%s%s", in createFileNames()
939 sprintf(libFileNames[LIB_FILE_VERSION_TMP], "%s%s%s", in createFileNames()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dsprintf-1.ll1 ; 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/llvm/test/Transforms/InstCombine/
Dsprintf-1.ll1 ; 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/autotest/client/tests/crashme/
Dcrashme_2.4-9.diff290 - 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/trigo/
Dgentrigo.c80 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/
Dgenexp_log.c79 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/e2fsprogs/ext2ed/
Dgroup_com.c34 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()
Dext2_com.c39 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/iputils/Modules/
Dpg3.c155 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/ltp/testcases/misc/math/float/power/
Dgenpower.c79 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/autotest/client/profilers/powertop/src/
Dwireless.c94 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()
308sprintf(sug, _("Suggestion: Enable wireless power saving mode by executing the following command:\… in suggest_wireless_powersave()
314sprintf(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/vboot_reference/tests/
Drollback_index2_tests.c91 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 …]
/external/ltp/testcases/kernel/syscalls/nftw/
Dtools64.c72 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()
Dtools.c73 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/u-boot/board/freescale/t208xqds/
Deth_t208xqds.c226 sprintf(buf, "%s%s%s", buf, "lane-c,", in board_ft_fman_fixup_port()
238 sprintf(buf, "%s%s%s", buf, "lane-d,", in board_ft_fman_fixup_port()
250 sprintf(buf, "%s%s%s", buf, "lane-a,", in board_ft_fman_fixup_port()
263 sprintf(buf, "%s%s%s", buf, "lane-b,", in board_ft_fman_fixup_port()
270 sprintf(alias, "phy_sgmii_s2_%x", phy); in board_ft_fman_fixup_port()
274 sprintf(alias, "phy_sgmii_s3_%x", phy); in board_ft_fman_fixup_port()
285 sprintf(buf, "%s%s%s", buf, "lane-g,", in board_ft_fman_fixup_port()
297 sprintf(buf, "%s%s%s", buf, "lane-h,", in board_ft_fman_fixup_port()
304 sprintf(alias, "phy_sgmii_s1_%x", phy); in board_ft_fman_fixup_port()
308 sprintf(alias, "phy_sgmii_s2_%x", phy); in board_ft_fman_fixup_port()
[all …]
/external/e2fsprogs/e2fsck/
Dlogfile.c90 sprintf(buf, "%02d", tm->tm_mday); in expand_percent_expression()
93 sprintf(buf, "%d%02d%02d", tm->tm_year + 1900, tm->tm_mon + 1, in expand_percent_expression()
106 sprintf(buf, "%02d", tm->tm_hour); in expand_percent_expression()
109 sprintf(buf, "%02d", tm->tm_mon + 1); in expand_percent_expression()
112 sprintf(buf, "%02d", tm->tm_min); in expand_percent_expression()
123 sprintf(buf, "%lu", (unsigned long) getpid()); in expand_percent_expression()
126 sprintf(buf, "%lu", (unsigned long) ctx->now); in expand_percent_expression()
129 sprintf(buf, "%02d", tm->tm_sec); in expand_percent_expression()
132 sprintf(buf, "%02d%02d%02d", tm->tm_hour, tm->tm_min, in expand_percent_expression()
153 sprintf(buf, "%02d", tm->tm_year % 100); in expand_percent_expression()
[all …]

12345678910>>...67