Home
last modified time | relevance | path

Searched refs:gap (Results 1 - 4 of 4) sorted by relevance

/base/startup/init/watchdog/
H A Dinit_watchdog.c101 int gap = 0; in main() local
103 gap = atoi(argv[2]); // 2 second parameter. in main()
105 gap = (gap > 0) ? gap : DEFAULT_GAP; in main()
107 INIT_LOGI("Watchdog started (interval %d, margin %d), fd = %d\n", interval, gap, fd); in main()
115 int timeoutSet = interval + gap; in main()
128 interval = (timeoutGet > gap) ? (timeoutGet - gap) : 1; in main()
/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_smooth_processor.cpp74 uint64_t gap = UINT64_MAX; in GetNearestEvent() local
81 if (event.timestamp - nanoTimestamp < gap) { in GetNearestEvent()
82 gap = event.timestamp - nanoTimestamp; in GetNearestEvent()
86 if (nanoTimestamp - event.timestamp < gap) { in GetNearestEvent()
87 gap = nanoTimestamp - event.timestamp; in GetNearestEvent()
/base/startup/init/ueventd/
H A Dueventd_device_handler.c106 int gap = slash - p; in SetDeviceLable() local
108 if (gap == 0) { in SetDeviceLable()
112 if (gap < 0) { // end with '/' in SetDeviceLable()
/base/startup/init/services/utils/
H A Dinit_utils.c456 int gap = slash - p; in MakeDirRecursive() local
458 if (gap == 0) { in MakeDirRecursive()
462 if (gap < 0) { // end with '/' in MakeDirRecursive()

Completed in 5 milliseconds