Home
last modified time | relevance | path

Searched refs:monostate (Results 1 – 13 of 13) sorted by relevance

/system/extras/libjsonpb/parse/
Djsonpb.cpp57 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/
Dadb_usbreset.cpp34 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/
Ddata_element_reader_test.cc59 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/
Djsonpb.h30 ErrorOr<std::monostate> JsonStringToMessage(const std::string& content,
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h295 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/
Ddata_element_reader.h35 std::variant<std::monostate, bool, int8_t, int16_t, int32_t, int64_t,
Ddata_element_reader.cc41 if (it_ == end_) return std::monostate(); in ReadNext()
84 return std::monostate(); in ParseFail()
/system/tools/aidl/
Dast_java.cpp127 [&](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
Dast_java.h172 std::variant<std::monostate, std::shared_ptr<Expression>, std::string> receiver;
/system/core/adb/daemon/
Dfile_sync_service.cpp275 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/
Dpairing_handler_le.h93 using DistributedKeysOrFailure = std::variant<PairingFailure, DistributedKeys, std::monostate>;
/system/libbase/include/android-base/
Dexpected.h544 var_ = std::monostate(); in emplace()
576 std::variant<std::monostate, unexpected_type> var_;
/system/core/adb/client/
Dfile_sync_client.cpp646 std::variant<std::monostate, NullEncoder, BrotliEncoder, LZ4Encoder, ZstdEncoder> in SendLargeFile()
1154 std::variant<std::monostate, NullDecoder, BrotliDecoder, LZ4Decoder, ZstdDecoder> in sync_recv_v2()