Branch Coverage

Horus.xs
Criterion Covered Total %
branch 375 880 42.6


line true false branch
166 0 4 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
4 0 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
4 0 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
4 0 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
0 4 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
0 4 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
0 0 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
0 4 PP_CONST_IV(fmt_str, HORUS_FMT_STR)
167 0 8 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
8 0 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
8 0 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
8 0 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
0 8 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
0 8 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
0 0 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
0 8 PP_CONST_IV(fmt_hex, HORUS_FMT_HEX)
168 0 4 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
4 0 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
4 0 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
4 0 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
0 4 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
0 4 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
0 0 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
0 4 PP_CONST_IV(fmt_braces, HORUS_FMT_BRACES)
169 0 4 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
4 0 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
4 0 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
4 0 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
0 4 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
0 4 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
0 0 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
0 4 PP_CONST_IV(fmt_urn, HORUS_FMT_URN)
170 0 4 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
4 0 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
4 0 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
4 0 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
0 4 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
0 4 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
0 0 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
0 4 PP_CONST_IV(fmt_base64, HORUS_FMT_BASE64)
171 0 1 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
1 0 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
1 0 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
1 0 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
0 1 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
0 1 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
0 0 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
0 1 PP_CONST_IV(fmt_base32, HORUS_FMT_BASE32)
172 0 1 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
1 0 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
1 0 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
1 0 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
0 1 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
0 1 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
0 0 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
0 1 PP_CONST_IV(fmt_crockford, HORUS_FMT_CROCKFORD)
173 0 5 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
5 0 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
5 0 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
5 0 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
0 5 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
0 5 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
0 0 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
0 5 PP_CONST_IV(fmt_binary, HORUS_FMT_BINARY)
174 0 5 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
5 0 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
5 0 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
5 0 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
0 5 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
0 5 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
0 0 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
0 5 PP_CONST_IV(fmt_upper_str, HORUS_FMT_UPPER_STR)
175 0 3 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
3 0 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
3 0 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
3 0 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
0 3 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
0 3 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
0 0 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
0 3 PP_CONST_IV(fmt_upper_hex, HORUS_FMT_UPPER_HEX)
188 0 8 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
8 0 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
8 0 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
8 0 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
0 8 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
0 8 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
0 8 PP_CONST_PV(ns_dns, "6ba7b810-9dad-11d1-80b4-00c04fd430c8", 36)
189 0 2 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
2 0 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
2 0 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
2 0 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
0 2 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
0 2 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
0 2 PP_CONST_PV(ns_url, "6ba7b811-9dad-11d1-80b4-00c04fd430c8", 36)
190 0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_oid, "6ba7b812-9dad-11d1-80b4-00c04fd430c8", 36)
191 0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
0 0 PP_CONST_PV(ns_x500, "6ba7b814-9dad-11d1-80b4-00c04fd430c8", 36)
235 0 1005 EXTEND(SP, 1);
245 0 13 EXTEND(SP, 1);
249 0 12 HORUS_CK_GEN01(uuid_v4)
12 0 HORUS_CK_GEN01(uuid_v4)
12 0 HORUS_CK_GEN01(uuid_v4)
12 0 HORUS_CK_GEN01(uuid_v4)
6 0 HORUS_CK_GEN01(uuid_v4)
18 0 HORUS_CK_GEN01(uuid_v4)
6 12 HORUS_CK_GEN01(uuid_v4)
6 0 HORUS_CK_GEN01(uuid_v4)
6 6 HORUS_CK_GEN01(uuid_v4)
6 0 HORUS_CK_GEN01(uuid_v4)
6 0 HORUS_CK_GEN01(uuid_v4)
6 0 HORUS_CK_GEN01(uuid_v4)
257 0 105 EXTEND(SP, 1);
268 0 8 EXTEND(SP, 1);
272 0 7 HORUS_CK_GEN01(uuid_v1)
7 0 HORUS_CK_GEN01(uuid_v1)
7 0 HORUS_CK_GEN01(uuid_v1)
7 0 HORUS_CK_GEN01(uuid_v1)
1 0 HORUS_CK_GEN01(uuid_v1)
8 0 HORUS_CK_GEN01(uuid_v1)
1 7 HORUS_CK_GEN01(uuid_v1)
1 0 HORUS_CK_GEN01(uuid_v1)
6 1 HORUS_CK_GEN01(uuid_v1)
1 0 HORUS_CK_GEN01(uuid_v1)
1 0 HORUS_CK_GEN01(uuid_v1)
1 0 HORUS_CK_GEN01(uuid_v1)
280 0 122 EXTEND(SP, 1);
291 0 0 EXTEND(SP, 1);
295 0 4 HORUS_CK_GEN01(uuid_v6)
4 0 HORUS_CK_GEN01(uuid_v6)
4 0 HORUS_CK_GEN01(uuid_v6)
4 0 HORUS_CK_GEN01(uuid_v6)
0 0 HORUS_CK_GEN01(uuid_v6)
4 0 HORUS_CK_GEN01(uuid_v6)
0 4 HORUS_CK_GEN01(uuid_v6)
0 0 HORUS_CK_GEN01(uuid_v6)
4 0 HORUS_CK_GEN01(uuid_v6)
0 0 HORUS_CK_GEN01(uuid_v6)
0 0 HORUS_CK_GEN01(uuid_v6)
0 0 HORUS_CK_GEN01(uuid_v6)
303 0 2104 EXTEND(SP, 1);
314 0 8 EXTEND(SP, 1);
318 0 8 HORUS_CK_GEN01(uuid_v7)
8 0 HORUS_CK_GEN01(uuid_v7)
8 0 HORUS_CK_GEN01(uuid_v7)
8 0 HORUS_CK_GEN01(uuid_v7)
1 0 HORUS_CK_GEN01(uuid_v7)
9 0 HORUS_CK_GEN01(uuid_v7)
1 8 HORUS_CK_GEN01(uuid_v7)
1 0 HORUS_CK_GEN01(uuid_v7)
7 1 HORUS_CK_GEN01(uuid_v7)
1 0 HORUS_CK_GEN01(uuid_v7)
1 0 HORUS_CK_GEN01(uuid_v7)
1 0 HORUS_CK_GEN01(uuid_v7)
325 0 3 EXTEND(SP, 1);
335 0 12 EXTEND(SP, 1);
339 0 8 HORUS_CK_GEN01(uuid_nil)
8 0 HORUS_CK_GEN01(uuid_nil)
8 0 HORUS_CK_GEN01(uuid_nil)
8 0 HORUS_CK_GEN01(uuid_nil)
5 0 HORUS_CK_GEN01(uuid_nil)
13 0 HORUS_CK_GEN01(uuid_nil)
5 8 HORUS_CK_GEN01(uuid_nil)
5 0 HORUS_CK_GEN01(uuid_nil)
3 5 HORUS_CK_GEN01(uuid_nil)
5 0 HORUS_CK_GEN01(uuid_nil)
5 0 HORUS_CK_GEN01(uuid_nil)
5 0 HORUS_CK_GEN01(uuid_nil)
346 0 3 EXTEND(SP, 1);
356 0 11 EXTEND(SP, 1);
360 0 7 HORUS_CK_GEN01(uuid_max)
7 0 HORUS_CK_GEN01(uuid_max)
7 0 HORUS_CK_GEN01(uuid_max)
7 0 HORUS_CK_GEN01(uuid_max)
4 0 HORUS_CK_GEN01(uuid_max)
11 0 HORUS_CK_GEN01(uuid_max)
4 7 HORUS_CK_GEN01(uuid_max)
4 0 HORUS_CK_GEN01(uuid_max)
3 4 HORUS_CK_GEN01(uuid_max)
4 0 HORUS_CK_GEN01(uuid_max)
4 0 HORUS_CK_GEN01(uuid_max)
4 0 HORUS_CK_GEN01(uuid_max)
376 0 2 if (items < 1) croak("uuid_v2 requires at least a domain argument");
380 0 2 if (items >= 2 && SvOK(PL_stack_base[ax + 1])) {
0 0 if (items >= 2 && SvOK(PL_stack_base[ax + 1])) {
383 1 1 if (domain == 0) local_id = (uint32_t)getuid();
384 1 0 else if (domain == 1) local_id = (uint32_t)getgid();
388 0 2 if (items >= 3) fmt = SvIV(PL_stack_base[ax + 2]);
393 0 2 XPUSHs(sv_2mortal(horus_uuid_to_sv(aTHX_ uuid, fmt)));
410 0 5 if (items < 2) croak("uuid_v3 requires namespace and name arguments");
411 0 5 if (items > 2) fmt = SvIV(PL_stack_base[ax + 2]);
413 0 5 if (!horus_parse_ns(aTHX_ PL_stack_base[ax], ns_bytes))
420 0 5 XPUSHs(sv_2mortal(horus_uuid_to_sv(aTHX_ uuid, fmt)));
437 0 5 if (items < 2) croak("uuid_v5 requires namespace and name arguments");
438 0 5 if (items > 2) fmt = SvIV(PL_stack_base[ax + 2]);
440 0 5 if (!horus_parse_ns(aTHX_ PL_stack_base[ax], ns_bytes))
447 0 5 XPUSHs(sv_2mortal(horus_uuid_to_sv(aTHX_ uuid, fmt)));
504 0 1 if (data_len < 16) croak("Horus: uuid_v8 requires 16 bytes of custom data");
519 0 0 if (data_len < 16) croak("Horus: uuid_v8 requires 16 bytes of custom data");
525 0 1 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
2 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 1 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
1 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
0 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
0 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
0 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
0 0 HORUS_CK_GEN12(uuid_v8, pp_horus_uuid_v8_data, pp_horus_uuid_v8_data_fmt)
535 0 2 if (count <= 0) {
539 2 0 EXTEND(SP, count);
0 2 EXTEND(SP, count);
541 0 2 if (count <= 256) {
542 0 0 for (i = 0; i < count; i++) {
551 1500 2 for (i = 0; i < count; i++) {
569 0 1 if (count <= 0) {
573 1 0 EXTEND(SP, count);
0 1 EXTEND(SP, count);
575 1 0 if (count <= 256) {
576 10 1 for (i = 0; i < count; i++) {
585 0 0 for (i = 0; i < count; i++) {
595 0 3 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
3 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
3 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
3 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
4 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
7 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
4 3 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
4 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
2 1 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
2 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
2 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
1 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
1 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
1 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
1 0 HORUS_CK_GEN12(uuid_v4_bulk, pp_horus_uuid_v4_bulk_count, pp_horus_uuid_v4_bulk_count_fmt)
607 1 49 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
613 0 11 HORUS_CK_UNARY(uuid_parse)
11 0 HORUS_CK_UNARY(uuid_parse)
11 0 HORUS_CK_UNARY(uuid_parse)
11 0 HORUS_CK_UNARY(uuid_parse)
0 11 HORUS_CK_UNARY(uuid_parse)
11 0 HORUS_CK_UNARY(uuid_parse)
0 11 HORUS_CK_UNARY(uuid_parse)
0 11 HORUS_CK_UNARY(uuid_parse)
0 0 HORUS_CK_UNARY(uuid_parse)
625 0 17 HORUS_CK_UNARY(uuid_validate)
17 0 HORUS_CK_UNARY(uuid_validate)
17 0 HORUS_CK_UNARY(uuid_validate)
17 0 HORUS_CK_UNARY(uuid_validate)
0 17 HORUS_CK_UNARY(uuid_validate)
17 0 HORUS_CK_UNARY(uuid_validate)
0 17 HORUS_CK_UNARY(uuid_validate)
0 17 HORUS_CK_UNARY(uuid_validate)
0 0 HORUS_CK_UNARY(uuid_validate)
635 0 15 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
641 0 15 HORUS_CK_UNARY(uuid_version)
15 0 HORUS_CK_UNARY(uuid_version)
15 0 HORUS_CK_UNARY(uuid_version)
15 0 HORUS_CK_UNARY(uuid_version)
0 15 HORUS_CK_UNARY(uuid_version)
15 0 HORUS_CK_UNARY(uuid_version)
0 15 HORUS_CK_UNARY(uuid_version)
0 15 HORUS_CK_UNARY(uuid_version)
0 0 HORUS_CK_UNARY(uuid_version)
651 0 8 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
657 0 8 HORUS_CK_UNARY(uuid_variant)
8 0 HORUS_CK_UNARY(uuid_variant)
8 0 HORUS_CK_UNARY(uuid_variant)
8 0 HORUS_CK_UNARY(uuid_variant)
0 8 HORUS_CK_UNARY(uuid_variant)
8 0 HORUS_CK_UNARY(uuid_variant)
0 8 HORUS_CK_UNARY(uuid_variant)
0 8 HORUS_CK_UNARY(uuid_variant)
0 0 HORUS_CK_UNARY(uuid_variant)
670 0 5 if (horus_parse_uuid(a, a_str, a_len) != HORUS_PARSE_OK)
672 0 5 if (horus_parse_uuid(b, b_str, b_len) != HORUS_PARSE_OK)
677 3 2 SETs(sv_2mortal(newSViv((cmp < 0) ? -1 : (cmp > 0) ? 1 : 0)));
680 0 5 HORUS_CK_BINARY(uuid_cmp)
5 0 HORUS_CK_BINARY(uuid_cmp)
5 0 HORUS_CK_BINARY(uuid_cmp)
5 0 HORUS_CK_BINARY(uuid_cmp)
0 5 HORUS_CK_BINARY(uuid_cmp)
5 0 HORUS_CK_BINARY(uuid_cmp)
0 5 HORUS_CK_BINARY(uuid_cmp)
5 0 HORUS_CK_BINARY(uuid_cmp)
0 5 HORUS_CK_BINARY(uuid_cmp)
0 5 HORUS_CK_BINARY(uuid_cmp)
0 0 HORUS_CK_BINARY(uuid_cmp)
692 0 57 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
698 0 18 HORUS_CK_BINARY(uuid_convert)
18 0 HORUS_CK_BINARY(uuid_convert)
18 0 HORUS_CK_BINARY(uuid_convert)
18 0 HORUS_CK_BINARY(uuid_convert)
0 18 HORUS_CK_BINARY(uuid_convert)
18 0 HORUS_CK_BINARY(uuid_convert)
0 18 HORUS_CK_BINARY(uuid_convert)
18 0 HORUS_CK_BINARY(uuid_convert)
0 18 HORUS_CK_BINARY(uuid_convert)
0 18 HORUS_CK_BINARY(uuid_convert)
0 0 HORUS_CK_BINARY(uuid_convert)
708 0 6 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
714 0 6 HORUS_CK_UNARY(uuid_time)
6 0 HORUS_CK_UNARY(uuid_time)
6 0 HORUS_CK_UNARY(uuid_time)
6 0 HORUS_CK_UNARY(uuid_time)
0 6 HORUS_CK_UNARY(uuid_time)
6 0 HORUS_CK_UNARY(uuid_time)
0 6 HORUS_CK_UNARY(uuid_time)
0 6 HORUS_CK_UNARY(uuid_time)
0 0 HORUS_CK_UNARY(uuid_time)
725 4 0 if (horus_parse_uuid(uuid, in_str, in_len) == HORUS_PARSE_OK)
731 0 4 HORUS_CK_UNARY(uuid_is_nil)
4 0 HORUS_CK_UNARY(uuid_is_nil)
4 0 HORUS_CK_UNARY(uuid_is_nil)
4 0 HORUS_CK_UNARY(uuid_is_nil)
0 4 HORUS_CK_UNARY(uuid_is_nil)
4 0 HORUS_CK_UNARY(uuid_is_nil)
0 4 HORUS_CK_UNARY(uuid_is_nil)
0 4 HORUS_CK_UNARY(uuid_is_nil)
0 0 HORUS_CK_UNARY(uuid_is_nil)
742 4 0 if (horus_parse_uuid(uuid, in_str, in_len) == HORUS_PARSE_OK)
748 0 4 HORUS_CK_UNARY(uuid_is_max)
4 0 HORUS_CK_UNARY(uuid_is_max)
4 0 HORUS_CK_UNARY(uuid_is_max)
4 0 HORUS_CK_UNARY(uuid_is_max)
0 4 HORUS_CK_UNARY(uuid_is_max)
4 0 HORUS_CK_UNARY(uuid_is_max)
0 4 HORUS_CK_UNARY(uuid_is_max)
0 4 HORUS_CK_UNARY(uuid_is_max)
0 0 HORUS_CK_UNARY(uuid_is_max)
822 19 0 HORUS_REG_CK("UUID_FMT_STR", fmt_str)
823 19 0 HORUS_REG_CK("UUID_FMT_HEX", fmt_hex)
824 19 0 HORUS_REG_CK("UUID_FMT_BRACES", fmt_braces)
825 19 0 HORUS_REG_CK("UUID_FMT_URN", fmt_urn)
826 19 0 HORUS_REG_CK("UUID_FMT_BASE64", fmt_base64)
827 19 0 HORUS_REG_CK("UUID_FMT_BASE32", fmt_base32)
828 19 0 HORUS_REG_CK("UUID_FMT_CROCKFORD", fmt_crockford)
829 19 0 HORUS_REG_CK("UUID_FMT_BINARY", fmt_binary)
830 19 0 HORUS_REG_CK("UUID_FMT_UPPER_STR", fmt_upper_str)
831 19 0 HORUS_REG_CK("UUID_FMT_UPPER_HEX", fmt_upper_hex)
833 19 0 HORUS_REG_CK("UUID_NS_DNS", ns_dns)
834 19 0 HORUS_REG_CK("UUID_NS_URL", ns_url)
835 19 0 HORUS_REG_CK("UUID_NS_OID", ns_oid)
836 19 0 HORUS_REG_CK("UUID_NS_X500", ns_x500)
838 19 0 HORUS_REG_CK("uuid_v1", uuid_v1)
839 19 0 HORUS_REG_CK("uuid_v2", uuid_v2)
840 19 0 HORUS_REG_CK("uuid_v3", uuid_v3)
841 19 0 HORUS_REG_CK("uuid_v4", uuid_v4)
842 19 0 HORUS_REG_CK("uuid_v5", uuid_v5)
843 19 0 HORUS_REG_CK("uuid_v6", uuid_v6)
844 19 0 HORUS_REG_CK("uuid_v7", uuid_v7)
845 19 0 HORUS_REG_CK("uuid_v8", uuid_v8)
846 19 0 HORUS_REG_CK("uuid_nil", uuid_nil)
847 19 0 HORUS_REG_CK("uuid_max", uuid_max)
849 19 0 HORUS_REG_CK("uuid_v4_bulk", uuid_v4_bulk)
851 19 0 HORUS_REG_CK("uuid_parse", uuid_parse)
852 19 0 HORUS_REG_CK("uuid_validate", uuid_validate)
853 19 0 HORUS_REG_CK("uuid_version", uuid_version)
854 19 0 HORUS_REG_CK("uuid_variant", uuid_variant)
855 19 0 HORUS_REG_CK("uuid_cmp", uuid_cmp)
856 19 0 HORUS_REG_CK("uuid_convert", uuid_convert)
857 19 0 HORUS_REG_CK("uuid_time", uuid_time)
858 19 0 HORUS_REG_CK("uuid_is_nil", uuid_is_nil)
859 19 0 HORUS_REG_CK("uuid_is_max", uuid_is_max)
897 0 0 RETVAL = HORUS_FMT_STR;
904 0 0 RETVAL = HORUS_FMT_HEX;
911 0 0 RETVAL = HORUS_FMT_BRACES;
918 0 0 RETVAL = HORUS_FMT_URN;
925 0 0 RETVAL = HORUS_FMT_BASE64;
932 0 0 RETVAL = HORUS_FMT_BASE32;
939 0 0 RETVAL = HORUS_FMT_CROCKFORD;
946 0 0 RETVAL = HORUS_FMT_BINARY;
953 0 0 RETVAL = HORUS_FMT_UPPER_STR;
960 0 0 RETVAL = HORUS_FMT_UPPER_HEX;
1017 0 0 if (items < 2 || !SvOK(ST(1))) {
0 0 if (items < 2 || !SvOK(ST(1))) {
1018 0 0 if (domain == 0)
1020 0 0 else if (domain == 1)
1045 0 0 if (!horus_parse_ns(aTHX_ ns_uuid, ns_bytes))
1079 0 0 if (!horus_parse_ns(aTHX_ ns_uuid, ns_bytes))
1125 0 0 if (data_len < 16)
1165 0 0 if (count <= 0)
1168 0 0 if (count <= 256) {
1169 0 0 for (i = 0; i < count; i++) {
1172 0 0 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));
1179 0 0 for (i = 0; i < count; i++) {
1182 0 0 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));
1199 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1228 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1245 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1265 0 0 if (horus_parse_uuid(a, a_str, a_len) != HORUS_PARSE_OK)
1267 0 0 if (horus_parse_uuid(b, b_str, b_len) != HORUS_PARSE_OK)
1271 0 0 RETVAL = (cmp < 0) ? -1 : (cmp > 0) ? 1 : 0;
0 0 RETVAL = (cmp < 0) ? -1 : (cmp > 0) ? 1 : 0;
1286 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1303 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1320 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1337 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1356 2 2 for (i = 1; i + 1 < items; i += 2) {
1361 1 1 if (klen == 6 && memcmp(key, "format", 6) == 0)
1 0 if (klen == 6 && memcmp(key, "format", 6) == 0)
1363 1 0 else if (klen == 7 && memcmp(key, "version", 7) == 0)
1 0 else if (klen == 7 && memcmp(key, "version", 7) == 0)
1386 2 0 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
0 2 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
1391 2 0 fmt = svp ? SvIV(*svp) : HORUS_FMT_STR;
1394 2 0 ver = svp ? SvIV(*svp) : 4;
1421 2 0 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
0 2 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
1426 2 0 fmt = svp ? SvIV(*svp) : HORUS_FMT_STR;
1429 2 0 ver = svp ? SvIV(*svp) : 4;
1431 0 2 if (count <= 0)
1434 2 0 EXTEND(SP, count);
0 2 EXTEND(SP, count);
1436 1 1 if (ver == 4 && count > 256) {
0 1 if (ver == 4 && count > 256) {
1440 0 0 for (i = 0; i < count; i++) {
1443 0 0 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));
1447 150 2 for (i = 0; i < count; i++) {
1457 0 150 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));