HomeSort by relevance Sort by last modified time
    Searched defs:given (Results 1 - 24 of 24) sorted by null

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
Person.java 19 public String given; field in class:Person
  /external/curl/tests/libtest/
lib552.c 135 size_t given = amount < available ? amount : available; /* What is given */ local
137 memcpy(ptr, databuf + current_offset, given);
138 current_offset += given;
139 return given;
  /external/mockito/src/main/java/org/mockito/
BDDMockito.java 13 * Behavior Driven Development style of writing tests uses <b>//given //when //then</b> comments as fundamental parts of your test methods.
18 * The problem is that current stubbing api with canonical role of <b>when</b> word does not integrate nicely with <b>//given //when //then</b> comments.
19 * It's because stubbing belongs to <b>given</b> component of the test and not to the <b>when</b> component of the test.
20 * Hence {@link BDDMockito} class introduces an alias so that you stub method calls with {@link BDDMockito#given(Object)} method.
21 * Now it really nicely integrates with the <b>given</b> component of a BDD style test!
31 * //given
32 * given(seller.askForBread()).willReturn(new Bread());
44 * //given
45 * willThrow(new RuntimeException("boo")).given(mock).foo();
196 public static <T> BDDMyOngoingStubbing<T> given(T methodCall) method in class:BDDMockito
397 <T> T given(T mock); method in interface:BDDMockito.BDDStubber
408 public <T> T given(T mock) { method in class:BDDMockito.BDDStubberImpl
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
NameConverter.java 48 * Converts the given structured name (provided as ContentValues) into a display name string.
64 * Helper method for fetching the display name via the given URI.
92 * Parses phonetic name and returns parsed data (family, middle, given) as ContentValues.
96 * If this method cannot parse given phoneticName, null values will be stored.
107 String given = null; local
117 given = strings[1];
122 given = strings[2];
132 item.setPhoneticGivenName(given);
137 * Constructs and returns a phonetic full name from given parts.
139 public static String buildPhoneticName(String family, String middle, String given) {
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PhonebookEntry.java 30 public String given; field in class:PhonebookEntry.Name
45 && (Objects.equals(given, n.given) || given != null && given.equals(n.given))
55 result = 23 * result + (given == null ? 0 : given.hashCode());
67 sb.append(" given: ");
68 sb.append(given);
    [all...]
  /toolchain/binutils/binutils-2.27/opcodes/
score7-dis.c 546 print_insn_score32 (bfd_vma pc, struct disassemble_info *info, long given)
554 if ((insn->mask & 0xffff0000) && (given & insn->mask) == insn->value)
570 target = (pc & 0xfe000000) | (given & 0x01fffffe);
578 int disp = ((given & 0x01ff8000) >> 5) | (given & 0x3fe);
617 reg = given >> bitstart;
627 reg = given >> bitstart;
637 reg = given >> bitstart;
642 if (((given & insn->mask) == 0x0c00000a) /* ldc1 */
643 || ((given & insn->mask) == 0x0c000012) /* ldc2 *
873 long given; local
    [all...]
score-dis.c 515 print_insn_score48 (struct disassemble_info *info, bfd_vma given)
524 if (((insn->mask & 0xff0000000000LL)!=0) && (given & insn->mask) == insn->value)
570 reg = given >> bitstart;
580 reg = given >> bitstart;
589 reg = given >> bitstart;
597 if (((given & insn->mask) == 0x0c00000a) /* ldc1 */
598 || ((given & insn->mask) == 0x0c000012) /* ldc2 */
599 || ((given & insn->mask) == 0x0c00001c) /* ldc3 */
600 || ((given & insn->mask) == 0x0c00000b) /* stc1 */
601 || ((given & insn->mask) == 0x0c000013) /* stc2 *
1044 bfd_vma given,given_h , given_l, given_16, given_32, given_48; local
    [all...]
arm-dis.c 6422 long given; local
    [all...]
  /external/python/cpython3/Lib/test/test_importlib/
test_util.py 215 given = self.return_module(name) variable in class:ModuleForLoaderTests.test_false_module.FalseModule
216 self.assertIs(given, module)
556 # Given the path to a .py file, return the path to its PEP 3147
579 # Given the path to a .py file, return the path to its PEP 3147/PEP 488
687 # Given the path to a PEP 3147 defined .pyc file, return the path to
  /packages/apps/Settings/src/com/android/settings/
Utils.java 181 * Returns the UserManager for a given context
314 final String given = getLocalProfileGivenName(context); local
315 return !TextUtils.isEmpty(given) ? given : getProfileDisplayName(context);
428 * Retrieves the id for the given user's managed profile.
636 * @throws SecurityException if the given userId does not belong to the
650 * @throws SecurityException if the given userId does not belong to the
668 * Returns the given user id if the current user is the system user.
676 throw new SecurityException("Given user id " + userId + " must only be used from "
681 * Returns the given user id if it belongs to the current user
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
ceval.c 3167 int j, given = 0; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
ceval.c 3152 int j, given = 0; local
    [all...]
  /external/python/cpython2/Python/
ceval.c 3484 int j, given = 0; local
    [all...]
  /external/curl/lib/
urldata.h 78 Symbian OS panics when given a timeout much greater than 1/2 hour.
145 /* Some convenience macros to get the larger/smaller value out of two given.
887 const struct Curl_handler *given; \/* The protocol first given *\/ member in struct:connectdata
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 4623 final String given = c.getString(RawContactNameQuery.GIVEN_NAME); local
    [all...]
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.29/
mockito-core-2.2.29.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.2.5/
mockito-core-2.2.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.1/
mockito-core-2.7.1.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/2.7.6/
mockito-core-2.7.6.jar 
  /external/robolectric/v1/lib/test/
mockito-core-1.8.5.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
mockito-core-1.10.19.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-all/1.9.5/
mockito-all-1.9.5.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.10.19/
mockito-core-1.10.19.jar 
  /prebuilts/tools/common/m2/repository/org/mockito/mockito-core/1.9.5/
mockito-core-1.9.5.jar 

Completed in 1105 milliseconds