/development/tools/idegen/src/ |
Stopwatch.java | 22 long last = System.currentTimeMillis(); field in class:Stopwatch 26 Log.info(label + ": " + (now - last) + "ms"); 27 last = now;
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcsrchr.c | 35 const wchar_t *last; local 37 last = NULL; 40 last = s; 46 return ((wchar_t *)last);
|
wcstok.c | 42 wchar_t ** __restrict last) 48 if (s == NULL && (s = *last) == NULL) 62 *last = NULL; 80 *last = s;
|
/bionic/libc/string/ |
strtok.c | 35 static char *last; local 37 return strtok_r(s, delim, &last); 41 strtok_r(char *s, const char *delim, char **last) 48 if (s == NULL && (s = *last) == NULL) 62 *last = NULL; 80 *last = s;
|
/external/valgrind/main/memcheck/tests/ |
sbfragment.stdout.exp | 1 after 3000 loops, last size block requested 96032008
|
/development/tools/yuv420sp2rgb/ |
debug.c | 9 int i, last; local 13 for (i = last = 0; i < len; i++) { 22 while (last < i) { 23 if (isprint(pchr[last])) 24 fputc(pchr[last], s); 29 last++;
|
/frameworks/base/core/java/android/content/ |
ContentUris.java | 73 * Converts the last path segment to a long. 76 * stored in the last segment. 79 * @throws NumberFormatException if the last segment isn't a number 81 * @return the long conversion of the last segment or -1 if the path is 85 String last = contentUri.getLastPathSegment(); local 86 return last == null ? -1 : Long.parseLong(last);
|
/external/oprofile/daemon/ |
opd_mangling.h | 30 int opd_open_sample_file(odb_t *file, struct sfile *last,
|
opd_mangling.c | 69 mangle_filename(struct sfile * last, struct sfile const * sf, int counter, int cg) 109 if (last->kernel) { 110 values.cg_image_name = last->kernel->name; 111 } else if (last->anon) { 113 values.cg_image_name = mangle_anon(last->anon); 114 values.anon_name = last->anon->name; 116 values.cg_image_name = find_cookie(last->cookie); 141 int opd_open_sample_file(odb_t *file, struct sfile *last, 150 mangled = mangle_filename(last, sf, counter, cg); 161 if (sf != last) [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 45 s_top=source+last; 47 d_top=dest+last; 62 long last=nr_elements-1; local 76 for(;last-first>2;) 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); 81 if(first_equal>pos) last=first_equal-1; 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 45 s_top=source+last; 47 d_top=dest+last; 62 long last=nr_elements-1; local 76 for(;last-first>2;) 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); 81 if(first_equal>pos) last=first_equal-1; 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,long *first_equal,long *last_equal) 45 s_top=source+last; 47 d_top=dest+last; 62 long last=nr_elements-1; local 76 for(;last-first>2;) 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); 81 if(first_equal>pos) last=first_equal-1; 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]) [all...] |
/external/oprofile/libregex/tests/ |
regex_test.cpp | 36 string test, expect, last; local 38 while (getline(fin, last)) { 39 last = trim(last); 40 if (last.length() == 0 || last[0] == '#') 44 test = last; 47 expect = last;
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
SDL_qsort.c | 110 typedef struct { char * first; char * last; } stack_entry; member in struct:__anon13338 111 #define pushLeft {stack[stacktop].first=ffirst;stack[stacktop++].last=last;} 112 #define pushRight {stack[stacktop].first=first;stack[stacktop++].last=llast;} 113 #define doLeft {first=ffirst;llast=last;continue;} 114 #define doRight {ffirst=first;last=llast;continue;} 117 last=llast=stack[stacktop].last;\ 133 * 3. We choose a pivot by looking at the first, last 187 { size_t l=last-ffirst,r=llast-first; 325 char *first,*last; local 356 char *first,*last; local 387 char *first,*last; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.min.max/ |
max_element.pass.cpp | 15 // max_element(Iter first, Iter last); 24 test(Iter first, Iter last) 26 Iter i = std::max_element(first, last); 27 if (first != last) 29 for (Iter j = first; j != last; ++j) 33 assert(i == last);
|
max_element_comp.pass.cpp | 15 // max_element(Iter first, Iter last, Compare comp); 25 test(Iter first, Iter last) 27 Iter i = std::max_element(first, last, std::greater<int>()); 28 if (first != last) 30 for (Iter j = first; j != last; ++j) 34 assert(i == last);
|
min_element.pass.cpp | 15 // min_element(Iter first, Iter last); 24 test(Iter first, Iter last) 26 Iter i = std::min_element(first, last); 27 if (first != last) 29 for (Iter j = first; j != last; ++j) 33 assert(i == last);
|
min_element_comp.pass.cpp | 15 // min_element(Iter first, Iter last, Compare comp); 25 test(Iter first, Iter last) 27 Iter i = std::min_element(first, last, std::greater<int>()); 28 if (first != last) 30 for (Iter j = first; j != last; ++j) 34 assert(i == last);
|
/sdk/emulator/opengl/host/tools/emugen/ |
EntryPoint.cpp | 43 size_t pos = 0, last; local 54 std::string str = getNextToken(f, pos, &last, WHITESPACE); 60 pos = last; 66 pos = last; 74 pos = last; 97 size_t pos, last; local 107 field = getNextToken(linestr, 0, &last, "("); 108 pos = last + 1; 110 field = getNextToken(linestr, pos, &last, ",)"); 116 pos = last + 1 208 size_t last; local [all...] |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
RenderThread.cpp | 112 size_t last = tInfo->m_glDec.decode(readBuf.buf(), readBuf.validData(), m_stream); local 113 if (last > 0) { 115 readBuf.consume(last); 121 last = tInfo->m_gl2Dec.decode(readBuf.buf(), readBuf.validData(), m_stream); 122 if (last > 0) { 124 readBuf.consume(last); 131 last = m_rcDec.decode(readBuf.buf(), readBuf.validData(), m_stream); 132 if (last > 0) { 133 readBuf.consume(last);
|
/external/skia/legacy/src/core/ |
SkDeque.cpp | 140 Head* last = fBack; local 143 if (NULL == last->fBegin) { 145 last->fBegin = last->start(); 146 end = last->fBegin + fElemSize; 148 end = last->fEnd + fElemSize; 149 if (end > last->fStop) { // no more room in this chunk 153 last = (Head*)sk_malloc_throw(size); 154 last->init(size); 155 last->fPrev = fBack 196 Head* last = fBack; local [all...] |
/external/chromium/chrome/browser/autofill/ |
contact_info_unittest.cc | 19 EXPECT_EQ(name.last(), ASCIIToUTF16("")); 25 EXPECT_EQ(name.last(), ASCIIToUTF16("Gell-Mann")); 31 EXPECT_EQ(name.last(), ASCIIToUTF16("Saltykov-Shchedrin")); 38 EXPECT_EQ(name.last(), ASCIIToUTF16("Doyle"));
|
/external/chromium/net/websockets/ |
websocket_net_log_params.cc | 18 size_t last = 0; local 25 std::string entry = headers_.substr(last, pos - last); 27 last = pos;
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-fasta.js | 6 var last = 42, A = 3877, C = 29573, M = 139968; variable 9 last = (last * A + C) % M; 10 return max * last / M; 37 var last = null; 39 if (last) table[c] += table[last]; 40 last = c;
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-fasta.js | 6 var last = 42, A = 3877, C = 29573, M = 139968; variable 9 last = (last * A + C) % M; 10 return max * last / M; 37 var last = null; 39 if (last) table[c] += table[last]; 40 last = c;
|