Home
last modified time | relevance | path

Searched refs:ABSL_PREDICT_FALSE (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/external/libtextclassifier/abseil-cpp/absl/base/
Doptimization_test.cc41 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
42 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
43 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
44 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
46 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
47 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
49 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
58 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
66 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/base/
Doptimization_test.cc41 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
42 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
43 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
44 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
46 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
47 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
49 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
58 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
66 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/base/
Doptimization_test.cc41 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
42 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
43 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
44 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
46 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
47 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
49 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
58 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
66 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/
Doptimization_test.cc41 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
42 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
43 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
44 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
46 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
47 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
49 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
58 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
66 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/base/
Doptimization_test.cc41 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
42 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
43 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
44 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
46 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
47 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
49 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
58 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
66 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/base/
Doptimization_test.cc41 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
42 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
43 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
44 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
46 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
47 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
49 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
58 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
66 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/abseil-cpp/absl/base/
Doptimization_test.cc41 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
42 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
43 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
44 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
46 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
47 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
49 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
58 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
66 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/base/
Doptimization_test.cc42 EXPECT_TRUE(ABSL_PREDICT_FALSE(true)); in TEST()
43 EXPECT_FALSE(ABSL_PREDICT_FALSE(false)); in TEST()
44 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 == 1)); in TEST()
45 EXPECT_FALSE(ABSL_PREDICT_FALSE(1 == 2)); in TEST()
47 if (ABSL_PREDICT_FALSE(false)) ADD_FAILURE(); in TEST()
48 if (!ABSL_PREDICT_FALSE(true)) ADD_FAILURE(); in TEST()
50 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) && true); in TEST()
51 EXPECT_TRUE(ABSL_PREDICT_FALSE(true) || false); in TEST()
59 if (ABSL_PREDICT_FALSE((++x) == 0)) ADD_FAILURE(); in TEST()
67 EXPECT_TRUE(ABSL_PREDICT_FALSE(1 && 2) == true); in TEST()
[all …]
/external/cronet/third_party/abseil-cpp/absl/strings/internal/str_format/
Dconstexpr_parser.h202 if (ABSL_PREDICT_FALSE(pos == end)) break; in ParseDigits()
206 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ParseDigits()
222 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
228 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
231 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
257 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
268 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
270 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
286 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
301 if (ABSL_PREDICT_FALSE(c == 'v' && conv->flags != Flags::kBasic)) { in ConsumeConversion()
[all …]
Dparser.h68 if (ABSL_PREDICT_FALSE(!consumer.Append( in ParseFormatString()
72 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
76 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
91 if (ABSL_PREDICT_FALSE( in ParseFormatString()
98 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
99 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
105 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/
Dconstexpr_parser.h202 if (ABSL_PREDICT_FALSE(pos == end)) break; in ParseDigits()
206 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ParseDigits()
222 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
228 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
231 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
257 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
268 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
270 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
286 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
301 if (ABSL_PREDICT_FALSE(c == 'v' && conv->flags != Flags::kBasic)) { in ConsumeConversion()
[all …]
Dparser.h68 if (ABSL_PREDICT_FALSE(!consumer.Append( in ParseFormatString()
72 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
76 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
91 if (ABSL_PREDICT_FALSE( in ParseFormatString()
98 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
99 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
105 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc109 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
120 if (ABSL_PREDICT_FALSE(pos == end)) break; in ConsumeConversion()
124 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
132 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
135 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
161 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
172 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
174 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
190 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
205 if (ABSL_PREDICT_FALSE(c == 'v' && (pos - original_pos) != 1)) return nullptr; in ConsumeConversion()
[all …]
Dparser.h161 if (ABSL_PREDICT_FALSE(!consumer.Append( in ParseFormatString()
165 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
169 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
184 if (ABSL_PREDICT_FALSE( in ParseFormatString()
191 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
192 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
198 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dparser.cc102 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
113 if (ABSL_PREDICT_FALSE(pos == end)) break; in ConsumeConversion()
117 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
125 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
128 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
173 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
184 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
186 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
201 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
216 if (ABSL_PREDICT_FALSE(!tag.is_conv())) { in ConsumeConversion()
[all …]
Dparser.h152 if (ABSL_PREDICT_FALSE(!consumer.Append(string_view(p, percent - p)))) { in ParseFormatString()
155 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
159 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
174 if (ABSL_PREDICT_FALSE( in ParseFormatString()
181 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
182 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
187 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc88 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
99 if (ABSL_PREDICT_FALSE(pos == end)) break; in ConsumeConversion()
103 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
111 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
114 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
159 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
170 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
172 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
187 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
202 if (ABSL_PREDICT_FALSE(!tag.is_conv())) { in ConsumeConversion()
[all …]
Dparser.h138 if (ABSL_PREDICT_FALSE(!consumer.Append(string_view(p, percent - p)))) { in ParseFormatString()
141 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
145 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
160 if (ABSL_PREDICT_FALSE( in ParseFormatString()
167 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
168 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
173 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc102 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
113 if (ABSL_PREDICT_FALSE(pos == end)) break; in ConsumeConversion()
117 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
125 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
128 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
173 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
184 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
186 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
201 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
216 if (ABSL_PREDICT_FALSE(!tag.is_conv())) { in ConsumeConversion()
[all …]
Dparser.h152 if (ABSL_PREDICT_FALSE(!consumer.Append(string_view(p, percent - p)))) { in ParseFormatString()
155 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
159 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
174 if (ABSL_PREDICT_FALSE( in ParseFormatString()
181 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
182 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
187 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc109 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
120 if (ABSL_PREDICT_FALSE(pos == end)) break; in ConsumeConversion()
124 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
132 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
135 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
161 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
172 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
174 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
190 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
205 if (ABSL_PREDICT_FALSE(!tag.is_conv())) { in ConsumeConversion()
[all …]
Dparser.h161 if (ABSL_PREDICT_FALSE(!consumer.Append(string_view(p, percent - p)))) { in ParseFormatString()
164 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
168 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
183 if (ABSL_PREDICT_FALSE( in ParseFormatString()
190 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
191 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
196 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/str_format/
Dparser.cc109 if (ABSL_PREDICT_FALSE(pos == end)) return nullptr; \ in ConsumeConversion()
120 if (ABSL_PREDICT_FALSE(pos == end)) break; in ConsumeConversion()
124 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
132 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
135 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
161 if (ABSL_PREDICT_FALSE(*next_arg != 0)) return nullptr; in ConsumeConversion()
172 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
174 if (ABSL_PREDICT_FALSE(c != '$')) return nullptr; in ConsumeConversion()
190 if (ABSL_PREDICT_FALSE(c < '1' || c > '9')) return nullptr; in ConsumeConversion()
205 if (ABSL_PREDICT_FALSE(!tag.is_conv())) { in ConsumeConversion()
[all …]
Dparser.h161 if (ABSL_PREDICT_FALSE(!consumer.Append( in ParseFormatString()
165 if (ABSL_PREDICT_FALSE(percent + 1 >= end)) return false; in ParseFormatString()
169 if (ABSL_PREDICT_FALSE(next_arg < 0)) { in ParseFormatString()
184 if (ABSL_PREDICT_FALSE( in ParseFormatString()
191 if (ABSL_PREDICT_FALSE(p == nullptr)) return false; in ParseFormatString()
192 if (ABSL_PREDICT_FALSE(!consumer.ConvertOne( in ParseFormatString()
198 if (ABSL_PREDICT_FALSE(!consumer.Append("%"))) return false; in ParseFormatString()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dfutex.h107 if (ABSL_PREDICT_FALSE(err != 0)) { in WaitUntil()
120 if (ABSL_PREDICT_FALSE(err != 0)) { in WaitBitsetAbsoluteTimeout()
130 if (ABSL_PREDICT_FALSE(err < 0)) { in Wake()
142 if (ABSL_PREDICT_FALSE(err < 0)) { in WakeBitset()

12345678910>>...15