Home
last modified time | relevance | path

Searched refs:match (Results 1 – 20 of 20) sorted by relevance

/system/core/libcutils/
Dandroid_reboot.c43 int match; in remount_ro_done() local
53 match = fscanf(f, "%255s %255s %255s %255s %d %d\n", in remount_ro_done()
60 if ((match == 6) && !strncmp(mount_dev, "/dev/block", 10) && strstr(mount_opts, "rw,")) { in remount_ro_done()
64 } while (match != EOF); in remount_ro_done()
Dconfig_utils.c41 cnode *node, *match = NULL; in config_find() local
46 match = node; in config_find()
48 return match; in config_find()
/system/media/camera/docs/
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): argument
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.group(4)
[all …]
Dmetadata_model.py149 def _children_name_map_matching(self, match=lambda x: True): argument
152 if match(i):
/system/extras/tests/fstest/
DREADME30 a match to a directory name.
35 on the rule must match the permissions on the symlink itself, not the target.
37 <min_mode> is a numeric mode mask, and a mode will match it if and only if
40 <max_mode> is a numeric mode mask, and a mode will match it if and only if
68 file that does not match any rule is a failure.
/system/core/fastboot/
Dengine.c201 static int match(char *str, const char **value, unsigned count) in match() function
208 int match; in match() local
212 match = !strncmp(val, str, len); in match()
214 match = !strcmp(val, str); in match()
217 if (match) return 1; in match()
247 yes = match(resp, value, count); in cb_check()
Dusbtest.c129 ifc_match_func match; member
193 usb = usb_open(tests[i].match); in main()
/system/core/toolbox/
Dmount.c269 int match; in get_mounts_dev_dir() local
278 match = fscanf(f, "%255s %255s %255s %255s %d %d\n", in get_mounts_dev_dir()
285 if (match == 6 && in get_mounts_dev_dir()
293 } while (match != EOF); in get_mounts_dev_dir()
/system/vold/
DDirectVolume.h28 bool match(const char *path);
DDirectVolume.cpp54 bool PathInfo::match(const char *path) in match() function in PathInfo
137 if ((*it)->match(dp)) { in handleBlockEvent()
/system/core/liblog/tests/
Dbenchmark_main.cpp91 int match = regexec(&re, b->Name(), 0, NULL, 0); in ShouldRun() local
93 if (match != REG_NOMATCH) { in ShouldRun()
/system/core/logcat/tests/
Dlogcat_test.cpp506 static const char match[] = "4 log.txt"; in TEST() local
509 if (!strncmp(buffer, match, sizeof(match) - 1)) { in TEST()
/system/extras/tests/sdcard/
Dplot_sdcard.py58 self.summary = re.match('([a-z_]+)_total', self.name)
146 if re.match('[a-z_]', line):
/system/core/init/
Ddevices.c203 bool match = false; in get_device_perm() local
209 match = true; in get_device_perm()
215 match = true; in get_device_perm()
222 if (match) { in get_device_perm()
Dreadme.txt115 Triggers are strings which can be used to match certain kinds
/system/core/adf/libadf/
Dadf.c260 bool (*filter)(struct adf_interface_data *data, __u32 match), in adf_interfaces_filter() argument
261 __u32 match) in adf_interfaces_filter()
281 if (!filter(&data, match)) in adf_interfaces_filter()
/system/core/include/private/pixelflinger/
Dggl_context.h239 inline int match(const needs_filter_t& filter);
263 int needs_t::match(const needs_filter_t& filter) {
/system/security/keystore/
Dkeystore.cpp1187 char *match = (char*) malloc(extra + 1); in saw() local
1188 if (match != NULL) { in saw()
1189 decode_key(match, p, plen); in saw()
1190 matches->push(android::String16(match, extra)); in saw()
1191 free(match); in saw()
/system/core/libpixelflinger/
Dscanline.cpp345 if (c->state.needs.match(noblend1to1)) { in pick_scanline()
365 if (c->state.needs.match(fill16noblend)) { in pick_scanline()
376 if (c->state.needs.match(shortcuts[i].filter)) { in pick_scanline()
/system/core/rootdir/
Dinit.rc341 # parameters to match how it is managing things.