Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 47) sorted by relevance

12

/hardware/interfaces/identity/support/include/cppbor/
Dcppbor_parse.h37 ParseResult parse(const uint8_t* begin, const uint8_t* end);
50 inline ParseResult parse(const std::vector<uint8_t>& encoding) { in parse() function
51 return parse(encoding.data(), encoding.data() + encoding.size()); in parse()
65 inline ParseResult parse(const uint8_t* begin, size_t size) { in parse() function
66 return parse(begin, begin + size); in parse()
75 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient);
81 inline void parse(const std::vector<uint8_t>& encoding, ParseClient* parseClient) { in parse() function
82 return parse(encoding.data(), encoding.data() + encoding.size(), parseClient); in parse()
DREADME.md186 item from a byte buffer. The `parse` functions that do not take a
191 if there was a parse error.
195 a parse error occurred.
197 Assuming a successful parse, you can then use `Item::type()` to
206 call one of the `parse` functions that accepts it. See the
214 parse the rest.
/hardware/interfaces/automotive/can/1.0/default/libnl++/
DAttributes.cpp45 Attributes Attributes::parse(Buffer<nlattr> buf) { in parse() function in android::nl::Attributes
50 std::string Attributes::parse(Buffer<nlattr> buf) { in parse() function in android::nl::Attributes
65 uint8_t Attributes::parse(Buffer<nlattr> buf) { in parse() function in android::nl::Attributes
70 uint16_t Attributes::parse(Buffer<nlattr> buf) { in parse() function in android::nl::Attributes
75 uint32_t Attributes::parse(Buffer<nlattr> buf) { in parse() function in android::nl::Attributes
80 uint64_t Attributes::parse(Buffer<nlattr> buf) { in parse() function in android::nl::Attributes
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/
DMessage.h45 static std::optional<Message<T>> parse(Buffer<nlmsghdr> buf) { in parse() function
65 static std::optional<Message<T>> parse(Buffer<nlmsghdr> buf, in parse() function
72 return parse(buf); in parse()
DAttributes.h102 return parse<T>(*buffer); in get()
182 static T parse(Buffer<nlattr> buf);
DSocket.h142 const auto parsed = Message<T>::parse(*msg);
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/
DHidParserExample.cpp32 bool parseResult = hidParser.parse(p->data, p->len); in doParse()
54 bool parseResult = hidParser.parse(p->data, p->len); in doParseAndFilter()
85 bool parseResult = hidParser.parse(p->data, p->len); in doDigest()
DHidParserExample2.cpp56 if (hidParser.parse(hidItemVector)) { in main()
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/generic/
DFamilyTracker.cpp24 const auto msgMaybe = nl::Message<genlmsghdr>::parse(buffer, {GENL_ID_CTRL}); in track()
47 return nl::Message<genlmsghdr>::parse(msg, {*mNl80211FamilyId}); in parseNl80211()
DCtrl.cpp63 const auto msgMaybe = Message<genlmsghdr>::parse(hdr, {GENL_ID_CTRL}); in track()
/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp708 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
724 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
739 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
754 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
769 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
816 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
862 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
877 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
883 auto [item, pos, message] = parse(val.encode()); in TEST()
890 auto [item, pos, message] = parse(val.encode()); in TEST()
[all …]
/hardware/interfaces/security/keymint/support/
Dremote_prov_utils_test.cpp69 cppbor::parse(kCoseEncodedGeekCert, sizeof(kCoseEncodedGeekCert)); in TEST()
77 auto geek = CoseKey::parse(encodedGeekCoseKey->asBstr()->value()); in TEST()
Dremote_prov_utils.cpp116 auto [parsedProtParams, _, errMsg] = cppbor::parse(protectedParams); in verifyAndParseCoseSign1Cwt()
132 auto [parsedPayload, __, payloadErrMsg] = cppbor::parse(payload); in verifyAndParseCoseSign1Cwt()
173 auto [parsedProtParms, _, errMsg] = cppbor::parse(certProtParms->asBstr()->value()); in validateBcc()
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DTestCommandReader.h35 void parse();
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.h50 bool parse(const std::vector<HidItem> &token);
51 bool parse(const unsigned char *begin, size_t size);
DHidParser.cpp31 bool HidParser::parse(const std::vector<HidItem> &token) { in parse() function in HidUtil::HidParser
132 bool HidParser::parse(const unsigned char *begin, size_t size) { in parse() function in HidUtil::HidParser
134 return parse(hidItemVector); in parse()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DVtsRemotelyProvisionedComponentTests.cpp61 auto [coseMac0, _, mac0ParseErr] = cppbor::parse(macedPubKey.macedKey); in corrupt_maced_key()
108 auto [chain, _, parseErr] = cppbor::parse(encodedEekChain); in corrupt_sig_chain()
304 auto [parsedProtectedData, _, protDataErrMsg] = cppbor::parse(protectedData.protectedData); in checkProtectedData()
322 auto [parsedPayload, __, payloadErrMsg] = cppbor::parse(*protectedDataPayload); in checkProtectedData()
337 auto [deviceInfoMap, __2, deviceInfoErrMsg] = cppbor::parse(deviceInfo.deviceInfo); in checkProtectedData()
539 auto [parsedChain, _, parseErr] = cppbor::parse(prodEekChain); in TEST_P()
569 auto [chain, _, parseErr] = cppbor::parse(getProdEekChain()); in TEST_P()
/hardware/google/pixel/pixelstats/include/pixelstats/
DBatteryCapacityReporter.h42 bool parse(const std::string &path);
/hardware/google/pixel/pixelstats/
DBatteryCapacityReporter.cpp63 if (parse(path)) { in checkAndReport()
74 bool BatteryCapacityReporter::parse(const std::string &path) { in parse() function in android::hardware::google::pixel::BatteryCapacityReporter
/hardware/google/av/hooks/
Dpre-commit4 if git rev-parse --verify HEAD >/dev/null 2>&1
/hardware/interfaces/identity/aidl/vts/
DTestCredentialTests.cpp145 auto [item, _, message] = cppbor::parse(credentialData); in TEST_P()
164 auto [dckItem, dckPos, dckMessage] = cppbor::parse(decryptedCredentialKeys.value()); in TEST_P()
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DTestCommandReader.cpp28 void TestCommandReader::parse() { in parse() function in android::hardware::graphics::composer::V2_1::vts::TestCommandReader
/hardware/interfaces/audio/policy/1.0/vts/functional/
DValidateEngineConfiguration.cpp73 auto result = android::engineConfig::parse(); in TEST()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.cpp507 parse(); in log()
556 int WifiEvent::parse() { in parse() function in WifiEvent
710 int res = reply.parse(); in response_handler()
723 int res = event.parse(); in event_handler()
/hardware/interfaces/identity/support/src/
Dcppbor_parse.cpp339 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient) { in parse() function
345 parse(const uint8_t* begin, const uint8_t* end) { in parse() function
347 parse(begin, end, &parseClient); in parse()

12