Lines Matching refs:used
56 for (int i = !p->cvlist[0].v.u2[1], used = p->nconfig; i < used; ++i) { in FREE_FUNC() local
78 uint32_t used = 0; in mod_evhost_parse_pattern() local
87 if (used >= sz-1) /* (should not happen) */ in mod_evhost_parse_pattern()
111 buffer_copy_string_len(bptr+used, pos, ptr-pos); in mod_evhost_parse_pattern()
114 buffer_copy_string_len(bptr+used+1, ptr, len); in mod_evhost_parse_pattern()
117 used += 2; in mod_evhost_parse_pattern()
122 if (used >= sz) /* (should not happen) */ in mod_evhost_parse_pattern()
124 buffer_copy_string_len(bptr+used, pos, ptr-pos); in mod_evhost_parse_pattern()
125 ++used; in mod_evhost_parse_pattern()
128 buffer * const path_pieces = ck_malloc((used+1) * sizeof(buffer)); in mod_evhost_parse_pattern()
129 return memcpy(path_pieces, bptr, (used+1) * sizeof(buffer)); in mod_evhost_parse_pattern()
152 for (int i = 1, used = p->nconfig; i < used; ++i) { in mod_evhost_patch_config() local