/external/apache-harmony/math/src/test/java/tests/api/java/math/ |
H A D | BigIntegerTest.java | 29 BigInteger zero = new BigInteger("0", 10); field in class:BigIntegerTest 94 assertTrue("Random number is negative", bi.compareTo(zero) >= 0); 100 assertTrue("Not zero", new BigInteger(0, rand).equals(BigInteger.ZERO)); 109 assertTrue("Random number one is negative", bi.compareTo(zero) >= 0); 112 assertTrue("Random number two is negative", bi2.compareTo(zero) >= 0); 156 assertTrue("Incorrect value for zero", bi.equals(zero)); 242 assertTrue("0=0", zero.equals(BigInteger.valueOf(0))); 245 assertTrue("0=1", !zero.equals(one)); 246 assertTrue("0=-1", !zero [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/serialization/ |
H A D | SHA1PRNG_SecureRandomTest.java | 59 private byte zero[] = new byte[0]; field in class:SHA1PRNG_SecureRandomTest 83 case 1 : sr.setSeed( zero ); 89 case 3 : sr.nextBytes( zero ); 209 ref.setSeed(zero); 210 tst.setSeed(zero); 221 ref.nextBytes(zero); 222 tst.nextBytes(zero); 232 // object initialized with setSeed(zero) 235 ref.setSeed(zero); 236 tst.setSeed(zero); [all...] |
/external/bison/lib/ |
H A D | bbitset.h | 93 that the bitset is known to be zero, that a bit has been set 124 void (*zero) (bitset); member in struct:bitset_vtable 192 /* Return non-zero if bit BITNO in bitset SRC is set. */ 207 #define BITSET_ZERO_(DST) (DST)->b.vtable->zero (DST) 245 /* DST = (SRC1 & SRC2) | SRC3. Return non-zero if 252 /* DST = (SRC1 & ~SRC2) | SRC3. Return non-zero if 259 /* DST = (SRC1 | SRC2) & SRC3. Return non-zero if
|
/external/blktrace/ |
H A D | blkparse_fmt.c | 110 static char zero[4096]; local 112 return !memcmp(pdu, zero, len);
|
/external/chromium/base/ |
H A D | platform_file_win.cc | 160 LARGE_INTEGER zero; local 161 zero.QuadPart = 0; 162 if (::SetFilePointerEx(file, zero, &file_pointer, FILE_CURRENT) == 0)
|
/external/chromium/chrome/browser/sync/engine/ |
H A D | syncer_thread2_unittest.cc | 87 TimeDelta zero() { return TimeDelta::FromSeconds(0); } function in class:browser_sync::SyncerThread2Test 113 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, nudge_types, 213 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, 230 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, 361 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, model_types, 400 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_LOCAL, types2, 415 syncer_thread()->ScheduleNudge(zero(), NUDGE_SOURCE_NOTIFICATION, types3, 437 syncer_thread()->ScheduleNudgeWithPayloads(zero(), NUDGE_SOURCE_LOCAL, 453 syncer_thread()->ScheduleNudgeWithPayloads(zero(), NUDGE_SOURCE_LOCAL, 480 syncer_thread()->ScheduleNudgeWithPayloads(zero(), NUDGE_SOURCE_LOCA [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 504 // zero-initialized. If the variable might be accessed in its 505 // initializer, zero-initialize before running the initializer, then 524 llvm::Value *zero = llvm::ConstantPointerNull::get(ty); local 528 EmitARCInitWeak(tempLV.getAddress(), zero); 532 EmitStoreOfScalar(zero, tempLV); 618 /// non-zero parts of the specified initializer with equal or fewer than 689 // If a non-zero global is <= 32 bytes, always use a memcpy. If it is large, 774 // to this variable. Set it to zero to indicate that NRVO was not 1207 // Normally we have to check whether the array is zero-length. 1212 // ...and if it's constant zero, w 1297 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, arrayDepth+1); local [all...] |
H A D | CGException.cpp | 504 llvm::Value *zero = CGF.Builder.getInt32(0); local 506 CGF.Builder.CreateICmpSLT(selector, zero, "ehspec.fails"); 674 // traditional GCC zero-cost design: for each range of instructions 1356 /// Enters a finally block for an implementation using zero-cost
|
H A D | CGExprAgg.cpp | 576 /// zero to memory, return true. This can return false if uncertain, so it just 609 // Storing "i32 0" to a zero'd memory location is a noop. 639 // For non-aggregates, we can store zero 698 llvm::Value *zero = llvm::ConstantInt::get(CGF.SizeTy, 0); local 699 llvm::Value *indices[] = { zero, zero }; 761 // Any remaining elements need to be zero-initialized, possibly 882 // zero-initializable. 915 // If the GEP didn't get used because of a dead zero init or something 935 /// non-zero byte [all...] |
H A D | CGObjC.cpp | 142 // which we zero out. We don't want to Block_copy block receivers, 1290 llvm::Value *zero = llvm::Constant::getNullValue(UnsignedLongLTy); local 1292 // If the limit pointer was zero to begin with, the collection is 1294 Builder.CreateCondBr(Builder.CreateICmpEQ(initialBufferLimit, zero, "iszero"), 1318 index->addIncoming(zero, LoopInitBB); 1445 // If we got a zero count, we're done. 1449 index->addIncoming(zero, Builder.GetInsertBlock()); 1452 Builder.CreateCondBr(Builder.CreateICmpEQ(refetchCount, zero),
|
H A D | CGObjCMac.cpp | 3858 unsigned char zero = 0; local 3859 BitMap += zero;
|
H A D | CodeGenFunction.cpp | 189 // made a zero entry PHI node, which is illegal, zap it now. 646 /// emitNonZeroVLAInit - Emit the "zero" initialization of a 647 /// variable-length array whose elements have a non-zero bit-pattern. 722 // Don't bother emitting a zero-byte memset. 745 // If the type contains a pointer to data member we can't memset it to zero. 747 // TODO: there are other patterns besides zero that we can usefully memset, 770 // Otherwise, just memset the whole thing to zero. This is legal 840 llvm::ConstantInt *zero = Builder.getInt32(0); local 841 gepIndices.push_back(zero); 855 gepIndices.push_back(zero); [all...] |
/external/clang/lib/Headers/ |
H A D | avxintrin.h | 705 /* Vector zero */ 1122 __m128d zero = _mm_setzero_pd(); local 1123 return __builtin_shufflevector(in, zero, 0, 1, 2, 2); 1129 __m128 zero = _mm_setzero_ps(); local 1130 return __builtin_shufflevector(in, zero, 0, 1, 2, 3, 4, 4, 4, 4); 1136 __m128i zero = _mm_setzero_si128(); local 1137 return __builtin_shufflevector(in, zero, 0, 1, 2, 2);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BasicObjCFoundationChecks.cpp | 398 DefinedSVal zero = cast<DefinedSVal>(svalBuilder.makeZeroVal(Arg->getType())); local 401 DefinedOrUnknownSVal ArgIsNull = svalBuilder.evalEQ(state, zero, *DefArgVal);
|
H A D | CStringChecker.cpp | 201 DefinedOrUnknownSVal zero = svalBuilder.makeZeroVal(Ty); local 202 return state->assume(svalBuilder.evalEQ(state, *val, zero)); 847 // See if the size argument is zero. 858 // If the size is zero, there won't be any actual memory access, so 983 // See if the size argument is zero. 991 // If the size can be zero, the result will be 0 in that case, and we don't 1065 // If the size can be zero, the result will be 0 in that case, and we don't 1068 SVal zero = C.getSValBuilder().makeZeroVal(CE->getType()); local 1069 stateZeroSize = stateZeroSize->BindExpr(CE, zero); 1073 // If the size is GUARANTEED to be zero, w [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.cpp | 93 const llvm::APSInt &zero = BasicVals.getZeroWithPtrWidth(); local 95 return assumeSymNE(state, SymR->getSymbol(), zero, zero); 97 return assumeSymEQ(state, SymR->getSymbol(), zero, zero); 161 const llvm::APSInt &zero = BasicVals.getValue(0, T); local 163 return assumeSymNE(state, sym, zero, zero); 165 return assumeSymEQ(state, sym, zero, zero); 181 const llvm::APSInt &zero = BasicVals.getValue(0, T); local [all...] |
/external/clang/test/Analysis/ |
H A D | idempotent-operations.c | 10 int x = 10, zero = 0, one = 1; local 35 test(x + zero); // expected-warning {{The right operand to '+' is always 0}} 36 test(x - zero); // expected-warning {{The right operand to '-' is always 0}} 37 test(x * zero); // expected-warning {{The right operand to '*' is always 0}} 38 test(x & zero); // expected-warning {{The right operand to '&' is always 0}} 39 test(x | zero); // expected-warning {{The right operand to '|' is always 0}} 40 test(x ^ zero); // expected-warning {{The right operand to '^' is always 0}} 41 test(x << zero); // expected-warning {{The right operand to '<<' is always 0}} 42 test(x >> zero); // expected-warning {{The right operand to '>>' is always 0}} 45 test(zero 179 int zero = 0; // pseudo-constant local [all...] |
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
H A D | p2.cpp | 4 int zero = 0; // expected-note {{candidate found by name lookup is 'Ints::zero'}} member in namespace:Ints 10 float zero = 0.0f; // expected-note {{candidate found by name lookup is 'Floats::zero'}} member in namespace:Floats 21 int i = Ints::zero; 24 float f = Floats::zero; 27 double n = Numbers::zero; // expected-error {{reference to 'zero' is ambiguous}} 38 Number zero(0.0f); 43 Numbers::Number n = Numbers::zero; [all...] |
/external/clang/test/Preprocessor/ |
H A D | macro_fn.c | 4 #define zero() 0 macro 10 zero() 11 zero(1); /* expected-error {{too many arguments provided to function-like macro invocation}} */ 12 zero(1, 2, 3); /* expected-error {{too many arguments provided to function-like macro invocation}} */
|
/external/clang/test/Sema/ |
H A D | compare.c | 214 return a > 0; // expected-warning {{ordered comparison between pointer and zero ('int *' and 'int') is an extension}} 234 enum en { zero }; enumerator in enum:en 235 return i > zero;
|
/external/clang/test/SemaCXX/ |
H A D | compare.cpp | 198 enum en { zero }; enumerator in enum:en 199 return i > zero;
|
H A D | overloaded-builtin-operators.cpp | 212 long long zero = 0; local 213 (void)(foo + zero); 214 (void)(foo - zero); 215 (void)(zero + foo); 216 (void)(zero[foo]); 220 return foo[zero] == zero;
|
H A D | undefined-internal.cpp | 90 static const int zero = 0; member in struct:test6::A 96 A() : value(zero) {
|
H A D | uninitialized.cpp | 37 static int zero() { return 0; } function in class:A 56 A a5(a5.zero());
|
/external/dropbear/ |
H A D | keyimport.c | 624 * The first integer should be zero always (I think 703 char zero[1]; local 738 numbers[0].start = zero; numbers[0].bytes = 1; zero[0] = '\0'; 906 * padding bytes is always more than zero, and always at most 1332 errmsg = "Length of key data is zero";
|