ms 253 include/crm/common/internal.h void pcmk__sleep_ms(unsigned int ms); ms 51 include/crm/common/nvpair.h const char *crm_xml_add_ms(xmlNode *node, const char *name, guint ms); ms 454 lib/common/nvpair.c crm_xml_add_ms(xmlNode *node, const char *name, guint ms) ms 456 lib/common/nvpair.c char *number = crm_strdup_printf("%u", ms); ms 20 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 22 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, &ms)); ms 25 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 60000); ms 35 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 37 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); ms 40 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 44 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); ms 47 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 57 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 59 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); ms 62 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 30000); ms 66 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("httpd-bundle-ip-192.168.122.132_start_0", &rsc, &ty, &ms)); ms 69 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 79 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 81 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); ms 84 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 88 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); ms 91 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 95 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); ms 98 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 108 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 110 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("rsc_drbd_7788:1_post_notify_start_0", &rsc, &ty, &ms)); ms 113 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 117 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("rabbitmq-bundle-clone_pre_notify_stop_0", &rsc, &ty, &ms)); ms 120 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 124 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); ms 127 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 136 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 138 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); ms 140 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 60000); ms 148 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 150 lib/common/tests/operations/parse_op_key_test.c g_assert_true(parse_op_key("Fencing_monitor_60000", &rsc, NULL, &ms)); ms 152 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 60000); ms 174 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 176 lib/common/tests/operations/parse_op_key_test.c g_assert_false(parse_op_key("", &rsc, &ty, &ms)); ms 179 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 181 lib/common/tests/operations/parse_op_key_test.c g_assert_false(parse_op_key(NULL, &rsc, &ty, &ms)); ms 184 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 192 lib/common/tests/operations/parse_op_key_test.c guint ms = 0; ms 194 lib/common/tests/operations/parse_op_key_test.c g_assert_false(parse_op_key("httpd-bundle-0", &rsc, &ty, &ms)); ms 197 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 199 lib/common/tests/operations/parse_op_key_test.c g_assert_false(parse_op_key("httpd-bundle-0_monitor", &rsc, &ty, &ms)); ms 202 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 204 lib/common/tests/operations/parse_op_key_test.c g_assert_false(parse_op_key("httpd-bundle-0_30000", &rsc, &ty, &ms)); ms 207 lib/common/tests/operations/parse_op_key_test.c g_assert_cmpint(ms, ==, 0); ms 603 lib/common/utils.c pcmk__sleep_ms(unsigned int ms) ms 609 lib/common/utils.c if (ms >= 1000) { ms 610 lib/common/utils.c sleep(ms / 1000); ms 611 lib/common/utils.c ms -= ms / 1000; ms 614 lib/common/utils.c if (ms == 0) { ms 621 lib/common/utils.c struct timespec req = { .tv_sec = 0, .tv_nsec = (long) (ms * 1000000) }; ms 627 lib/common/utils.c usleep((useconds_t) ms); ms 631 lib/common/utils.c struct timeval tv = { .tv_sec = 0, .tv_usec = (suseconds_t) ms };