Home
last modified time | relevance | path

Searched refs:all_or_none (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/mojo/core/
Ddata_pipe_consumer_dispatcher.cc140 bool all_or_none = options.flags & MOJO_READ_DATA_FLAG_ALL_OR_NONE; in ReadData() local
141 uint32_t min_num_bytes_to_read = all_or_none ? max_num_bytes_to_read : 0; in ReadData()
Ddata_pipe_unittest.cc82 bool all_or_none = false) { in WriteData() argument
85 options.flags = all_or_none ? MOJO_WRITE_DATA_FLAG_ALL_OR_NONE in WriteData()
92 bool all_or_none = false, in ReadData() argument
95 if (all_or_none) in ReadData()
113 MojoResult DiscardData(uint32_t* num_bytes, bool all_or_none = false) { in DiscardData() argument
115 if (all_or_none) in DiscardData()