Debian Codegraph @

testsuite/buildok/uconversions.stp

raw
1 #! stap -p4
2
3 # Test the uconversions tapset.
4
5 probe begin {
6 print (user_string(2342))
7 print (user_string(2342,"foobar"))
8 print (user_string_warn(2342))
9 print (user_string_warn(2342, "foobar"))
10 print (user_string_quoted (2342))
11
12 print (user_string_n(2342, 5))
13 print (user_string_n(2342, 5, "foobar"))
14 print (user_string_n_warn(2342, 5))
15 print (user_string_n_warn(2342, 5, "foobar"))
16 print (user_string_n_quoted(2342, 5))
17 print (user_string_n_quoted(2342, 5, 128))
18
19 print (user_string_utf32(2342))
20 print (user_string_utf32(2342, "foobar"))
21 print (user_string_quoted_utf32(2342))
22
23 print (user_string_utf16(2342))
24 print (user_string_utf16(2342, "foobar"))
25 print (user_string_quoted_utf16(2342))
26
27 print (user_char_error(2342))
28 print (user_char(2342))
29 print (user_char_warn(2342))
30
31 print (user_short_error(2342))
32 print (user_short(2342))
33 print (user_short_warn(2342))
34
35 print (user_ushort_error(2342))
36 print (user_ushort(2342))
37 print (user_ushort_warn(2342))
38
39 print (user_int_error(2342))
40 print (user_int(2342))
41 print (user_int_warn(2342))
42
43 print (user_long_error(2342))
44 print (user_long(2342))
45 print (user_long_warn(2342))
46
47 print (user_ulong_error(2342))
48 print (user_ulong(2342))
49 print (user_ulong_warn(2342))
50
51 print (user_int8_error(2342))
52 print (user_int8(2342))
53
54 print (user_uint8_error(2342))
55 print (user_uint8(2342))
56
57 print (user_int16_error(2342))
58 print (user_int16(2342))
59
60 print (user_uint16_error(2342))
61 print (user_uint16(2342))
62
63 print (user_int32_error(2342))
64 print (user_int32(2342))
65
66 print (user_uint32_error(2342))
67 print (user_uint32(2342))
68
69 print (user_int64_error(2342))
70 print (user_int64(2342))
71
72 print (user_uint64_error(2342))
73 print (user_uint64(2342))
74
75 print (user_buffer_quoted(2342, 10, 128))
76 print (user_buffer_quoted_error(2342, 10, 128))
77 }