ms 239 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 371 lib/common/nvpair.c crm_xml_add_ms(xmlNode *node, const char *name, guint ms) ms 373 lib/common/nvpair.c char *number = crm_strdup_printf("%u", ms); ms 21 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 23 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, &ms)); ms 26 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 60000); ms 31 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("R_monitor_100000", &rsc, &ty, &ms)); ms 34 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 100000); ms 39 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("R_A_0", &rsc, &ty, &ms)); ms 42 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 52 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 54 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("__monitor_1000", &rsc, &ty, &ms)); ms 57 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 1000); ms 61 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("___migrate_from_0", &rsc, &ty, &ms)); ms 64 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 68 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("____pre_notify_stop_0", &rsc, &ty, &ms)); ms 71 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 81 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 83 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); ms 86 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 90 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); ms 93 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 103 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 105 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); ms 108 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 30000); ms 112 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-ip-192.168.122.132_start_0", &rsc, &ty, &ms)); ms 115 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 125 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 127 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); ms 130 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 134 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); ms 137 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 141 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); ms 144 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 154 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 156 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("rsc_drbd_7788:1_post_notify_start_0", &rsc, &ty, &ms)); ms 159 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 163 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("rabbitmq-bundle-clone_pre_notify_stop_0", &rsc, &ty, &ms)); ms 166 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 170 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); ms 173 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 178 lib/common/tests/actions/parse_op_key_test.c &rsc, &ty, &ms)); ms 181 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 190 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 192 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); ms 194 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 60000); ms 202 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 204 lib/common/tests/actions/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, NULL, &ms)); ms 206 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 60000); ms 228 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 230 lib/common/tests/actions/parse_op_key_test.c assert_false(parse_op_key("", &rsc, &ty, &ms)); ms 233 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 235 lib/common/tests/actions/parse_op_key_test.c assert_false(parse_op_key(NULL, &rsc, &ty, &ms)); ms 238 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 246 lib/common/tests/actions/parse_op_key_test.c guint ms = 0; ms 248 lib/common/tests/actions/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0", &rsc, &ty, &ms)); ms 251 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 253 lib/common/tests/actions/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_monitor", &rsc, &ty, &ms)); ms 256 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 258 lib/common/tests/actions/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_30000", &rsc, &ty, &ms)); ms 261 lib/common/tests/actions/parse_op_key_test.c assert_int_equal(ms, 0); ms 561 lib/common/utils.c pcmk__sleep_ms(unsigned int ms) ms 567 lib/common/utils.c if (ms >= 1000) { ms 568 lib/common/utils.c sleep(ms / 1000); ms 569 lib/common/utils.c ms -= ms / 1000; ms 572 lib/common/utils.c if (ms == 0) { ms 579 lib/common/utils.c struct timespec req = { .tv_sec = 0, .tv_nsec = (long) (ms * 1000000) }; ms 585 lib/common/utils.c usleep((useconds_t) ms); ms 589 lib/common/utils.c struct timeval tv = { .tv_sec = 0, .tv_usec = (suseconds_t) ms }; ms 195 maint/gnulib/lib/physmem.c MEMORYSTATUS ms; ms 196 maint/gnulib/lib/physmem.c GlobalMemoryStatus (&ms); ms 197 maint/gnulib/lib/physmem.c return (double) ms.dwTotalPhys; ms 304 maint/gnulib/lib/physmem.c MEMORYSTATUS ms; ms 305 maint/gnulib/lib/physmem.c GlobalMemoryStatus (&ms); ms 306 maint/gnulib/lib/physmem.c return (double) ms.dwAvailPhys; ms 111 maint/gnulib/lib/pipe-filter-ii.c WaitForSingleObject (HANDLE h, DWORD ms) ms 113 maint/gnulib/lib/pipe-filter-ii.c return DosWaitEventSem (h->hevDone, ms) == 0 ? WAIT_OBJECT_0 : (DWORD) -1; ms 118 maint/gnulib/lib/pipe-filter-ii.c DWORD ms) ms 140 maint/gnulib/lib/pipe-filter-ii.c rc = DosWaitMuxWaitSem (hmux, ms, &ulUser);