| /external/rust/crates/predicates/src/ |
| D | boolean.rs | 1 // Copyright (c) 2018 The predicates-rs Project Developers. 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // http://www.apache.org/license/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your 21 pub struct AndPredicate<M1, M2, Item> 23 M1: Predicate<Item>, 24 M2: Predicate<Item>, 25 Item: ?Sized, 29 _phantom: PhantomData<Item>, 32 unsafe impl<M1, M2, Item> Send for AndPredicate<M1, M2, Item> [all …]
|
| /external/python/cpython2/PC/VS7.1/ |
| D | python20.wse | 2 item: Global 23 EXE Filename=Python-2.4a1.exe 27 Version Copyright=�2001-2007 Python Software Foundation 77 item: Set Variable 81 item: Remark 83 item: Remark 86 item: Remark 89 item: Remark 92 item: Remark 95 item: Remark [all …]
|
| /external/autotest/frontend/client/src/autotest/common/ui/ |
| D | MultiListSelectPresenter.java | 46 * The given generated Item was just deselected; handle any necessary cleanup. 48 public void onRemoveGeneratedItem(Item generatedItem); in onRemoveGeneratedItem() 51 public static class Item implements Comparable<Item> { class in MultiListSelectPresenter 54 // a generated item is destroyed when deselected. 59 private Item(String name, String value) { in Item() method in MultiListSelectPresenter.Item 64 public static Item createItem(String name, String value) { in createItem() 65 return new Item(name, value); in createItem() 68 public static Item createGeneratedItem(String name, String value) { in createGeneratedItem() 69 Item item = new Item(name, value); in createGeneratedItem() local 70 item.isGeneratedItem = true; in createGeneratedItem() [all …]
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
| D | VariantFolder.java | 19 new SetMaker() { 20 Comparator c = new UTF16.StringComparator(true, false, 0); 22 new Comparator() { 30 return casefold1 ? -1 : 1; 37 return canonical1 ? -1 : 1; 42 return len1 - len2; 50 return new TreeSet(bestIsLowest); 53 public static final UnicodeSet NORMAL_CHARS = new UnicodeSet("[^[:c:]]"); 68 * @param item 71 Set<String> getAlternates(String item, Set<String> output); in getAlternates() argument [all …]
|
| D | CollationMapMaker.java | 3 * Copyright (c) 2006-2007, Google and others. All Rights Reserved. 58 if ((result = n1 - n2) != 0) { in compare() 63 result = UTF16.countCodePoint(s2) - UTF16.countCodePoint(s1); in compare() 65 if (s1.length() == 0) return -1; in compare() 80 private UnicodeMap m = new UnicodeMap(); 89 throw new InternalError("Clone problem"); in clone() 118 for (UnicodeSetIterator i = new UnicodeSetIterator(m.keySet()); i.next(); ) { in minimalize() 134 UnicodeMap newMap = new UnicodeMap(); in fixNeeded() 137 for (UnicodeSetIterator i = new UnicodeSetIterator(values); i.next(); ) { in fixNeeded() 144 System.out.println("->\t" + result); in fixNeeded() [all …]
|
| D | MatchValue.java | 40 public abstract boolean is(String item); in is() argument 104 throw new IllegalArgumentException( in of() 109 "Non-standard form or error: " + originalArg + " ==> " + result.getName()); in of() 113 throw new IllegalArgumentException("Problem with: " + originalArg, e); in of() 117 /** Check that a bcp47 locale ID is well-formed. Does not check validity. */ 119 static final UnicodeSet basechars = new UnicodeSet("[A-Za-z0-9_]"); 125 return "validity/bcp47-wellformed"; in getName() 129 public boolean is(String item) { in is() argument 130 if (item.equals("und")) return true; // special case because of the matcher in is() 131 if (item.contains("_")) return false; // reject any underscores in is() [all …]
|
| D | Pick.java | 3 * Copyright (C) 2002-2012, International Business Machines Corporation and * 34 Target result = new Target(); in make() 73 if (codepoint == '-') { in append() 81 if (s.contains("-")) { in append() 100 throw new DepthExceededException(this, pick); in enterStack() 109 Replacer visitor = new Replacer(toReplace, replacement); in replace() 119 return new Sequence(); in makeSequence() 123 return new Alternation(); in makeAlternation() 126 static public Pick.Sequence and(Object item) { 127 return new Sequence().and2(item); [all …]
|
| /external/emma/core/java12/com/vladium/emma/report/html/ |
| D | ReportGenerator.java | 5 * and is available at http://www.eclipse.org/legal/cpl-v10.html 53 // ---------------------------------------------------------------------------- 68 m_fieldPosition = new FieldPosition (DecimalFormat.INTEGER_FIELD); in ReportGenerator() 91 …if ((outDir == null) /* this should never happen */ || (outDir.equals (new File (Property.getSyste… in process() 93 outDir = new File ("coverage"); in process() 103 m_queue = new LinkedList (); in process() 104 m_reportIDNamespace = new IDGenerator (mdata.size ()); in process() 120 … m_log.trace1 ("process", "[" + getType () + "] report generated in " + (end - start) + " ms"); in process() 135 public Object visit (final AllItem item, final Object ctx) in visit() argument 143 outFile = new File ("index".concat (FILE_EXTENSION)); in visit() [all …]
|
| /external/rust/crates/futures-util/src/sink/ |
| D | mod.rs | 5 //! - The [`Sink`] trait, which allows you to asynchronously write data. 6 //! - The [`SinkExt`] trait, which provides adapters for chaining and composing 61 impl<T: ?Sized, Item> SinkExt<Item> for T where T: Sink<Item> {} 65 pub trait SinkExt<Item>: Sink<Item> { 68 /// This adapter produces a new sink that passes each value through the 73 /// future produces an error, that error is returned by the new sink. 77 fn with<U, Fut, F, E>(self, f: F) -> With<Self, Item, U, Fut, F> in with() argument 79 F: FnMut(U) -> Fut, in with() 80 Fut: Future<Output = Result<Item, E>>, in with() 84 assert_sink::<U, E, _>(With::new(self, f)) in with() [all …]
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/ |
| D | DynamoDbTable.java | 65 … * Creates a new table in DynamoDb with the name and schema already defined for this DynamoDbTable 70 …* This operation calls the low-level DynamoDB API CreateTable operation. Note that this is an asyn… 86 * dynamoDbClient.waiter().waitUntilTableExists(b -> b.tableName(tableName)); 93 throw new UnsupportedOperationException(); in createTable() 97 … * Creates a new table in DynamoDb with the name and schema already defined for this DynamoDbTable 102 …* This operation calls the low-level DynamoDB API CreateTable operation. Note that this is an asyn… 117 * mappedTable.createTable(r -> r.provisionedThroughput(provisionedThroughput)); 118 * dynamoDbClient.waiter().waitUntilTableExists(b -> b.tableName(tableName)); 126 throw new UnsupportedOperationException(); in createTable() 130 … * Creates a new table in DynamoDb with the name and schema already defined for this DynamoDbTable. [all …]
|
| D | DynamoDbAsyncTable.java | 65 … * Creates a new table in DynamoDb with the name and schema already defined for this DynamoDbTable 70 …* This operation calls the low-level DynamoDB API CreateTable operation. Note that this is an asyn… 86 * asyncClient.waiter().waitUntilTableExists(b -> b.tableName(tableName)).join(); 94 throw new UnsupportedOperationException(); in createTable() 98 … * Creates a new table in DynamoDb with the name and schema already defined for this DynamoDbTable 103 …* This operation calls the low-level DynamoDB API CreateTable operation. Note that this is an asyn… 118 * mappedTable.createTable(r -> r.provisionedThroughput(provisionedThroughput)).join(); 119 * asyncClient.waiter().waitUntilTableExists(b -> b.tableName(tableName)).join(); 128 throw new UnsupportedOperationException(); in createTable() 132 … * Creates a new table in DynamoDb with the name and schema already defined for this DynamoDbTable. [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/doc/reference/ |
| D | search.js | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 35 function getHighlightedText(item) { argument 36 var ccMatcher = new RegExp(camelCaseRegexp); 37 var label = item.replace(ccMatcher, highlight); 38 if (label === item) { 39 label = item.replace(secondaryMatcher, highlight); 47 if (ui.item.category === catModules) { 48 return ui.item.l + slash; 49 } else if (ui.item.category === catPackages && ui.item.m) { 50 return ui.item.m + slash; [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/doc/reference/ |
| D | search.js | 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 35 function getHighlightedText(item) { argument 36 var ccMatcher = new RegExp(camelCaseRegexp); 37 var label = item.replace(ccMatcher, highlight); 38 if (label === item) { 39 label = item.replace(secondaryMatcher, highlight); 47 if (ui.item.category === catModules) { 48 return ui.item.l + slash; 49 } else if (ui.item.category === catPackages && ui.item.m) { 50 return ui.item.m + slash; [all …]
|
| /external/rust/crates/rayon/src/iter/ |
| D | chain.rs | 17 B: ParallelIterator<Item = A::Item>, 26 B: ParallelIterator<Item = A::Item>, 28 /// Creates a new `Chain` iterator. 29 pub(super) fn new(a: A, b: B) -> Self { in new() function 37 B: ParallelIterator<Item = A::Item>, 39 type Item = A::Item; typedef 41 fn drive_unindexed<C>(self, consumer: C) -> C::Result in drive_unindexed() 43 C: UnindexedConsumer<Self::Item>, in drive_unindexed() argument 50 // truly-unindexed consumers too. in drive_unindexed() 62 fn opt_len(&self) -> Option<usize> { in opt_len() [all …]
|
| D | map_with.rs | 16 item: T, field 21 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 24 .field("item", &self.item) in fmt() 33 /// Creates a new `MapWith` iterator. 34 pub(super) fn new(base: I, item: T, map_op: F) -> Self { in new() function 35 MapWith { base, item, map_op } in new() 43 F: Fn(&mut T, I::Item) -> R + Sync + Send, 46 type Item = R; typedef 48 fn drive_unindexed<C>(self, consumer: C) -> C::Result in drive_unindexed() 50 C: UnindexedConsumer<Self::Item>, in drive_unindexed() argument [all …]
|
| /external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/ |
| D | VersionedRecordTest.java | 92 .newItemSupplier(Record::new) 93 .addAttribute(String.class, a -> a.name("id") 97 .addAttribute(String.class, a -> a.name("attribute") 100 .addAttribute(Integer.class, a -> a.name("version") 111 …private DynamoDbTable<Record> mappedTable = enhancedClient.table(getConcreteTableName("table-name"… 118 mappedTable.createTable(r -> r.provisionedThroughput(getDefaultProvisionedThroughput())); in createTable() 124 … .tableName(getConcreteTableName("table-name")) in deleteTable() 130 mappedTable.putItem(r -> r.item(new Record().setId("id").setAttribute("one"))); in putNewRecordSetsInitialVersion() 132 Record result = mappedTable.getItem(r -> r.key(k -> k.partitionValue("id"))); in putNewRecordSetsInitialVersion() 133 Record expectedResult = new Record().setId("id").setAttribute("one").setVersion(1); in putNewRecordSetsInitialVersion() [all …]
|
| /external/nullaway/nullaway/src/test/java/com/uber/nullaway/ |
| D | NullAwayEnsuresNonNullTests.java | 16 " @Nullable Item nullableItem;", in requiresNonNullInterpretation() 31 "Item.java", "package com.uber;", "class Item {", " public void call() { }", "}") in requiresNonNullInterpretation() 49 " @Nullable static Item nullableItem;", in requiresEnsuresNonNullStaticFields() 66 " nullableItem = new Item();", in requiresEnsuresNonNullStaticFields() 70 "Item.java", "package com.uber;", "class Item {", " public void call() { }", "}") in requiresEnsuresNonNullStaticFields() 83 " @Nullable Item a;", in supportRequiresNonNullOverridingTest() 109 " @Nullable Item b;", in supportRequiresNonNullOverridingTest() 132 "Item.java", "package com.uber;", "class Item {", " public void call() { }", "}") in supportRequiresNonNullOverridingTest() 145 " @Nullable Item nullItem;", in ensuresNonNullInterpretation() 146 " Foo foo = new Foo();", in ensuresNonNullInterpretation() [all …]
|
| /external/jackson-databind/src/test/java/perf/ |
| D | ManualWritePerfWithAllTypes.java | 10 /* Test modified from json-parsers-benchmark, to be able to profile 25 JsonMapper m = new JsonMapper(); in main() 28 new ManualWritePerfWithAllTypes().test(m, in main() 29 "AllTypes/small-1", input1, AllTypes.class, in main() 30 "AllTypes/small-2", input2, AllTypes.class); in main() 36 final NopOutputStream out = new NopOutputStream(); in testSer() 40 while (--REPS >= 0) { in testSer() 44 long nanos = System.nanoTime() - start; in testSer() 78 public long someDate = new Date().getTime (); 82 public List<AllTypes> allTypes = new ArrayList<AllTypes>(); [all …]
|
| /external/rust/crates/futures-util/src/stream/stream/ |
| D | flatten_unordered.rs | 58 /// Constructs new `SharedPollState` with the given state. 59 fn new(value: u8) -> SharedPollState { in new() method 60 SharedPollState { state: Arc::new(AtomicU8::new(value)) } in new() 67 ) -> Option<(u8, PollStateBomb<'_, impl FnOnce(&SharedPollState) -> u8>)> { in start_polling() 78 let bomb = PollStateBomb::new(self, SharedPollState::reset); in start_polling() 90 ) -> Option<(u8, PollStateBomb<'_, impl FnOnce(&SharedPollState) -> u8>)> { in start_waking() 109 let bomb = PollStateBomb::new(self, SharedPollState::stop_waking); in start_waking() 118 /// - `!POLLING` allowing to use wakers 119 /// - `WOKEN` if the state was changed during `POLLING` phase as waker will be called, 121 /// - `!WAKING` as [all …]
|
| /external/rust/crates/sharded-slab/src/tests/ |
| D | loom_pool.rs | 32 fn eq(&self, other: &State) -> bool { in eq() 41 fn eq(&self, other: &DontDropMe) -> bool { in eq() 47 fn new(id: usize) -> (Arc<State>, Self) { in new() method 48 let state = Arc::new(State { in new() 49 is_dropped: AtomicBool::new(false), in new() 50 is_cleared: AtomicBool::new(false), in new() 59 test_println!("-> DontDropMe drop: dropping data {:?}", self.0.id); in drop() 66 test_println!("-> DontDropMe clear: clearing data {:?}", self.0.id); in clear() 74 let pool: Pool<DontDropMe> = Pool::new(); in dont_drop() 75 let (item1, value) = DontDropMe::new(1); in dont_drop() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/ |
| D | playlists.md | 1 --- 3 --- 22 {: .language-java} 37 // Adds a media item at position 1 in the playlist. 39 // Moves the third media item from position 2 to the start of the playlist. 41 // Removes the first item from the playlist. 44 {: .language-java} 49 // Replaces the playlist with a new one. 57 {: .language-java} 60 way. For example if the currently playing media item is moved, playback is not [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/ |
| D | playlists.md | 1 --- 3 --- 22 {: .language-java} 37 // Adds a media item at position 1 in the playlist. 39 // Moves the third media item from position 2 to the start of the playlist. 41 // Removes the first item from the playlist. 44 {: .language-java} 49 // Replaces the playlist with a new one. 57 {: .language-java} 60 way. For example if the currently playing media item is moved, playback is not [all …]
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/ |
| D | Typology.java | 25 Collections.unmodifiableSet(new HashSet<>(Arrays.asList("NOLABEL"))); 26 public static final UnicodeSet SKIP = new UnicodeSet("[[:C:]-[:Cf:]-[:Cc:]]").freeze(); 27 // static UnicodeMap<String> reasons = new UnicodeMap<String>(); 28 public static Map<String, UnicodeSet> label_to_uset = new TreeMap<>(); 29 public static UnicodeMap<Set<String>> char2labels = new UnicodeMap<>(); 31 // label_to_uset.put("S", new UnicodeSet("[:S:]").freeze()); 32 // label_to_uset.put("L", new UnicodeSet("[:L:]").freeze()); 33 // label_to_uset.put("M", new UnicodeSet("[:M:]").freeze()); 34 // label_to_uset.put("N", new UnicodeSet("[:N:]").freeze()); 35 // label_to_uset.put("C", new UnicodeSet("[:C:]").freeze()); [all …]
|
| /external/emma/core/java12/com/vladium/emma/report/txt/ |
| D | ReportGenerator.java | 5 * and is available at http://www.eclipse.org/legal/cpl-v10.html 41 // ---------------------------------------------------------------------------- 72 m_queue = new LinkedList (); in process() 88 … m_log.trace1 ("process", "[" + getType () + "] report generated in " + (end - start) + " ms"); in process() 103 public Object visit (final AllItem item, final Object ctx) in visit() argument 108 outFile = new File ("coverage.txt"); in visit() 121 final StringBuffer label = new StringBuffer (101); in visit() 127 label.append (new Date (EMMAProperties.getTimeStamp ())); in visit() 137 throw new EMMARuntimeException (IAppErrorCodes.REPORT_IO_FAILURE, ioe); in visit() 148 addHeaderRow (item, columns); in visit() [all …]
|
| /external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
| D | LanguageInfoTest.java | 20 static Map<ULocale, ULocale> FALLBACKS = new LinkedHashMap<>(); 28 // for (R4<String, String, Integer, Boolean> item : languageData) { 29 // data.addDistance(item.get0().replace('_', '-'), item.get1() 30 // .replace('_', '-'), item.get2(), item.get3()); 31 // logln(item.get0() + "\t" + getName(item.get0()) + "\t" 32 // + item.get1() + "\t" + getName(item.get1()) + "\t" 33 // + item.get2() + "\t" + item.get3()); 34 // if (item.get2() == 10) { 35 // FALLBACKS.put(new ULocale(item.get0()), 36 // new ULocale(item.get1())); [all …]
|