/haiku/src/add-ons/accelerants/skeleton/ |
H A D | GetDeviceInfo.c | 18 sprintf(adi->name, "nVidia chipset"); in GET_ACCELERANT_DEVICE_INFO() 22 sprintf(adi->chipset, "NV04"); in GET_ACCELERANT_DEVICE_INFO() 25 sprintf(adi->chipset, "NV05"); in GET_ACCELERANT_DEVICE_INFO() 28 sprintf(adi->chipset, "NV05 model 64"); in GET_ACCELERANT_DEVICE_INFO() 31 sprintf(adi->chipset, "NV06"); in GET_ACCELERANT_DEVICE_INFO() 34 sprintf(adi->chipset, "NV10"); in GET_ACCELERANT_DEVICE_INFO() 38 sprintf(adi->chipset, "NV11"); in GET_ACCELERANT_DEVICE_INFO() 41 sprintf(adi->chipset, "NV15"); in GET_ACCELERANT_DEVICE_INFO() 45 sprintf(adi->chipset, "NV17"); in GET_ACCELERANT_DEVICE_INFO() 49 sprintf(adi->chipset, "NV18"); in GET_ACCELERANT_DEVICE_INFO() [all …]
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_general.c | 116 sprintf(si->adi.name, "Nvidia TNT1"); in nv_general_powerup() 117 sprintf(si->adi.chipset, "NV04"); in nv_general_powerup() 126 sprintf(si->adi.name, "Nvidia TNT2"); in nv_general_powerup() 127 sprintf(si->adi.chipset, "NV05"); in nv_general_powerup() 133 sprintf(si->adi.name, "Nvidia Vanta (Lt)"); in nv_general_powerup() 134 sprintf(si->adi.chipset, "NV05"); in nv_general_powerup() 140 sprintf(si->adi.name, "Nvidia TNT2-M64 (Pro)"); in nv_general_powerup() 141 sprintf(si->adi.chipset, "NV05 model 64"); in nv_general_powerup() 148 sprintf(si->adi.name, "Nvidia Vanta"); in nv_general_powerup() 149 sprintf(si->adi.chipset, "NV06"); in nv_general_powerup() [all …]
|
/haiku/src/add-ons/accelerants/via/ |
H A D | GetDeviceInfo.c | 18 sprintf(adi->name, "VIA chipset"); in GET_ACCELERANT_DEVICE_INFO() 22 sprintf(adi->chipset, "CLE266 Unichrome Pro (VT3022)"); in GET_ACCELERANT_DEVICE_INFO() 25 sprintf(adi->chipset, "K8M800 Unichrome Pro (VT3108)"); in GET_ACCELERANT_DEVICE_INFO() 28 sprintf(adi->chipset, "CLE266 Unichrome Pro (VT3122)"); in GET_ACCELERANT_DEVICE_INFO() 31 sprintf(adi->chipset, "KM400 Unichrome (VT3205)"); in GET_ACCELERANT_DEVICE_INFO() 34 sprintf(adi->chipset, "KM400 Unichrome (VT7205)"); in GET_ACCELERANT_DEVICE_INFO() 37 sprintf(adi->chipset, "unknown"); in GET_ACCELERANT_DEVICE_INFO() 40 sprintf(adi->serial_no, "unknown"); in GET_ACCELERANT_DEVICE_INFO()
|
/haiku/src/add-ons/input_server/methods/pen/ |
H A D | DumpMessage.cpp | 29 sprintf(buffer, "0x%06lx: ", i); in HexDumpToStream() 33 sprintf(buffer, "%02x", p[i+j]); in HexDumpToStream() 35 sprintf(buffer, " "); in HexDumpToStream() 37 sprintf(buffer+strlen(buffer), " "); in HexDumpToStream() 40 sprintf(buffer, " '"); in HexDumpToStream() 44 sprintf(buffer, " "); in HexDumpToStream() 47 sprintf(buffer, "%c", p[i+j]); in HexDumpToStream() 49 sprintf(buffer, "."); in HexDumpToStream() 52 sprintf(buffer, "'\n"); in HexDumpToStream() 94 sprintf(buffer, "BMessage('%c%c%c%c') {\n", [all …]
|
/haiku/src/bin/debug/strace/ |
H A D | signals.cpp | 59 sprintf(buffer, "%d", signal); in signal_name() 144 sprintf(buffer, "%d", code); in signal_code() 165 sprintf(buffer, "%x", info.si_errno); in signal_info() 170 sprintf(buffer, "%d", (int)info.si_pid); in signal_info() 173 sprintf(buffer, "%d", (int)info.si_uid); in signal_info() 179 sprintf(buffer, "%p", info.si_addr); in signal_info() 185 sprintf(buffer, "%d", info.si_status); in signal_info() 191 sprintf(buffer, "%ld", info.si_band); in signal_info() 196 sprintf(buffer, "%p", info.si_value.sival_ptr); in signal_info()
|
/haiku/src/add-ons/accelerants/neomagic/engine/ |
H A D | nm_general.c | 107 sprintf(si->adi.name, "Neomagic MagicGraph 128"); in nm_general_powerup() 108 sprintf(si->adi.chipset, "NM2070 (ISA)"); in nm_general_powerup() 112 sprintf(si->adi.name, "Neomagic MagicGraph 128V"); in nm_general_powerup() 113 sprintf(si->adi.chipset, "NM2090 (ISA)"); in nm_general_powerup() 117 sprintf(si->adi.name, "Neomagic MagicGraph 128ZV"); in nm_general_powerup() 118 sprintf(si->adi.chipset, "NM2093 (ISA)"); in nm_general_powerup() 122 sprintf(si->adi.name, "Neomagic MagicGraph 128ZV+"); in nm_general_powerup() 123 sprintf(si->adi.chipset, "NM2097 (PCI)"); in nm_general_powerup() 127 sprintf(si->adi.name, "Neomagic MagicGraph 128XD"); in nm_general_powerup() 128 sprintf(si->adi.chipset, "NM2160 (PCI)"); in nm_general_powerup() [all …]
|
/haiku/src/bin/debug/time_stats/ |
H A D | scheduling_analysis.cpp | 80 sprintf(buffer, "sem \"%s\"", waitObject->name); in wait_object_to_string() 82 sprintf(buffer, "sem %ld (%s)", (sem_id)(addr_t)object, in wait_object_to_string() 88 sprintf(buffer, "cvar \"%s\"", waitObject->name); in wait_object_to_string() 90 sprintf(buffer, "cvar %p (%s %p)", object, waitObject->name, in wait_object_to_string() 102 sprintf(buffer, "mutex \"%s\"", waitObject->name); in wait_object_to_string() 104 sprintf(buffer, "mutex %p (%s)", object, waitObject->name); in wait_object_to_string() 108 sprintf(buffer, "rwlock \"%s\"", waitObject->name); in wait_object_to_string() 110 sprintf(buffer, "rwlock %p (%s)", object, waitObject->name); in wait_object_to_string() 116 sprintf(buffer, "other %p (%s)", object, waitObject->name); in wait_object_to_string() 119 sprintf(buffer, "other object %p", object); in wait_object_to_string() [all …]
|
/haiku/src/bin/network/traceroute/ |
H A D | ifaddrlist.c | 78 (void)sprintf(errbuf, "socket: %s", strerror(errno)); in ifaddrlist() 87 (void)sprintf(errbuf, in ifaddrlist() 91 (void)sprintf(errbuf, "SIOCGIFCONF: %s", in ifaddrlist() 119 (void)sprintf(errbuf, "SIOCGIFFLAGS: %.*s: %s", in ifaddrlist() 138 (void)sprintf(errbuf, "SIOCGIFADDR: %s: %s", in ifaddrlist() 145 (void)sprintf(errbuf, "Too many interfaces (%d)", in ifaddrlist()
|
/haiku/src/tools/ |
H A D | data_to_source.cpp | 66 sprintf(lineBuffer, "#include <stddef.h>\n"); in main() 68 sprintf(lineBuffer, "const unsigned char %s[] = {\n", dataVarName); in main() 96 sprintf(lineBufferEnd, "\t%u", (unsigned)buffer[i]); in main() 98 sprintf(lineBufferEnd, ", %u", (unsigned)buffer[i]); in main() 111 sprintf(lineBuffer, "};\nconst size_t %s = sizeof(%s);\n", sizeVarName, in main()
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | sprintf.c | 30 sprintf (char *s, const char *format, ...) in sprintf() function 41 libc_hidden_def (sprintf) 44 strong_alias(sprintf, _IO_sprintf)
|
/haiku/src/add-ons/accelerants/neomagic/ |
H A D | GetDeviceInfo.c | 18 sprintf(adi->name, si->adi.name); in GET_ACCELERANT_DEVICE_INFO() 19 sprintf(adi->chipset, si->adi.chipset); in GET_ACCELERANT_DEVICE_INFO() 20 sprintf(adi->serial_no, "unknown"); in GET_ACCELERANT_DEVICE_INFO()
|
/haiku/src/add-ons/print/transports/shared/ |
H A D | Socket.cpp | 87 sprintf(__error_msg, "gethostbyname failed. errno = %d", errno); in open() 93 sprintf(__error_msg, "socket failed. errno = %d", errno); in open() 102 sprintf(__error_msg, "bind failed. errno = %d", errno); in open() 110 sprintf(__error_msg, "connect failed. errno = %d", errno); in open() 150 sprintf(__error_msg, "recv failed. errno = %d", errno); in read() 165 sprintf(__error_msg, "send failed. errno = %d", errno); in write()
|
/haiku/src/apps/icon-o-matic/import_export/flat_icon/ |
H A D | SourceExporter.cpp | 49 sprintf(buffer, "\nconst unsigned char kIconName[] = {\n"); in _Export() 63 sprintf(buffer, " 0x%.2x, 0x%.2x, 0x%.2x, 0x%.2x" in _Export() 87 sprintf(buffer, " 0x%.2x", b[i]); in _Export() 89 sprintf(buffer, ", 0x%.2x", b[i]); in _Export() 103 sprintf(buffer, "\n};\n"); in _Export()
|
H A D | RDefExporter.cpp | 47 sprintf(buffer, "\nresource(<your resource id here>) #'VICN' array {\n"); in _Export() 61 sprintf(buffer, " $\"%.2X%.2X%.2X%.2X" in _Export() 93 sprintf(buffer, " $\""); in _Export() 107 sprintf(buffer, "%.2X", b[i]); in _Export() 121 sprintf(buffer, endQuotes ? "\"\n};\n" : "};\n"); in _Export()
|
/haiku/src/apps/cortex/addons/LoggingConsumer/ |
H A D | LogWriter.cpp | 235 sprintf(buf, "%-24s : realtime = %" B_PRIdBIGTIME ", perftime = %" B_PRIdBIGTIME "\n", in HandleMessage() 249 sprintf(buf, "\tstart = %" B_PRIdBIGTIME ", offset = %" B_PRIdBIGTIME "\n", in HandleMessage() 252 sprintf(buf, "\tBuffer received *LATE*\n"); in HandleMessage() 258 sprintf(buf, "\tparam id = %" B_PRId32 ", value = %f\n", msg.param.id, msg.param.value); in HandleMessage() 264 sprintf(buf, "\tparam id = %" B_PRId32 "\n", msg.param.id); in HandleMessage() 269 sprintf(buf, "\tstart = %" B_PRIdBIGTIME ", offset = %" B_PRIdBIGTIME "\n", in HandleMessage() 274 sprintf(buf, "\tBuffer handled *LATE*\n"); in HandleMessage() 280 sprintf(buf, "\tstatus = %d\n", int(msg.data_status.status)); in HandleMessage() 285 sprintf(buf, "\tUNKNOWN EVENT CODE: %d\n", int(msg.unknown.what)); in HandleMessage()
|
/haiku/src/tools/translation/inspector/ |
H A D | ImageView.cpp | 326 sprintf(str, "0x%.8lx", num); in hex_format() 362 sprintf(str2, "%f", pfmts[i].quality); in dump_translation_formats() 365 sprintf(str2, "%f", pfmts[i].capability); in dump_translation_formats() 406 sprintf(str2, "%ld", fpbitmap->Bounds().IntegerWidth() + 1); in UpdateInfoWindow() 409 sprintf(str2, "%ld", fpbitmap->Bounds().IntegerHeight() + 1); in UpdateInfoWindow() 412 sprintf(str2, "%ld", fpbitmap->BytesPerRow()); in UpdateInfoWindow() 415 sprintf(str2, "%ld", fpbitmap->BitsLength()); in UpdateInfoWindow() 422 sprintf(str2, "%ld", tinfo.translator); in UpdateInfoWindow() 427 sprintf(str2, "%f", tinfo.quality); in UpdateInfoWindow() 430 sprintf(str2, "%f", tinfo.capability); in UpdateInfoWindow() [all …]
|
/haiku/src/libs/mapm/ |
H A D | mapm_rnd.c | 266 sprintf(buf1,"%d",(millisec / 10)); in M_get_rnd_seed() 267 sprintf(buf2,"%lu",ul); in M_get_rnd_seed() 308 sprintf(buf1,"%ld",usec3); in M_get_rnd_seed() 309 sprintf(buf2,"%lu",sec3); in M_get_rnd_seed() 363 sprintf(buf1, "%d", millisec); in M_get_rnd_seed()
|
/haiku/src/libs/print/libprint/ |
H A D | StatusWindow.cpp | 130 sprintf(buffer,"%d", (int)(page + 1)); in UpdateStatusBar() 133 sprintf(buffer,"%d",(int)fNops ); in UpdateStatusBar() 140 sprintf(buffer, "%d", (int)(fDocCopies)); in UpdateStatusBar() 146 sprintf(buffer,"%d",(int)(fCopies - copy) ); in UpdateStatusBar()
|
H A D | JSDSlider.cpp | 41 sprintf(string, " %.2f", gamma); in UpdateText() 45 sprintf(string," %.0f%%", density); in UpdateText()
|
/haiku/src/kits/tracker/ |
H A D | Tests.cpp | 183 sprintf(buffer, "last cycle time %" B_PRId64 " ms", cycleTime/1000); in DrawSomeNew() 188 sprintf(buffer, "average draw time %" B_PRId64 " us per icon", in DrawSomeNew() 193 sprintf(buffer, "directory: %s", currentPath.Path()); in DrawSomeNew() 241 sprintf(buffer, "last cycle time %lld ms", cycleTime/1000); in DrawSomeOld() 245 sprintf(buffer, "average draw time %lld us per icon", in DrawSomeOld() 249 sprintf(buffer, "directory: %s", currentPath.Path()); in DrawSomeOld()
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | tracing.c | 170 sprintf(buf_ptr, "%02ld.%02ld.%03ld:", sec / 60, sec % 60, msec % 1000); in usb_scsi_trace() 179 sprintf(buf_ptr, "['%s':%lx]:", tinfo.name, tid); in usb_scsi_trace() 288 sprintf(prefix, "%sCMD:", b_hlight ? "=>":""); in usb_scsi_trace_command() 290 sprintf(prefix, hl_mask, b_hlight ? "33m=>":"32m"); in usb_scsi_trace_command() 312 sprintf(p, " %02x", bytes[i]); in usb_scsi_trace_bytes() 341 sprintf(p, "%lX,", sgb->piov[i].iov_len); in usb_scsi_trace_sgb() 369 sprintf(p, (!i) ? "%d" : ", %d", sg[i].iov_len); in usb_scsi_trace_SG()
|
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_general.c | 72 sprintf(si->adi.name, "Matrox Mystique PCI"); in gx00_general_powerup() 73 sprintf(si->adi.chipset, "MGA-1064"); in gx00_general_powerup() 78 sprintf(si->adi.name, "Matrox Millennium I"); in gx00_general_powerup() 79 sprintf(si->adi.chipset, "MGA-2064"); in gx00_general_powerup() 84 sprintf(si->adi.name, "Matrox Millennium II"); in gx00_general_powerup() 85 sprintf(si->adi.chipset, "MGA-2164"); in gx00_general_powerup() 90 sprintf(si->adi.name, "Matrox MGA G100"); in gx00_general_powerup() 91 sprintf(si->adi.chipset, "G100"); in gx00_general_powerup() 96 sprintf(si->adi.name, "Matrox MGA G200"); in gx00_general_powerup() 97 sprintf(si->adi.chipset, "G200"); in gx00_general_powerup() [all …]
|
/haiku/src/apps/cortex/addons/common/ |
H A D | MediaNodeControlApp.cpp | 90 sprintf(buffer, in MediaNodeControlApp() 105 sprintf(buffer, in MediaNodeControlApp() 123 sprintf(buffer, in MediaNodeControlApp()
|
/haiku/src/bin/ |
H A D | hey.cpp | 1020 sprintf(textline + level * 4, "\"%s\" (%s) : %s", namefound, in add_message_contents() 1198 sprintf(str, "%p", *(void**)ptr); in format_data() 1216 sprintf(str, "%" B_PRId64 " (0x%" B_PRIx64 ")", i64, i64); in format_data() 1223 sprintf(str, "%" B_PRId32 " (0x%08" B_PRId32 ")", i32, i32); in format_data() 1229 sprintf(str, "%d (0x%04X)", i16, i16); in format_data() 1236 sprintf(str, "%d (0x%02X)", i8, i8); in format_data() 1242 sprintf(str, "%" B_PRIu64 " (0x%" B_PRIx64 ")", ui64, ui64); in format_data() 1248 sprintf(str, "%" B_PRIu32 " (0x%08" B_PRIx32 ")", ui32, ui32); in format_data() 1254 sprintf(str, "%u (0x%04X)", ui16, ui16); in format_data() 1260 sprintf(str, "%u (0x%02X)", ui8, ui8); in format_data() [all …]
|
/haiku/src/tests/servers/input/msgspy/ |
H A D | MsgSpy.cpp | 87 sprintf(msg_buffer, "%s\n", MapWhatToString(message->what) ); in Filter() 91 sprintf(msg_buffer, "{\n"); in Filter() 102 sprintf(msg_buffer, "}\n"); in Filter() 299 sprintf(value_buffer, "%f", *data_ptr); in OutputMsgField() 314 sprintf(value_buffer, "%s", (true == *data_ptr) ? "true" : "false"); in OutputMsgField() 513 sprintf(msg_buffer, in OutputMsgField()
|