Searched refs:nrefs (Results 1 – 4 of 4) sorted by relevance
/external/elfutils/libdwfl/ |
D | derelocate.c | 86 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/ |
D | chttp2_transport.cc | 2116 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/ |
D | test_curses.py | 312 nrefs = sys.getrefcount(obj) 317 self.assertEqual(sys.getrefcount(obj), nrefs,
|
/external/python/cpython3/Lib/test/ |
D | test_curses.py | 323 nrefs = sys.getrefcount(obj) 328 self.assertEqual(sys.getrefcount(obj), nrefs,
|