Searched refs:GOOGLE_ARRAYSIZE (Results 1 - 18 of 18) sorted by relevance
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringprintf.cc | 155 for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) {
|
H A D | common.h | 267 // 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 D | tokenizer_unittest.cc | 65 // 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 D | printer_unittest.cc | 56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size);
|
H A D | coded_stream_unittest.cc | 67 // 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 D | zero_copy_stream_unittest.cc | 129 const int IoTest::kBlockSizeCount = GOOGLE_ARRAYSIZE(IoTest::kBlockSizes); 903 ConcatenatingInputStream input(streams, GOOGLE_ARRAYSIZE(streams));
|
/external/protobuf/src/google/protobuf/io/ |
H A D | printer_unittest.cc | 56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size);
|
H A D | tokenizer_unittest.cc | 64 // 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 D | zero_copy_stream_unittest.cc | 128 const int IoTest::kBlockSizeCount = GOOGLE_ARRAYSIZE(IoTest::kBlockSizes); 680 ConcatenatingInputStream input(streams, GOOGLE_ARRAYSIZE(streams));
|
H A D | coded_stream_unittest.cc | 68 // 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 D | cpp_helpers.cc | 75 for (int i = 0; i < GOOGLE_ARRAYSIZE(kKeywordList); i++) {
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_helpers.cc | 77 for (int i = 0; i < GOOGLE_ARRAYSIZE(kKeywordList); i++) {
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
H A D | javanano_helpers.cc | 75 for (int i = 0; i < GOOGLE_ARRAYSIZE(kJavaKeywordsList); i++) {
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | common.h | 222 // 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 D | command_line_interface_unittest.cc | 283 for (int i = 0; i < GOOGLE_ARRAYSIZE(possible_paths); i++) {
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
H A D | unknown_field_set_unittest.cc | 561 #define MAKE_VECTOR(x) vector<int>(x, x + GOOGLE_ARRAYSIZE(x))
|
H A D | test_util.cc | 3027 for (int i = 0; i < GOOGLE_ARRAYSIZE(fields); i++) {
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface_unittest.cc | 275 for (int i = 0; i < GOOGLE_ARRAYSIZE(possible_paths); i++) {
|
Completed in 3102 milliseconds