Searched refs:input_overflow_buf_ (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/ipc/ |
D | ipc_channel_reader.cc | 103 if (input_overflow_buf_.empty()) { in TranslateInputData() 107 if (!CheckMessageSize(input_overflow_buf_.size() + input_data_len)) in TranslateInputData() 109 input_overflow_buf_.append(input_data, input_data_len); in TranslateInputData() 110 p = input_overflow_buf_.data(); in TranslateInputData() 111 end = p + input_overflow_buf_.size(); in TranslateInputData() 143 if (p != input_overflow_buf_.data()) in TranslateInputData() 144 input_overflow_buf_.assign(p, end - p); in TranslateInputData() 146 if (!input_overflow_buf_.empty()) { in TranslateInputData() 151 if (next_message_buffer_size > input_overflow_buf_.capacity()) { in TranslateInputData() 152 input_overflow_buf_.reserve(next_message_buffer_size); in TranslateInputData() [all …]
|
D | ipc_channel_reader_unittest.cc | 84 EXPECT_LT(reader.input_overflow_buf_.capacity(), header.payload_size); in TEST() 90 EXPECT_GE(reader.input_overflow_buf_.capacity(), header.payload_size); in TEST() 98 size_t capacity_before = reader.input_overflow_buf_.capacity(); in TEST() 104 EXPECT_LE(reader.input_overflow_buf_.capacity(), capacity_before); in TEST() 110 EXPECT_LE(reader.input_overflow_buf_.capacity(), capacity_before); in TEST() 116 EXPECT_LE(reader.input_overflow_buf_.capacity(), capacity_before); in TEST() 141 EXPECT_LE(reader.input_overflow_buf_.capacity(), trimmed_buffer_size); in TEST() 149 EXPECT_EQ(reader.input_overflow_buf_.capacity(), trimmed_buffer_size); in TEST() 166 EXPECT_GE(reader.input_overflow_buf_.capacity(), message.size()); in TEST() 174 EXPECT_EQ(reader.input_overflow_buf_.capacity(), trimmed_buffer_size); in TEST() [all …]
|
D | ipc_channel_reader.h | 154 std::string input_overflow_buf_; in COMPONENT_EXPORT() local
|