ty 32 lib/cib/cib_attrs.c new_output_object(const char *ty) ty 44 lib/cib/cib_attrs.c rc = pcmk__output_new(&out, ty, NULL, (char**)argv); ty 39 lib/common/tests/agents/crm_parse_agent_spec_test.c char *ty = NULL; ty 41 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_int_equal(crm_parse_agent_spec("stonith:fence_xvm", &std, &prov, &ty), pcmk_ok); ty 44 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "fence_xvm"); ty 47 lib/common/tests/agents/crm_parse_agent_spec_test.c free(ty); ty 54 lib/common/tests/agents/crm_parse_agent_spec_test.c char *ty = NULL; ty 56 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_int_equal(crm_parse_agent_spec("ocf:pacemaker:ping", &std, &prov, &ty), pcmk_ok); ty 59 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "ping"); ty 63 lib/common/tests/agents/crm_parse_agent_spec_test.c free(ty); ty 70 lib/common/tests/agents/crm_parse_agent_spec_test.c char *ty = NULL; ty 72 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_int_equal(crm_parse_agent_spec("systemd:UNIT@A:B", &std, &prov, &ty), pcmk_ok); ty 75 lib/common/tests/agents/crm_parse_agent_spec_test.c assert_string_equal(ty, "UNIT@A:B"); ty 78 lib/common/tests/agents/crm_parse_agent_spec_test.c free(ty); ty 20 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 23 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, &ms)); ty 25 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 28 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 35 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 38 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); ty 40 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 43 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 45 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); ty 47 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_stop"); ty 50 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 57 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 60 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); ty 62 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 65 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 67 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-ip-192.168.122.132_start_0", &rsc, &ty, &ms)); ty 69 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 72 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 79 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 82 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); ty 84 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); ty 87 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 89 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); ty 91 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); ty 94 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 96 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); ty 98 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); ty 101 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 108 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 111 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("rsc_drbd_7788:1_post_notify_start_0", &rsc, &ty, &ms)); ty 113 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_start"); ty 116 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 118 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("rabbitmq-bundle-clone_pre_notify_stop_0", &rsc, &ty, &ms)); ty 120 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); ty 123 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 125 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); ty 127 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 130 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 136 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 139 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); ty 140 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 142 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 161 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 163 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL)); ty 165 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 167 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 174 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 177 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("", &rsc, &ty, &ms)); ty 179 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 182 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key(NULL, &rsc, &ty, &ms)); ty 184 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 192 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 195 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0", &rsc, &ty, &ms)); ty 197 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 200 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_monitor", &rsc, &ty, &ms)); ty 202 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 205 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_30000", &rsc, &ty, &ms)); ty 207 lib/common/tests/operations/parse_op_key_test.c assert_null(ty);