Searched refs:monostate (Results 1 – 13 of 13) sorted by relevance
/system/extras/libjsonpb/parse/ |
D | jsonpb.cpp | 57 ErrorOr<std::monostate> JsonStringToMessage(const std::string& content, Message* message) { in JsonStringToMessage() 64 return MakeError<std::monostate>(status.error_message().as_string()); in JsonStringToMessage() 67 return MakeError<std::monostate>("Fail to parse."); in JsonStringToMessage() 69 return ErrorOr<std::monostate>(); in JsonStringToMessage()
|
/system/core/adb/tools/ |
D | adb_usbreset.cpp | 34 using DeviceSelection = std::variant<std::monostate, AllDevices, SingleDevice, Serial>; 45 if (!std::get_if<std::monostate>(out)) { in SetOption() 69 std::variant<std::monostate, AllDevices, SingleDevice, Serial> selection; in main() 91 if (std::get_if<std::monostate>(&selection)) { in main()
|
/system/bt/profile/sdp/common/test/ |
D | data_element_reader_test.cc | 59 if (a_elem == DataElement(std::monostate())) break; in operator ==() 201 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST_P() 236 ASSERT_EQ(subreader.ReadNext(), DataElement(std::monostate())); in TEST() 245 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST() 253 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST() 261 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST() 401 ASSERT_EQ(reader.ReadNext(), DataElement(std::monostate())); in TEST_P()
|
/system/extras/libjsonpb/parse/include/jsonpb/ |
D | jsonpb.h | 30 ErrorOr<std::monostate> JsonStringToMessage(const std::string& content,
|
/system/libhidl/transport/token/1.0/utils/include/hidl/ |
D | HybridInterface.h | 295 typedef std::variant<std::monostate, 297 typedef std::variant<std::monostate, 300 typedef std::variant<std::monostate, 358 typedef ::std::variant<::std::monostate, __VA_ARGS__> _HalVariant; \ 361 ::std::variant<::std::monostate, ::android::sp<Types>...>; \
|
/system/bt/profile/sdp/common/ |
D | data_element_reader.h | 35 std::variant<std::monostate, bool, int8_t, int16_t, int32_t, int64_t,
|
D | data_element_reader.cc | 41 if (it_ == end_) return std::monostate(); in ReadNext() 84 return std::monostate(); in ParseFail()
|
/system/tools/aidl/ |
D | ast_java.cpp | 127 [&](const std::string& s) { to->Write("%s", s.c_str()); }, [](std::monostate) {}}, in Write() argument 202 [&](const std::string& s) { to->Write("%s.", s.c_str()); }, [](std::monostate) {}}, in Write() argument
|
D | ast_java.h | 172 std::variant<std::monostate, std::shared_ptr<Expression>, std::string> receiver;
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 275 std::variant<std::monostate, NullDecoder, BrotliDecoder, LZ4Decoder, ZstdDecoder> in handle_send_file_data() 640 std::variant<std::monostate, NullEncoder, BrotliEncoder, LZ4Encoder, ZstdEncoder> in recv_impl()
|
/system/bt/gd/security/ |
D | pairing_handler_le.h | 93 using DistributedKeysOrFailure = std::variant<PairingFailure, DistributedKeys, std::monostate>;
|
/system/libbase/include/android-base/ |
D | expected.h | 544 var_ = std::monostate(); in emplace() 576 std::variant<std::monostate, unexpected_type> var_;
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 646 std::variant<std::monostate, NullEncoder, BrotliEncoder, LZ4Encoder, ZstdEncoder> in SendLargeFile() 1154 std::variant<std::monostate, NullDecoder, BrotliDecoder, LZ4Decoder, ZstdDecoder> in sync_recv_v2()
|