HelenOS sources
clock 79 kernel/arch/amd64/src/drivers/i8254.c clock();
clock 179 kernel/arch/amd64/src/smp/apic.c clock();
clock 95 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c clock();
clock 120 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c clock();
clock 261 kernel/arch/arm32/src/mach/gta02/gta02.c clock();
clock 200 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c clock();
clock 97 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c clock();
clock 148 kernel/arch/arm64/src/interrupt.c clock();
clock 79 kernel/arch/ia32/src/drivers/i8254.c clock();
clock 179 kernel/arch/ia32/src/smp/apic.c clock();
clock 137 kernel/arch/ia64/src/drivers/it.c clock();
clock 129 kernel/arch/mips32/src/interrupt.c clock();
clock 167 kernel/arch/ppc32/src/interrupt.c clock();
clock 124 kernel/arch/sparc64/src/drivers/tick.c clock();
clock 51 kernel/generic/include/time/clock.h extern void clock(void);
clock 71 uspace/app/taskbar/clock.c taskbar_clock_t *clock;
clock 74 uspace/app/taskbar/clock.c clock = calloc(1, sizeof(taskbar_clock_t));
clock 75 uspace/app/taskbar/clock.c if (clock == NULL)
clock 78 uspace/app/taskbar/clock.c rc = ui_control_new(&taskbar_clock_ctl_ops, (void *)clock,
clock 79 uspace/app/taskbar/clock.c &clock->control);
clock 81 uspace/app/taskbar/clock.c free(clock);
clock 85 uspace/app/taskbar/clock.c clock->timer = fibril_timer_create(NULL);
clock 86 uspace/app/taskbar/clock.c if (clock->timer == NULL) {
clock 91 uspace/app/taskbar/clock.c fibril_mutex_initialize(&clock->lock);
clock 92 uspace/app/taskbar/clock.c fibril_condvar_initialize(&clock->timer_done_cv);
clock 93 uspace/app/taskbar/clock.c fibril_timer_set(clock->timer, 1000000, taskbar_clock_timer, clock);
clock 95 uspace/app/taskbar/clock.c clock->window = window;
clock 96 uspace/app/taskbar/clock.c *rclock = clock;
clock 99 uspace/app/taskbar/clock.c ui_control_delete(clock->control);
clock 100 uspace/app/taskbar/clock.c free(clock);
clock 108 uspace/app/taskbar/clock.c void taskbar_clock_destroy(taskbar_clock_t *clock)
clock 116 uspace/app/taskbar/clock.c fibril_mutex_lock(&clock->lock);
clock 117 uspace/app/taskbar/clock.c clock->timer_cleanup = true;
clock 118 uspace/app/taskbar/clock.c fibril_mutex_unlock(&clock->lock);
clock 121 uspace/app/taskbar/clock.c if (fibril_timer_clear(clock->timer) != fts_active) {
clock 123 uspace/app/taskbar/clock.c fibril_mutex_lock(&clock->lock);
clock 124 uspace/app/taskbar/clock.c while (clock->timer_done == false)
clock 125 uspace/app/taskbar/clock.c fibril_condvar_wait(&clock->timer_done_cv, &clock->lock);
clock 126 uspace/app/taskbar/clock.c fibril_mutex_unlock(&clock->lock);
clock 129 uspace/app/taskbar/clock.c fibril_timer_destroy(clock->timer);
clock 130 uspace/app/taskbar/clock.c ui_control_delete(clock->control);
clock 131 uspace/app/taskbar/clock.c free(clock);
clock 134 uspace/app/taskbar/clock.c static errno_t taskbar_clock_get_text(taskbar_clock_t *clock, char *buf,
clock 155 uspace/app/taskbar/clock.c errno_t taskbar_clock_paint(taskbar_clock_t *clock)
clock 157 uspace/app/taskbar/clock.c gfx_context_t *gc = ui_window_get_gc(clock->window);
clock 158 uspace/app/taskbar/clock.c ui_resource_t *res = ui_window_get_res(clock->window);
clock 159 uspace/app/taskbar/clock.c ui_t *ui = ui_window_get_ui(clock->window);
clock 168 uspace/app/taskbar/clock.c rc = ui_paint_inset_frame(res, &clock->rect, &irect);
clock 172 uspace/app/taskbar/clock.c irect = clock->rect;
clock 193 uspace/app/taskbar/clock.c rc = taskbar_clock_get_text(clock, buf, sizeof(buf));
clock 216 uspace/app/taskbar/clock.c ui_evclaim_t taskbar_clock_kbd_event(taskbar_clock_t *clock, kbd_event_t *event)
clock 227 uspace/app/taskbar/clock.c ui_evclaim_t taskbar_clock_pos_event(taskbar_clock_t *clock, pos_event_t *event)
clock 233 uspace/app/taskbar/clock.c if (!gfx_pix_inside_rect(&pos, &clock->rect))
clock 244 uspace/app/taskbar/clock.c ui_control_t *taskbar_clock_ctl(taskbar_clock_t *clock)
clock 246 uspace/app/taskbar/clock.c return clock->control;
clock 254 uspace/app/taskbar/clock.c void taskbar_clock_set_rect(taskbar_clock_t *clock, gfx_rect_t *rect)
clock 258 uspace/app/taskbar/clock.c clock->rect = *rect;
clock 260 uspace/app/taskbar/clock.c irect.p0.x = clock->rect.p0.x + 1;
clock 261 uspace/app/taskbar/clock.c irect.p0.y = clock->rect.p0.y + 1;
clock 262 uspace/app/taskbar/clock.c irect.p1.x = clock->rect.p1.x;
clock 263 uspace/app/taskbar/clock.c irect.p1.y = clock->rect.p1.y - 1;
clock 274 uspace/app/taskbar/clock.c taskbar_clock_t *clock = (taskbar_clock_t *) arg;
clock 276 uspace/app/taskbar/clock.c taskbar_clock_destroy(clock);
clock 286 uspace/app/taskbar/clock.c taskbar_clock_t *clock = (taskbar_clock_t *) arg;
clock 288 uspace/app/taskbar/clock.c return taskbar_clock_paint(clock);
clock 299 uspace/app/taskbar/clock.c taskbar_clock_t *clock = (taskbar_clock_t *) arg;
clock 301 uspace/app/taskbar/clock.c return taskbar_clock_kbd_event(clock, event);
clock 312 uspace/app/taskbar/clock.c taskbar_clock_t *clock = (taskbar_clock_t *) arg;
clock 314 uspace/app/taskbar/clock.c return taskbar_clock_pos_event(clock, event);
clock 323 uspace/app/taskbar/clock.c taskbar_clock_t *clock = (taskbar_clock_t *) arg;
clock 326 uspace/app/taskbar/clock.c ui = ui_window_get_ui(clock->window);
clock 329 uspace/app/taskbar/clock.c fibril_mutex_lock(&clock->lock);
clock 330 uspace/app/taskbar/clock.c if (!ui_is_suspended(ui_window_get_ui(clock->window)))
clock 331 uspace/app/taskbar/clock.c (void) taskbar_clock_paint(clock);
clock 333 uspace/app/taskbar/clock.c if (!clock->timer_cleanup) {
clock 334 uspace/app/taskbar/clock.c fibril_timer_set(clock->timer, 1000000, taskbar_clock_timer,
clock 335 uspace/app/taskbar/clock.c clock);
clock 338 uspace/app/taskbar/clock.c clock->timer_done = true;
clock 339 uspace/app/taskbar/clock.c fibril_condvar_signal(&clock->timer_done_cv);
clock 342 uspace/app/taskbar/clock.c fibril_mutex_unlock(&clock->lock);
clock 277 uspace/app/taskbar/taskbar.c rc = taskbar_clock_create(taskbar->window, &taskbar->clock);
clock 293 uspace/app/taskbar/taskbar.c taskbar_clock_set_rect(taskbar->clock, &rect);
clock 295 uspace/app/taskbar/taskbar.c rc = ui_fixed_add(taskbar->fixed, taskbar_clock_ctl(taskbar->clock));
clock 298 uspace/app/taskbar/taskbar.c taskbar_clock_destroy(taskbar->clock);
clock 319 uspace/app/taskbar/taskbar.c if (taskbar->clock != NULL)
clock 320 uspace/app/taskbar/taskbar.c taskbar_clock_destroy(taskbar->clock);
clock 339 uspace/app/taskbar/taskbar.c ui_fixed_remove(taskbar->fixed, taskbar_clock_ctl(taskbar->clock));
clock 340 uspace/app/taskbar/taskbar.c taskbar_clock_destroy(taskbar->clock);
clock 38 uspace/app/taskbar/test/clock.c PCUT_TEST_SUITE(clock);
clock 47 uspace/app/taskbar/test/clock.c taskbar_clock_t *clock;
clock 59 uspace/app/taskbar/test/clock.c rc = taskbar_clock_create(window, &clock);
clock 62 uspace/app/taskbar/test/clock.c taskbar_clock_destroy(clock);
clock 74 uspace/app/taskbar/test/clock.c taskbar_clock_t *clock;
clock 86 uspace/app/taskbar/test/clock.c rc = taskbar_clock_create(window, &clock);
clock 89 uspace/app/taskbar/test/clock.c rc = taskbar_clock_paint(clock);
clock 92 uspace/app/taskbar/test/clock.c taskbar_clock_destroy(clock);
clock 104 uspace/app/taskbar/test/clock.c taskbar_clock_t *clock;
clock 118 uspace/app/taskbar/test/clock.c rc = taskbar_clock_create(window, &clock);
clock 124 uspace/app/taskbar/test/clock.c claim = taskbar_clock_kbd_event(clock, &event);
clock 127 uspace/app/taskbar/test/clock.c taskbar_clock_destroy(clock);
clock 139 uspace/app/taskbar/test/clock.c taskbar_clock_t *clock;
clock 153 uspace/app/taskbar/test/clock.c rc = taskbar_clock_create(window, &clock);
clock 159 uspace/app/taskbar/test/clock.c claim = taskbar_clock_pos_event(clock, &event);
clock 162 uspace/app/taskbar/test/clock.c taskbar_clock_destroy(clock);
clock 174 uspace/app/taskbar/test/clock.c taskbar_clock_t *clock;
clock 187 uspace/app/taskbar/test/clock.c rc = taskbar_clock_create(window, &clock);
clock 190 uspace/app/taskbar/test/clock.c ctl = taskbar_clock_ctl(clock);
clock 196 uspace/app/taskbar/test/clock.c taskbar_clock_destroy(clock);
clock 208 uspace/app/taskbar/test/clock.c taskbar_clock_t *clock;
clock 221 uspace/app/taskbar/test/clock.c rc = taskbar_clock_create(window, &clock);
clock 228 uspace/app/taskbar/test/clock.c taskbar_clock_set_rect(clock, &rect);
clock 230 uspace/app/taskbar/test/clock.c PCUT_ASSERT_INT_EQUALS(rect.p0.x, clock->rect.p0.x);
clock 231 uspace/app/taskbar/test/clock.c PCUT_ASSERT_INT_EQUALS(rect.p0.y, clock->rect.p0.y);
clock 232 uspace/app/taskbar/test/clock.c PCUT_ASSERT_INT_EQUALS(rect.p1.x, clock->rect.p1.x);
clock 233 uspace/app/taskbar/test/clock.c PCUT_ASSERT_INT_EQUALS(rect.p1.y, clock->rect.p1.y);
clock 235 uspace/app/taskbar/test/clock.c taskbar_clock_destroy(clock);
clock 240 uspace/app/taskbar/test/clock.c PCUT_EXPORT(clock);
clock 33 uspace/app/taskbar/test/main.c PCUT_IMPORT(clock);
clock 61 uspace/app/taskbar/types/taskbar.h taskbar_clock_t *clock;
clock 209 uspace/lib/c/generic/uuid.c uint16_t clock;
clock 225 uspace/lib/c/generic/uuid.c rc = str_uint16_t(str + 19, &eptr, 16, false, &clock);
clock 239 uspace/lib/c/generic/uuid.c uuid->clock_seq_hi_and_reserved = clock >> 8;
clock 241 uspace/lib/c/generic/uuid.c uuid->clock_seq_low = clock & 0xff;
clock 78 uspace/lib/c/include/time.h extern clock_t clock(void);
clock 222 uspace/lib/cpp/include/__bits/chrono.hpp constexpr time_point(const time_point<clock, Duration2>& other)
clock 78 uspace/lib/posix/include/libc/time.h extern clock_t clock(void);
HelenOS homepage, sources at GitHub