Searched defs:or (Results 1 - 25 of 124) sorted by relevance

12345

/external/guice/core/src/com/google/inject/matcher/
H A DMatcher.java10 * Unless required by applicable law or agreed to in writing, software
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 * Returns {@code true} or {@code false} for a given input.
38 * Returns a new matcher which returns {@code true} if either this or the
41 Matcher<T> or(Matcher<? super T> other); method in interface:Matcher
H A DAbstractMatcher.java10 * Unless required by applicable law or agreed to in writing, software
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * Implements {@code and()} and {@code or()}.
32 public Matcher<T> or(Matcher<? super T> other) { method in class:AbstractMatcher
88 return "or(" + a + ", " + b + ")";
/external/toybox/toys/posix/
H A Drm.c28 int dir = S_ISDIR(try->st.st_mode), or = 0, using = 0; local
37 // This is either the posix section 2(b) prompt or the section 3 prompt.
39 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++;
40 if (!(dir && try->again) && ((or && isatty(0)) || (flags & FLAG_i))) {
43 fprintf(stderr, "rm %s%s%s", or ? "ro " : "", dir ? "dir " : "", s);
45 or = yesno(0);
46 if (!or) goto nodelete;
65 or = yesno(0);
66 if (!or) goto nodelete;
94 // unlink now to see if it succeeds or report
[all...]
/external/mesa3d/src/compiler/
H A DAndroid.glsl.gen.mk10 # and/or sell copies of the Software, and to permit persons to whom the
14 # in all copies or substantial portions of the Software.
54 define local-l-or-ll-to-c-or-cpp
81 $(call local-l-or-ll-to-c-or-cpp)
89 $(call local-l-or-ll-to-c-or-cpp)
/external/annotation-tools/scene-lib/src/annotations/io/
H A DDebugWriter.java13 public DebugWriter or(final DebugWriter other) { method in class:DebugWriter
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DBitSet.as6 Redistribution and use in source and binary forms, with or without
13 documentation and/or other materials provided with the distribution.
14 3. The name of the author may not be used to endorse or promote products
70 public function or(a:BitSet):BitSet { function
79 /** or this element into this set (grow as necessary to accommodate) */
/external/clang/lib/Headers/
H A Diso646.h8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 * all copies or substantial portions of the Software.
37 #define or || macro
/external/llvm/test/MC/X86/
H A Dintel-syntax-ambiguous.s23 or [eax], 1 label
24 // CHECK: error: ambiguous operand size for instruction 'or'
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DLookaheadSet.java6 * Redistribution and use in source and binary forms, with or without
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
64 public LookaheadSet or(LookaheadSet other) { method in class:LookaheadSet
65 return new LookaheadSet(tokenTypeSet.or(other.tokenTypeSet));
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
H A DCombinableMatcher.java34 public CombinableMatcher<T> or(Matcher<? super T> other) { method in class:CombinableMatcher
67 * <pre>assertThat("fan", either(containsString("a")).or(containsString("b")))</pre>
78 public CombinableMatcher<X> or(Matcher<? super X> other) { method in class:CombinableMatcher.CombinableEitherMatcher
79 return new CombinableMatcher<X>(first).or(other);
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DBitSet.pm95 sub or : method { ## no critic (Subroutines::ProhibitBuiltinHomonyms) subroutine
278 =item C<or>
306 These normally consist of either subroutines that may be exported, or methods
319 problem, one or more likely causes, and any suggested remedies.
327 meaning of any environment variables or properties that can be set. These
337 or must be installed separately.
343 This may be due to name conflicts in the interface, or competition for
344 system or program resources, or due to internal limitations of Perl
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DIntSet.java6 * Redistribution and use in source and binary forms, with or without
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
36 * are small, for example less than 500 or so, and w/o many ranges. For
59 IntSet or(IntSet a); method in interface:IntSet
H A DIntervalSet.java6 * Redistribution and use in source and binary forms, with or without
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
60 intervals = new ArrayList<Interval>(2); // most sets are 1 or 2 elements
121 // if we bump up against or overlap next, merge
166 // if we bump up against or overlap next, merge
209 /** Given the set of possible values (rather than, say UNICODE or MAXINT),
213 * 'this' is assumed to be either a subset or equal to vocabulary.
390 public IntSet or(IntSet a) { method in class:IntervalSet
/external/guava/guava/src/com/google/common/base/
H A DAbsent.java10 * Unless required by applicable law or agreed to in writing, software
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
50 @Override public T or(T defaultValue) { method in class:Absent
51 return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
55 @Override public Optional<T> or(Optional<? extends T> secondChoice) { method in class:Absent
59 @Override public T or(Supplier<? extends T> supplier) { method in class:Absent
H A DOptional.java10 * Unless required by applicable law or agreed to in writing, software
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32 * instance of this type either contains a non-null reference, or contains nothing (in
54 * <p>A common alternative to using this class is to find or create a suitable
58 * <p>This class is not intended as a direct analogue of any existing "option" or "maybe"
107 * absent, use {@link #or(Object)} or {@link #orNull} instead.
119 * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly
120 * restrictive. However, the ideal signature, {@code public <S super T> S or(S)}, is not legal
125 * Number value = optionalInt.or(0.
143 public abstract T or(T defaultValue); method in class:Optional
149 public abstract Optional<T> or(Optional<? extends T> secondChoice); method in class:Optional
158 public abstract T or(Supplier<? extends T> supplier); method in class:Optional
[all...]
H A DPresent.java10 * Unless required by applicable law or agreed to in writing, software
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
47 @Override public T or(T defaultValue) { method in class:Present
48 checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
52 @Override public Optional<T> or(Optional<? extends T> secondChoice) { method in class:Present
57 @Override public T or(Supplier<? extends T> supplier) { method in class:Present
/external/guava/guava-gwt/src/com/google/common/base/
H A DGwtSerializationDependencies.java10 * Unless required by applicable law or agreed to in writing, software
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
53 @Override public T or(T defaultValue) { method in class:GwtSerializationDependencies.OptionalDependencies
57 @Override public Optional<T> or(Optional<? extends T> secondChoice) { method in class:GwtSerializationDependencies.OptionalDependencies
61 @Override public T or(Supplier<? extends T> supplier) { method in class:GwtSerializationDependencies.OptionalDependencies
/external/guava/guava-tests/test/com/google/common/base/
H A DBenchmarkHelpers.java9 * Unless required by applicable law or agreed to in writing, software distributed under the License
11 * or implied. See the License for the specific language governing permissions and limitations under
64 HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"), enum constant in enum:BenchmarkHelpers.SampleMatcherConfig
66 .or(CharMatcher.inRange('A', 'F')).or(CharMatcher.inRange('a', 'f')), enum constant in enum:BenchmarkHelpers.SampleMatcherConfig
69 .or(CharMatcher.inRange('A', 'Z')).or(CharMatcher.anyOf("äöüßÄÖÜ")), enum constant in enum:BenchmarkHelpers.SampleMatcherConfig
/external/libbackup/src/com/google/android/libraries/backup/
H A DBackupKeyPredicates.java21 * valid. You must ensure that proguard does not remove your annotation or any fields annotated
36 * or any fields annotated with it.
47 return or(patternPredicates);
114 public static BackupKeyPredicate or(Iterable<BackupKeyPredicate> predicates) { method in class:BackupKeyPredicates
128 public static BackupKeyPredicate or(BackupKeyPredicate... predicates) { method in class:BackupKeyPredicates
/external/libdrm/freedreno/
H A Dfreedreno_ringbuffer.h10 * and/or sell copies of the Software, and to permit persons to whom the
14 * paragraph) shall be included in all copies or substantial portions of the
79 uint32_t or; member in struct:fd_reloc
/external/mockito/src/main/java/org/mockito/
H A DAdditionalMatchers.java26 * Example of using logical and(), not(), or() matchers:
35 * //1 or 10
36 * mock.someMethod(or(eq(1), eq(10)));
45 * argument greater than or equal the given value.
59 * byte argument greater than or equal to the given value.
73 * double argument greater than or equal to the given value.
87 * float argument greater than or equal to the given value.
101 * int argument greater than or equal to the given value.
115 * long argument greater than or equal to the given value.
129 * short argument greater than or equa
758 public static boolean or(boolean first, boolean second) { method in class:AdditionalMatchers
776 public static <T> T or(T first, T second) { method in class:AdditionalMatchers
792 public static short or(short first, short second) { method in class:AdditionalMatchers
808 public static long or(long first, long second) { method in class:AdditionalMatchers
824 public static int or(int first, int second) { method in class:AdditionalMatchers
840 public static float or(float first, float second) { method in class:AdditionalMatchers
856 public static double or(double first, double second) { method in class:AdditionalMatchers
872 public static char or(char first, char second) { method in class:AdditionalMatchers
888 public static byte or(byte first, byte second) { method in class:AdditionalMatchers
[all...]
/external/iproute2/tc/
H A Df_flow.c4 * This program is free software; you can redistribute it and/or
7 * 2 of the License, or (at your option) any later version.
37 "OPS := [ or NUM | and NUM | xor NUM | rshift NUM | addend NUM ]\n"
170 } else if (matches(*argv, "or") == 0) {
173 fprintf(stderr, "Illegal \"or\"\n");
315 __u32 or = (mask & val) ^ val; local
322 if (or != 0)
323 fprintf(f, "or 0x%.8x ", or);
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
H A DAssignExpr.java9 * the Free Software Foundation, either version 3 of the License, or
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 or, // |= enum constant in enum:AssignExpr.Operator
H A DBinaryExpr.java9 * the Free Software Foundation, either version 3 of the License, or
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 or, // || enum constant in enum:BinaryExpr.Operator
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
H A DAssignExpr.java9 * the Free Software Foundation, either version 3 of the License, or
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39 or, // |= enum constant in enum:AssignExpr.Operator

Completed in 655 milliseconds

12345