/external/smali/util/src/main/java/org/jf/util/ |
LinearSearch.java | 44 * @param initialGuess An initial guess of the location. 49 int guess = initialGuess; local 50 if (guess >= list.size()) { 51 guess = list.size()-1; 53 int comparison = comparator.compare(list.get(guess), key); 55 return guess; 58 guess++; 59 while (guess < list.size()) { 60 comparison = comparator.compare(list.get(guess), key); 62 return guess; [all...] |
SparseIntArray.java | 246 int high = start + len, low = start - 1, guess; local 249 guess = (high + low) / 2; 251 if (a[guess] < key) 252 low = guess; 254 high = guess;
|
SparseArray.java | 343 int high = start + len, low = start - 1, guess; local 346 guess = (high + low) / 2; 348 if (a[guess] < key) 349 low = guess; 351 high = guess;
|
/dalvik/libdex/ |
DexCatch.cpp | 59 int guess = (min + max) >> 1; local 60 const DexTry* pTry = &pTries[guess]; 64 max = guess - 1; 71 min = guess + 1;
|
DexDataMap.cpp | 101 u4 guess = offsets[guessIdx]; local 103 if (offset < guess) { 105 } else if (offset > guess) {
|
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 53 TimeZone guess; local 56 guess = guessTimeZone(c, "us"); 57 assertEquals(name, guess.getID()); 60 guess = guessTimeZone(c, "us"); 61 assertEquals(name, guess.getID()); 75 TimeZone guess; local 78 guess = guessTimeZone(c, "us"); 79 assertEquals(name, guess.getID()); 92 TimeZone guess; local 95 guess = guessTimeZone(c, "us") 113 TimeZone guess; local [all...] |
/external/icu/icu4c/source/i18n/ |
double-conversion-strtod.cpp | 436 // Returns true if the guess is the correct double. 437 // Returns false, when guess is either correct or the next-lower double. 439 double* guess) { 441 *guess = 0.0; 445 *guess = Double::Infinity(); 449 *guess = 0.0; 453 if (DoubleStrtod(trimmed, exponent, guess) || 454 DiyFpStrtod(trimmed, exponent, guess)) { 457 if (*guess == Double::Infinity()) { 471 double guess; [all...] |
/external/libmtp/ |
autogen.sh | 17 rm -f ltmain.sh config.guess config.sub 47 # Autoupdate config.sub and config.guess 51 echo "Autoupdate config.sub and config.guess (y/n)?" 54 wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess 55 mv tmpfile config.guess 60 echo "Could not autoupdate config.sub and config.guess"
|
/external/v8/src/ |
strtod.cc | 355 // The variable guess should be a close guess that is either the correct double 363 double guess) { 364 if (guess == V8_INFINITY) { 365 return guess; 368 DiyFp upper_boundary = Double(guess).UpperBoundary(); 394 return guess; 396 return Double(guess).NextDouble(); 397 } else if ((Double(guess).Significand() & 1) == 0) { 399 return guess; 423 double guess; local [all...] |
/external/curl/docs/cmdline-opts/ |
proto-default.d | 17 Without this option curl would make a guess based on the host, see --url for
|
url.d | 9 then curl will make a guess based on the host. If the outermost sub-domain
|
/external/harfbuzz_ng/ |
mingw32.sh | 22 ../configure --build=`../config.guess` --host=$target --prefix=$HOME/.local/$target "$@"
|
mingw64.sh | 22 ../configure --build=`../config.guess` --host=$target --prefix=$HOME/.local/$target "$@"
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
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; } function in class:Eigen::SolveWithGuess 85 m_result = solve.guess(); 106 dst = src.guess(); 107 src.dec()._solve_with_guess_impl(src.rhs(), dst/*, src.guess()*/);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
GaussianFitter.java | 102 createParametersGuesser(fitter.getObservations()).guess()));
|
/external/cmockery/cmockery_0_1_2/packages/deb/ |
rules | 14 # from having to guess our platform (since we know it already) 64 ifneq "$(wildcard /usr/share/misc/config.guess)" "" 65 cp -f /usr/share/misc/config.guess config.guess
|
/external/smali/util/src/test/java/org/jf/util/ |
LinearSearchTest.java | 96 private void doTest(List<Integer> list, int key, int guess) { 99 Assert.assertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), key, guess));
|
/external/scapy/scapy/modules/ |
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/libvpx/libvpx/vp8/common/ |
mfqe.c | 90 unsigned int guess; local 95 guess = 0; 97 guess |= (1 << p); 98 if (x < guess * guess) guess -= (1 << p); 101 /* choose between guess or guess+1 */ 102 return guess + (guess * guess + guess + 1 <= x) [all...] |
/external/icu/icu4c/source/test/perf/collationperf/ |
collperf.cpp | 503 int guess = -1; local 506 if (newGuess == guess) 508 guess = newGuess; 510 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name); 516 hi = guess; 518 lo = guess; 541 int guess = -1; local 544 if (newGuess == guess) 546 guess = newGuess; 550 ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey) 592 int guess = -1; local 643 int guess = -1; local [all...] |
/external/guava/guava/src/com/google/common/math/ |
LongMath.java | 295 long guess = (long) Math.sqrt(x); local 296 // Note: guess is always <= FLOOR_SQRT_MAX_LONG. 297 long guessSquared = guess * guess; 303 return guess; 307 return guess - 1; 309 return guess; 313 return guess + 1; 315 return guess; 319 long sqrtFloor = guess - ((x < guessSquared) ? 1 : 0) [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
CollationPerformanceTest.java | 336 int guess = -1; local 339 if(newGuess == guess){ 342 guess = newGuess; 343 r = tests[j].compareTo(tests[guess]); 349 hi = guess; 351 lo = guess; 367 int guess = -1; local 370 if(newGuess == guess){ 373 guess = newGuess; 374 r = com.ibm.icu.text.Normalizer.compare(tests[j], tests[guess], Normalizer.COMPARE_CODE_POINT_ORDER) 399 int guess = -1; local 437 int guess = -1; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mimetypes.py | 0 """Guess the MIME type of a file.
5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
7 guess_extension(type, strict=1) -- guess the extension for a given MIME type.
61 URL, and can guess a reasonable extension given a MIME type.
96 """Guess the type of a file based on its URL.
158 """Guess the extensions for a file based on its MIME type.
177 """Guess the extension for a file based on its MIME type.
276 """Guess the type of a file based on its URL.
299 """Guess the extensions for a file based on its MIME type.
316 """Guess the extension for a file based on its MIME type. [all...] |
/external/python/cpython2/Lib/ |
mimetypes.py | 0 """Guess the MIME type of a file. 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=1) -- guess the extension for a given MIME type. 61 URL, and can guess a reasonable extension given a MIME type. 96 """Guess the type of a file based on its URL. 158 """Guess the extensions for a file based on its MIME type. 177 """Guess the extension for a file based on its MIME type. 275 """Guess the type of a file based on its URL. 298 """Guess the extensions for a file based on its MIME type. 315 """Guess the extension for a file based on its MIME type [all...] |
/external/python/cpython3/Lib/ |
mimetypes.py | 0 """Guess the MIME type of a file. 5 guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. 7 guess_extension(type, strict=True) -- guess the extension for a given MIME type. 63 URL, and can guess a reasonable extension given a MIME type. 98 """Guess the type of a file based on its URL. 160 """Guess the extensions for a file based on its MIME type. 179 """Guess the extension for a file based on its MIME type. 272 """Guess the type of a file based on its URL. 295 """Guess the extensions for a file based on its MIME type. 312 """Guess the extension for a file based on its MIME type [all...] |