/external/apache-xml/src/main/java/org/apache/xpath/operations/ |
Or.java | 3 * or more contributor license agreements. See the NOTICE file 12 * Unless required by applicable law or agreed to in writing, software 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 * $Id: Or.java 468655 2006-10-28 07:12:06Z minchau $ 28 * The 'or' operation expression executer. 30 public class Or extends Operation 35 * OR two expressions and return the boolean result. Override 40 * @return {@link org.apache.xpath.objects.XBoolean#S_TRUE} or
|
/external/clang/test/SemaCXX/ |
generic-selection.cpp | 30 template <unsigned Arg, unsigned... Args> struct Or { 31 enum { result = Arg | Or<Args...>::result }; 34 template <unsigned Arg> struct Or<Arg> { 40 result = Or<_Generic(Args(), int: 1, long: 2, short: 4, float: 8)...>::result
|
/external/easymock/src/org/easymock/internal/matchers/ |
Or.java | 10 * Unless required by applicable law or agreed to in writing, software
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 public class Or implements IArgumentMatcher, Serializable {
30 public Or(List<IArgumentMatcher> matchers) {
44 buffer.append("or(");
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
Or.java | 13 public class Or implements ArgumentMatcher<Object>, Serializable { 17 public Or(ArgumentMatcher<?> m1, ArgumentMatcher<?> m2) { 27 return "or("+m1+", "+m2+")";
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
BitSet.cs | 10 * Redistribution and use in source and binary forms, with or without 17 * documentation and/or other materials provided with the distribution. 18 * 3. The name of the author may not be used to endorse or promote products 21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE O [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
BitSet.cs | 10 * Redistribution and use in source and binary forms, with or without 17 * documentation and/or other materials provided with the distribution. 18 * 3. The name of the author may not be used to endorse or promote products 21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE O [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
ThreadSafetyLogical.h | 27 Or, 76 class Or : public BinOp { 78 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::Or) {} 80 static bool classof(const LExpr *E) { return E->kind() == LExpr::Or; }
|
/external/skia/src/core/ |
SkRecordPattern.h | 70 // Abstracts away whether the paint is always part of the command or optional. 84 // Matches if any of First or Rest... does. Stores nothing. 86 struct Or { 88 bool operator()(T* ptr) { return First()(ptr) || Or<Rest...>()(ptr); } 91 struct Or<First> { 97 // Greedy is a special matcher that greedily matches Matcher 0 or more times. Stores nothing.
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
bv.go | 128 func (dst bvec) Or(src1, src2 bvec) {
|
mpint.go | 153 func (a *Mpint) Or(b *Mpint) { 156 yyerror("ovf in Mpint Or") 162 a.Val.Or(&a.Val, &b.Val)
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
bv.go | 128 func (dst bvec) Or(src1, src2 bvec) {
|
mpint.go | 153 func (a *Mpint) Or(b *Mpint) { 156 yyerror("ovf in Mpint Or") 162 a.Val.Or(&a.Val, &b.Val)
|
/art/test/427-bitwise/src/ |
Main.java | 10 * Unless required by applicable law or agreed to in writing, software 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 111 expectEquals(7, $opt$Or(5, 3)); 112 expectEquals(0, $opt$Or(0, 0)); 113 expectEquals(3, $opt$Or(0, 3)); 114 expectEquals(3, $opt$Or(3, 0)); 115 expectEquals(-3, $opt$Or(1, -3)); 116 expectEquals(-3, $opt$Or(-12, -3)); 130 expectEquals(7L, $opt$Or(5L, 3L)) [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
BoundsChecking.cpp | 123 /// result from the load or the value being stored. It is used to determine the 156 Value *Or = Builder->CreateOr(Cmp2, Cmp3); 159 Or = Builder->CreateOr(Cmp1, Or); 161 emitBranchToTrap(Or);
|
/prebuilts/go/darwin-x86/test/ |
64bit.go | 25 // if the compiler has buggy or missing 64-bit support. 196 func (a Uint64) Or(b Uint64) (c Uint64) { 306 func (a Int64) Or(b Int64) (c Int64) { return a.Uint64().Or(b.Uint64()).Int64() } 422 "func testInt64Binary(a, b, add, sub, mul, div, mod, and, or, xor, andnot int64, dodiv bool) {\n" + 431 " if n, op, want := a | b, `|`, or; n != want { ok=false; println(`int64`, a, op, b, `=`, n, `should be`, want); }\n" + 467 "func testUint64Binary(a, b, add, sub, mul, div, mod, and, or, xor, andnot uint64, dodiv bool) {\n" + 476 " if n, op, want := a | b, `|`, or; n != want { ok=false; println(`uint64`, a, op, b, `=`, n, `should be`, want); }\n" + 528 a.And(b), a.Or(b), a.Xor(b), a.AndNot(b), dodiv) 551 a.And(b), a.Or(b), a.Xor(b), a.AndNot(b), dodiv [all...] |
/prebuilts/go/linux-x86/test/ |
64bit.go | 25 // if the compiler has buggy or missing 64-bit support. 196 func (a Uint64) Or(b Uint64) (c Uint64) { 306 func (a Int64) Or(b Int64) (c Int64) { return a.Uint64().Or(b.Uint64()).Int64() } 422 "func testInt64Binary(a, b, add, sub, mul, div, mod, and, or, xor, andnot int64, dodiv bool) {\n" + 431 " if n, op, want := a | b, `|`, or; n != want { ok=false; println(`int64`, a, op, b, `=`, n, `should be`, want); }\n" + 467 "func testUint64Binary(a, b, add, sub, mul, div, mod, and, or, xor, andnot uint64, dodiv bool) {\n" + 476 " if n, op, want := a | b, `|`, or; n != want { ok=false; println(`uint64`, a, op, b, `=`, n, `should be`, want); }\n" + 528 a.And(b), a.Or(b), a.Xor(b), a.AndNot(b), dodiv) 551 a.And(b), a.Or(b), a.Xor(b), a.AndNot(b), dodiv [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
build.c | 7 * Set (PCCTS) -- PCCTS is in the public domain. An individual or
9 * PCCTS or the code generated by PCCTS, including the incorporation of
10 * PCCTS, or its output, into commerical software.
15 * programs (commercial product, research project, or otherwise) that you
296 * Or two subgraphs into one graph via:
298 * Or(G1, G2) ::= --o-G1-o--
309 Or( Graph g1, Graph g2 )
311 Or( g1, g2 )
317 require(g1.left != NULL, "Or: invalid graph");
318 require(g2.left != NULL && g2.right != NULL, "Or: invalid graph"); [all...] |
/external/llvm/include/llvm/ADT/ |
APSInt.h | 246 APSInt LLVM_ATTRIBUTE_UNUSED_RESULT Or(const APSInt& RHS) const { 288 /// \brief Determine if two APSInts have the same value, zero- or 323 /// Profile - Used to insert APSInt objects, or objects that contain APSInt
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
APSInt.h | 210 APSInt Or(const APSInt& RHS) const { 253 /// Profile - Used to insert APSInt objects, or objects that contain APSInt
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 83 /// to replace V with a constant or one of its operands. In such cases, this 158 // If either the LHS or the RHS are Zero, the result is zero. 178 } else if (I->getOpcode() == Instruction::Or) { 179 // We can simplify (X|Y) -> X or Y in the user's context if we know that 180 // only bits from X or Y are demanded. 182 // If either the LHS or the RHS are One, the result is One. 189 // other. These bits cannot contribute to the result of the 'or' in this 225 // If either the LHS or the RHS are Zero, the result is zero. 256 case Instruction::Or: 257 // If either the LHS or the RHS are One, the result is One [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
int.go | 368 // The base argument must be 0 or a value between 2 and MaxBase. If the base 370 // ``0x'' or ``0X'' selects base 16; the ``0'' prefix selects base 8, and a 371 // ``0b'' or ``0B'' prefix selects base 2. Otherwise the selected base is 10. 406 // If y <= 0, the result is 1 mod |m|; if m == nil or m == 0, z = x**y. 437 // If either a or b is <= 0, GCD sets z = x = y = 0. 506 // must set v before u since u may be alias for a or b (was issue #11284) 586 // Jacobi returns the Jacobi symbol (x/y), either +1, -1, or 0. 773 // SetBit sets z to x, with x's i'th bit set to b (0 or 1). 775 // if b is 0 SetBit sets z = x &^ (1 << i). If b is not 0 or 1, 800 z.abs = z.abs.add(z.abs.or(x1, y1), natOne [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
int.go | 368 // The base argument must be 0 or a value between 2 and MaxBase. If the base 370 // ``0x'' or ``0X'' selects base 16; the ``0'' prefix selects base 8, and a 371 // ``0b'' or ``0B'' prefix selects base 2. Otherwise the selected base is 10. 406 // If y <= 0, the result is 1 mod |m|; if m == nil or m == 0, z = x**y. 437 // If either a or b is <= 0, GCD sets z = x = y = 0. 506 // must set v before u since u may be alias for a or b (was issue #11284) 586 // Jacobi returns the Jacobi symbol (x/y), either +1, -1, or 0. 773 // SetBit sets z to x, with x's i'th bit set to b (0 or 1). 775 // if b is 0 SetBit sets z = x &^ (1 << i). If b is not 0 or 1, 800 z.abs = z.abs.add(z.abs.or(x1, y1), natOne [all...] |
/external/llvm/include/llvm/MC/ |
MCExpr.h | 117 /// currently defined as the absolute section for constants, or 159 /// assembler variable (defined constant), or constitute an implicit definition 390 GT, ///< Signed greater than comparison (result is either 0 or some 392 GTE, ///< Signed greater than or equal comparison (result is either 0 or 395 LOr, ///< Logical or. 396 LT, ///< Signed less than comparison (result is either 0 or 398 LTE, ///< Signed less than or equal comparison (result is either 0 or 403 Or, ///< Bitwise or [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | 85 /// with a constant or one of its operands. In such cases, this function does 159 // If either the LHS or the RHS are Zero, the result is zero. 179 } else if (I->getOpcode() == Instruction::Or) { 180 // We can simplify (X|Y) -> X or Y in the user's context if we know that 181 // only bits from X or Y are demanded. 183 // If either the LHS or the RHS are One, the result is One. 190 // other. These bits cannot contribute to the result of the 'or' in this 208 // We can simplify (X^Y) -> X or Y in the user's context if we know that 209 // only bits from X or Y are demanded. 241 // If either the LHS or the RHS are Zero, the result is zero [all...] |
/external/protobuf/python/ |
mox.py | 11 # Unless required by applicable law or agreed to in writing, software 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 30 If an unexpected method (or an expected method with unexpected 105 This can occur if a method is called with incorrect parameters, or out of the 115 # expected: MockMethod or UnorderedGroup the method should have 118 expected: MockMethod or UnorderedGroup 211 This will replace a class or module with a MockObject, and everything else 282 state (record or replay). The call will be recorded or replaye [all...] |