/external/webrtc/third_party/abseil-cpp/absl/flags/ |
D | flag_benchmark.cc | 30 struct OptionalInt : AbslOptionalInt { struct 34 bool AbslParseFlag(absl::string_view src, OptionalInt* flag, in AbslParseFlag() 44 std::string AbslUnparseFlag(const OptionalInt& flag) { in AbslUnparseFlag() 90 A(OptionalInt) \
|
/external/abseil-cpp/absl/flags/ |
D | flag_benchmark.cc | 30 struct OptionalInt : AbslOptionalInt { struct 34 bool AbslParseFlag(absl::string_view src, OptionalInt* flag, in AbslParseFlag() 44 std::string AbslUnparseFlag(const OptionalInt& flag) { in AbslUnparseFlag() 90 A(OptionalInt) \
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/ |
D | flag_benchmark.cc | 37 struct OptionalInt : AbslOptionalInt { struct 41 bool AbslParseFlag(absl::string_view src, OptionalInt* flag, in AbslParseFlag() 51 std::string AbslUnparseFlag(const OptionalInt& flag) { in AbslUnparseFlag() 97 A(OptionalInt) \
|
/external/libtextclassifier/abseil-cpp/absl/flags/ |
D | flag_benchmark.cc | 37 struct OptionalInt : AbslOptionalInt { struct 41 bool AbslParseFlag(absl::string_view src, OptionalInt* flag, in AbslParseFlag() 51 std::string AbslUnparseFlag(const OptionalInt& flag) { in AbslUnparseFlag() 97 A(OptionalInt) \
|
/external/openscreen/third_party/abseil/src/absl/flags/ |
D | flag_benchmark.cc | 39 struct OptionalInt : AbslOptionalInt { struct 43 bool AbslParseFlag(absl::string_view src, OptionalInt* flag, in AbslParseFlag() 53 std::string AbslUnparseFlag(const OptionalInt& flag) { in AbslUnparseFlag() 99 A(OptionalInt) \
|
/external/angle/third_party/abseil-cpp/absl/flags/ |
D | flag_benchmark.cc | 39 struct OptionalInt : AbslOptionalInt { struct 43 bool AbslParseFlag(absl::string_view src, OptionalInt* flag, in AbslParseFlag() 53 std::string AbslUnparseFlag(const OptionalInt& flag) { in AbslUnparseFlag() 99 A(OptionalInt) \ 188 struct Accumulator<OptionalInt> { 207 void Accumulate(bool& a, const OptionalInt& f) { a |= f.has_value(); } in Accumulate()
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | TypeEncoder.java | 27 import java.util.OptionalInt; 426 OptionalInt importMarker = findImportMarker(); in rewrite() 491 private OptionalInt findImportMarker() { in findImportMarker() 494 return OptionalInt.of(token); in findImportMarker() 497 return OptionalInt.empty(); in findImportMarker()
|
D | AutoValueOrOneOfProcessor.java | 56 import java.util.OptionalInt; 559 OptionalInt nullableAnnotationIndex = nullableAnnotationIndex(elementAnnotations); in nullableAnnotationFor() 568 private static OptionalInt nullableAnnotationIndex(List<? extends AnnotationMirror> annotations) { in nullableAnnotationIndex() 571 return OptionalInt.of(i); in nullableAnnotationIndex() 574 return OptionalInt.empty(); in nullableAnnotationIndex()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Streams.java | 30 import java.util.OptionalInt; 114 public static IntStream stream(OptionalInt optional) { in stream() 896 public static OptionalInt findLast(IntStream stream) { 899 return boxedLast.isPresent() ? OptionalInt.of(boxedLast.get()) : OptionalInt.empty();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | StreamsTest.java | 31 import java.util.OptionalInt; 161 assertThat(stream(OptionalInt.empty())).isEmpty(); in testStream_optionalInt() 162 assertThat(stream(OptionalInt.of(5))).containsExactly(5); in testStream_optionalInt()
|
/external/auto/value/userguide/ |
D | builders-howto.md | 292 it can be wrapped as either `Optional<Integer>` or `OptionalInt`, and likewise 313 introduced related classes in `java.util` called [`OptionalInt`], 315 example a property of type `OptionalInt` will default to `OptionalInt.empty()` 316 and you can set it with either `setFoo(OptionalInt)` or `setFoo(int)`. 340 [`OptionalInt`]: https://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ArbitraryInstances.java | 123 import java.util.OptionalInt; 215 .put(OptionalInt.class, OptionalInt.empty())
|
D | FreshValueGenerator.java | 115 import java.util.OptionalInt; 552 private OptionalInt generateOptionalInt() { in generateOptionalInt() 553 return OptionalInt.of(generateInt()); in generateOptionalInt()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | ArbitraryInstancesTest.java | 106 import java.util.OptionalInt; 172 assertEquals(OptionalInt.empty(), ArbitraryInstances.get(OptionalInt.class)); in testGet_primitives()
|
D | FreshValueGeneratorTest.java | 101 import java.util.OptionalInt; 470 assertFreshInstance(new TypeToken<OptionalInt>() {}); in testOptionalInt()
|