/prebuilts/go/linux-x86/src/path/ |
match.go | 16 // Match reports whether name matches the shell file name pattern. 22 // '*' matches any sequence of non-/ characters 23 // '?' matches any single non-/ character 26 // c matches character c (c != '*', '?', '\\', '[') 27 // '\\' c matches character c 30 // c matches character c (c != '\\', '-', ']') 31 // '\\' c matches character c 32 // lo '-' hi matches character c for lo <= c <= hi 45 // Trailing * matches rest of string unless it has a /. 113 // matchChunk checks whether chunk matches the beginning of s [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
UsbProfileGroupSettingsManager.java | 448 // Checks to see if a package matches a device or accessory. 471 if (filter.matches(device)) { 477 if (filter.matches(accessory)) { 524 * Only return those matches with the highest priority. 526 * @param matches All matches, some might have lower priority 528 * @return The matches with the highest priority 531 private ArrayList<ResolveInfo> preferHighPriority(@NonNull ArrayList<ResolveInfo> matches) { 536 // Create list of highest priority matches per user in highestPriorityMatchesByUserId 537 int numMatches = matches.size() 610 ArrayList<ResolveInfo> matches = new ArrayList<>( local 627 ArrayList<ResolveInfo> matches = new ArrayList<>(); local 642 ArrayList<ResolveInfo> matches = new ArrayList<>(); local 665 final ArrayList<ResolveInfo> matches; local 729 final ArrayList<ResolveInfo> matches; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CharsetDetector.java | 30 * process will attempt to identify the charset that best matches the characteristics 132 * Return the charset that best matches the supplied input data. 146 * <code>null</code> if there are no matches. 153 CharsetMatch matches[] = detectAll(); local 155 if (matches == null || matches.length == 0) { 159 return matches[0]; 164 * matches with the input data. The array is ordered with the 176 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); local 188 matches.add(m) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CharsetDetector.java | 29 * process will attempt to identify the charset that best matches the characteristics 139 * Return the charset that best matches the supplied input data. 153 * <code>null</code> if there are no matches. 162 CharsetMatch matches[] = detectAll(); local 164 if (matches == null || matches.length == 0) { 168 return matches[0]; 173 * matches with the input data. The array is ordered with the 187 ArrayList<CharsetMatch> matches = new ArrayList<CharsetMatch>(); local 199 matches.add(m) [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/buildid/ |
buildid_test.go | 122 matches, hash, err := FindAndHash(bytes.NewReader(buf), string(id), bufSize) 127 if !reflect.DeepEqual(matches, m) { 128 errorf("bufSize=%d j=%d k=%d: findAndHash: matches=%v, want %v", bufSize, j, k, matches, m) 132 errorf("bufSize=%d j=%d k=%d: findAndHash: matches correct, but hash=%x, want %x", bufSize, j, k, hash, h)
|
/prebuilts/go/linux-x86/src/cmd/internal/buildid/ |
buildid_test.go | 122 matches, hash, err := FindAndHash(bytes.NewReader(buf), string(id), bufSize) 127 if !reflect.DeepEqual(matches, m) { 128 errorf("bufSize=%d j=%d k=%d: findAndHash: matches=%v, want %v", bufSize, j, k, matches, m) 132 errorf("bufSize=%d j=%d k=%d: findAndHash: matches correct, but hash=%x, want %x", bufSize, j, k, hash, h)
|
/external/iproute2/ip/ |
iprule.c | 435 if (matches(*argv, "preference") == 0 || 436 matches(*argv, "order") == 0 || 437 matches(*argv, "priority") == 0) { 493 } else if (matches(*argv, "lookup") == 0 || 494 matches(*argv, "table") == 0) { 501 } else if (matches(*argv, "from") == 0 || 502 matches(*argv, "src") == 0) { 506 if (matches(*argv, "dst") == 0 || 507 matches(*argv, "to") == 0) { 622 } else if (matches(*argv, "preference") == 0 | [all...] |
link_gre.c | 183 if (!matches(*argv, "key")) { 201 } else if (!matches(*argv, "ikey")) { 216 } else if (!matches(*argv, "okey")) { 231 } else if (!matches(*argv, "seq")) { 234 } else if (!matches(*argv, "iseq")) { 236 } else if (!matches(*argv, "oseq")) { 238 } else if (!matches(*argv, "csum")) { 241 } else if (!matches(*argv, "icsum")) { 243 } else if (!matches(*argv, "ocsum")) { 245 } else if (!matches(*argv, "nopmtudisc")) [all...] |
ipaddrlabel.c | 244 } else if (matches(argv[0], "list") == 0 || 245 matches(argv[0], "lst") == 0 || 246 matches(argv[0], "show") == 0) { 248 } else if (matches(argv[0], "add") == 0) { 250 } else if (matches(argv[0], "delete") == 0) { 252 } else if (matches(argv[0], "flush") == 0) { 254 } else if (matches(argv[0], "help") == 0)
|
ipila.c | 160 if (!matches(*argv, "loc")) { 168 } else if (!matches(*argv, "loc_match")) { 177 } else if (!matches(*argv, "dev")) { 246 if (matches(*argv, "help") == 0) 252 if (matches(*argv, "add") == 0) 254 if (matches(*argv, "delete") == 0) 256 if (matches(*argv, "list") == 0)
|
ipseg6.c | 194 if (argc < 1 || matches(*argv, "help") == 0) 199 if (matches(*argv, "hmac") == 0) { 201 if (matches(*argv, "show") == 0) { 203 } else if (matches(*argv, "set") == 0) { 222 } else if (matches(*argv, "tunsrc") == 0) { 224 if (matches(*argv, "show") == 0) { 226 } else if (matches(*argv, "set") == 0) {
|
ipmaddr.c | 254 } else if (matches(*argv, "help") == 0) 291 if (matches(*argv, "address") == 0) { 294 if (matches(*argv, "help") == 0) 330 if (matches(*argv, "add") == 0) 332 if (matches(*argv, "delete") == 0) 334 if (matches(*argv, "list") == 0 || matches(*argv, "show") == 0 335 || matches(*argv, "lst") == 0) 337 if (matches(*argv, "help") == 0)
|
/prebuilts/tools/common/m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/ |
maven-common-artifact-filters-1.4.jar | |
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
Camera2UtilsTest.java | 241 assertTrue(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null)); 242 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, false)); 243 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, true)); 246 assertTrue(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null)); 247 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, false)); 248 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, true)); 251 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null)); 252 assertTrue(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, false)); 253 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, true)); 256 assertFalse(setUp.matches(CaptureRequest.CONTROL_AE_LOCK, null)) [all...] |
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
ProvisioningActivityTest.java | 27 import static android.support.test.espresso.assertion.ViewAssertions.matches; 328 onView(withText(errorMsgId)).check(matches(isDisplayed())); 332 .check(matches(withText(R.string.device_owner_error_ok))) 349 onView(withText(errorMsgId)).check(matches(isDisplayed())); 353 .check(matches(withText(R.string.reset))) 369 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())); 373 .check(matches(withText(R.string.profile_owner_cancel_cancel))) 383 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())); 387 .check(matches(withText(R.string.profile_owner_cancel_ok))) 436 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())) [all...] |
/external/iproute2/tc/ |
tc_class.c | 107 } else if (matches(*argv, "estimator") == 0) { 110 } else if (matches(*argv, "help") == 0) { 136 if (matches(*argv, "help") == 0) 431 } else if (matches(*argv, "help") == 0) { 471 if (matches(*argv, "add") == 0) 473 if (matches(*argv, "change") == 0) 475 if (matches(*argv, "replace") == 0) 477 if (matches(*argv, "delete") == 0) 480 if (matches(*argv, "get") == 0) 483 if (matches(*argv, "list") == 0 || matches(*argv, "show") == [all...] |
/external/clang/lib/Driver/ |
SanitizerArgs.cpp | 129 if (Arg->getOption().matches(options::OPT_fsanitize_trap_EQ)) { 140 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_trap_EQ)) { 143 } else if (Arg->getOption().matches( 148 } else if (Arg->getOption().matches( 207 if (Arg->getOption().matches(options::OPT_fsanitize_EQ)) { 264 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_EQ)) { 341 if (Arg->getOption().matches(options::OPT_fsanitize_recover)) { 346 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_recover)) { 351 } else if (Arg->getOption().matches(options::OPT_fsanitize_recover_EQ)) { 365 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_recover_EQ)) [all...] |
/external/proguard/src/proguard/optimize/ |
Optimizer.java | 143 boolean classMarkingFinal = filter.matches(CLASS_MARKING_FINAL); 144 boolean classUnboxingEnum = filter.matches(CLASS_UNBOXING_ENUM); 145 boolean classMergingVertical = filter.matches(CLASS_MERGING_VERTICAL); 146 boolean classMergingHorizontal = filter.matches(CLASS_MERGING_HORIZONTAL); 147 boolean fieldRemovalWriteonly = filter.matches(FIELD_REMOVAL_WRITEONLY); 148 boolean fieldMarkingPrivate = filter.matches(FIELD_MARKING_PRIVATE); 149 boolean fieldPropagationValue = filter.matches(FIELD_PROPAGATION_VALUE); 150 boolean methodMarkingPrivate = filter.matches(METHOD_MARKING_PRIVATE); 151 boolean methodMarkingStatic = filter.matches(METHOD_MARKING_STATIC); 152 boolean methodMarkingFinal = filter.matches(METHOD_MARKING_FINAL) [all...] |
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/ |
gen_xmlpool.py | 112 # Expand matches. The first match is always a DESC or DESC_BEGIN match. 113 # Subsequent matches are ENUM matches. 117 def expandMatches (matches, translations, end=None): 118 assert len(matches) > 0 127 if len(matches) == 1 and i < len(translations) and \ 128 not matches[0].expand (r'\7').endswith('\\'): 133 matches[0].expand (r'\5')), "utf-8"))).encode("utf-8") 134 print matches[0].expand (r'\1' + lang + r'\3"' + text + r'"\7') + suffix 136 for match in matches[1:] [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllAppsList.java | 90 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName, local 93 for (LauncherActivityInfo info : matches) { 121 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName, local 123 if (matches.size() > 0) { 131 if (!findActivity(matches, component, user)) { 141 int count = matches.size(); 143 final LauncherActivityInfo info = matches.get(i);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AllAppsList.java | 127 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName, local 130 for (LauncherActivityInfo info : matches) { 156 if (matcher.matches(info, info.componentName)) { 178 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName, local 180 if (matches.size() > 0) { 187 if (!findActivity(matches, applicationInfo.componentName)) { 197 for (final LauncherActivityInfo info : matches) {
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
ActivityManagerAmStartOptionsTests.java | 131 if (matcher.matches()) { 136 if (matcher.matches()) { 141 if (matcher.matches()) {
|
/development/tools/bugreport/src/com/android/bugreport/monkey/ |
MonkeyLogParser.java | 60 if (Utils.matches(anrStart, text)) { 91 if (anrStart.matches()) { 98 if (monkeyEnd.matches()) {
|
/development/tools/privapp_permissions/ |
privapp_permissions.py | 487 matches = re.search(regex, line) 488 if matches: 489 name = matches.group(1) 492 matches = re.search(regex, line) 493 if matches: 494 package_name = matches.group(1) 517 matches = re.search(ANDROID_NAME_REGEX, line) 518 if matches: 519 name = matches.group(1) 522 matches = re.search(ANDROID_PROTECTION_LEVEL_REGEX, line [all...] |
/external/clang/include/clang/ASTMatchers/ |
ASTMatchersMacros.h | 31 // return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); 42 // return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); 94 /// The code should return true if 'Node' matches. 101 bool matches(const Type &Node, \ 111 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 128 /// The code should return true if 'Node' matches. 141 bool matches(const Type &Node, \ 157 inline bool internal::matcher_##DefineMatcher##OverloadId##Matcher::matches( \ 175 /// The code should return true if 'Node' matches. 190 bool matches(const Type &Node, [all...] |