Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 35) 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/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/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/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DTestCommandReader.h34 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/google/av/hooks/
Dpre-commit4 if git rev-parse --verify HEAD >/dev/null 2>&1
/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/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.cpp496 parse(); in log()
545 int WifiEvent::parse() { in parse() function in WifiEvent
697 int res = reply.parse(); in response_handler()
710 int res = event.parse(); in event_handler()
Dcpp_bindings.h44 int parse();
/hardware/interfaces/audio/policy/1.0/vts/functional/
DValidateEngineConfiguration.cpp73 auto result = android::engineConfig::parse(); in TEST()
/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()
/hardware/interfaces/identity/aidl/vts/
DVtsAttestationParserSupport.h48 bool parse();
DVtsAttestationParserSupport.cpp69 bool AttestationCertificateParser::parse() { in parse() function in android::hardware::identity::test_utils::AttestationCertificateParser
DVtsHalIdentityEndToEndTest.cpp78 auto [item, _, message] = cppbor::parse(credentialData); in extractFromTestCredentialData()
109 auto [dckItem, dckPos, dckMessage] = cppbor::parse(decryptedCredentialKeys.value()); in extractFromTestCredentialData()
/hardware/interfaces/identity/aidl/default/
DIdentityCredential.cpp46 auto [item, _, message] = cppbor::parse(credentialData_); in initialize()
88 auto [dckItem, dckPos, dckMessage] = cppbor::parse(decryptedCredentialKeys.value()); in initialize()
276 auto [item, _, message] = cppbor::parse(sessionTranscript); in startRetrieval()
373 auto [item, _, message] = cppbor::parse(itemsRequest); in startRetrieval()
742 auto [entryValueItem, _, message] = cppbor::parse(entryValue_); in retrieveEntryValue()
/hardware/google/pixel/thermal/utils/
Dconfig_parser.cpp73 if (!reader.parse(json_doc, root)) { in ParseSensorInfo()
248 if (!reader.parse(json_doc, root)) { in ParseCoolingDevice()
/hardware/libhardware/modules/sensors/dynamic_sensor/test/
DHidRawSensorTest.cpp123 if (!hidParser.parse(p->data, p->len)) { in test()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcpp_bindings.cpp496 parse(); in log()
535 int WifiEvent::parse() { in parse() function in WifiEvent
684 int res = reply.parse(); in response_handler()
697 int res = event.parse(); in event_handler()
/hardware/qcom/msm8998/json-c/
DChangeLog84 * Allow json_tokener_parse_ex() to be re-used to parse multiple object.
185 * Add back sign reversal in nested object parse as error pointer
211 * json_tokener.c - sign reversal issue on error info for nested object parse
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DJsonFakeValueGenerator.cpp85 if (!reader.parse(is, rawEvents)) { in parseFakeValueJson()
/hardware/interfaces/wifi/1.0/
DIWifiChipEventCallback.hal85 * Client must not attempt to parse either the errorCode or debugData.
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp87 reader->parse(); in execute()

12