Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 19 of 19) sorted by relevance

/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dfastgrep.c68 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 …]
Dgrep.c85 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()
Dgrep.h104 unsigned char *pattern; member
130 extern char **pattern;
Dutil.c306 if (fg_pattern[i].pattern) { in procline()
/system/core/adf/libadf/
Dadf.c34 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/
Dextract_from_pem.py74 pattern = r'-----BEGIN CERTIFICATE-----[^-]*-----END CERTIFICATE-----'
75 pem_certs = re.findall(pattern, pem_file.read())
/system/connectivity/shill/wifi/
Dwake_on_wifi_unittest.cc681 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 …]
Dwake_on_wifi.cc208 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 …]
Dwake_on_wifi.h377 ByteString* pattern,
380 ByteString* pattern, ByteString* mask);
382 ByteString* pattern, ByteString* mask);
/system/extras/ksmutils/
Dksminfo.c52 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/
Dtest_utils.h172 explicit ScopedTempFile(const std::string& pattern) { in ScopedTempFile() argument
173 EXPECT_TRUE(utils::MakeTempFile(pattern, &path_, nullptr)); in ScopedTempFile()
/system/update_engine/scripts/
Dbrillo_update_payload242 local pattern="${1:-tempfile.XXXXXX}"
243 mktemp --tmpdir="${FLAGS_work_dir}" "${pattern}"
/system/core/libpixelflinger/codeflinger/
Ddisassem.c110 u_int pattern; member
316 if ((insn & i_ptr->mask) == i_ptr->pattern) { in disasm()
/system/weaved/buffet/
Dmanager.cc99 const base::FilePath::StringType& pattern) { in LoadCommandDefinitions() argument
103 pattern); in LoadCommandDefinitions()
/system/update_engine/payload_generator/
Ddelta_diff_utils_unittest.cc70 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/
DBUILD.gn118 "base/strings/pattern.cc",
/system/media/audio_utils/
DDoxyfile.orig795 # 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
DDoxyfile795 # 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/
Dservice-api.txt1279 Match all hostnames that match the pattern