/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/core/adf/libadf/ |
D | adf.c | 34 static ssize_t adf_find_nodes(const char *pattern, adf_id_t **ids) in adf_find_nodes() argument 49 int matched = sscanf(dirent->d_name, pattern, &id); in adf_find_nodes() 214 char pattern[64]; in adf_interfaces() local 216 snprintf(pattern, sizeof(pattern), "adf-interface%u.%%u", dev->id); in adf_interfaces() 217 return adf_find_nodes(pattern, interfaces); in adf_interfaces() 451 char pattern[64]; in adf_overlay_engines() local 453 snprintf(pattern, sizeof(pattern), "adf-overlay-engine%u.%%u", dev->id); in adf_overlay_engines() 454 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/connectivity/shill/wifi/ |
D | wake_on_wifi_unittest.cc | 681 ByteString* pattern, ByteString* mask) { in CreateIPAddressPatternAndMask() argument 682 return WakeOnWiFi::CreateIPAddressPatternAndMask(ip_addr, pattern, mask); in CreateIPAddressPatternAndMask() 1096 ByteString pattern; in TEST_F() local 1100 CreateIPAddressPatternAndMask(IPAddress(kIPV4Address0), &pattern, &mask); in TEST_F() 1104 EXPECT_TRUE(pattern.Equals(expected_pattern)); in TEST_F() 1107 pattern.Clear(); in TEST_F() 1110 CreateIPAddressPatternAndMask(IPAddress(kIPV4Address1), &pattern, &mask); in TEST_F() 1114 EXPECT_TRUE(pattern.Equals(expected_pattern)); in TEST_F() 1117 pattern.Clear(); in TEST_F() 1120 CreateIPAddressPatternAndMask(IPAddress(kIPV6Address0), &pattern, &mask); in TEST_F() [all …]
|
D | wake_on_wifi.cc | 208 ByteString* pattern, in CreateIPAddressPatternAndMask() argument 211 WakeOnWiFi::CreateIPV4PatternAndMask(ip_addr, pattern, mask); in CreateIPAddressPatternAndMask() 214 WakeOnWiFi::CreateIPV6PatternAndMask(ip_addr, pattern, mask); in CreateIPAddressPatternAndMask() 224 ByteString* pattern, in CreateIPV4PatternAndMask() argument 238 pattern->Clear(); in CreateIPV4PatternAndMask() 239 pattern->Append(ByteString( in CreateIPV4PatternAndMask() 246 ByteString* pattern, in CreateIPV6PatternAndMask() argument 260 pattern->Clear(); in CreateIPV6PatternAndMask() 261 pattern->Append(ByteString( in CreateIPV6PatternAndMask() 505 ByteString pattern; in CreateSinglePattern() local [all …]
|
D | wake_on_wifi.h | 377 ByteString* pattern, 380 ByteString* pattern, ByteString* mask); 382 ByteString* pattern, ByteString* mask);
|
/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 | 172 explicit ScopedTempFile(const std::string& pattern) { in ScopedTempFile() argument 173 EXPECT_TRUE(utils::MakeTempFile(pattern, &path_, nullptr)); in ScopedTempFile()
|
/system/update_engine/scripts/ |
D | brillo_update_payload | 242 local pattern="${1:-tempfile.XXXXXX}" 243 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/weaved/buffet/ |
D | manager.cc | 99 const base::FilePath::StringType& pattern) { in LoadCommandDefinitions() argument 103 pattern); in LoadCommandDefinitions()
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 70 void CreatePartition(PartitionConfig* part, const string& pattern, in CreatePartition() argument 73 ASSERT_TRUE(utils::MakeTempFile(pattern.c_str(), &part->path, &fd)); in CreatePartition()
|
/system/bt/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 118 "base/strings/pattern.cc",
|
/system/media/audio_utils/ |
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
|
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
|
/system/connectivity/shill/doc/ |
D | service-api.txt | 1279 Match all hostnames that match the pattern
|