Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Side by Side Diff: base/basictypes.h

Issue 1477533002: Remove kint16max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint8max
Patch Set: includes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | base/files/file_util_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef BASE_BASICTYPES_H_ 5 #ifndef BASE_BASICTYPES_H_
6 #define BASE_BASICTYPES_H_ 6 #define BASE_BASICTYPES_H_
7 7
8 #include <limits.h> // So we can set the bounds of our types. 8 #include <limits.h> // So we can set the bounds of our types.
9 #include <stddef.h> // For size_t. 9 #include <stddef.h> // For size_t.
10 #include <stdint.h> // For intptr_t. 10 #include <stdint.h> // For intptr_t.
(...skipping 12 matching lines...) Expand all
23 typedef int64_t int64; 23 typedef int64_t int64;
24 typedef uint64_t uint64; 24 typedef uint64_t uint64;
25 25
26 // DEPRECATED: Use std::numeric_limits (from <limits>) or 26 // DEPRECATED: Use std::numeric_limits (from <limits>) or
27 // (U)INT{8,16,32,64}_{MIN,MAX} in case of globals (and include <stdint.h>). 27 // (U)INT{8,16,32,64}_{MIN,MAX} in case of globals (and include <stdint.h>).
28 // http://crbug.com/138542 28 // http://crbug.com/138542
29 const uint8 kuint8max = 0xFF; 29 const uint8 kuint8max = 0xFF;
30 const uint16 kuint16max = 0xFFFF; 30 const uint16 kuint16max = 0xFFFF;
31 const uint32 kuint32max = 0xFFFFFFFF; 31 const uint32 kuint32max = 0xFFFFFFFF;
32 const uint64 kuint64max = 0xFFFFFFFFFFFFFFFFULL; 32 const uint64 kuint64max = 0xFFFFFFFFFFFFFFFFULL;
33 const int16 kint16max = 0x7FFF;
34 const int32 kint32min = -0x7FFFFFFF - 1; 33 const int32 kint32min = -0x7FFFFFFF - 1;
35 const int32 kint32max = 0x7FFFFFFF; 34 const int32 kint32max = 0x7FFFFFFF;
36 const int64 kint64min = -0x7FFFFFFFFFFFFFFFLL - 1; 35 const int64 kint64min = -0x7FFFFFFFFFFFFFFFLL - 1;
37 const int64 kint64max = 0x7FFFFFFFFFFFFFFFLL; 36 const int64 kint64max = 0x7FFFFFFFFFFFFFFFLL;
38 37
39 #endif // BASE_BASICTYPES_H_ 38 #endif // BASE_BASICTYPES_H_
OLDNEW
« no previous file with comments | « no previous file | base/files/file_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698