/system/tpm/attestation/common/ |
D | proto_print.py | 144 match = message_re.search(line) 145 if match: 149 current_message_stack.append(Message(prefix + match.group(1))) 153 match = field_re.search(line) 154 if match: 155 current_message_stack[-1].AddField(match.group(1), 156 match.group(2), 157 match.group(3)) 160 match = enum_re.search(line) 161 if match: [all …]
|
/system/sepolicy/tools/ |
D | sepolicy-check.c | 70 int match; in expand_and_check() local 85 match = 1; in expand_and_check() 86 match &= check(s_op, source_type, cur->key.source_type); in expand_and_check() 87 match &= check(t_op, target_type, cur->key.target_type); in expand_and_check() 88 match &= check(c_op, target_class, cur->key.target_class); in expand_and_check() 89 match &= check_perm(cur, perm); in expand_and_check() 90 if (match) { in expand_and_check() 126 int match; in check_rule() local 174 match = expand_and_check(s_op, key.source_type, in check_rule() 178 if (match) in check_rule() [all …]
|
/system/tpm/trunks/generator/ |
D | generator.py | 254 match = re.search(r'([^\[]*)(\[.*\])*', name) 257 fixed_name = re.sub(r'([a-z0-9])([A-Z])', r'\1_\2', match.group(1)).lower() 258 return fixed_name + match.group(2) if match.group(2) else fixed_name 1052 match = self._OLD_TYPE_RE.search(self._line) 1053 if not match: 1056 old_type = match.group(1) 1058 match = self._NEW_TYPE_RE.search(self._line) 1059 if not match: 1062 new_type = match.group(1) 1087 match = self._CONSTANTS_SECTION_RE.search(self._line) [all …]
|
/system/core/mkbootimg/ |
D | mkbootimg | 103 match = re.search(r'^(\d{1,3})(?:\.(\d{1,3})(?:\.(\d{1,3}))?)?', x) 104 if match: 105 a = int(match.group(1)) 107 if match.lastindex >= 2: 108 b = int(match.group(2)) 109 if match.lastindex == 3: 110 c = int(match.group(3)) 119 match = re.search(r'^(\d{4})-(\d{2})-(\d{2})', x) 120 if match: 121 y = int(match.group(1)) - 2000 [all …]
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 528 match = re.search(r'<.*>', local_typedef) 529 return bool(match) 604 if re.match("\d", what): 639 return bool(re.match('0x[a-f0-9]+$', instr, re.IGNORECASE)) 1055 def filter_sub(match): argument 1056 whole_match = match.group(0) 1057 section1 = match.group(1) 1058 section2 = match.group(2) 1059 section3 = match.group(3) 1060 end_slash = match.group(4) [all …]
|
/system/keymaster/ |
D | keymaster_configuration.cpp | 53 uint32_t match_to_uint32(const char* expression, const regmatch_t& match) { in match_to_uint32() argument 54 if (match.rm_so == -1) in match_to_uint32() 57 size_t len = match.rm_eo - match.rm_so; in match_to_uint32() 58 std::string s(expression + match.rm_so, len); in match_to_uint32()
|
D | valgrind.supp | 26 match-leak-kinds: reachable 35 match-leak-kinds: reachable
|
/system/sepolicy/ |
D | seapp_contexts | 12 # isAutoPlayApp=true will match apps marked by PackageManager as AutoPlay 13 # isOwner=true will only match for the owner/primary user. 14 # isOwner=false will only match for secondary users. 15 # If unspecified, the entry can match either case. 16 # An unspecified string selector will match any value. 17 # A user string selector that ends in * will perform a prefix match. 18 # user=_app will match any regular app UID. 19 # user=_isolated will match any isolated service UID. 20 # isPrivApp=true will only match for applications preinstalled in 22 # All specified input selectors in an entry must match (i.e. logical AND).
|
D | gpsd.te | 16 # TODO: added to match above sysfs rule. Remove me?
|
D | nfc.te | 20 # TODO: added to match above sysfs rule. Remove me?
|
D | healthd.te | 22 # TODO: added to match above sysfs rule. Remove me?
|
/system/connectivity/shill/ |
D | testing.h | 82 bool match = value.properties() == arg.properties(); variable 83 if (!match) { 88 return match;
|
/system/core/metricsd/ |
D | metrics_library.cc | 82 bool match = false; in IsDeviceMounted() local 83 while (!match) { in IsDeviceMounted() 100 match = true; in IsDeviceMounted() 115 *result = match; in IsDeviceMounted()
|
/system/core/fastboot/ |
D | engine.cpp | 173 static int match(const char* str, const char** value, unsigned count) { in match() function 179 int match; in match() local 183 match = !strncmp(val, str, len); in match() 185 match = !strcmp(val, str); in match() 188 if (match) return 1; in match() 218 yes = match(resp, value, count); in cb_check()
|
D | usbtest.cpp | 129 ifc_match_func match; member 193 usb = usb_open(tests[i].match); in main()
|
/system/bt/btif/src/ |
D | btif_gatt_util.c | 56 int match = 0; in uuidType() local 65 ++match; in uuidType() 72 if (match == 12) in uuidType() 74 if (match == 14) in uuidType()
|
/system/connectivity/shill/net/ |
D | nl80211_message.cc | 306 map<uint16_t, string>::const_iterator match; in StringFromReason() local 307 match = reason_code_string_->find(status); in StringFromReason() 308 if (match == reason_code_string_->end()) { in StringFromReason() 317 return match->second; in StringFromReason() 322 map<uint16_t, string>::const_iterator match; in StringFromStatus() local 323 match = status_code_string_->find(status); in StringFromStatus() 324 if (match == status_code_string_->end()) { in StringFromStatus() 333 return match->second; in StringFromStatus()
|
/system/core/libcutils/ |
D | config_utils.c | 41 cnode *node, *match = NULL; in config_find() local 46 match = node; in config_find() 48 return match; in config_find()
|
/system/webservd/webservd/ |
D | log_manager_unittest.cc | 89 std::string match = base::StringPrintf( in TEST_F() local 92 EXPECT_EQ(match, last_entry); in TEST_F()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 617 static int compare_last_signature(struct fstab_rec *fstab, int *match) in compare_last_signature() argument 628 *match = 1; in compare_last_signature() 671 *match = !memcmp(curr, prev, SHA256_DIGEST_SIZE); in compare_last_signature() 673 if (!*match) { in compare_last_signature() 707 int match = 0; in load_verity_state() local 734 if (!compare_last_signature(fstab, &match) && !match) { in load_verity_state()
|
/system/core/liblog/tests/ |
D | benchmark_main.cpp | 92 int match = regexec(&re, b->Name(), 0, NULL, 0); in ShouldRun() local 94 if (match != REG_NOMATCH) { in ShouldRun()
|
/system/extras/simpleperf/ |
D | dso.cpp | 245 bool match = (build_id == real_build_id); in LoadKernel() local 246 LOG(DEBUG) << "check kernel build id (" << (match ? "match" : "mismatch") << "): expected " in LoadKernel() 248 if (!match) { in LoadKernel()
|
/system/core/toolbox/ |
D | generate-input.h-labels.py | 43 m = r.match(line)
|
/system/security/keystore/ |
D | keystore.cpp | 376 char* match = (char*)malloc(extra + 1); in list() local 377 if (match != NULL) { in list() 378 decode_key(match, p, plen); in list() 379 matches->push(android::String16(match, extra)); in list() 380 free(match); in list()
|
/system/extras/tests/sdcard/ |
D | plot_sdcard.py | 58 self.summary = re.match('([a-z_]+)_total', self.name) 146 if re.match('[a-z_]', line):
|