| OLD | NEW |
| 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. |
| 2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
| 3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef RE2_UTIL_UTIL_H__ | 5 #ifndef RE2_UTIL_UTIL_H__ |
| 6 #define RE2_UTIL_UTIL_H__ | 6 #define RE2_UTIL_UTIL_H__ |
| 7 | 7 |
| 8 // C | 8 // C |
| 9 #include <stdio.h> | 9 #include <stdio.h> |
| 10 #include <string.h> | 10 #include <string.h> |
| 11 #include <stdint.h> | 11 #include <stdint.h> |
| 12 #include <stddef.h> // For size_t | 12 #include <stddef.h> // For size_t |
| 13 #include <assert.h> | 13 #include <assert.h> |
| 14 #include <stdarg.h> | 14 #include <stdarg.h> |
| 15 #ifndef WIN32 | 15 #ifndef WIN32 |
| 16 #include <sys/time.h> | 16 #include <sys/time.h> |
| 17 #endif | 17 #endif |
| 18 #include <time.h> | 18 #include <time.h> |
| 19 | 19 |
| 20 // C++ | 20 // C++ |
| 21 #include <vector> | 21 #include <vector> |
| 22 #include <string> | 22 #include <string> |
| 23 #include <algorithm> | 23 #include <algorithm> |
| 24 #include <iosfwd> | 24 #include <iosfwd> |
| 25 #include <map> | 25 #include <map> |
| 26 #include <stack> | 26 #include <stack> |
| 27 #include <iostream> | 27 #include <ostream> |
| 28 #include <utility> | 28 #include <utility> |
| 29 #include <set> | 29 #include <set> |
| 30 | 30 |
| 31 #include "build/build_config.h" | 31 #include "build/build_config.h" |
| 32 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" | 32 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
| 33 | 33 |
| 34 // Use std names. | 34 // Use std names. |
| 35 using std::set; | 35 using std::set; |
| 36 using std::pair; | 36 using std::pair; |
| 37 using std::vector; | 37 using std::vector; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 } | 115 } |
| 116 | 116 |
| 117 } // namespace re2 | 117 } // namespace re2 |
| 118 | 118 |
| 119 #include "util/arena.h" | 119 #include "util/arena.h" |
| 120 #include "util/logging.h" | 120 #include "util/logging.h" |
| 121 #include "util/mutex.h" | 121 #include "util/mutex.h" |
| 122 #include "util/utf.h" | 122 #include "util/utf.h" |
| 123 | 123 |
| 124 #endif // RE2_UTIL_UTIL_H__ | 124 #endif // RE2_UTIL_UTIL_H__ |
| OLD | NEW |