Searched refs:nobjects (Results 1 – 3 of 3) sorted by relevance
13 int nobjects; variable15 Stack(): nobjects(0) {} in Stack()17 if (nobjects >= max_stack_size) { in push()21 objects[nobjects++] = a; in push()24 if (!nobjects) { in pop()28 nobjects -= 1; in pop()29 T result = objects[nobjects]; in pop()33 if (!nobjects) { in top()37 return objects[nobjects - 1]; in top()39 int n() const { return nobjects; } in n()
135 static size_t nobjects = 0; variable889 if ((tobjects = recallocarray(objects, nobjects,890 nobjects + 1, sizeof(*objects))) == NULL) {896 nobjects++;897 objects[nobjects - 1].oid = $2;898 objects[nobjects - 1].name = $4;911 objects[nobjects - 1].isint = 1;912 objects[nobjects - 1].intval = $2;915 objects[nobjects - 1].isint = 0;916 objects[nobjects - 1].sval = $2;[all …]
728 size_t fsz, msz, nobjects; in _libelf_write_scn() local823 nobjects = (size_t) (d->d_size / msz); in _libelf_write_scn()825 fsz = _libelf_fsize(d->d_type, ec, e->e_version, nobjects); in _libelf_write_scn()