OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/tools/flip_server/balsa_frame.h" | 5 #include "net/tools/flip_server/balsa_frame.h" |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #if __SSE2__ | 8 #if __SSE2__ |
9 #include <emmintrin.h> | 9 #include <emmintrin.h> |
10 #endif // __SSE2__ | 10 #endif // __SSE2__ |
11 #include <strings.h> | 11 #include <strings.h> |
12 | 12 |
13 #include <limits> | 13 #include <limits> |
14 #include <string> | 14 #include <string> |
15 #include <utility> | 15 #include <utility> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "base/logging.h" | 18 #include "base/logging.h" |
19 #include "base/port.h" | 19 #include "base/port.h" |
20 #include "base/string_piece.h" | 20 #include "base/strings/string_piece.h" |
21 #include "net/tools/flip_server/balsa_enums.h" | 21 #include "net/tools/flip_server/balsa_enums.h" |
22 #include "net/tools/flip_server/balsa_headers.h" | 22 #include "net/tools/flip_server/balsa_headers.h" |
23 #include "net/tools/flip_server/balsa_visitor_interface.h" | 23 #include "net/tools/flip_server/balsa_visitor_interface.h" |
24 #include "net/tools/flip_server/buffer_interface.h" | 24 #include "net/tools/flip_server/buffer_interface.h" |
25 #include "net/tools/flip_server/simple_buffer.h" | 25 #include "net/tools/flip_server/simple_buffer.h" |
26 #include "net/tools/flip_server/split.h" | 26 #include "net/tools/flip_server/split.h" |
27 #include "net/tools/flip_server/string_piece_utils.h" | 27 #include "net/tools/flip_server/string_piece_utils.h" |
28 | 28 |
29 namespace net { | 29 namespace net { |
30 | 30 |
(...skipping 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1588 #endif // DEBUGFRAMER | 1588 #endif // DEBUGFRAMER |
1589 return current - input; | 1589 return current - input; |
1590 } | 1590 } |
1591 | 1591 |
1592 const uint32 BalsaFrame::kValidTerm1; | 1592 const uint32 BalsaFrame::kValidTerm1; |
1593 const uint32 BalsaFrame::kValidTerm1Mask; | 1593 const uint32 BalsaFrame::kValidTerm1Mask; |
1594 const uint32 BalsaFrame::kValidTerm2; | 1594 const uint32 BalsaFrame::kValidTerm2; |
1595 const uint32 BalsaFrame::kValidTerm2Mask; | 1595 const uint32 BalsaFrame::kValidTerm2Mask; |
1596 | 1596 |
1597 } // namespace net | 1597 } // namespace net |
OLD | NEW |