Searched refs:flagsCheck (Results 1 – 2 of 2) sorted by relevance
425 uint32_t flagsCheck = static_cast<uint32_t>(flags); in IsValidFileFd() local426 if ((flagsCheck & (O_RDWR | O_WRONLY)) == 0) { in IsValidFileFd()427 …_LOG("File descriptor is not in read-write mode or write-only mode fd:%d flag:%x", fd, flagsCheck); in IsValidFileFd()
681 uint32_t flagsCheck = static_cast<uint32_t>(flags); in IsValidFileFd() local682 if ((flagsCheck & (O_RDWR | O_WRONLY)) == 0) { in IsValidFileFd()683 …_LOG("File descriptor is not in read-write mode or write-only mode fd:%d flag:%x", fd, flagsCheck); in IsValidFileFd()