Home
last modified time | relevance | path

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

/base/startup/init/watchdog/
Dinit_watchdog.c100 int gap = 0; in main() local
102 gap = atoi(argv[2]); // 2 second parameter. in main()
104 gap = (gap > 0) ? gap : DEFAULT_GAP; in main()
106 INIT_LOGI("Watchdog started (interval %d, margin %d), fd = %d\n", interval, gap, fd); in main()
114 int timeoutSet = interval + gap; in main()
127 interval = (timeoutGet > gap) ? (timeoutGet - gap) : 1; in main()
/base/startup/init/ueventd/
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/
Dinit_utils.c448 int gap = slash - p; in MakeDirRecursive() local
450 if (gap == 0) { in MakeDirRecursive()
454 if (gap < 0) { // end with '/' in MakeDirRecursive()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_standard_test.cpp86 int gap = slash - p; in MakeDirRecursive() local
88 if (gap == 0) { in MakeDirRecursive()
92 if (gap < 0) { // end with '/' in MakeDirRecursive()