• Home
  • Raw
  • Download

Lines Matching refs:constexpr

96   constexpr char kSocketName[] = "fake-daemon";  in TEST_F()
97 constexpr int kFakeValidFd = 100; in TEST_F()
101 constexpr std::tuple<int, Os::Errno> kExpectedResult{kFakeValidFd, 0}; in TEST_F()
106 constexpr char kSocketName[] = "fake-daemon"; in TEST_F()
107 constexpr Os::Errno kError = EINVAL; in TEST_F()
111 constexpr std::tuple<int, Os::Errno> kExpectedResult{Os::kInvalidFd, kError}; in TEST_F()
116 constexpr auto kFakeSecs = 1U; in TEST_F()
117 constexpr auto kFakeNsecs = 2U; in TEST_F()
118 constexpr struct timespec fake_time { kFakeSecs, kFakeNsecs }; in TEST_F()
128 constexpr auto kSleepTimeNsec = 100; in TEST_F()
194 constexpr int kFakeFd = 100; in TEST_F()
199 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F()
205 constexpr int kFakeFd = 100; in TEST_F()
206 constexpr auto kReadBufferSize = 8192; in TEST_F()
207 constexpr auto kDatagramSize = kReadBufferSize / 2; in TEST_F()
212 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F()
218 constexpr int kFakeFd = 100; in TEST_F()
219 constexpr auto kReadBufferSize = 8192; in TEST_F()
220 constexpr auto kDatagramSize = kReadBufferSize * 2; in TEST_F()
225 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F()
231 constexpr int kFakeFd = 100; in TEST_F()
236 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, 0}; in TEST_F()
242 constexpr int kFakeFd = 100; in TEST_F()
243 constexpr Os::Errno kError = EBADF; in TEST_F()
248 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
254 constexpr int kFakeFd = 100; in TEST_F()
255 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F()
259 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F()
264 constexpr int kFakeFd = 100; in TEST_F()
265 constexpr int kBytesWritten = 4096; in TEST_F()
266 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F()
270 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kBytesWritten, 0}; in TEST_F()
275 constexpr int kFakeFd = 100; in TEST_F()
276 constexpr std::array<uint8_t, 0> buffer{}; in TEST_F()
279 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, 0}; in TEST_F()
284 constexpr int kFakeFd = 100; in TEST_F()
285 constexpr Os::Errno kError = EBADF; in TEST_F()
286 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F()
290 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
295 constexpr int kFakeFd = 100; in TEST_F()
296 constexpr Os::Errno kError = EBADF; in TEST_F()
297 constexpr std::array<uint8_t, 0> buffer{}; in TEST_F()
301 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
311 constexpr auto kFakeSecs = 1U; in TEST_F()
312 constexpr auto kFakeNsecs = 1000 * 1000 * 1000; in TEST_F()
313 constexpr struct timespec fake_time { kFakeSecs, kFakeNsecs }; in TEST_F()
331 constexpr int kFakeFd = 100; in TEST_F()
339 constexpr int kFakeFd = 100; in TEST_F()
340 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F()
346 constexpr int kFakeFd = 100; in TEST_F()
347 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F()