Branch Coverage

Horus.xs
Criterion Covered Total %
branch 352 828 42.5


line true false branch
165 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)
166 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)
167 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)
168 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)
169 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)
170 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)
171 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)
172 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)
173 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)
174 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)
186 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)
187 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)
188 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)
189 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)
245 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)
266 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)
287 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)
308 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)
327 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 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)
362 0 2 if (items < 1) croak("uuid_v2 requires at least a domain argument");
366 0 2 if (items >= 2 && SvOK(PL_stack_base[ax + 1])) {
0 0 if (items >= 2 && SvOK(PL_stack_base[ax + 1])) {
369 1 1 if (domain == 0) local_id = (uint32_t)getuid();
370 1 0 else if (domain == 1) local_id = (uint32_t)getgid();
374 0 2 if (items >= 3) fmt = SvIV(PL_stack_base[ax + 2]);
379 0 2 XPUSHs(sv_2mortal(horus_uuid_to_sv(aTHX_ uuid, fmt)));
396 0 5 if (items < 2) croak("uuid_v3 requires namespace and name arguments");
397 0 5 if (items > 2) fmt = SvIV(PL_stack_base[ax + 2]);
399 0 5 if (!horus_parse_ns(aTHX_ PL_stack_base[ax], ns_bytes))
406 0 5 XPUSHs(sv_2mortal(horus_uuid_to_sv(aTHX_ uuid, fmt)));
423 0 5 if (items < 2) croak("uuid_v5 requires namespace and name arguments");
424 0 5 if (items > 2) fmt = SvIV(PL_stack_base[ax + 2]);
426 0 5 if (!horus_parse_ns(aTHX_ PL_stack_base[ax], ns_bytes))
433 0 5 XPUSHs(sv_2mortal(horus_uuid_to_sv(aTHX_ uuid, fmt)));
490 0 1 if (data_len < 16) croak("Horus: uuid_v8 requires 16 bytes of custom data");
505 0 0 if (data_len < 16) croak("Horus: uuid_v8 requires 16 bytes of custom data");
511 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)
521 0 2 if (count <= 0) {
525 2 0 EXTEND(SP, count);
0 2 EXTEND(SP, count);
527 0 2 if (count <= 256) {
528 0 0 for (i = 0; i < count; i++) {
537 1500 2 for (i = 0; i < count; i++) {
555 0 1 if (count <= 0) {
559 1 0 EXTEND(SP, count);
0 1 EXTEND(SP, count);
561 1 0 if (count <= 256) {
562 10 1 for (i = 0; i < count; i++) {
571 0 0 for (i = 0; i < count; i++) {
581 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)
593 1 49 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
599 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)
611 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)
621 0 15 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
627 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)
637 0 8 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
643 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)
656 0 5 if (horus_parse_uuid(a, a_str, a_len) != HORUS_PARSE_OK)
658 0 5 if (horus_parse_uuid(b, b_str, b_len) != HORUS_PARSE_OK)
663 3 2 SETs(sv_2mortal(newSViv((cmp < 0) ? -1 : (cmp > 0) ? 1 : 0)));
666 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)
678 0 57 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
684 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)
694 0 6 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
700 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)
711 4 0 if (horus_parse_uuid(uuid, in_str, in_len) == HORUS_PARSE_OK)
717 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)
728 4 0 if (horus_parse_uuid(uuid, in_str, in_len) == HORUS_PARSE_OK)
734 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)
808 19 0 HORUS_REG_CK("UUID_FMT_STR", fmt_str)
809 19 0 HORUS_REG_CK("UUID_FMT_HEX", fmt_hex)
810 19 0 HORUS_REG_CK("UUID_FMT_BRACES", fmt_braces)
811 19 0 HORUS_REG_CK("UUID_FMT_URN", fmt_urn)
812 19 0 HORUS_REG_CK("UUID_FMT_BASE64", fmt_base64)
813 19 0 HORUS_REG_CK("UUID_FMT_BASE32", fmt_base32)
814 19 0 HORUS_REG_CK("UUID_FMT_CROCKFORD", fmt_crockford)
815 19 0 HORUS_REG_CK("UUID_FMT_BINARY", fmt_binary)
816 19 0 HORUS_REG_CK("UUID_FMT_UPPER_STR", fmt_upper_str)
817 19 0 HORUS_REG_CK("UUID_FMT_UPPER_HEX", fmt_upper_hex)
819 19 0 HORUS_REG_CK("UUID_NS_DNS", ns_dns)
820 19 0 HORUS_REG_CK("UUID_NS_URL", ns_url)
821 19 0 HORUS_REG_CK("UUID_NS_OID", ns_oid)
822 19 0 HORUS_REG_CK("UUID_NS_X500", ns_x500)
824 19 0 HORUS_REG_CK("uuid_v1", uuid_v1)
825 19 0 HORUS_REG_CK("uuid_v2", uuid_v2)
826 19 0 HORUS_REG_CK("uuid_v3", uuid_v3)
827 19 0 HORUS_REG_CK("uuid_v4", uuid_v4)
828 19 0 HORUS_REG_CK("uuid_v5", uuid_v5)
829 19 0 HORUS_REG_CK("uuid_v6", uuid_v6)
830 19 0 HORUS_REG_CK("uuid_v7", uuid_v7)
831 19 0 HORUS_REG_CK("uuid_v8", uuid_v8)
832 19 0 HORUS_REG_CK("uuid_nil", uuid_nil)
833 19 0 HORUS_REG_CK("uuid_max", uuid_max)
835 19 0 HORUS_REG_CK("uuid_v4_bulk", uuid_v4_bulk)
837 19 0 HORUS_REG_CK("uuid_parse", uuid_parse)
838 19 0 HORUS_REG_CK("uuid_validate", uuid_validate)
839 19 0 HORUS_REG_CK("uuid_version", uuid_version)
840 19 0 HORUS_REG_CK("uuid_variant", uuid_variant)
841 19 0 HORUS_REG_CK("uuid_cmp", uuid_cmp)
842 19 0 HORUS_REG_CK("uuid_convert", uuid_convert)
843 19 0 HORUS_REG_CK("uuid_time", uuid_time)
844 19 0 HORUS_REG_CK("uuid_is_nil", uuid_is_nil)
845 19 0 HORUS_REG_CK("uuid_is_max", uuid_is_max)
883 0 0 RETVAL = HORUS_FMT_STR;
890 0 0 RETVAL = HORUS_FMT_HEX;
897 0 0 RETVAL = HORUS_FMT_BRACES;
904 0 0 RETVAL = HORUS_FMT_URN;
911 0 0 RETVAL = HORUS_FMT_BASE64;
918 0 0 RETVAL = HORUS_FMT_BASE32;
925 0 0 RETVAL = HORUS_FMT_CROCKFORD;
932 0 0 RETVAL = HORUS_FMT_BINARY;
939 0 0 RETVAL = HORUS_FMT_UPPER_STR;
946 0 0 RETVAL = HORUS_FMT_UPPER_HEX;
1003 0 0 if (items < 2 || !SvOK(ST(1))) {
0 0 if (items < 2 || !SvOK(ST(1))) {
1004 0 0 if (domain == 0)
1006 0 0 else if (domain == 1)
1031 0 0 if (!horus_parse_ns(aTHX_ ns_uuid, ns_bytes))
1065 0 0 if (!horus_parse_ns(aTHX_ ns_uuid, ns_bytes))
1111 0 0 if (data_len < 16)
1151 0 0 if (count <= 0)
1154 0 0 if (count <= 256) {
1155 0 0 for (i = 0; i < count; i++) {
1158 0 0 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));
1165 0 0 for (i = 0; i < count; i++) {
1168 0 0 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));
1185 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1214 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1231 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1251 0 0 if (horus_parse_uuid(a, a_str, a_len) != HORUS_PARSE_OK)
1253 0 0 if (horus_parse_uuid(b, b_str, b_len) != HORUS_PARSE_OK)
1257 0 0 RETVAL = (cmp < 0) ? -1 : (cmp > 0) ? 1 : 0;
0 0 RETVAL = (cmp < 0) ? -1 : (cmp > 0) ? 1 : 0;
1272 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1289 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1306 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1323 0 0 if (horus_parse_uuid(uuid, in_str, in_len) != HORUS_PARSE_OK)
1342 2 2 for (i = 1; i + 1 < items; i += 2) {
1347 1 1 if (klen == 6 && memcmp(key, "format", 6) == 0)
1 0 if (klen == 6 && memcmp(key, "format", 6) == 0)
1349 1 0 else if (klen == 7 && memcmp(key, "version", 7) == 0)
1 0 else if (klen == 7 && memcmp(key, "version", 7) == 0)
1372 2 0 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
0 2 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
1377 2 0 fmt = svp ? SvIV(*svp) : HORUS_FMT_STR;
1380 2 0 ver = svp ? SvIV(*svp) : 4;
1407 2 0 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
0 2 if (!SvROK(self) || SvTYPE(SvRV(self)) != SVt_PVHV)
1412 2 0 fmt = svp ? SvIV(*svp) : HORUS_FMT_STR;
1415 2 0 ver = svp ? SvIV(*svp) : 4;
1417 0 2 if (count <= 0)
1420 2 0 EXTEND(SP, count);
0 2 EXTEND(SP, count);
1422 1 1 if (ver == 4 && count > 256) {
0 1 if (ver == 4 && count > 256) {
1426 0 0 for (i = 0; i < count; i++) {
1429 0 0 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));
1433 150 2 for (i = 0; i < count; i++) {
1443 0 150 mXPUSHs(horus_uuid_to_sv(aTHX_ uuid, fmt));