/external/smali/util/src/main/java/org/jf/util/ |
D | LinearSearch.java | 49 int guess = initialGuess; in linearSearch() local 50 if (guess >= list.size()) { in linearSearch() 51 guess = list.size()-1; in linearSearch() 53 int comparison = comparator.compare(list.get(guess), key); in linearSearch() 55 return guess; in linearSearch() 58 guess++; in linearSearch() 59 while (guess < list.size()) { in linearSearch() 60 comparison = comparator.compare(list.get(guess), key); in linearSearch() 62 return guess; in linearSearch() 65 return -(guess+1); in linearSearch() [all …]
|
D | SparseIntArray.java | 246 int high = start + len, low = start - 1, guess; in binarySearch() local 249 guess = (high + low) / 2; in binarySearch() 251 if (a[guess] < key) in binarySearch() 252 low = guess; in binarySearch() 254 high = guess; in binarySearch()
|
D | SparseArray.java | 343 int high = start + len, low = start - 1, guess; in binarySearch() local 346 guess = (high + low) / 2; in binarySearch() 348 if (a[guess] < key) in binarySearch() 349 low = guess; in binarySearch() 351 high = guess; in binarySearch()
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-strtod.cpp | 439 double* guess) { in ComputeGuess() argument 441 *guess = 0.0; in ComputeGuess() 445 *guess = Double::Infinity(); in ComputeGuess() 449 *guess = 0.0; in ComputeGuess() 453 if (DoubleStrtod(trimmed, exponent, guess) || in ComputeGuess() 454 DiyFpStrtod(trimmed, exponent, guess)) { in ComputeGuess() 457 if (*guess == Double::Infinity()) { in ComputeGuess() 471 double guess; in Strtod() local 472 bool is_correct = ComputeGuess(trimmed, exponent, &guess); in Strtod() 473 if (is_correct) return guess; in Strtod() [all …]
|
/external/v8/src/ |
D | strtod.cc | 363 double guess) { in BignumStrtod() argument 364 if (guess == V8_INFINITY) { in BignumStrtod() 365 return guess; in BignumStrtod() 368 DiyFp upper_boundary = Double(guess).UpperBoundary(); in BignumStrtod() 394 return guess; in BignumStrtod() 396 return Double(guess).NextDouble(); in BignumStrtod() 397 } else if ((Double(guess).Significand() & 1) == 0) { in BignumStrtod() 399 return guess; in BignumStrtod() 401 return Double(guess).NextDouble(); in BignumStrtod() 423 double guess; in Strtod() local [all …]
|
/external/icu/icu4c/source/test/perf/collationperf/ |
D | collperf.cpp | 503 int guess = -1; in doBinarySearch() local 506 if (newGuess == guess) in doBinarySearch() 508 guess = newGuess; in doBinarySearch() 510 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name); in doBinarySearch() 516 hi = guess; in doBinarySearch() 518 lo = guess; in doBinarySearch() 541 int guess = -1; in doBinarySearch() local 544 if (newGuess == guess) in doBinarySearch() 546 guess = newGuess; in doBinarySearch() 550 … ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey); in doBinarySearch() [all …]
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | CollationPerformanceTest.java | 336 int guess = -1; in doBinarySearch() local 339 if(newGuess == guess){ in doBinarySearch() 342 guess = newGuess; in doBinarySearch() 343 r = tests[j].compareTo(tests[guess]); in doBinarySearch() 349 hi = guess; in doBinarySearch() 351 lo = guess; in doBinarySearch() 367 int guess = -1; in doBinarySearch() local 370 if(newGuess == guess){ in doBinarySearch() 373 guess = newGuess; in doBinarySearch() 374 …r = com.ibm.icu.text.Normalizer.compare(tests[j], tests[guess], Normalizer.COMPARE_CODE_POINT_ORDE… in doBinarySearch() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | mfqe.c | 90 unsigned int guess; in int_sqrt() local 95 guess = 0; in int_sqrt() 97 guess |= (1 << p); in int_sqrt() 98 if (x < guess * guess) guess -= (1 << p); in int_sqrt() 102 return guess + (guess * guess + guess + 1 <= x); in int_sqrt()
|
/external/guava/guava/src/com/google/common/math/ |
D | LongMath.java | 295 long guess = (long) Math.sqrt(x); in sqrt() local 297 long guessSquared = guess * guess; in sqrt() 303 return guess; in sqrt() 307 return guess - 1; in sqrt() 309 return guess; in sqrt() 313 return guess + 1; in sqrt() 315 return guess; in sqrt() 319 long sqrtFloor = guess - ((x < guessSquared) ? 1 : 0); in sqrt()
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
D | SolveWithGuess.h | 49 SolveWithGuess(const Decomposition &dec, const RhsType &rhs, const GuessType &guess) 50 : m_dec(dec), m_rhs(rhs), m_guess(guess) 58 EIGEN_DEVICE_FUNC const GuessType& guess() const { return m_guess; } 85 m_result = solve.guess(); 106 dst = src.guess();
|
/external/llvm/test/CodeGen/AArch64/ |
D | atomic-ops.ll | 24 ; w0 below is a reasonable guess but could change: it certainly comes into the 44 ; w0 below is a reasonable guess but could change: it certainly comes into the 64 ; w0 below is a reasonable guess but could change: it certainly comes into the 84 ; x0 below is a reasonable guess but could change: it certainly comes into the 104 ; w0 below is a reasonable guess but could change: it certainly comes into the 124 ; w0 below is a reasonable guess but could change: it certainly comes into the 144 ; w0 below is a reasonable guess but could change: it certainly comes into the 164 ; x0 below is a reasonable guess but could change: it certainly comes into the 184 ; w0 below is a reasonable guess but could change: it certainly comes into the 204 ; w0 below is a reasonable guess but could change: it certainly comes into the [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | atomic-ops.ll | 24 ; w0 below is a reasonable guess but could change: it certainly comes into the 44 ; w0 below is a reasonable guess but could change: it certainly comes into the 64 ; w0 below is a reasonable guess but could change: it certainly comes into the 84 ; x0 below is a reasonable guess but could change: it certainly comes into the 104 ; w0 below is a reasonable guess but could change: it certainly comes into the 124 ; w0 below is a reasonable guess but could change: it certainly comes into the 144 ; w0 below is a reasonable guess but could change: it certainly comes into the 164 ; x0 below is a reasonable guess but could change: it certainly comes into the 184 ; w0 below is a reasonable guess but could change: it certainly comes into the 204 ; w0 below is a reasonable guess but could change: it certainly comes into the [all …]
|
/external/scapy/scapy/modules/ |
D | nmap.py | 181 guess = 0, [] 188 if score > guess[0]: 189 guess = score, [osval] 190 elif score == guess[0]: 191 guess[1].append(osval) 192 return guess
|
/external/crcalc/src/com/hp/creals/ |
D | UnaryCRFunction.java | 449 BigInteger guess; in approximate() local 456 guess = l.add(h).shiftRight(1); in approximate() 484 guess = (adj.signum() <= 0? l.add(big2) : l.add(adj)); in approximate() 490 CR guess_cr = CR.valueOf(guess) in approximate() 532 BigInteger new_guess = guess.add(tweak); in approximate() 534 guess = guess.subtract(tweak); in approximate() 536 guess = new_guess; in approximate() 545 h = guess; in approximate() 549 l = guess; in approximate()
|
/external/python/cpython3/Lib/ |
D | mimetypes.py | 589 guess = guess_extension(gtype, strict) variable 590 if not guess: print("I don't know anything about type", gtype) 591 else: print(guess) 593 guess, encoding = guess_type(gtype, strict) variable 594 if not guess: print("I don't know anything about type", gtype) 595 else: print('type:', guess, 'encoding:', encoding)
|
/external/python/cpython2/Lib/ |
D | mimetypes.py | 593 guess = guess_extension(gtype, strict) variable 594 if not guess: print "I don't know anything about type", gtype 595 else: print guess 597 guess, encoding = guess_type(gtype, strict) variable 598 if not guess: print "I don't know anything about type", gtype 599 else: print 'type:', guess, 'encoding:', encoding
|
/external/ipsec-tools/src/racoon/ |
D | TODO | 28 how to guess a reasonable phase 1 SA lifetime 29 (hardcoded default? guess from phase 2 lifetime?) 30 guess what kind of ID payload to use 31 guess what kind of authentication to be used 32 guess phase 1 DH group (for aggressive mode, we cannot negotiate it) 33 guess if we need phase 2 PFS or not (we cannot negotiate it. so 35 guess how we should negotiate lifetime 37 guess which mode to use for phase 1 negotiation (is main mode useful?
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyCFG/ |
D | 2005-12-03-IncorrectPHIFold.ll | 38 %guess = alloca %struct.anon* ; <%struct.anon**> [#uses=7] 76 call void @init_num( %struct.anon** %guess ) 87 store %struct.anon* %tmp42, %struct.anon** %guess 90 call void @int2num( %struct.anon** %guess, i32 10 ) 101 %tmp53 = load %struct.anon** %guess ; <%struct.anon*> [#uses=1] 103 call void @bc_raise( %struct.anon* %tmp53, %struct.anon* %tmp54, %struct.anon** %guess, i32 %max ) 117 %tmp88 = load %struct.anon** %guess ; <%struct.anon*> [#uses=1] 120 call void @free_num( %struct.anon** %guess )
|
/external/libmtp/ |
D | autogen.sh | 17 rm -f ltmain.sh config.guess config.sub 54 wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess 55 mv tmpfile config.guess
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | atomic-ops-v8.ll | 21 ; r0 below is a reasonable guess but could change: it certainly comes into the 44 ; r0 below is a reasonable guess but could change: it certainly comes into the 67 ; r0 below is a reasonable guess but could change: it certainly comes into the 90 ; r0, r1 below is a reasonable guess but could change: it certainly comes into the 117 ; r0 below is a reasonable guess but could change: it certainly comes into the 140 ; r0 below is a reasonable guess but could change: it certainly comes into the 163 ; r0 below is a reasonable guess but could change: it certainly comes into the 186 ; r0, r1 below is a reasonable guess but could change: it certainly comes into the 213 ; r0 below is a reasonable guess but could change: it certainly comes into the 236 ; r0 below is a reasonable guess but could change: it certainly comes into the [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | atomic-ops-v8.ll | 21 ; r0 below is a reasonable guess but could change: it certainly comes into the 44 ; r0 below is a reasonable guess but could change: it certainly comes into the 67 ; r0 below is a reasonable guess but could change: it certainly comes into the 90 ; r0, r1 below is a reasonable guess but could change: it certainly comes into the 117 ; r0 below is a reasonable guess but could change: it certainly comes into the 140 ; r0 below is a reasonable guess but could change: it certainly comes into the 163 ; r0 below is a reasonable guess but could change: it certainly comes into the 186 ; r0, r1 below is a reasonable guess but could change: it certainly comes into the 213 ; r0 below is a reasonable guess but could change: it certainly comes into the 236 ; r0 below is a reasonable guess but could change: it certainly comes into the [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/ |
D | 2005-12-03-IncorrectPHIFold.ll | 36 %guess = alloca %struct.anon* ; <%struct.anon**> [#uses=7] 74 call void @init_num( %struct.anon** %guess ) 85 store %struct.anon* %tmp42, %struct.anon** %guess 88 call void @int2num( %struct.anon** %guess, i32 10 ) 99 %tmp53 = load %struct.anon*, %struct.anon** %guess ; <%struct.anon*> [#uses=1] 101 call void @bc_raise( %struct.anon* %tmp53, %struct.anon* %tmp54, %struct.anon** %guess, i32 %max ) 116 %tmp88 = load %struct.anon*, %struct.anon** %guess ; <%struct.anon*> [#uses=1] 119 call void @free_num( %struct.anon** %guess )
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | 2005-12-03-IncorrectPHIFold.ll | 36 %guess = alloca %struct.anon* ; <%struct.anon**> [#uses=7] 74 call void @init_num( %struct.anon** %guess ) 85 store %struct.anon* %tmp42, %struct.anon** %guess 88 call void @int2num( %struct.anon** %guess, i32 10 ) 99 %tmp53 = load %struct.anon*, %struct.anon** %guess ; <%struct.anon*> [#uses=1] 101 call void @bc_raise( %struct.anon* %tmp53, %struct.anon* %tmp54, %struct.anon** %guess, i32 %max ) 116 %tmp88 = load %struct.anon*, %struct.anon** %guess ; <%struct.anon*> [#uses=1] 119 call void @free_num( %struct.anon** %guess )
|
/external/e2fsprogs/e2fsck/ |
D | readahead.c | 239 unsigned long long guess; in e2fsck_guess_readahead() local 247 guess = 2ULL * fs->blocksize * fs->inode_blocks_per_group; in e2fsck_guess_readahead() 250 if (get_memory_size() > (guess * 50)) in e2fsck_guess_readahead() 251 return guess / 1024; in e2fsck_guess_readahead()
|
/external/swiftshader/third_party/llvm-7.0/llvm/cmake/modules/ |
D | GetHostTriple.cmake | 2 # Invokes config.guess 18 set(config_guess ${LLVM_MAIN_SRC_DIR}/cmake/config.guess)
|