HomeSort by relevance Sort by last modified time
    Searched refs:guess (Results 1 - 25 of 149) sorted by null

1 2 3 4 5 6

  /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;
  /frameworks/base/core/tests/coretests/src/android/util/
TimeUtilsTest.java 41 TimeZone guess; local
44 guess = guess(c, "us");
45 assertEquals(name, guess.getID());
48 guess = guess(c, "us");
49 assertEquals(name, guess.getID());
62 TimeZone guess; local
65 guess = guess(c, "us")
78 TimeZone guess; local
392 TimeZone guess; local
416 TimeZone guess; local
424 private static TimeZone guess(Calendar c, String country) { method in class:TimeUtilsTest
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
TimeUtilsTest.java 39 TimeZone guess; local
42 guess = guessTimeZone(c, "us");
43 assertEquals(name, guess.getID());
46 guess = guessTimeZone(c, "us");
47 assertEquals(name, guess.getID());
60 TimeZone guess; local
63 guess = guessTimeZone(c, "us");
64 assertEquals(name, guess.getID());
76 TimeZone guess; local
79 guess = guessTimeZone(c, "us")
96 TimeZone guess; local
    [all...]
  /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 104 u4 guess = offsets[guessIdx]; local
106 if (offset < guess) {
108 } else if (offset > guess) {
  /external/chromium_org/third_party/libsrtp/srtp/crypto/replay/
rdbx.c 76 * index_guess(&local, &guess, seq_from_packet). This function
77 * returns the difference of the guess and the local value. The local
78 * xtd_seq_num_t can be moved forward to the guess using the function
79 * index_advance(&guess, delta), where delta is the difference.
111 * index_guess(local, guess, s)
115 * (from a newly arrived packet), sets the contents of *guess to
116 * contain the best guess of the packet index to which s corresponds,
117 * and returns the difference between *guess and *local
125 xtd_seq_num_t *guess,
136 uint32_t guess_roc = ((high32(*guess) << 16)
    [all...]
  /external/srtp/crypto/replay/
rdbx.c 76 * index_guess(&local, &guess, seq_from_packet). This function
77 * returns the difference of the guess and the local value. The local
78 * xtd_seq_num_t can be moved forward to the guess using the function
79 * index_advance(&guess, delta), where delta is the difference.
111 * index_guess(local, guess, s)
115 * (from a newly arrived packet), sets the contents of *guess to
116 * contain the best guess of the packet index to which s corresponds,
117 * and returns the difference between *guess and *local
125 xtd_seq_num_t *guess,
136 uint32_t guess_roc = ((high32(*guess) << 16)
    [all...]
  /external/chromium_org/third_party/libsrtp/srtp/crypto/include/
rdbx.h 110 * rdbx_estimate_index(rdbx, guess, s)
113 * sets the contents of *guess to contain the best guess of the packet
115 * *guess and the locally stored synch info
120 xtd_seq_num_t *guess,
197 * index_guess(local, guess, s)
201 * arrived packet), sets the contents of *guess to contain the best
202 * guess of the packet index to which s corresponds, and returns the
203 * difference between *guess and *local
208 xtd_seq_num_t *guess,
    [all...]
  /external/srtp/crypto/include/
rdbx.h 75 * rdbx_estimate_index(rdbx, guess, s)
78 * sets the contents of *guess to contain the best guess of the packet
80 * *guess and the locally stored synch info
85 xtd_seq_num_t *guess,
162 * index_guess(local, guess, s)
166 * arrived packet), sets the contents of *guess to contain the best
167 * guess of the packet index to which s corresponds, and returns the
168 * difference between *guess and *local
173 xtd_seq_num_t *guess,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
strtod.cc 365 // The variable guess should be a close guess that is either the correct double
373 double guess) {
374 if (guess == Double::Infinity()) {
375 return guess;
378 DiyFp upper_boundary = Double(guess).UpperBoundary();
404 return guess;
406 return Double(guess).NextDouble();
407 } else if ((Double(guess).Significand() & 1) == 0) {
409 return guess;
    [all...]
  /external/chromium_org/v8/src/
strtod.cc 344 // The variable guess should be a close guess that is either the correct double
352 double guess) {
353 if (guess == V8_INFINITY) {
354 return guess;
357 DiyFp upper_boundary = Double(guess).UpperBoundary();
383 return guess;
385 return Double(guess).NextDouble();
386 } else if ((Double(guess).Significand() & 1) == 0) {
388 return guess;
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameSplitter.java 499 // There is no separator. Try to guess family name.
888 * Makes the best guess at the expected full name style based on the character set
922 * Makes the best guess at the expected full name style based on the character set
939 int guess = guessFullNameStyle(name.familyName); local
1044 int guess = guessPhoneticNameStyle(name.phoneticGivenName); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
SparseLongArray.java 226 int high = start + len, low = start - 1, guess; local
229 guess = (high + low) / 2;
231 if (a[guess] < key)
232 low = guess;
234 high = guess;
  /external/chromium_org/third_party/tcmalloc/vendor/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/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
  /hardware/intel/img/psb_video/debian/
rules 39 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
40 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/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
mfqe.c 101 unsigned int guess; local
106 guess=0;
109 guess |= (1<<p);
110 if (x<guess*guess)
111 guess -= (1<<p);
114 /* choose between guess or guess+1 */
115 return guess+(guess*guess+guess+1<=x)
    [all...]
  /external/libvpx/libvpx/vp8/common/
mfqe.c 101 unsigned int guess; local
106 guess=0;
109 guess |= (1<<p);
110 if (x<guess*guess)
111 guess -= (1<<p);
114 /* choose between guess or guess+1 */
115 return guess+(guess*guess+guess+1<=x)
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
mfqe.c 101 unsigned int guess; local
106 guess=0;
109 guess |= (1<<p);
110 if (x<guess*guess)
111 guess -= (1<<p);
114 /* choose between guess or guess+1 */
115 return guess+(guess*guess+guess+1<=x)
    [all...]
  /external/chromium_org/third_party/icu/source/test/perf/collationperf/
collperf.cpp 499 int guess = -1; local
502 if (newGuess == guess)
504 guess = newGuess;
506 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name);
512 hi = guess;
514 lo = guess;
537 int guess = -1; local
540 if (newGuess == guess)
542 guess = newGuess;
546 ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey)
588 int guess = -1; local
639 int guess = -1; local
    [all...]
  /external/icu/icu4c/source/test/perf/collationperf/
collperf.cpp 499 int guess = -1; local
502 if (newGuess == guess)
504 guess = newGuess;
506 r = (*pf)((gSortedLines[line])->name, (gSortedLines[guess])->name);
512 hi = guess;
514 lo = guess;
537 int guess = -1; local
540 if (newGuess == guess)
542 guess = newGuess;
546 ri = strcmp((gSortedLines[line])->icuSortKey, (gSortedLines[guess])->icuSortKey)
588 int guess = -1; local
639 int guess = -1; local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSparseArray.java 338 int high = start + len, low = start - 1, guess; local
341 guess = (high + low) / 2;
343 if (a[guess] < key)
344 low = guess;
346 high = guess;

Completed in 718 milliseconds

1 2 3 4 5 6