/external/linux-kselftest/tools/testing/selftests/vm/ |
mlock-random-test.c | 143 struct rlimit cur; local 146 getrlimit(RLIMIT_MEMLOCK, &cur); 147 if (cur.rlim_cur < alloc_size) { 149 alloc_size, (unsigned int)cur.rlim_cur); 220 struct rlimit cur; local 222 getrlimit(RLIMIT_MEMLOCK, &cur); 223 if (cur.rlim_cur >= alloc_size) { 225 alloc_size, (unsigned int)cur.rlim_cur); 233 int lock_size = (rand() % (alloc_size - cur.rlim_cur)) 234 + cur.rlim_cur [all...] |
/system/extras/tests/workloads/ |
feedly-chrome.sh | 57 cur=1 58 while [ $cur -le $iterations ] 61 echo Iteration $cur of $iterations 106 ((cur=cur+1))
|
/external/compiler-rt/lib/asan/ |
asan_suppressions.cc | 93 for (SymbolizedStack *cur = frames; cur; cur = cur->next) { 94 const char *function_name = cur->info.function;
|
/external/harfbuzz_ng/src/ |
hb-ot-shape-normalize.cc | 100 buffer->cur().glyph_index() = glyph; 108 buffer->cur().glyph_index() = glyph; 166 hb_codepoint_t u = buffer->cur().codepoint; 187 if (_hb_glyph_info_is_unicode_space (&buffer->cur())) 193 _hb_glyph_info_set_unicode_space_fallback_type (&buffer->cur(), space_type); 222 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) { 224 if (font->get_variation_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index())) 226 buffer->replace_glyphs (2, 1, &buffer->cur().codepoint) [all...] |
/external/libxml2/ |
xmlcatalog.c | 97 char *cmdline = NULL, *cur; local 113 cur = cmdline; 115 while ((*cur == ' ') || (*cur == '\t')) cur++; 117 while ((*cur != ' ') && (*cur != '\t') && 118 (*cur != '\n') && (*cur != '\r')) { 119 if (*cur == 0 [all...] |
nanoftp.c | 644 int res = -1, cur = -1; local 668 cur = xmlNanoFTPParseResponse(ptr, end - ptr); 669 if (cur > 0) { 675 res = cur; 1376 char buf[200], *cur; local 1599 const char *cur = list; local [all...] |
rngparser.c | 73 const xmlChar *cur; member in struct:_xmlCRelaxNGParserCtxt 172 const xmlChar *cur; local 184 cur = ctxt->cur; 185 while ((*cur != '\n') && (*cur != '\r') && (ctxt->cur - cur < 80)) cur--; 186 l = ctxt->cur - cur 251 const xmlChar *cur; local 671 xmlNodePtr insert = ctxt->insert, cur; local 700 xmlNodePtr cur; local [all...] |
testrecurse.c | 345 const xmlChar *cur, *base; local 351 cur = input->cur; 354 while ((cur > base) && ((*(cur) == '\n') || (*(cur) == '\r'))) { 355 cur--; 359 while ((n++ < (sizeof(content)-1)) && (cur > base) && 360 (*(cur) != '\n') && (*(cur) != '\r') 403 xmlParserInputPtr cur = NULL; local 599 const char *cur; local [all...] |
uri.c | 210 const char *cur; local 215 cur = *str; 216 if (!ISA_ALPHA(cur)) 218 cur++; 219 while (ISA_ALPHA(cur) || ISA_DIGIT(cur) || 220 (*cur == '+') || (*cur == '-') || (*cur == '.')) cur++ 247 const char *cur; local 284 const char *cur; local 328 const char *cur = *str; local 360 const char *cur; local 396 const char *cur = *str; local 435 const char *cur = *str; local 511 const char *cur; local 553 const char *cur; local 582 const char *cur; local 622 const char *cur; local 668 const char *cur; local 710 const char *cur; local 755 const char *cur; local 1414 char *cur, *out; local 1885 int ret, len, indx, cur, out; local [all...] |
xinclude.c | 164 * @cur: the node 172 xmlXIncludeGetProp(xmlXIncludeCtxtPtr ctxt, xmlNodePtr cur, 176 ret = xmlGetNsProp(cur, XINCLUDE_NS, name); 180 ret = xmlGetNsProp(cur, XINCLUDE_OLD_NS, name); 184 ret = xmlGetProp(cur, name); 484 * @cur: the new node 489 xmlXIncludeAddNode(xmlXIncludeCtxtPtr ctxt, xmlNodePtr cur) { 504 if (cur == NULL) 513 href = xmlXIncludeGetProp(ctxt, cur, XINCLUDE_HREF); 521 parse = xmlXIncludeGetProp(ctxt, cur, XINCLUDE_PARSE) 847 xmlNodePtr cur, res, result = NULL, last = NULL; local 916 xmlNodePtr start, cur, end; local 1158 xmlNodePtr tmp, cur = set->nodeTab[i]; local 1345 xmlNodePtr cur; local 1912 int cur; local 2030 xmlNodePtr cur; local 2187 xmlNodePtr cur, end, list, tmp; local 2365 xmlNodePtr cur; local [all...] |
/art/runtime/ |
handle_scope-inl.h | 218 const LocalScopeType* cur = current_scope_; local 219 while (cur != nullptr) { 220 sum += cur->NumberOfReferences(); 221 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()); 228 const LocalScopeType* cur = current_scope_; local 229 while (cur != nullptr) { 230 if (cur->Contains(handle_scope_entry)) { 233 cur = reinterpret_cast<const LocalScopeType*>(cur->GetLink()) 240 LocalScopeType* cur = current_scope_; local [all...] |
/external/skia/src/gpu/ |
GrResourceAllocator.cpp | 222 while (Interval* cur = fIntvlList.popHead()) { 223 if (fEndOfOpListOpIndices[fCurOpListIndex] < cur->start()) { 227 this->expire(cur->start()); 229 bool needsStencil = cur->proxy()->asRenderTargetProxy() 230 ? cur->proxy()->asRenderTargetProxy()->needsStencil() 233 if (cur->proxy()->priv().isInstantiated()) { 235 cur->proxy()->priv().peekSurface(), 238 fActiveIntvls.insertByIncreasingEnd(cur); 252 if (GrSurfaceProxy::LazyState::kNot != cur->proxy()->lazyInstantiationState()) { 253 if (!cur->proxy()->priv().doLazyInstantiation(fResourceProvider)) [all...] |
/external/skqp/src/gpu/ |
GrResourceAllocator.cpp | 212 while (Interval* cur = fIntvlList.popHead()) { 213 if (fEndOfOpListOpIndices[fCurOpListIndex] < cur->start()) { 217 this->expire(cur->start()); 219 bool needsStencil = cur->proxy()->asRenderTargetProxy() 220 ? cur->proxy()->asRenderTargetProxy()->needsStencil() 223 if (cur->proxy()->priv().isInstantiated()) { 225 cur->proxy()->priv().peekSurface(), 228 fActiveIntvls.insertByIncreasingEnd(cur); 242 if (GrSurfaceProxy::LazyState::kNot != cur->proxy()->lazyInstantiationState()) { 243 if (!cur->proxy()->priv().doLazyInstantiation(fResourceProvider)) [all...] |
/prebuilts/tools/darwin-x86/bazel/ |
bazel-complete.bash | 122 local cur=${COMP_LINE:0:$COMP_POINT} 131 local word_start=$(expr "$cur" : '.*[^\]['"${wordbreaks}"']') 132 echo "${cur:$word_start}" 379 local workspace="$1" displacement="$2" cur="$3" options="$4" 380 if [[ $cur =~ = ]]; then 382 current=$(echo "$cur" | cut -f2 -d=) 384 "$(compgen -W "$options" -- "$cur" | cut -f2 -d=)" \ 387 compgen -W "$(echo "$options" | sed 's|=.*$|=|')" -- "$cur" \ 394 local cur=$(_bazel__get_cword) word command displacement workspace 406 _bazel__expand_options "$workspace" "$displacement" "$cur" \ [all...] |
/prebuilts/tools/linux-x86/bazel/ |
bazel-complete.bash | 122 local cur=${COMP_LINE:0:$COMP_POINT} 131 local word_start=$(expr "$cur" : '.*[^\]['"${wordbreaks}"']') 132 echo "${cur:$word_start}" 379 local workspace="$1" displacement="$2" cur="$3" options="$4" 380 if [[ $cur =~ = ]]; then 382 current=$(echo "$cur" | cut -f2 -d=) 384 "$(compgen -W "$options" -- "$cur" | cut -f2 -d=)" \ 387 compgen -W "$(echo "$options" | sed 's|=.*$|=|')" -- "$cur" \ 394 local cur=$(_bazel__get_cword) word command displacement workspace 406 _bazel__expand_options "$workspace" "$displacement" "$cur" \ [all...] |
/external/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
s-c1.c | 422 mes_t *cur; local 461 cur = measures; 472 while (cur->next != NULL) { 473 cur = cur->next; 477 if (cur->_data != 0) { 479 Xavg += (double)cur->nprocess; 480 LnXavg += log((double)cur->nprocess); 481 Yavg += (double)cur->_data; 482 LnYavg += log((double)cur->_data) [all...] |
/bionic/libc/malloc_debug/ |
Config.cpp | 431 const char* cur = *options_str; local 433 while (isspace(*cur)) ++cur; 435 if (*cur == '\0') { 436 *options_str = cur; 440 const char* start = cur; 441 while (!isspace(*cur) && *cur != '=' && *cur != '\0') ++cur; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_resource.py | 19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
29 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
33 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
70 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
75 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
82 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
seekoff.pass.cpp | 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); 33 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 42 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 45 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 50 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7);
|
/external/libxml2/include/libxml/ |
xmlstring.h | 41 xmlStrdup (const xmlChar *cur); 43 xmlStrndup (const xmlChar *cur, 46 xmlCharStrndup (const char *cur, 49 xmlCharStrdup (const char *cur); 87 xmlStrcat (xmlChar *cur, 90 xmlStrncat (xmlChar *cur,
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
seekoff.pass.cpp | 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 29 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in | std::ios_base::out) == -1); 33 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 42 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::in) == 6); 45 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out | std::ios_base::in) == -1); 50 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == 7);
|
/art/runtime/gc/ |
reference_queue.cc | 104 ObjPtr<mirror::Reference> cur = list_; local 106 if (cur == nullptr) { 110 ObjPtr<mirror::Reference> pending_next = cur->GetPendingNext(); 111 os << "Reference= " << cur << " PendingNext=" << pending_next; 112 if (cur->IsFinalizerReferenceInstance()) { 113 os << " Zombie=" << cur->AsFinalizerReference()->GetZombie(); 116 cur = pending_next; 117 } while (cur != list_); 122 ObjPtr<mirror::Reference> cur = list_; local 123 if (cur != nullptr) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
WindowSurface.java | 109 float adjDelta(float cur, float minStep, float maxStep) { 110 cur += (Math.random()*minStep) - (minStep/2); 111 if (cur < 0 && cur > -minStep) cur = -minStep; 112 if (cur >= 0 && cur < minStep) cur = minStep; 113 if (cur > maxStep) cur = maxStep [all...] |
/external/python/cpython3/Lib/sqlite3/test/ |
transactions.py | 142 cur = con.cursor() 143 cur.execute("create table test(x)") 144 cur.execute("insert into test(x) values (5)") 145 cur.execute("select 1 union select 2 union select 3") 149 cur.fetchall() 154 self.cur = self.con.cursor() 157 self.cur.execute("create table test(i)") 158 self.cur.execute("insert into test(i) values (5)") 159 self.cur.execute("drop table test") 162 self.cur.execute("create table test(i)" [all...] |
/external/selinux/libsepol/src/ |
hierarchy.c | 129 cond_av_list_t *cur, avtab_t *avtab, 135 for (; cur; cur = cur->next) { 136 avtab_ptr_t n = cur->node; 174 static void bounds_destroy_cond_info(struct bounds_cond_info *cur) 178 for (; cur; cur = next) { 179 next = cur->next; 180 avtab_destroy(&cur->true_avtab) 194 cond_list_t *cur; local 333 cond_av_list_t *cur; local 383 struct bounds_cond_info *cur; local [all...] |