HomeSort by relevance Sort by last modified time
    Searched full:unlock_stat (Results 1 - 1 of 1) sorted by null

  /system/bt/osi/test/
AlarmTestHarness.cpp 101 struct stat lock_stat, unlock_stat; local
103 fstat(unlock_fd, &unlock_stat);
105 assert(lock_stat.st_size >= unlock_stat.st_size);
110 void *unlock_file = mmap(nullptr, unlock_stat.st_size, PROT_READ,
113 if (memcmp(lock_file, unlock_file, unlock_stat.st_size) == 0) {
114 held = lock_stat.st_size > unlock_stat.st_size;
122 munmap(unlock_file, unlock_stat.st_size);

Completed in 514 milliseconds