/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ResultReceiver.java | 26 import java.util.Map; 38 Bundle map = getResultExtras(false); local 39 map.remove("remove"); 40 map.putString("bar", "them");
|
/libcore/luni/src/test/java/libcore/java/util/ |
WeakHashMapTest.java | 30 WeakHashMap<Data, String> map = new WeakHashMap<>(); local 32 map.put(data[i], ""); 34 map.replaceAll((k, v) -> k.value); 37 assertEquals(data[i].value, map.get(data[i])); 41 map.replaceAll(new java.util.function.BiFunction<Data, String, String>() { 44 map.put(new Data(), ""); 53 map.replaceAll(null); 58 map.clear(); 60 map.put(data[i], data[i].value); 63 map.replaceAll((k, v) -> null) [all...] |
/test/vts-testcase/kernel/linux_kselftest/ |
kselftest_config.py | 34 KSFT_CASES_PRESUBMIT = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [ 37 KSFT_CASES_STABLE = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [ 77 KSFT_CASES_STAGING = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
|
/cts/tests/tests/content/src/android/content/cts/ |
MockReceiver.java | 40 Bundle map = getResultExtras(false); local 41 map.remove(RESULT_EXTRAS_REMOVE_KEY); 42 map.putString(RESULT_EXTRAS_ADD_KEY, RESULT_EXTRAS_ADD_VALUE); 43 setResult(RESULT_CODE, RESULT_DATA, map);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Main/Arm/ |
flt_rounds.c | 42 static const int map[] = {
variable 59 * index our map table and return the appropriate value.
80 //return(map[fpgetround()]);
|
/external/clang/test/OpenMP/ |
target_enter_data_depend_messages.cpp | 25 #pragma omp target enter data map(to: i) depend // expected-error {{expected '(' after 'depend'}} 27 #pragma omp target enter data map(to: i) depend ( // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-error {{expected ')'}} expected-note {{to match this '('}} expected-warning {{missing ':' after dependency type - ignoring}} 29 #pragma omp target enter data map(to: i) depend () // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-warning {{missing ':' after dependency type - ignoring}} 31 #pragma omp target enter data map(to: i) depend (argc // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-warning {{missing ':' after dependency type - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 33 #pragma omp target enter data map(to: i) depend (source : argc) // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} 35 #pragma omp target enter data map(to: i) depend (source) // expected-error {{expected expression}} expected-warning {{missing ':' after dependency type - ignoring}} 37 #pragma omp target enter data map(to: i) depend (in : argc)) // expected-warning {{extra tokens at the end of '#pragma omp target enter data' are ignored}} 39 #pragma omp target enter data map(to: i) depend (out: ) // expected-error {{expected expression}} 41 #pragma omp target enter data map(to: i) depend (inout : foobool(argc)), depend (in, argc) // expected-error {{expected variable name, array element or array section}} expected-warning {{missing ':' after dependency type - ignoring}} expected-error {{expected expression}} 43 #pragma omp target enter data map(to: i) depend (out :S1) // expected-error {{'S1' does not refer to a value} [all...] |
target_exit_data_depend_messages.cpp | 25 #pragma omp target exit data map(from: i) depend // expected-error {{expected '(' after 'depend'}} 27 #pragma omp target exit data map(from: i) depend ( // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-error {{expected ')'}} expected-note {{to match this '('}} expected-warning {{missing ':' after dependency type - ignoring}} 29 #pragma omp target exit data map(from: i) depend () // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-warning {{missing ':' after dependency type - ignoring}} 31 #pragma omp target exit data map(from: i) depend (argc // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} expected-warning {{missing ':' after dependency type - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 33 #pragma omp target exit data map(from: i) depend (source : argc) // expected-error {{expected 'in', 'out' or 'inout' in OpenMP clause 'depend'}} 35 #pragma omp target exit data map(from: i) depend (source) // expected-error {{expected expression}} expected-warning {{missing ':' after dependency type - ignoring}} 37 #pragma omp target exit data map(from: i) depend (in : argc)) // expected-warning {{extra tokens at the end of '#pragma omp target exit data' are ignored}} 39 #pragma omp target exit data map(from: i) depend (out: ) // expected-error {{expected expression}} 41 #pragma omp target exit data map(from: i) depend (inout : foobool(argc)), depend (in, argc) // expected-error {{expected variable name, array element or array section}} expected-warning {{missing ':' after dependency type - ignoring}} expected-error {{expected expression}} 43 #pragma omp target exit data map(from: i) depend (out :S1) // expected-error {{'S1' does not refer to a value} [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EnumBiMap.java | 25 import java.util.Map; 58 * Returns a new bimap with the same mappings as the specified map. If the 59 * specified map is an {@code EnumBiMap}, the new bimap has the same types as 60 * the provided map. Otherwise, the specified map must contain at least one 63 * @param map the map whose mappings are to be placed in this map 64 * @throws IllegalArgumentException if map is not an {@code EnumBiMap} 68 create(Map<K, V> map) [all...] |
/external/junit-params/src/test/java/junitparams/usage/person_example/ |
PersonMapper.java | 11 public Object[] map(Reader reader) { method in class:PersonMapper 12 Object[] map = super.map(reader); local 14 for (Object lineObj : map) {
|
/external/libcxx/test/std/containers/associative/multimap/multimap.ops/ |
count1.fail.cpp | 10 // <map> 22 #include <map>
|
count2.fail.cpp | 10 // <map> 22 #include <map>
|
count3.fail.cpp | 10 // <map> 22 #include <map>
|
equal_range1.fail.cpp | 10 // <map> 22 #include <map>
|
equal_range2.fail.cpp | 10 // <map> 22 #include <map>
|
equal_range3.fail.cpp | 10 // <map> 22 #include <map>
|
find1.fail.cpp | 10 // <map> 22 #include <map>
|
find2.fail.cpp | 10 // <map> 12 // class map 22 #include <map>
|
find3.fail.cpp | 10 // <map> 22 #include <map>
|
lower_bound1.fail.cpp | 10 // <map> 22 #include <map>
|
lower_bound2.fail.cpp | 10 // <map> 22 #include <map>
|
lower_bound3.fail.cpp | 10 // <map> 22 #include <map>
|
upper_bound1.fail.cpp | 10 // <map> 22 #include <map>
|
upper_bound2.fail.cpp | 10 // <map> 22 #include <map>
|
upper_bound3.fail.cpp | 10 // <map> 22 #include <map>
|
/external/libcxx/test/std/containers/unord/unord.map/ |
compare.pass.cpp | 41 MapT map; local 42 Iter it = map.find(Key(0)); 43 assert(it == map.end()); 44 std::pair<Iter, bool> result = map.insert(std::make_pair(Key(0), 42));
|