Home
last modified time | relevance | path

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

12345

/system/extras/perf2cfg/tests/
Dtest_parse.py17 from perf2cfg import parse
23 got = parse.build_flags([])
27 got = parse.build_flags(['catch_block', 'critical'])
31 got = parse.build_name('void hcf()')
36 parse.parse_address(':)')
41 got = parse.parse_address('0x0000001c: d503201f nop')
46 parse.parse_flags('name "void hcf()"')
51 got = parse.parse_flags('flags')
55 got = parse.parse_flags('flags "catch_block" "critical"')
60 parse.parse_name('flags "catch_block" "critical"')
[all …]
/system/libcppbor/include/cppbor/
Dcppbor_parse.h37 ParseResult parse(const uint8_t* begin, const uint8_t* end);
68 inline ParseResult parse(const std::vector<uint8_t>& encoding) { in parse() function
69 return parse(encoding.data(), encoding.data() + encoding.size()); in parse()
83 inline ParseResult parse(const uint8_t* begin, size_t size) { in parse() function
84 return parse(begin, begin + size); in parse()
118 inline ParseResult parse(const Bstr* bstr) { in parse() function
121 return parse(bstr->value()); in parse()
130 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient);
143 inline void parse(const std::vector<uint8_t>& encoding, ParseClient* parseClient) { in parse() function
144 return parse(encoding.data(), encoding.data() + encoding.size(), parseClient); in parse()
/system/libvintf/include/vintf/
Dparse_string.h62 bool parse(const std::string &s, HalFormat *hf);
63 bool parse(const std::string &s, Transport *tr);
64 bool parse(const std::string &s, Arch *ar);
65 bool parse(const std::string &s, KernelConfigType *il);
66 bool parse(const std::string &s, KernelConfigKey *key);
67 bool parse(const std::string &s, Tristate *tr);
68 bool parse(const std::string &s, SchemaType *ver);
69 bool parse(const std::string& s, XmlSchemaFormat* ver);
70 bool parse(const std::string& s, Level* l);
71 bool parse(const std::string &s, KernelSepolicyVersion *ksv);
[all …]
DTransportArch.h51 friend bool parse(const std::string &s, TransportArch *ta);
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java54 ZoneTabFile zoneTab = ZoneTabFile.parse(file); in parseEmpty()
66 ZoneTabFile zoneTab = ZoneTabFile.parse(file); in parseIgnoresCommentsAndEmptyLines()
73 public void parse() throws Exception { in parse() method in ZoneTabFileTest
83 ZoneTabFile zoneTab = ZoneTabFile.parse(file); in parse()
96 ZoneTabFile.parse(file); in parseMalformedFile()
111 ZoneTabFile zoneTab = ZoneTabFile.parse(file); in createCountryToOlsonIdsMap()
/system/libvintf/
Dparse_string.cpp65 bool parse(const std::string &s, std::vector<T> *objs) { in parse() function
71 if (!parse(item, &ver)) { in parse()
91 bool parse(const std::string &s, ENUM *hf) { \
120 bool parse(const std::string& s, Level* l) { in parse() function
183 bool parse(const std::string &s, KernelConfigKey *key) { in parse() function
198 return parse(s, &kctv->mTristateValue); in parseKernelConfigValue()
212 if (parse(s, &kctv->mTristateValue)) { in parseKernelConfigTypedValue()
220 bool parse(const std::string &s, Version *ver) { in parse() function
265 bool parse(const std::string& s, VersionRange* vr) { in parse() function
266 bool (*versionParser)(const std::string&, Version*) = parse; in parse()
[all …]
DRuntimeInfo-target.cpp151 if (!parse(mRuntimeInfo->mOsRelease.substr(0, pos), &mRuntimeInfo->mKernel.mVersion)) { in parseKernelVersion()
159 if (!parse(prop, &mRuntimeInfo->mBootVbmetaAvbVersion)) { in fetchAvb()
163 if (!parse(prop, &mRuntimeInfo->mBootAvbVersion)) { in fetchAvb()
/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp69 cppbor::parse(endpointEncryptionCertChain.begin(), endpointEncryptionCertChain.end()); in validateAndExtractEekPubAndId()
89 auto parsedPubKey = CoseKey::parse(lastPubKey); in validateAndExtractEekPubAndId()
133 cppbor::parse(keysToSign[i].begin(), keysToSign[i].end()); in validateAndExtractPubkeys()
149 auto [protectedMap, __, errMsg] = cppbor::parse(protectedParms); in validateAndExtractPubkeys()
160 auto pubKey = CoseKey::parse(payload->value(), EC2, ES256, P256); in validateAndExtractPubkeys()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h151 static ErrMsgOr<CoseKey> parse(const bytevec& coseKey) { in parse() function
152 auto [parsedKey, _, errMsg] = cppbor::parse(coseKey); in parse()
158 static ErrMsgOr<CoseKey> parse(const bytevec& coseKey, CoseKeyType expectedKeyType, in parse() function
160 auto key = parse(coseKey); in parse()
173 auto key = parse(coseKey, OCTET_KEY_PAIR, EDDSA, ED25519); in parseEd25519()
186 auto key = parse(coseKey, OCTET_KEY_PAIR, ECDH_ES_HKDF_256, X25519); in parseX25519()
204 auto key = parse(coseKey, EC2, ES256, P256); in parseP256()
218 auto key = parse(coseKey, EC2, ES384, P384); in parseP384()
/system/extras/perf2cfg/perf2cfg/
Dedit.py34 from perf2cfg import parse
182 method_name = parse.parse_name(line)
211 pass_name = parse.parse_name(line)
325 directive = parse.build_name(f'[{info}] {method_name}')
347 self.saved_flags = parse.parse_flags(line)
361 padding = ' ' * len(parse.build_flags(flags))
381 self.output_stream.write(parse.build_flags(flags))
390 addr = parse.parse_address(line)
/system/tools/xsdc/src/main/java/com/android/xsdc/
DMain.java131 cmd = CommandParser.parse(options, args); in main()
162 XmlSchema xmlSchema = parse(xsdFile, included); in main()
200 private static XmlSchema parse(String xsdFile, List<String> included) throws Exception { in parse() method in Main
207 parser.parse(in, xsdHandler); in parse()
213 XmlSchema temp = parse(filePath, included); in parse()
/system/libcppbor/tests/
Dcppbor_test.cpp1339 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1355 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1370 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1385 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1400 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1415 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1462 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1500 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1546 parse(encoded.data(), encoded.data() + encoded.size(), &mpc); in TEST()
1582 auto [item, pos, message] = parse(val.encode()); in TEST()
[all …]
/system/keymint/tests/
DAndroid.bp67 srcs: ["src/bin/auth-keyblob-parse.rs"],
79 srcs: ["src/bin/encrypted-keyblob-parse.rs"],
/system/chre/
Dbundle_chre.sh10 BRANCH=`git rev-parse --abbrev-ref --symbolic-full-name @{u}`
/system/hwservicemanager/
DVintf.cpp43 if (!FQName::parse(interfaceName, &fqName)) { in getTransport()
92 if (!FQName::parse(interfaceName, &fqName) || !fqName.isFullyQualified() || in getInstances()
DAccessControl.cpp59 if (!FQName::parse(fqName, &fqIface)) { in canAdd()
70 if (!FQName::parse(fqName, &fqIface)) { in canGet()
/system/tools/hidl/lint/
Dmain.cpp111 if (!FQName::parse(arg, &fqName)) { in main()
130 AST* ast = coordinator.parse(target); in main()
/system/extras/sane_schedstat/
Dsane_schedstat.c111 static int parse(const char *b) { in parse() function
152 if (parse(buf)) return -1; in main()
/system/extras/libjsonpb/verify/
Dverify.cpp141 if (!reader->parse(&*json.begin(), &*json.end(), &value, error)) { in AllFieldsAreKnown()
159 if (!reader->parse(&*json.begin(), &*json.end(), &old_json, error)) { in EqReformattedJson()
169 if (!reader->parse(&*new_json_string->begin(), &*new_json_string->end(), &new_json, error)) { in EqReformattedJson()
/system/tools/hidl/lint/test/
Dmain.cpp47 if (!FQName::parse(name, &fqName)) { in getLintsForHal()
61 AST* ast = coordinator.parse(fqName); in getLintsForHal()
/system/nfc/src/rust/hal/
Drootcanal_hal.rs67 match NciPacket::parse(&frozen) { in dispatch_incoming()
76 match DataPacket::parse(&frozen) { in dispatch_incoming()
/system/tools/hidl/
Dmain.cpp160 AST* typesAST = coordinator->parse(fqName); in appendPerTypeTargets()
265 AST* ast = coordinator->parse(fqName); in astGenerationFunction()
308 ast = coordinator->parse(fqName.getTypesForPackage()); in generateJavaForPackage()
314 ast = coordinator->parse(fqName); in generateJavaForPackage()
391 AST *ast = coordinator->parse(fqName); in isPackageJavaCompatible()
574 AST* ast = coordinator->parse(fqName); in generateAndroidBpForPackage()
686 AST *ast = coordinator->parse(fqName); in generateAndroidBpImplForPackage()
824 AST* ast = coordinator->parse(fqName); in validateForFormat()
870 AST *ast = coordinator->parse(fqName); in generateExportHeaderForPackage()
944 AST* ast = coordinator->parse(fqName, {} /* parsed */, in generateHashOutput()
[all …]
/system/tools/aidl/scripts/redundancy_check/srcs/
Dmain.rs94 version: version.parse().unwrap(), in extract_aidl_instance()
100 let args = Opt::parse(); in main()
/system/tools/hidl/hidl2aidl/
Dmain.cpp141 static AST* parse(const Coordinator& coordinator, const FQName& target) { in parse() function
142 AST* ast = coordinator.parse(target); in parse()
343 if (!FQName::parse(arg, &fqName)) { in main()
405 AST* ast = parse(coordinator, target); in main()
/system/sepolicy/com.android.sepolicy/33/definitions/
Ddefinitions.cil3 ; a binary SELinux policy. To parse the input correctly, we require the amend policy to be a valid

12345