Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
Dmake_shared.pass.cpp55 int nc = new_count; in main() local
60 assert(new_count == nc+1); in main()
66 nc = new_count; in main()
70 assert(new_count == nc+1); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Ddebug.cpp152 size_t nc = __next_prime(2*static_cast<size_t>(__cend_ - __cbeg_) + 1); in __insert_c() local
153 __c_node** cbeg = static_cast<__c_node**>(calloc(nc, sizeof(void*))); in __insert_c()
165 size_t h = hash<void*>()(q->__c_) % nc; in __insert_c()
174 __cend_ = __cbeg_ + nc; in __insert_c()
472 size_t nc = 2*static_cast<size_t>(cap_ - beg_); in __add() local
473 if (nc == 0) in __add()
474 nc = 1; in __add()
476 static_cast<__i_node**>(malloc(nc * sizeof(__i_node*))); in __add()
483 if (nc > 1) in __add()
484 memcpy(beg, beg_, nc/2*sizeof(__i_node*)); in __add()
[all …]
/ndk/sources/host-tools/ndk-stack/regex/
Dregcomp.c1025 size_t nc; in allocset() local
1035 nc = p->ncsalloc; in allocset()
1036 assert(nc % CHAR_BIT == 0); in allocset()
1037 nbytes = nc / CHAR_BIT * css; in allocset()
1039 ptr = (cset *)realloc((char *)p->g->sets, nc * sizeof(cset)); in allocset()
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0013-temp-collective-ndk-hackathon-fixes.patch408 size_t nc = __next_prime(2*static_cast<size_t>(__cend_ - __cbeg_) + 1);