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 31 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("R_monitor_100000", &rsc, &ty, &ms)); ty 33 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 36 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 39 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("R_A_0", &rsc, &ty, &ms)); ty 41 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "A"); ty 44 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 51 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 54 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("__monitor_1000", &rsc, &ty, &ms)); ty 56 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 59 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 61 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("___migrate_from_0", &rsc, &ty, &ms)); ty 63 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); ty 66 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 68 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("____pre_notify_stop_0", &rsc, &ty, &ms)); ty 70 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); ty 73 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 80 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 83 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); ty 85 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 88 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 90 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); ty 92 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_stop"); ty 95 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 102 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 105 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); ty 107 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 110 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 112 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 114 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 117 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 124 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 127 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); ty 129 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); ty 132 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 134 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); ty 136 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); ty 139 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 141 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); ty 143 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); ty 146 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 153 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 156 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 158 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_start"); ty 161 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 163 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 165 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); ty 168 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 170 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); ty 172 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 175 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 178 lib/common/tests/operations/parse_op_key_test.c &rsc, &ty, &ms)); ty 180 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "confirmed-post_notify_start"); ty 183 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 189 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 192 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); ty 193 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 195 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 214 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 216 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL)); ty 218 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 220 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 227 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 230 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("", &rsc, &ty, &ms)); ty 232 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 235 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key(NULL, &rsc, &ty, &ms)); ty 237 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 245 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 248 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0", &rsc, &ty, &ms)); ty 250 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 253 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_monitor", &rsc, &ty, &ms)); ty 255 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 258 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_30000", &rsc, &ty, &ms)); ty 260 lib/common/tests/operations/parse_op_key_test.c assert_null(ty);