/external/guava/src/com/google/common/collect/ |
D | ConcurrentHashMultiset.java | 181 @Override public int add(E element, int occurrences) { in add() argument 182 if (occurrences == 0) { in add() 185 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences); in add() 190 if (countMap.putIfAbsent(element, occurrences) == null) { in add() 194 checkArgument(occurrences <= Integer.MAX_VALUE - current, in add() 196 occurrences, current); in add() 197 int next = current + occurrences; in add() 216 @Override public int remove(@Nullable Object element, int occurrences) { in remove() argument 217 if (occurrences == 0) { in remove() 220 checkArgument(occurrences > 0, "Invalid occurrences: %s", occurrences); in remove() [all …]
|
D | AbstractMapBasedMultiset.java | 240 @Override public int add(@Nullable E element, int occurrences) { 241 if (occurrences == 0) { 245 occurrences > 0, "occurrences cannot be negative: %s", occurrences); 250 backingMap.put(element, new AtomicInteger(occurrences)); 253 long newCount = (long) oldCount + (long) occurrences; 256 frequency.getAndAdd(occurrences); 258 size += occurrences; 262 @Override public int remove(@Nullable Object element, int occurrences) { 263 if (occurrences == 0) { 267 occurrences > 0, "occurrences cannot be negative: %s", occurrences); [all …]
|
D | ForwardingMultiset.java | 45 public int add(E element, int occurrences) { in add() argument 46 return delegate().add(element, occurrences); in add() 49 public int remove(Object element, int occurrences) { in remove() argument 50 return delegate().remove(element, occurrences); in remove()
|
D | Multisets.java | 120 @Override public int remove(Object element, int occurrences) { in remove() argument 205 public int add(E element, int occurrences) { 209 public int remove(Object element, int occurrences) { 210 if (occurrences == 0) { 213 checkArgument(occurrences > 0);
|
D | Multiset.java | 117 int add(@Nullable E element, int occurrences); in add() argument 132 int remove(@Nullable Object element, int occurrences); in remove() argument
|
D | ImmutableMultiset.java | 209 public int add(E element, int occurrences) { in add() argument 218 public int remove(Object element, int occurrences) { in remove() argument 429 public Builder<E> addCopies(E element, int occurrences) { 430 contents.add(checkNotNull(element), occurrences);
|
D | AbstractMultiset.java | 136 public int add(E element, int occurrences) { in add() argument 144 public int remove(Object element, int occurrences) { in remove() argument
|
D | AbstractMultimap.java | 950 @Override public int remove(Object key, int occurrences) { in remove() argument 951 if (occurrences == 0) { in remove() 954 checkArgument(occurrences > 0); in remove() 970 if (occurrences >= count) { in remove() 975 for (int i = 0; i < occurrences; i++) { in remove() 979 totalSize -= occurrences; in remove()
|
D | LinkedListMultimap.java | 635 public int add(@Nullable K key, int occurrences) { 639 public int remove(@Nullable Object key, int occurrences) { 640 checkArgument(occurrences >= 0); 643 while ((occurrences-- > 0) && values.hasNext()) {
|
/external/chromium/third_party/icu/source/test/intltest/ |
D | ustrtest.cpp | 715 uint16_t occurrences = 0; in TestSearching() local 719 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 721 if (occurrences != 6) in TestSearching() 722 errln("indexOf failed: expected to find 6 occurrences, found " + occurrences); in TestSearching() 724 for ( occurrences = 0, startPos = 10; in TestSearching() 726 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 728 if (occurrences != 4) in TestSearching() 729 …errln("indexOf with starting offset failed: expected to find 4 occurrences, found " + occurrences); in TestSearching() 732 for ( occurrences = 0, startPos = 5; in TestSearching() 734 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching() [all …]
|
/external/icu4c/test/intltest/ |
D | ustrtest.cpp | 716 uint16_t occurrences = 0; in TestSearching() local 720 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 722 if (occurrences != 6) in TestSearching() 723 errln("indexOf failed: expected to find 6 occurrences, found " + occurrences); in TestSearching() 725 for ( occurrences = 0, startPos = 10; in TestSearching() 727 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 729 if (occurrences != 4) in TestSearching() 730 …errln("indexOf with starting offset failed: expected to find 4 occurrences, found " + occurrences); in TestSearching() 733 for ( occurrences = 0, startPos = 5; in TestSearching() 735 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching() [all …]
|
/external/elfutils/libelf-po/ |
D | insert-header.sin | 5 # occurrences, do nothing. The distinction between the first and the following 6 # occurrences is achieved by looking at the hold space. 20 # The hold space was nonempty. Following occurrences. Do nothing.
|
/external/elfutils/po/ |
D | insert-header.sin | 5 # occurrences, do nothing. The distinction between the first and the following 6 # occurrences is achieved by looking at the hold space. 20 # The hold space was nonempty. Following occurrences. Do nothing.
|
/external/e2fsprogs/po/ |
D | insert-header.sin | 5 # occurrences, do nothing. The distinction between the first and the following 6 # occurrences is achieved by looking at the hold space. 20 # The hold space was nonempty. Following occurrences. Do nothing.
|
D | remove-potcdate.sin | 4 # The distinction between the first and the following occurrences of the 16 # The hold space was nonempty. Following occurrences. Do nothing.
|
/external/icu4c/samples/strsrch/ |
D | readme.txt | 2 strsrch: a sample program which finds the occurrences of a pattern string in a source string, using… 6 Finding all occurrences of a pattern string in a given source string.
|
/external/bison/tests/ |
D | calc.at | 34 # some occurrences of `$1' etc. which will be interpreted by m4. So
|
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/ |
D | flex.man | 116 input for occurrences of the regular expressions. Whenever 684 deletes all occurrences of "zap me" from its input: 3287 two, or three occurrences of 'abc'", whereas flex 3289 three occurrences of 'c'". The latter is in agreement 3399 occurrences of these actions and failed to find any, but
|
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/texinfo/ |
D | flex.info | 179 analyzes its input for occurrences of the regular expressions. 652 which deletes all occurrences of "zap me" from its input: 2637 occurrences of 'abc'", whereas `flex' interprets it as "match 'ab' 2638 followed by one, two, or three occurrences of 'c'". The latter is 2720 looking for occurrences of these actions and failed to find any,
|
D | flex.texi | 258 analyzes its input for occurrences of the regular 784 program which deletes all occurrences of "zap me" from its 3126 one, two, or three occurrences of 'abc'", whereas 3128 two, or three occurrences of 'c'". The latter is 3231 looking for occurrences of these actions and failed to
|
/external/webkit/WebKitTools/android/flex-2.5.4a/ |
D | NEWS | 1169 for occurrences of the string "REJECT" to determine if the
|
/external/jpeg/ |
D | install.doc | 558 makefile.ansi, change all occurrences of 'libjpeg.a' to 'libjpeg.o' and
|
/external/bluetooth/glib/po/ |
D | it.po | 1595 # FIXME: all other occurrences are "symlink"
|
/external/webkit/WebCore/ |
D | ChangeLog | 454 - Search occurrences are implemented as artificial spans interweaving
|
/external/sqlite/dist/ |
D | sqlite3.h.orig | 2549 ** occurrences have the same index as the first occurrence.
|