Lines Matching refs:convert
1292 struct timespec convert; in convertMonotonic() member
1294 struct timespec time, convert; in convertMonotonic() local
1393 subTimespec(&list->convert, &time, &monotonic); in convertMonotonic()
1398 if (subTimespec(&time, subTimespec(&time, &list->time, &list->convert), in convertMonotonic()
1402 subTimespec(&convert, &list->convert, &suspended_diff); in convertMonotonic()
1405 convert = list->convert; in convertMonotonic()
1408 sumTimespec(&time, &convert); in convertMonotonic()
1413 list->convert = convert; in convertMonotonic()
1420 list->convert = convert; in convertMonotonic()
1421 sumTimespec(&list->convert, &suspended_diff); in convertMonotonic()
1432 clock_gettime(CLOCK_MONOTONIC, &convert); in convertMonotonic()
1435 subTimespec(&time, &convert, subTimespec(&time, &time, &convert)); in convertMonotonic()
1437 subTimespec(&list->convert, &list->time, &time); in convertMonotonic()
1441 subTimespec(&convert, &list->convert, &suspended_diff); in convertMonotonic()
1443 sumTimespec(&time, &convert); in convertMonotonic()
1449 list->convert = convert; in convertMonotonic()
1450 sumTimespec(&list->convert, &suspended_diff); in convertMonotonic()
1456 list->convert = convert; in convertMonotonic()
1477 convert = list->convert; in convertMonotonic()
1488 float f = nsecTimespec(subTimespec(&time, &next->convert, &convert)); in convertMonotonic()
1492 convert.tv_sec += crun / (long long)NS_PER_SEC; in convertMonotonic()
1494 convert.tv_nsec -= (-crun) % NS_PER_SEC; in convertMonotonic()
1495 if (convert.tv_nsec < 0) { in convertMonotonic()
1496 convert.tv_nsec += NS_PER_SEC; in convertMonotonic()
1497 convert.tv_sec -= 1; in convertMonotonic()
1500 convert.tv_nsec += crun % NS_PER_SEC; in convertMonotonic()
1501 if (convert.tv_nsec >= (long)NS_PER_SEC) { in convertMonotonic()
1502 convert.tv_nsec -= NS_PER_SEC; in convertMonotonic()
1503 convert.tv_sec += 1; in convertMonotonic()
1512 subTimespec(result, result, &convert); in convertMonotonic()