Searched refs:GOOGLE_ARRAYSIZE (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringprintf.cc155 for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) {
H A Dcommon.h267 // The GOOGLE_ARRAYSIZE(arr) macro returns the # of elements in an array arr.
271 // GOOGLE_ARRAYSIZE catches a few type errors. If you see a compiler error
275 // when using GOOGLE_ARRAYSIZE, you are (wrongfully) giving it a pointer.
276 // You should only use GOOGLE_ARRAYSIZE on statically allocated arrays.
301 #undef GOOGLE_ARRAYSIZE macro
302 #define GOOGLE_ARRAYSIZE(a) \ macro
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dtokenizer_unittest.cc65 // defined such that the GOOGLE_ARRAYSIZE() macro works on them. Example:
85 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES); i++) { \
104 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES1); i++) { \
105 for (int j = 0; j < GOOGLE_ARRAYSIZE(CASES2); j++) { \
503 for (int i = 0; i < GOOGLE_ARRAYSIZE(kTokens); i++) {
713 ASSERT_LT(i, GOOGLE_ARRAYSIZE(kDocCommentCases));
H A Dprinter_unittest.cc56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size);
H A Dcoded_stream_unittest.cc67 // defined such that the GOOGLE_ARRAYSIZE() macro works on them. Example:
90 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES); i++) { \
109 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES1); i++) { \
110 for (int j = 0; j < GOOGLE_ARRAYSIZE(CASES2); j++) { \
H A Dzero_copy_stream_unittest.cc129 const int IoTest::kBlockSizeCount = GOOGLE_ARRAYSIZE(IoTest::kBlockSizes);
903 ConcatenatingInputStream input(streams, GOOGLE_ARRAYSIZE(streams));
/external/protobuf/src/google/protobuf/io/
H A Dprinter_unittest.cc56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size);
H A Dtokenizer_unittest.cc64 // defined such that the GOOGLE_ARRAYSIZE() macro works on them. Example:
84 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES); i++) { \
103 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES1); i++) { \
104 for (int j = 0; j < GOOGLE_ARRAYSIZE(CASES2); j++) { \
479 for (int i = 0; i < GOOGLE_ARRAYSIZE(kTokens); i++) {
H A Dzero_copy_stream_unittest.cc128 const int IoTest::kBlockSizeCount = GOOGLE_ARRAYSIZE(IoTest::kBlockSizes);
680 ConcatenatingInputStream input(streams, GOOGLE_ARRAYSIZE(streams));
H A Dcoded_stream_unittest.cc68 // defined such that the GOOGLE_ARRAYSIZE() macro works on them. Example:
91 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES); i++) { \
110 for (int i = 0; i < GOOGLE_ARRAYSIZE(CASES1); i++) { \
111 for (int j = 0; j < GOOGLE_ARRAYSIZE(CASES2); j++) { \
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_helpers.cc75 for (int i = 0; i < GOOGLE_ARRAYSIZE(kKeywordList); i++) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_helpers.cc77 for (int i = 0; i < GOOGLE_ARRAYSIZE(kKeywordList); i++) {
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_helpers.cc75 for (int i = 0; i < GOOGLE_ARRAYSIZE(kJavaKeywordsList); i++) {
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.h222 // The GOOGLE_ARRAYSIZE(arr) macro returns the # of elements in an array arr.
226 // GOOGLE_ARRAYSIZE catches a few type errors. If you see a compiler error
230 // when using GOOGLE_ARRAYSIZE, you are (wrongfully) giving it a pointer.
231 // You should only use GOOGLE_ARRAYSIZE on statically allocated arrays.
256 #undef GOOGLE_ARRAYSIZE macro
257 #define GOOGLE_ARRAYSIZE(a) \ macro
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface_unittest.cc283 for (int i = 0; i < GOOGLE_ARRAYSIZE(possible_paths); i++) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dunknown_field_set_unittest.cc561 #define MAKE_VECTOR(x) vector<int>(x, x + GOOGLE_ARRAYSIZE(x))
H A Dtest_util.cc3027 for (int i = 0; i < GOOGLE_ARRAYSIZE(fields); i++) {
/external/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface_unittest.cc275 for (int i = 0; i < GOOGLE_ARRAYSIZE(possible_paths); i++) {

Completed in 3102 milliseconds