Searched refs:match (Results 1 - 17 of 17) sorted by relevance

/system/core/libcutils/
H A Dandroid_reboot.c43 int match; local
53 match = fscanf(f, "%255s %255s %255s %255s %d %d\n",
60 if ((match == 6) && !strncmp(mount_dev, "/dev/block", 10) && strstr(mount_opts, "rw,")) {
64 } while (match != EOF);
H A Dconfig_utils.c41 cnode *node, *match = NULL; local
46 match = node;
48 return match;
/system/media/camera/docs/
H A Dmetadata_helpers.py447 match = re.search(r'<.*>', local_typedef)
448 return bool(match)
523 if re.match("\d", what):
558 return bool(re.match('0x[a-f0-9]+$', instr, re.IGNORECASE))
892 def filter_sub(match):
893 whole_match = match.group(0)
894 section1 = match.group(1)
895 section2 = match.group(2)
896 section3 = match.group(3)
897 end_slash = match
[all...]
H A Dmetadata_model.py66 Find all descendants that match the predicate.
117 Find all ancestors that match the predicate.
149 def _children_name_map_matching(self, match=lambda x: True):
152 if match(i):
179 print >> sys.stderr, ("ERROR: Node '%s' doesn't match the parent" + \
/system/core/toolbox/
H A Dmount.c269 int match; local
278 match = fscanf(f, "%255s %255s %255s %255s %d %d\n",
285 if (match == 6 &&
293 } while (match != EOF);
/system/vold/
H A DDirectVolume.h28 bool match(const char *path);
H A DDirectVolume.cpp54 bool PathInfo::match(const char *path) function in class:PathInfo
137 if ((*it)->match(dp)) {
/system/core/fastboot/
H A Dengine.c201 static int match(char *str, const char **value, unsigned count) function
208 int match; local
212 match = !strncmp(val, str, len);
214 match = !strcmp(val, str);
217 if (match) return 1;
247 yes = match(resp, value, count);
H A Dusbtest.c129 ifc_match_func match; member in struct:__anon22
193 usb = usb_open(tests[i].match);
/system/core/liblog/tests/
H A Dbenchmark_main.cpp84 // see if any of our benchmarks match.
91 int match = regexec(&re, b->Name(), 0, NULL, 0); local
93 if (match != REG_NOMATCH) {
/system/core/logcat/tests/
H A Dlogcat_test.cpp506 static const char match[] = "4 log.txt"; local
509 if (!strncmp(buffer, match, sizeof(match) - 1)) {
/system/extras/tests/sdcard/
H A Dplot_sdcard.py58 self.summary = re.match('([a-z_]+)_total', self.name)
146 if re.match('[a-z_]', line):
/system/core/adf/libadf/
H A Dadf.c260 bool (*filter)(struct adf_interface_data *data, __u32 match),
261 __u32 match)
281 if (!filter(&data, match))
258 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/include/private/pixelflinger/
H A Dggl_context.h239 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/core/init/
H A Ddevices.c203 bool match = false; local
209 match = true;
215 match = true;
222 if (match) {
/system/security/keystore/
H A Dkeystore.cpp321 * that Base64 cannot be used here due to the need of prefix match on keys. */
1123 ALOGW("key found but type doesn't match: %d vs %d", keyBlob->getType(), type);
1187 char *match = (char*) malloc(extra + 1); local
1188 if (match != NULL) {
1189 decode_key(match, p, plen);
1190 matches->push(android::String16(match, extra));
1191 free(match);
1193 ALOGW("could not allocate match of size %zd", extra);
/system/core/libpixelflinger/
H A Dscanline.cpp345 if (c->state.needs.match(noblend1to1)) {
346 // this will match regardless of dithering state, since both
365 if (c->state.needs.match(fill16noblend)) {
376 if (c->state.needs.match(shortcuts[i].filter)) {

Completed in 2104 milliseconds