/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | fastgrep.c | 68 fg->pattern = (unsigned char *)grep_strdup(pat); in fgrepcomp() 74 fg->qsBc[fg->pattern[i]] = fg->len - i; in fgrepcomp() 124 fg->pattern = grep_malloc(fg->len + 1); in fastcomp() 125 memcpy(fg->pattern, pat, fg->len); in fastcomp() 126 fg->pattern[fg->len] = '\0'; in fastcomp() 131 if (fg->pattern[i] == '.') { in fastcomp() 145 free(fg->pattern); in fastcomp() 146 fg->pattern = NULL; in fastcomp() 162 grep_revstr(fg->pattern, fg->len); in fastcomp() 191 fg->qsBc[fg->pattern[i]] = fg->len - i; in fastcomp() [all …]
|
D | grep.c | 85 char **pattern; variable 233 pattern = grep_realloc(pattern, ++pattern_sz * in add_pattern() 234 sizeof(*pattern)); in add_pattern() 239 pattern[patterns] = grep_malloc(len + 1); in add_pattern() 240 memcpy(pattern[patterns], pat, len); in add_pattern() 241 pattern[patterns][len] = '\0'; in add_pattern() 667 fgrepcomp(&fg_pattern[i], pattern[i]); in main() 670 if (fastcomp(&fg_pattern[i], pattern[i])) { in main() 672 c = regcomp(&r_pattern[i], pattern[i], cflags); in main()
|
D | grep.h | 104 unsigned char *pattern; member 130 extern char **pattern;
|
D | util.c | 306 if (fg_pattern[i].pattern) { in procline()
|
/system/extras/simpleperf/scripts/ |
D | update.py | 74 def fetch_artifact(branch, build, target, pattern): argument 77 target, branch, pattern) 80 '--bid', build, pattern]
|
/system/core/adf/libadf/ |
D | adf.cpp | 53 static ssize_t adf_find_nodes(const char *pattern, adf_id_t **ids_out) in adf_find_nodes() argument 65 int matched = sscanf(dirent->d_name, pattern, &id); in adf_find_nodes() 224 char pattern[64]; in adf_interfaces() local 226 snprintf(pattern, sizeof(pattern), "adf-interface%u.%%u", dev->id); in adf_interfaces() 227 return adf_find_nodes(pattern, interfaces); in adf_interfaces() 438 char pattern[64]; in adf_overlay_engines() local 440 snprintf(pattern, sizeof(pattern), "adf-overlay-engine%u.%%u", dev->id); in adf_overlay_engines() 441 return adf_find_nodes(pattern, overlay_engines); in adf_overlay_engines()
|
/system/ca-certificates/google/ |
D | extract_from_pem.py | 74 pattern = r'-----BEGIN CERTIFICATE-----[^-]*-----END CERTIFICATE-----' 75 pem_certs = re.findall(pattern, pem_file.read())
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 74 #define ASSERT_MATCH(str, pattern) \ argument 76 std::regex r((pattern)); \ 78 FAIL() << "regex mismatch: expected " << (pattern) << " in: \n" << (str); \ 82 #define ASSERT_NOT_MATCH(str, pattern) \ argument 84 std::regex r((pattern)); \ 86 FAIL() << "regex mismatch: expected to not find " << (pattern) << " in: \n" << (str); \
|
/system/extras/ksmutils/ |
D | ksminfo.c | 52 uint16_t pattern; member 286 kp->pages[kp->len].pattern = in read_pages() 349 if (kp->pages[i].pattern != NO_PATTERN) { in print_pages() 350 printf("0x%02x byte pattern: ", kp->pages[i].pattern); in print_pages()
|
/system/update_engine/common/ |
D | test_utils.h | 163 explicit ScopedTempFile(const std::string& pattern) { in ScopedTempFile() argument 164 EXPECT_TRUE(utils::MakeTempFile(pattern, &path_, nullptr)); in ScopedTempFile()
|
/system/sepolicy/tests/ |
D | treble_sepolicy_tests.py | 86 pattern = re.compile('^' + pathregex[0:i] + "$") 89 if pattern.match(prefix):
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 250 local pattern="${1:-tempfile.XXXXXX}" 251 mktemp --tmpdir="${FLAGS_work_dir}" "${pattern}"
|
/system/core/libpixelflinger/codeflinger/ |
D | disassem.c | 110 u_int pattern; member 316 if ((insn & i_ptr->mask) == i_ptr->pattern) { in disasm()
|
/system/core/init/ |
D | devices.cpp | 146 static bool match_subsystem(perms_* dp, const char* pattern, in match_subsystem() argument 148 if (!pattern || !subsystem || strstr(dp->name, subsystem) == NULL) { in match_subsystem() 152 std::string subsys_path = android::base::StringPrintf(pattern, subsystem, basename(path)); in match_subsystem()
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 71 void CreatePartition(PartitionConfig* part, const string& pattern, in CreatePartition() argument 74 ASSERT_TRUE(utils::MakeTempFile(pattern.c_str(), &part->path, &fd)); in CreatePartition()
|
/system/core/trusty/storage/tests/ |
D | main.cpp | 45 uint32_t pattern = (uint32_t)(off / sizeof(uint32_t)); in fill_pattern32() local 47 *buf++ = pattern++; in fill_pattern32() 54 uint32_t pattern = (uint32_t)(off / sizeof(uint32_t)); in check_pattern32() local 56 if (*buf != pattern) in check_pattern32() 59 pattern++; in check_pattern32()
|
/system/bt/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 119 "base/strings/pattern.cc",
|
/system/media/audio_utils/ |
D | Doxyfile | 795 # exclude all test directories for example use the pattern */test/* 806 # exclude all test directories use the pattern */test/* 817 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and 853 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern 854 # basis. Doxygen will compare the file name with each pattern and apply the 855 # filter if there is a match. The filters are a list of the form: pattern=filter 870 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and 871 # it is also possible to disable source filtering for a specific pattern using
|
D | Doxyfile.orig | 795 # exclude all test directories for example use the pattern */test/* 806 # exclude all test directories use the pattern */test/* 817 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and 853 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern 854 # basis. Doxygen will compare the file name with each pattern and apply the 855 # filter if there is a match. The filters are a list of the form: pattern=filter 870 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and 871 # it is also possible to disable source filtering for a specific pattern using
|
/system/chre/chre_api/doc/ |
D | Doxyfile | 828 # exclude all test directories for example use the pattern */test/* 839 # exclude all test directories use the pattern */test/* 850 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and 890 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern 891 # basis. Doxygen will compare the file name with each pattern and apply the 892 # filter if there is a match. The filters are a list of the form: pattern=filter 911 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and 912 # it is also possible to disable source filtering for a specific pattern using
|
/system/update_engine/ |
D | pylintrc | 151 # supports qualified module names, as well as Unix pattern matching.
|