Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 20 of 20) sorted by relevance

/device/google/cuttlefish/common/libs/utils/
Dunix_sockets_test.cpp70 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
75 auto message_out = reader.ReadMessage(); in TEST()
82 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
92 auto message_out = reader.ReadMessage(); in TEST()
107 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
115 auto message_out = reader.ReadMessage(); in TEST()
129 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
132 auto reader_creds_status = reader.EnableCredentials(true); in TEST()
145 auto message_out = reader.ReadMessage(); in TEST()
158 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
[all …]
Djson.cpp30 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseJson() local
33 CF_EXPECT(reader->parse(begin, end, &root, &err), err); in ParseJson()
Dvsock_connection.cpp151 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ReadJsonMessage() local
154 if (!reader->parse(msg.data(), msg.data() + msg.size(), &json_msg, &errors)) { in ReadJsonMessage()
/device/google/cuttlefish/host/commands/control_env_proxy_server/
Dmain.cpp84 if (!reader.parse(*result, value)) { in ListServices()
110 if (!reader.parse(*result, value)) { in ListMethods()
138 if (!reader.parse(*result, value)) { in ListReqResType()
176 Json::Reader reader; member in ControlEnvProxyServiceImpl
/device/google/trout/hal/dumpstate/1.1/
DDumpstateDevice.cpp171 auto reader = mGrpcStub->GetSystemLogs(&context, ::google::protobuf::Empty()); in dumpHelperSystem() local
172 dumpRemoteLogs(reader.get(), helperSysLogPath / "system_log"); in dumpHelperSystem()
193 auto reader = mGrpcStub->GetServiceLogs(&context, request); in dumpHelperSystem() local
194 dumpRemoteLogs(reader.get(), helperSysLogPath / service); in dumpHelperSystem()
DDumpstateDevice.h50 bool dumpRemoteLogs(::grpc::ClientReaderInterface<dumpstate_proto::DumpstateBuffer>* reader,
/device/generic/goldfish/audio/
Ddevice_port_sink.cpp129 size_t write(float volume, size_t bytesToWrite, IReader &reader) override { in write()
152 LOG_ALWAYS_FATAL_IF(reader(produceChunk.data, szBytes) < szBytes); in write()
176 LOG_ALWAYS_FATAL_IF(reader(produceChunk.data, szBytes) < szBytes); in write()
313 size_t write(float volume, size_t bytesToWrite, IReader &reader) override { in write()
326 chunkSize = reader(mWriteBuffer, chunkSize); in write()
Dstream_out.cpp216 MQReader reader(mDataMQ); in doWrite() local
217 mSink->write(mStream->getEffectiveVolume(), mDataMQ.availableToRead(), reader); in doWrite()
219 const size_t written = reader.totalRead / mFrameSize; in doWrite()
225 status.reply.written = reader.totalRead; in doWrite()
/device/generic/goldfish-opengl/system/hwc3/
DDevice.cpp59 Json::Reader reader; in loadPersistentKeyValues() local
60 if (!reader.parse(content, *dictionary)) { in loadPersistentKeyValues()
61 const std::string error = reader.getFormattedErrorMessages(); in loadPersistentKeyValues()
/device/google/cuttlefish/host/libs/allocd/
Drequest.h76 std::unique_ptr<Json::CharReader> reader(reader_builder.newCharReader()); in parse()
78 if (!reader->parse(&*msg.begin(), &*msg.end(), &ret, &errorMessage)) { in parse()
Dutils.cpp110 JsonRequestReader reader; in RecvJsonMsg() local
111 return reader.parse(payload); in RecvJsonMsg()
/device/google/cuttlefish/host/commands/kernel_log_monitor/
Dutils.cc40 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ReadEvent() local
43 if (!reader->parse(&*buf.begin(), &*buf.end(), &message, &errorMessage)) { in ReadEvent()
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs159 let mut reader = in new() localVariable
170 reader in new()
175 reader in new()
/device/google/cuttlefish/host/commands/secure_env/
Djson_serializable.cpp76 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in Deserialize() local
78 if (!reader->parse(doc_begin, doc_end, &json_, &errorMessage)) { in Deserialize()
/device/google/cuttlefish/
Diwyu.imp6 { include: ["\"json/reader.h\"", "private", "<json/json.h>", "public"] },
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp1055 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in restoreApps() local
1056 bool valid = reader->parse( in restoreApps()
/device/google/sunfish/json-c/
DDoxyfile121 # the reader which header file to include in order to use a class.
892 # nicely formatted so it can be parsed by a human reader. This is useful
/device/google/coral/json-c/
DDoxyfile121 # the reader which header file to include in order to use a class.
892 # nicely formatted so it can be parsed by a human reader. This is useful
/device/google/redbull/json-c/
DDoxyfile121 # the reader which header file to include in order to use a class.
892 # nicely formatted so it can be parsed by a human reader. This is useful
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto1492 // If the writer is faster than the reader (or if the reader reads only
1498 // the reader catches up with the writer. As soon as the writer hits
7265 // When packet loss occurs, the reader will only lose interning data up to the
9040 // When the reader detects packet loss (|previous_packet_dropped|), it needs
9046 // InternedData, to be parsed correctly. The trace reader should skip this