Home
last modified time | relevance | path

Searched refs:nrefs (Results 1 – 10 of 10) sorted by relevance

/external/elfutils/libdwfl/
Dderelocate.c86 size_t nrefs = 0; in cache_sections() local
93 nrefs = -1; in cache_sections()
131 nrefs = -1; in cache_sections()
142 ++nrefs; in cache_sections()
168 mod->reloc_info = malloc (offsetof (struct dwfl_relocation, refs[nrefs])); in cache_sections()
172 struct secref **sortrefs = malloc (nrefs * sizeof sortrefs[0]); in cache_sections()
176 for (size_t i = nrefs; i-- > 0; refs = refs->next) in cache_sections()
180 qsort (sortrefs, nrefs, sizeof sortrefs[0], &compare_secrefs); in cache_sections()
182 mod->reloc_info->count = nrefs; in cache_sections()
183 for (size_t i = 0; i < nrefs; ++i) in cache_sections()
[all …]
/external/llvm-project/openmp/runtime/src/
Dkmp_taskdeps.h27 kmp_int32 n = KMP_ATOMIC_DEC(&node->dn.nrefs) - 1; in __kmp_node_deref()
29 KMP_ASSERT(node->dn.nrefs == 0); in __kmp_node_deref()
Dkmp_debugger.cpp204 offset_and_size_of(kmp_base_depnode_t, nrefs),
Dkmp_taskdeps.cpp44 KMP_ATOMIC_ST_RLX(&node->dn.nrefs, 1); // init creates the first reference in __kmp_init_node()
51 KMP_ATOMIC_INC(&node->dn.nrefs); in __kmp_node_ref()
Dkmp.h2251 std::atomic<kmp_int32> nrefs; member
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc2116 static void add_error(grpc_error* error, grpc_error** refs, size_t* nrefs) { in add_error() argument
2118 for (size_t i = 0; i < *nrefs; i++) { in add_error()
2123 refs[*nrefs] = error; in add_error()
2124 ++*nrefs; in add_error()
2130 size_t nrefs = 0; in removal_error() local
2131 add_error(s->read_closed_error, refs, &nrefs); in removal_error()
2132 add_error(s->write_closed_error, refs, &nrefs); in removal_error()
2133 add_error(extra_error, refs, &nrefs); in removal_error()
2135 if (nrefs > 0) { in removal_error()
2137 refs, nrefs); in removal_error()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc2088 static void add_error(grpc_error* error, grpc_error** refs, size_t* nrefs) { in add_error() argument
2090 for (size_t i = 0; i < *nrefs; i++) { in add_error()
2095 refs[*nrefs] = error; in add_error()
2096 ++*nrefs; in add_error()
2102 size_t nrefs = 0; in removal_error() local
2103 add_error(s->read_closed_error, refs, &nrefs); in removal_error()
2104 add_error(s->write_closed_error, refs, &nrefs); in removal_error()
2105 add_error(extra_error, refs, &nrefs); in removal_error()
2107 if (nrefs > 0) { in removal_error()
2109 refs, nrefs); in removal_error()
/external/python/cpython2/Lib/test/
Dtest_curses.py312 nrefs = sys.getrefcount(obj)
317 self.assertEqual(sys.getrefcount(obj), nrefs,
/external/python/cpython3/Lib/test/
Dtest_curses.py327 nrefs = sys.getrefcount(obj)
332 self.assertEqual(sys.getrefcount(obj), nrefs,
/external/python/pycparser/tests/
Dtest_c_parser.py1601 self.nrefs = 0
1605 self.nrefs += 1
1645 self.assertEqual(iv.nrefs, num)