/system/tpm/attestation/common/ |
H A 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/ |
H A D | sepolicy-check.c | 70 int match; local 85 match = 1; 86 match &= check(s_op, source_type, cur->key.source_type); 87 match &= check(t_op, target_type, cur->key.target_type); 88 match &= check(c_op, target_class, cur->key.target_class); 89 match &= check_perm(cur, perm); 90 if (match) { 112 * - 0 indicates a successful return without a match 113 * - 1 indicates a successful return with a match 126 int match; local 240 int match = 1; local [all...] |
/system/tpm/trunks/generator/ |
H A 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 668 This method needs to match the OutputForward method in other type classes 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 [all...] |
/system/keymaster/ |
H A D | keymaster_configuration.cpp | 53 uint32_t match_to_uint32(const char* expression, const regmatch_t& match) { argument 54 if (match.rm_so == -1) 57 size_t len = match.rm_eo - match.rm_so; 58 std::string s(expression + match.rm_so, len); 93 ALOGI("Platform version string does not match expected format. Using version 0."); 113 ALOGI("Platform patchlevel string does not match expected format. Using patchlevel 0");
|
/system/core/mkbootimg/ |
H A 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 [all...] |
/system/connectivity/shill/ |
H A D | testing.h | 82 bool match = value.properties() == arg.properties(); local 83 if (!match) { 88 return match;
|
/system/media/camera/docs/ |
H A 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): 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 [all...] |
/system/core/metricsd/ |
H A D | metrics_library.cc | 79 // 0..strlen(device_name)-1 -- this offset in device_name is next to match 82 bool match = false; local 83 while (!match) { 100 match = true; 115 *result = match;
|
/system/core/fastboot/ |
H A D | engine.cpp | 173 static int match(const char* str, const char** value, unsigned count) { function 179 int match; local 183 match = !strncmp(val, str, len); 185 match = !strcmp(val, str); 188 if (match) return 1; 218 yes = match(resp, value, count);
|
H A D | usbtest.cpp | 129 ifc_match_func match; member in struct:__anon1523 193 usb = usb_open(tests[i].match);
|
/system/bt/btif/src/ |
H A D | btif_gatt_util.c | 56 int match = 0; local 65 ++match; 72 if (match == 12) 74 if (match == 14)
|
/system/connectivity/shill/net/ |
H A D | nl80211_message.cc | 306 map<uint16_t, string>::const_iterator match; local 307 match = reason_code_string_->find(status); 308 if (match == reason_code_string_->end()) { 317 return match->second; 322 map<uint16_t, string>::const_iterator match; local 323 match = status_code_string_->find(status); 324 if (match == status_code_string_->end()) { 333 return match->second;
|
/system/webservd/webservd/ |
H A D | log_manager_unittest.cc | 89 std::string match = base::StringPrintf( local 92 EXPECT_EQ(match, last_entry);
|
/system/core/toolbox/ |
H A D | generate-input.h-labels.py | 43 m = r.match(line)
|
/system/core/libcutils/ |
H A D | config_utils.c | 41 cnode *node, *match = NULL; local 46 match = node; 48 return match;
|
/system/extras/simpleperf/ |
H A D | dso.cpp | 245 bool match = (build_id == real_build_id); local 246 LOG(DEBUG) << "check kernel build id (" << (match ? "match" : "mismatch") << "): expected " 248 if (!match) {
|
/system/core/liblog/tests/ |
H A D | benchmark_main.cpp | 85 // see if any of our benchmarks match. 92 int match = regexec(&re, b->Name(), 0, NULL, 0); local 94 if (match != REG_NOMATCH) {
|
/system/core/fs_mgr/ |
H A D | fs_mgr_verity.cpp | 654 static int compare_last_signature(struct fstab_rec *fstab, int *match) argument 665 *match = 1; 708 *match = !memcmp(curr, prev, SHA256_DIGEST_SIZE); 710 if (!*match) { 744 int match = 0; local 771 if (!compare_last_signature(fstab, &match) && !match) {
|
/system/extras/tests/net_test/ |
H A D | net_test.py | 363 elif re.match("icmp|udp|raw", protocol): 388 _, _, uid, _, _, refcnt, _, extra) = regexp.match(line).groups()
|
/system/extras/tests/sdcard/ |
H A D | plot_sdcard.py | 58 self.summary = re.match('([a-z_]+)_total', self.name) 146 if re.match('[a-z_]', line):
|
/system/security/keystore/ |
H A D | keystore.cpp | 89 * that Base64 cannot be used here due to the need of prefix match on keys. */ 283 ALOGW("key found but type doesn't match: %d vs %d", keyBlob->getType(), type); 399 char* match = (char*)malloc(extra + 1); local 400 if (match != NULL) { 401 decode_key(match, p, plen); 402 matches->push(android::String16(match, extra)); 403 free(match); 405 ALOGW("could not allocate match of size %zd", extra);
|
/system/core/adf/libadf/ |
H A D | adf.c | 261 bool (*filter)(struct adf_interface_data *data, __u32 match), 262 __u32 match) 282 if (!filter(&data, match)) 259 adf_interfaces_filter(struct adf_device *dev, adf_id_t *in, size_t n_in, adf_id_t **out, bool (*filter)(struct adf_interface_data *data, __u32 match), __u32 match) argument
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
H A D | ggl_context.h | 239 inline int match(const needs_filter_t& filter); 263 int needs_t::match(const needs_filter_t& filter) { function in class:android::needs_t
|
/system/extras/pagecache/ |
H A D | pagecache.py | 232 m = re.match('.* (mm_filemap_add_to_page_cache|mm_filemap_delete_from_page_cache): dev (\d+):(\d+) ino ([0-9a-z]+) page=([0-9a-z]+) pfn=\d+ ofs=(\d+).*', line) 250 result = re.match('([0-9]+)d? ([0-9]+) ([0-9]+) (.*)', line)
|
/system/core/init/ |
H A D | devices.cpp | 201 bool match = false; local 207 match = true; 213 match = true; 220 if (match) {
|