Searched refs:printf (Results 26 - 50 of 1261) sorted by relevance

1234567891011>>

/haiku/src/tests/kits/locale/
H A DICUTest.cpp22 printf("-- init\n");
24 printf("-- basic info\n");
25 printf("Default locale:\nLanguage: %s\nScript: %s\nVariant: %s\n"
32 printf("-- keywords\n");
35 printf("FAILED: getting keywords list\n");
37 printf("FAILED: getting keywords list returned NULL\n");
39 printf("Keywords: %d available\n", keywords->count(err));
45 printf("%s > %s\n", keyname, keyvalue);
56 printf("--------\nDefault Locale\n--------\n");
59 printf("
[all...]
/haiku/src/tests/kits/storage/disk_device/
H A DDiskDeviceTest.cpp38 printf("device %ld: `%s'\n", device->ID(), pathString);
39 printf(" has media: %d\n", device->HasMedia());
40 printf(" removable: %d\n", device->IsRemovableMedia());
41 printf(" read only: %d\n", device->IsReadOnlyMedia());
42 printf(" write once: %d\n", device->IsWriteOnceMedia());
43 printf(" ---\n");
60 printf("%spartition %ld: `%s'\n", prefix, partition->ID(),
63 printf("%s offset: %lld\n", prefix, partition->Offset());
64 printf("%s size: %lld\n", prefix, partition->Size());
65 printf("
[all...]
/haiku/src/bin/listusb/
H A Dusb_audio.cpp22 printf(" Type .............. 0x%02x\n",
24 printf(" Subtype ........... 0x%02x (Header)\n",
26 printf(" ADC Release ....... %d.%d\n",
28 printf(" Total Length ...... %u\n",
30 printf(" Interfaces ........ ");
33 printf("%u, ", descriptor->r1.interface_numbers[i]);
34 printf("\n");
76 printf(" %s", aClusters[i].name);
79 printf("%s ", aChannels[j].name);
80 printf("\
[all...]
/haiku/src/tests/system/kernel/
H A Dport_wakeup_test_3.cpp25 printf("port_buffer_size...\n");
27 printf("port_buffer_size size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
41 printf("created port %ld\n", id);
44 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
47 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
49 printf("port_buffer_size should block for 5 seconds now, as port is empty\n");
55 printf("write port...\n");
57 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
59 printf("waiting for thread to terminate\n");
H A Dport_wakeup_test_8.cpp24 printf("port_buffer_size...\n");
26 printf("port_buffer_size size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
40 printf("created port %ld\n", id);
43 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
48 printf("port_buffer_size should block for 5 seconds now, as port is empty, until port is closed\n");
54 printf("close port...\n");
56 printf("close port result 0x%08lx (%s)\n", s, strerror(s));
58 printf("waiting for thread to terminate\n");
H A Dport_wakeup_test_9.cpp24 printf("port_buffer_size...\n");
26 printf("port_buffer_size size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
40 printf("created port %ld\n", id);
43 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
48 printf("port_buffer_size should block for 5 seconds now, as port is empty, until port is deleted\n");
54 printf("delete port...\n");
56 printf("delete port result 0x%08lx (%s)\n", s, strerror(s));
58 printf("waiting for thread to terminate\n");
H A Dfifo_poll_test.cpp16 printf("f=%p\n", f);
18 printf("fd=%d\n", fd);
28 printf("rv=%d\n", rv);
36 printf("poll returns with error %s\n", strerror(errno));
40 printf("events=%08x revents=%08x\n", pfd.events, pfd.revents);
45 printf("output: %s", buffer);
H A Dport_delete_test.cpp23 printf("created port %ld\n", id);
26 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
29 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
32 printf("delete port result 0x%08lx (%s)\n", s, strerror(s));
34 printf("everything should fail now\n");
38 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
42 printf("port_buffer_size %ld (0x%08lx) (%s)\n", size, size, strerror(size));
46 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
H A Dport_wakeup_test_1.cpp24 printf("write port...\n");
26 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
40 printf("created port %ld\n", id);
43 printf("write port result 0x%08lx (%s)\n", s, strerror(s));
45 printf("write should block for 5 seconds now, as port is full\n");
52 printf("read port...\n");
54 printf("read port code %lx, size %ld (0x%08lx) (%s)\n", code, size, size, strerror(size));
56 printf("waiting for thread to terminate\n");
/haiku/src/tests/system/libroot/posix/
H A Dsetpgid_test.cpp12 printf("parent pid: %d\n", parentPID);
13 printf("parent pgid: %d\n", getpgrp());
22 printf("child pid: %d, pgid: %d\n", childPID, getpgrp());
24 printf("child setpgid(0, 0)\n");
29 // printf("child setsid()\n");
35 printf("child pgid: %d\n", getpgrp());
44 printf("gchild pid: %d, pgid: %d\n", grandChildPID, getpgrp());
46 printf("gchild pid: %d, pgid: %d\n", grandChildPID, getpgrp());
51 printf("child setpgid(0, %d)\n", parentPID);
53 // printf("chil
[all...]
/haiku/src/libs/uuid/
H A Dtest_uuid.c56 printf("%s is %s", uuid, validStr[isValid]);
58 printf(" but uuid_parse says %s\n", validStr[parsedOk]);
61 printf(", OK\n");
85 printf("UUID generate = %s\n", str);
86 printf("UUID: ");
88 printf("%02x", *cp++);
90 printf("\n");
92 printf("UUID type = %d, UUID variant = %d\n", type, variant);
94 printf("Incorrect UUID Variant; was expecting DCE!\n");
97 printf("\
[all...]
/haiku/src/tests/kits/game/direct_window_info_test/
H A Ddwinfo.cpp60 printf("\n\n*** DirectConnected() ***\n");
64 printf("area size: %ld\n", areaInfo.size);
66 printf("buffer state: %s\n", state_to_string(info->buffer_state));
67 printf("bits: %p\n", info->bits);
68 printf("pci_bits: %p\n", info->pci_bits);
69 printf("bytes_per_row: %ld\n", info->bytes_per_row);
70 printf("bits_per_pixel: %lu\n", info->bits_per_pixel);
71 printf("pixel_format: %d\n", info->pixel_format);
72 printf("buffer_layout: %s\n", layout_to_string(info->layout));
73 printf("buffer_orientatio
[all...]
/haiku/src/tests/kits/interface/
H A DScreenTest.cpp13 printf("Invalid BScreen object\n");
20 printf("%s\n", strerror(status));
22 printf("width: %d, height: %d, space: %lu\n",
27 printf("Screen frame: ");
30 printf("\nTrying to set mode to 800x600: ");
37 printf("FAILED (%s)\n", strerror(status));
39 printf("OK\n");
42 printf("%s\n", strerror(status));
44 printf("width: %d, height: %d, space: %lu\n",
48 printf("Scree
[all...]
/haiku/src/bin/pcmcia-cs/
H A Ddump_cis.c115 printf("%soffset 0x%2.2x, tuple 0x%2.2x, link 0x%2.2x\n",
119 if ((i % 16) == 0) printf("%s ", indent);
120 printf("%2.2x ", (u_char)tup->data[i]);
130 printf("%sfuncid ", indent);
133 printf("multi_function"); break;
135 printf("memory_card"); break;
137 printf("serial_port"); break;
139 printf("parallel_port"); break;
141 printf("fixed_disk"); break;
143 printf("video_adapte
[all...]
/haiku/src/bin/
H A Dsetusbconfig.cpp11 printf("usage: %s <device> <configuration index>\n", argv[0]);
17 printf("failed to open device %s\n", argv[1]);
23 printf("could not parse configuration index\n");
29 printf("couldn't get configuration at %lu\n", index);
35 printf("failed to set configuration: %s\n", strerror(result));
39 printf("configuration %lu set on device %s\n", index, argv[1]);
/haiku/src/tests/system/network/
H A Dufunc.c18 printf("Error: %s\n", msg);
19 printf("Code: %d\n", error);
20 printf("Desc: %s\n", strerror(error));
30 printf("%s\n", buf);
33 printf("%s\n", buf);
35 printf("%s\n", buf);
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dcrc_table.cpp37 printf("//! CRC 0%o table, as generated by crc_table.cpp\n", poly);
38 printf("static uint16 crc_table[256] = { \n");
41 printf(" ");
49 printf("0x%04x%s ", crc, (n != 255 ? "," : ""));
51 printf("\n");
53 printf("};\n");
/haiku/src/add-ons/kernel/file_systems/shared/
H A Dcrc_table.cpp34 printf("//! CRC 0%o table, as generated by crc_table.cpp\n", poly);
35 printf("static uint16 crc_table[256] = { \n");
38 printf(" ");
47 printf("0x%04x%s ", crc, (n != 255 ? "," : ""));
49 printf("\n");
51 printf("};\n");
/haiku/src/system/libroot/posix/glibc/extensions/
H A Dgetopt1.c141 printf ("option %s", long_options[option_index].name);
143 printf (" with arg %s", optarg);
144 printf ("\n");
158 printf ("digits occur in two different argv-elements.\n");
160 printf ("option %c\n", c);
164 printf ("option a\n");
168 printf ("option b\n");
172 printf ("option c with value `%s'\n", optarg);
176 printf ("option d with value `%s'\n", optarg);
183 printf ("
[all...]
/haiku/src/tests/add-ons/kernel/drivers/hpet/
H A Dmain.cpp15 printf("Cannot open HPET driver: %s\n", strerror(errno));
25 printf("HPET counter value difference (1 sec): %lld\n", newValue - value);
29 printf("Waiting 2 seconds...\n");
31 printf("%s.\n", strerror(status));
34 printf("Waiting 5 seconds...\n");
36 printf("%s.\n", strerror(status));
39 printf("Waiting 1 second...\n");
41 printf("%s.\n", strerror(status));
/haiku/src/tests/kits/app/bapplication/testapps/
H A DBApplicationTestApp1b.cpp12 printf("error: %lx\n", error);
13 printf("InitCheck(): %lx\n", app.InitCheck());
H A DBApplicationTestApp2b.cpp12 printf("error: %lx\n", error);
13 printf("InitCheck(): %lx\n", app.InitCheck());
H A DBApplicationTestApp3b.cpp12 printf("error: %lx\n", error);
13 printf("InitCheck(): %lx\n", app.InitCheck());
H A DBApplicationTestApp4b.cpp12 printf("error: %lx\n", error);
13 printf("InitCheck(): %lx\n", app.InitCheck());
H A DBApplicationTestApp5b.cpp12 printf("error: %lx\n", error);
13 printf("InitCheck(): %lx\n", app.InitCheck());

Completed in 143 milliseconds

1234567891011>>