Searched refs:next_write (Results 1 – 2 of 2) sorted by relevance
223 const MockWrite& next_write = PeekRealWrite(); in VerifyWriteData() local224 if (!next_write.data) in VerifyWriteData()233 std::string expected_data(next_write.data, next_write.data_len); in VerifyWriteData()234 std::string actual_data(data.substr(0, next_write.data_len)); in VerifyWriteData()314 const MockWrite& next_write = helper_.AdvanceWrite(); in OnWrite() local318 next_write.result == OK ? next_write.data_len : next_write.result; in OnWrite()319 return MockWriteResult(next_write.mode, result); in OnWrite()363 auto next_write = writes.begin(); in SequencedSocketData() local364 while (next_read != reads.end() || next_write != writes.end()) { in SequencedSocketData()386 if (next_write != writes.end() && in SequencedSocketData()[all …]
845 let mut next_write = 0; in symbolic_name_normalize_bytes() localVariable854 slice[next_write] = b + (b'a' - b'A'); in symbolic_name_normalize_bytes()855 next_write += 1; in symbolic_name_normalize_bytes()857 slice[next_write] = b; in symbolic_name_normalize_bytes()858 next_write += 1; in symbolic_name_normalize_bytes()865 if starts_with_is && next_write == 1 && slice[0] == b'c' { in symbolic_name_normalize_bytes()869 next_write = 3; in symbolic_name_normalize_bytes()871 &mut slice[..next_write] in symbolic_name_normalize_bytes()