/external/junit/src/main/java/org/junit/matchers/ |
JUnitMatchers.java | 73 * This is useful for fluently combining matchers that must both pass. For example: 75 * assertThat(string, both(containsString("a")).and(containsString("b"))); 78 * @deprecated Please use {@link CoreMatchers#both(Matcher)} instead. 81 public static <T> CombinableBothMatcher<T> both(Matcher<? super T> matcher) { method in class:JUnitMatchers 82 return CoreMatchers.both(matcher);
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
CombinableMatcher.java | 46 * Creates a matcher that matches when both of the specified matchers match the examined object. 48 * <pre>assertThat("fab", both(containsString("a")).and(containsString("b")))</pre> 50 public static <LHS> CombinableBothMatcher<LHS> both(Matcher<? super LHS> matcher) { method in class:CombinableMatcher
|
/system/core/adb/ |
remount_service.cpp | 129 bool both = system_verified && vendor_verified; local 133 both ? " and " : "", 135 both ? "s" : "");
|
/external/capstone/bindings/vb6/ |
Module1.bas | 139 ' NOTE: detail pointer is only valid when both requirements below are met:
174 ' @return hexical number as (major << 8 | minor), which encodes both
183 ' set both @major & @minor arguments to NULL.
|
/external/clang/test/Sema/ |
missing-field-initializers.c | 32 } both; member in struct:Three
|
/device/google/marlin/dataservices/datatop/src/ |
datatop_gen_poll.c | 159 char *both = malloc(both_len); local 163 strlcpy(both, dir, both_len); 164 strlcat(both, name, both_len); 169 dpg->file = both;
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
CoreMatchers.java | 46 * Creates a matcher that matches when both of the specified matchers match the examined object. 48 * <pre>assertThat("fab", both(containsString("a")).and(containsString("b")))</pre> 50 public static <LHS> org.hamcrest.core.CombinableMatcher.CombinableBothMatcher<LHS> both(org.hamcrest.Matcher<? super LHS> matcher) { method in class:CoreMatchers 51 return org.hamcrest.core.CombinableMatcher.both(matcher); 236 * it will match if both the operand and the examined object are arrays of the same length and
|
/libcore/luni/src/test/parameter_metadata/src/libcore/java/lang/reflect/parameter/ |
ParameterMetadataTestClasses.java | 73 void both(Integer[] p0, String... p1) {} method in class:ParameterMetadataTestClasses.MixedVarArgs
|
/external/clang/test/CodeGen/ |
pragma-weak.c | 8 // CHECK-DAG: @both = alias void (), void ()* @__both 113 void both(void) __attribute((alias("__both"))); 114 #pragma weak both = __both macro
|
/external/skia/src/opts/ |
SkXfermode_opts.h | 79 both = s*da.inv() + d*sa.inv(); local 82 auto colors = (both + isLite.thenElse(lite, dark)).div255();
|
/external/skqp/src/opts/ |
SkXfermode_opts.h | 79 both = s*da.inv() + d*sa.inv(); local 82 auto colors = (both + isLite.thenElse(lite, dark)).div255();
|
/art/build/ |
Android.gtest.mk | 541 # (with the x86-64 ABI, as this allows symbolization of both x86 and x86-64). We don't do this in 634 # Define the rules to build and run gtests for both archs on target. 636 define define-art-gtest-target-both 652 endef # define-art-gtest-target-both 654 # Define the rules to build and run gtests for both archs on host. 656 define define-art-gtest-host-both 671 endef # define-art-gtest-host-both 679 $(foreach file,$(ART_TARGET_GTEST_FILES), $(eval $(call define-art-gtest-target-both,$$(notdir $$(basename $$(file)))))) 687 $(foreach file,$(ART_HOST_GTEST_FILES), $(eval $(call define-art-gtest-host-both,$$(notdir $$(basename $$(file)))))) [all...] |
/cts/tests/app/src/android/app/cts/ |
WallpaperManagerTest.java | 169 int both = WallpaperManager.FLAG_LOCK | WallpaperManager.FLAG_SYSTEM; local 170 // Expect both since the first step is to migrate the current wallpaper 172 verifyColorListenerInvoked(WallpaperManager.FLAG_SYSTEM, both); 182 int both = WallpaperManager.FLAG_LOCK | WallpaperManager.FLAG_SYSTEM; local 183 verifyColorListenerInvoked(both, both); 271 * @param which FLAG_LOCK, FLAG_SYSTEM or a combination of both. 325 * @param which FLAG_LOCK, FLAG_SYSTEM or a combination of both. 355 * Helper method to make sure a wallpaper is set for both FLAG_SYSTEM and FLAG_LOCK
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
Matchers.java | 132 * Creates a matcher that matches when both of the specified matchers match the examined object. 134 * <pre>assertThat("fab", both(containsString("a")).and(containsString("b")))</pre> 136 public static <LHS> org.hamcrest.core.CombinableMatcher.CombinableBothMatcher<LHS> both(org.hamcrest.Matcher<? super LHS> matcher) { method in class:Matchers 137 return org.hamcrest.core.CombinableMatcher.<LHS>both(matcher); 320 * it will match if both the operand and the examined object are arrays of the same length and [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SettingsValidatorsTest.java | 266 String[] both = new String[firstLen + secondLen]; local 267 System.arraycopy(first, 0, both, 0, firstLen); 268 System.arraycopy(second, 0, both, firstLen, secondLen); 269 return both;
|
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/ |
NestedScrollViewNestedScrollingParentTest.java | 79 int both = ViewCompat.SCROLL_AXIS_VERTICAL | ViewCompat.SCROLL_AXIS_HORIZONTAL; local 82 onStartNestedScrollV1(both, true); 85 onStartNestedScrollV2(both, true);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_blit.c | 272 unsigned both = levels_z & levels_s; local 275 if (both) { 278 both, 280 levels_z &= ~both; 281 levels_s &= ~both; [all...] |
/external/mesa3d/src/util/ |
ralloc.c | 400 char *both; local 405 both = resize(*dest, existing_length + n + 1); 406 if (unlikely(both == NULL)) 409 memcpy(both + existing_length, str, n); 410 both[existing_length + n] = '\0'; 412 *dest = both; 876 char *both; local 881 both = linear_realloc(parent, *dest, existing_length + n + 1); 882 if (unlikely(both == NULL)) 885 memcpy(both + existing_length, str, n) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
AppRestrictionsHelper.java | 249 String both = info.packageName + "+" + info.activityName; local 252 && dedupPackageSet.contains(both)) { 255 dedupPackageSet.add(both);
|
/external/python/cpython3/Lib/test/ |
test_functools.py | 440 both = functools.partialmethod(capture, 3, b=4) variable in class:TestPartialMethod.A 467 self.assertEqual(self.a.both(), ((self.a, 3), {'b': 4})) 468 self.assertEqual(self.a.both(5), ((self.a, 3, 5), {'b': 4})) 469 self.assertEqual(self.a.both(c=6), ((self.a, 3), {'b': 4, 'c': 6})) 470 self.assertEqual(self.a.both(5, c=6), ((self.a, 3, 5), {'b': 4, 'c': 6})) 472 self.assertEqual(self.A.both(self.a, 5, c=6), ((self.a, 3, 5), {'b': 4, 'c': 6})) 492 self.assertIs(obj.both.__self__, obj) 500 self.assertFalse(hasattr(obj.both, "__self__")) 529 self.assertEqual(repr(vars(self.A)['both']), 544 for func in [self.A.static, self.A.cls, self.A.over_partial, self.A.nested, self.A.both] [all...] |
/external/python/cpython3/Modules/_decimal/libmpdec/literature/ |
umodarith.lisp | 266 (defthmd <=-multiply-both-sides-by-z 280 ("subgoal 1.2" :use ((:instance <=-multiply-both-sides-by-z
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 681 String[] both = new String[firstLen + secondLen]; local 682 System.arraycopy(first, 0, both, 0, firstLen); 683 System.arraycopy(second, 0, both, firstLen, secondLen); 684 return both; [all...] |
SettingsProvider.java | 373 String[] both = new String[firstLen + secondLen]; local 374 System.arraycopy(first, 0, both, 0, firstLen); 375 System.arraycopy(second, 0, both, firstLen, secondLen); 376 return both; [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ParameterTest.java | 634 void both(Integer[] p0, String... p1) {} method in class:ParameterTest.MixedVarArgs 644 Method method = MixedVarArgs.class.getDeclaredMethod("both", Integer[].class, String[].class); [all...] |
/external/libevent/test/ |
regress.c | 239 struct both { struct 247 struct both *both = arg; local 257 both->nread += len; 258 if (event_add(&both->ev, NULL) == -1) 265 struct both *both = arg; local 270 if (len > both->nread) 271 len = both->nread; 283 both->nread -= len [all...] |