Home
last modified time | relevance | path

Searched refs:nrefs (Results 1 – 4 of 4) 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/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/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.py323 nrefs = sys.getrefcount(obj)
328 self.assertEqual(sys.getrefcount(obj), nrefs,