Home
last modified time | relevance | path

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

/tools/perf/util/
A Dcomm.c20 int num_strs; member
31 _comm_strs.num_strs = 0; in comm_strs__init()
112 entry = bsearch(comm_str__str(cs), comm_strs->strs, comm_strs->num_strs, in comm_strs__remove_if_last()
115 for (int i = entry - comm_strs->strs; i < comm_strs->num_strs - 1; i++) in comm_strs__remove_if_last()
117 comm_strs->num_strs--; in comm_strs__remove_if_last()
127 result = bsearch(str, comm_strs->strs, comm_strs->num_strs, sizeof(struct comm_str *), in __comm_strs__find()
153 if (comm_strs->num_strs == comm_strs->capacity) { in comm_strs__findnew()
168 int low = 0, high = comm_strs->num_strs - 1; in comm_strs__findnew()
169 int insert = comm_strs->num_strs; /* Default to inserting at the end. */ in comm_strs__findnew()
183 (comm_strs->num_strs - insert) * sizeof(struct comm_str *)); in comm_strs__findnew()
[all …]

Completed in 3 milliseconds