summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-17 17:03:11 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-07-17 17:03:11 -0700
commit42425b3a8befe092199fde69c95833e31db8fec9 (patch)
treeb8ba9958fbd3770d861b4a3568a868d9e92a5476 /runtime/base
parent29cab20ba51c56a93f7d996c31c4970384313577 (diff)
parentfc0e3219edc9a5bf81b166e82fd5db2796eb6a0d (diff)
downloadart-42425b3a8befe092199fde69c95833e31db8fec9.zip
art-42425b3a8befe092199fde69c95833e31db8fec9.tar.gz
art-42425b3a8befe092199fde69c95833e31db8fec9.tar.bz2
am fc0e3219: Fix multiple inclusion guards to match new pathnames
* commit 'fc0e3219edc9a5bf81b166e82fd5db2796eb6a0d': Fix multiple inclusion guards to match new pathnames
Diffstat (limited to 'runtime/base')
-rw-r--r--runtime/base/casts.h6
-rw-r--r--runtime/base/histogram-inl.h6
-rw-r--r--runtime/base/histogram.h6
-rw-r--r--runtime/base/logging.h6
-rw-r--r--runtime/base/macros.h6
-rw-r--r--runtime/base/mutex-inl.h6
-rw-r--r--runtime/base/mutex.h6
-rw-r--r--runtime/base/stl_util.h6
-rw-r--r--runtime/base/stringpiece.h6
-rw-r--r--runtime/base/stringprintf.h6
-rw-r--r--runtime/base/timing_logger.h6
-rw-r--r--runtime/base/unix_file/fd_file.h6
-rw-r--r--runtime/base/unix_file/mapped_file.h6
-rw-r--r--runtime/base/unix_file/null_file.h6
-rw-r--r--runtime/base/unix_file/random_access_file.h6
-rw-r--r--runtime/base/unix_file/random_access_file_test.h6
-rw-r--r--runtime/base/unix_file/random_access_file_utils.h6
-rw-r--r--runtime/base/unix_file/string_file.h6
18 files changed, 54 insertions, 54 deletions
diff --git a/runtime/base/casts.h b/runtime/base/casts.h
index 34c05af..be94c2e 100644
--- a/runtime/base/casts.h
+++ b/runtime/base/casts.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_CASTS_H_
-#define ART_SRC_BASE_CASTS_H_
+#ifndef ART_RUNTIME_BASE_CASTS_H_
+#define ART_RUNTIME_BASE_CASTS_H_
#include <assert.h>
#include <string.h>
@@ -90,4 +90,4 @@ inline Dest bit_cast(const Source& source) {
} // namespace art
-#endif // ART_SRC_BASE_CASTS_H_
+#endif // ART_RUNTIME_BASE_CASTS_H_
diff --git a/runtime/base/histogram-inl.h b/runtime/base/histogram-inl.h
index 9514209..bbca603 100644
--- a/runtime/base/histogram-inl.h
+++ b/runtime/base/histogram-inl.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef SRC_BASE_HISTOGRAM_INL_H_
-#define SRC_BASE_HISTOGRAM_INL_H_
+#ifndef ART_RUNTIME_BASE_HISTOGRAM_INL_H_
+#define ART_RUNTIME_BASE_HISTOGRAM_INL_H_
#include "histogram.h"
@@ -251,5 +251,5 @@ inline double Histogram<Value>::Percentile(double per) const {
}
} // namespace art
-#endif // SRC_BASE_HISTOGRAM_INL_H_
+#endif // ART_RUNTIME_BASE_HISTOGRAM_INL_H_
diff --git a/runtime/base/histogram.h b/runtime/base/histogram.h
index 6878e71..8724d2c 100644
--- a/runtime/base/histogram.h
+++ b/runtime/base/histogram.h
@@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_HISTOGRAM_H_
-#define ART_SRC_BASE_HISTOGRAM_H_
+#ifndef ART_RUNTIME_BASE_HISTOGRAM_H_
+#define ART_RUNTIME_BASE_HISTOGRAM_H_
#include <vector>
#include <string>
@@ -117,4 +117,4 @@ template <class Value> class Histogram {
};
}
-#endif // ART_SRC_BASE_HISTOGRAM_H_
+#endif // ART_RUNTIME_BASE_HISTOGRAM_H_
diff --git a/runtime/base/logging.h b/runtime/base/logging.h
index 8d89e4d..f02a39a 100644
--- a/runtime/base/logging.h
+++ b/runtime/base/logging.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_LOGGING_H_
-#define ART_SRC_BASE_LOGGING_H_
+#ifndef ART_RUNTIME_BASE_LOGGING_H_
+#define ART_RUNTIME_BASE_LOGGING_H_
#include <cerrno>
#include <cstring>
@@ -334,4 +334,4 @@ extern const char* ProgramInvocationShortName();
} // namespace art
-#endif // ART_SRC_BASE_LOGGING_H_
+#endif // ART_RUNTIME_BASE_LOGGING_H_
diff --git a/runtime/base/macros.h b/runtime/base/macros.h
index 847105d..4a196f2 100644
--- a/runtime/base/macros.h
+++ b/runtime/base/macros.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_MACROS_H_
-#define ART_SRC_BASE_MACROS_H_
+#ifndef ART_RUNTIME_BASE_MACROS_H_
+#define ART_RUNTIME_BASE_MACROS_H_
#include <stddef.h> // for size_t
@@ -198,4 +198,4 @@ template<typename T> void UNUSED(const T&) {}
#endif // defined(__SUPPORT_TS_ANNOTATION__)
-#endif // ART_SRC_BASE_MACROS_H_
+#endif // ART_RUNTIME_BASE_MACROS_H_
diff --git a/runtime/base/mutex-inl.h b/runtime/base/mutex-inl.h
index f911054..07157da 100644
--- a/runtime/base/mutex-inl.h
+++ b/runtime/base/mutex-inl.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_MUTEX_INL_H_
-#define ART_SRC_BASE_MUTEX_INL_H_
+#ifndef ART_RUNTIME_BASE_MUTEX_INL_H_
+#define ART_RUNTIME_BASE_MUTEX_INL_H_
#include "mutex.h"
@@ -184,4 +184,4 @@ inline void ReaderWriterMutex::SharedUnlock(Thread* self) {
} // namespace art
-#endif // ART_SRC_BASE_MUTEX_INL_H_
+#endif // ART_RUNTIME_BASE_MUTEX_INL_H_
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h
index 24df572..b924798 100644
--- a/runtime/base/mutex.h
+++ b/runtime/base/mutex.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_MUTEX_H_
-#define ART_SRC_BASE_MUTEX_H_
+#ifndef ART_RUNTIME_BASE_MUTEX_H_
+#define ART_RUNTIME_BASE_MUTEX_H_
#include <pthread.h>
#include <stdint.h>
@@ -398,4 +398,4 @@ class SCOPED_LOCKABLE WriterMutexLock {
} // namespace art
-#endif // ART_SRC_BASE_MUTEX_H_
+#endif // ART_RUNTIME_BASE_MUTEX_H_
diff --git a/runtime/base/stl_util.h b/runtime/base/stl_util.h
index eb8be42..ff9f40c 100644
--- a/runtime/base/stl_util.h
+++ b/runtime/base/stl_util.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_STL_UTIL_H_
-#define ART_SRC_BASE_STL_UTIL_H_
+#ifndef ART_RUNTIME_BASE_STL_UTIL_H_
+#define ART_RUNTIME_BASE_STL_UTIL_H_
#include <algorithm>
#include <sstream>
@@ -94,4 +94,4 @@ std::string ToString(const T& v) {
} // namespace art
-#endif // ART_SRC_BASE_STL_UTIL_H_
+#endif // ART_RUNTIME_BASE_STL_UTIL_H_
diff --git a/runtime/base/stringpiece.h b/runtime/base/stringpiece.h
index 3664218..62088cc 100644
--- a/runtime/base/stringpiece.h
+++ b/runtime/base/stringpiece.h
@@ -25,8 +25,8 @@
// Systematic usage of StringPiece is encouraged as it will reduce unnecessary
// conversions from "const char*" to "string" and back again.
-#ifndef ART_SRC_BASE_STRINGPIECE_H_
-#define ART_SRC_BASE_STRINGPIECE_H_
+#ifndef ART_RUNTIME_BASE_STRINGPIECE_H_
+#define ART_RUNTIME_BASE_STRINGPIECE_H_
#include <string.h>
#include <algorithm>
@@ -223,4 +223,4 @@ struct StringPieceHash {
} // namespace art
-#endif // ART_SRC_BASE_STRINGPIECE_H_
+#endif // ART_RUNTIME_BASE_STRINGPIECE_H_
diff --git a/runtime/base/stringprintf.h b/runtime/base/stringprintf.h
index d707cc0..4767a75 100644
--- a/runtime/base/stringprintf.h
+++ b/runtime/base/stringprintf.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_BASE_STRINGPRINTF_H_
-#define ART_SRC_BASE_STRINGPRINTF_H_
+#ifndef ART_RUNTIME_BASE_STRINGPRINTF_H_
+#define ART_RUNTIME_BASE_STRINGPRINTF_H_
#include <stdarg.h>
#include <string>
@@ -35,4 +35,4 @@ void StringAppendV(std::string* dst, const char* format, va_list ap);
} // namespace art
-#endif // ART_SRC_BASE_STRINGPRINTF_H_
+#endif // ART_RUNTIME_BASE_STRINGPRINTF_H_
diff --git a/runtime/base/timing_logger.h b/runtime/base/timing_logger.h
index 65732b1..816cbea 100644
--- a/runtime/base/timing_logger.h
+++ b/runtime/base/timing_logger.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef ART_SRC_TIMING_LOGGER_H_
-#define ART_SRC_TIMING_LOGGER_H_
+#ifndef ART_RUNTIME_BASE_TIMING_LOGGER_H_
+#define ART_RUNTIME_BASE_TIMING_LOGGER_H_
#include "base/histogram.h"
#include "base/macros.h"
@@ -139,4 +139,4 @@ class NewTimingLogger {
} // namespace base
} // namespace art
-#endif // ART_SRC_TIMING_LOGGER_H_
+#endif // ART_RUNTIME_BASE_TIMING_LOGGER_H_
diff --git a/runtime/base/unix_file/fd_file.h b/runtime/base/unix_file/fd_file.h
index 2b33961..79a0db9 100644
--- a/runtime/base/unix_file/fd_file.h
+++ b/runtime/base/unix_file/fd_file.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef BASE_UNIX_FILE_FD_FILE_H_
-#define BASE_UNIX_FILE_FD_FILE_H_
+#ifndef ART_RUNTIME_BASE_UNIX_FILE_FD_FILE_H_
+#define ART_RUNTIME_BASE_UNIX_FILE_FD_FILE_H_
#include <fcntl.h>
#include <string>
@@ -72,4 +72,4 @@ class FdFile : public RandomAccessFile {
} // namespace unix_file
-#endif // BASE_UNIX_FILE_FD_FILE_H_
+#endif // ART_RUNTIME_BASE_UNIX_FILE_FD_FILE_H_
diff --git a/runtime/base/unix_file/mapped_file.h b/runtime/base/unix_file/mapped_file.h
index 161100b..28cc551 100644
--- a/runtime/base/unix_file/mapped_file.h
+++ b/runtime/base/unix_file/mapped_file.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef BASE_UNIX_FILE_MAPPED_FILE_H_
-#define BASE_UNIX_FILE_MAPPED_FILE_H_
+#ifndef ART_RUNTIME_BASE_UNIX_FILE_MAPPED_FILE_H_
+#define ART_RUNTIME_BASE_UNIX_FILE_MAPPED_FILE_H_
#include <fcntl.h>
#include <string>
@@ -94,4 +94,4 @@ class MappedFile : public FdFile {
} // namespace unix_file
-#endif // BASE_UNIX_FILE_MAPPED_FILE_H_
+#endif // ART_RUNTIME_BASE_UNIX_FILE_MAPPED_FILE_H_
diff --git a/runtime/base/unix_file/null_file.h b/runtime/base/unix_file/null_file.h
index e716603..3394731 100644
--- a/runtime/base/unix_file/null_file.h
+++ b/runtime/base/unix_file/null_file.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef BASE_UNIX_FILE_NULL_FILE_H_
-#define BASE_UNIX_FILE_NULL_FILE_H_
+#ifndef ART_RUNTIME_BASE_UNIX_FILE_NULL_FILE_H_
+#define ART_RUNTIME_BASE_UNIX_FILE_NULL_FILE_H_
#include "base/unix_file/random_access_file.h"
#include "base/macros.h"
@@ -47,4 +47,4 @@ class NullFile : public RandomAccessFile {
} // namespace unix_file
-#endif // BASE_UNIX_FILE_NULL_FILE_H_
+#endif // ART_RUNTIME_BASE_UNIX_FILE_NULL_FILE_H_
diff --git a/runtime/base/unix_file/random_access_file.h b/runtime/base/unix_file/random_access_file.h
index 22da37f..31a6dbe 100644
--- a/runtime/base/unix_file/random_access_file.h
+++ b/runtime/base/unix_file/random_access_file.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef BASE_UNIX_FILE_RANDOM_ACCESS_FILE_H_
-#define BASE_UNIX_FILE_RANDOM_ACCESS_FILE_H_
+#ifndef ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_H_
+#define ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_H_
#include <stdint.h>
@@ -65,4 +65,4 @@ class RandomAccessFile {
} // namespace unix_file
-#endif // BASE_UNIX_FILE_RANDOM_ACCESS_FILE_H_
+#endif // ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_H_
diff --git a/runtime/base/unix_file/random_access_file_test.h b/runtime/base/unix_file/random_access_file_test.h
index 3baaeae..9d8550d 100644
--- a/runtime/base/unix_file/random_access_file_test.h
+++ b/runtime/base/unix_file/random_access_file_test.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef BASE_UNIX_FILE_RANDOM_ACCESS_FILE_TEST_H_
-#define BASE_UNIX_FILE_RANDOM_ACCESS_FILE_TEST_H_
+#ifndef ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_TEST_H_
+#define ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_TEST_H_
#include <errno.h>
@@ -169,4 +169,4 @@ class RandomAccessFileTest : public testing::Test {
} // namespace unix_file
-#endif // BASE_UNIX_FILE_RANDOM_ACCESS_FILE_TEST_H_
+#endif // ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_TEST_H_
diff --git a/runtime/base/unix_file/random_access_file_utils.h b/runtime/base/unix_file/random_access_file_utils.h
index 0535ead..30c81c0 100644
--- a/runtime/base/unix_file/random_access_file_utils.h
+++ b/runtime/base/unix_file/random_access_file_utils.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef BASE_UNIX_FILE_RANDOM_ACCESS_FILE_UTILS_H_
-#define BASE_UNIX_FILE_RANDOM_ACCESS_FILE_UTILS_H_
+#ifndef ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_UTILS_H_
+#define ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_UTILS_H_
namespace unix_file {
@@ -27,4 +27,4 @@ bool CopyFile(const RandomAccessFile& src, RandomAccessFile* dst);
} // namespace unix_file
-#endif // BASE_UNIX_FILE_RANDOM_ACCESS_FILE_UTILS_H_
+#endif // ART_RUNTIME_BASE_UNIX_FILE_RANDOM_ACCESS_FILE_UTILS_H_
diff --git a/runtime/base/unix_file/string_file.h b/runtime/base/unix_file/string_file.h
index 8944373..26904f8 100644
--- a/runtime/base/unix_file/string_file.h
+++ b/runtime/base/unix_file/string_file.h
@@ -14,8 +14,8 @@
* limitations under the License.
*/
-#ifndef BASE_UNIX_FILE_STRING_FILE_H_
-#define BASE_UNIX_FILE_STRING_FILE_H_
+#ifndef ART_RUNTIME_BASE_UNIX_FILE_STRING_FILE_H_
+#define ART_RUNTIME_BASE_UNIX_FILE_STRING_FILE_H_
#include <stdint.h>
@@ -56,4 +56,4 @@ class StringFile : public RandomAccessFile {
} // namespace unix_file
-#endif // BASE_UNIX_FILE_STRING_FILE_H_
+#endif // ART_RUNTIME_BASE_UNIX_FILE_STRING_FILE_H_