Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libcustr/common/
H A Dcustr.c79 custr_reset(custr_t *cus) in custr_reset() argument
81 if (cus->cus_data == NULL) in custr_reset()
84 cus->cus_strlen = 0; in custr_reset()
85 cus->cus_data[0] = '\0'; in custr_reset()
89 custr_remove(custr_t *cus, size_t idx, size_t len) in custr_remove() argument
102 if (idx >= cus->cus_strlen || endidx > cus->cus_strlen) { in custr_remove()
111 (void) memmove(cus->cus_data + idx, cus->cus_data + endidx, in custr_remove()
112 cus->cus_strlen - endidx + 1); in custr_remove()
113 cus->cus_strlen -= len; in custr_remove()
116 VERIFY0(cus->cus_data[cus->cus_strlen]); in custr_remove()
[all …]
/illumos-gate/usr/src/lib/libdemangle/common/
H A Drust.c49 custr_t *cus = st->rs_demangled; in rust_appendc() local
79 if (custr_appendc(cus, c) != 0) { in rust_appendc()
95 custr_t *cus = st->rs_demangled; in rust_append_utf8_c() local
134 if (custr_appendc(cus, c[i]) != 0) { in rust_append_utf8_c()
146 custr_t *cus = st->rs_demangled; in rust_append() local
154 if (custr_append(cus, s) != 0) { in rust_append()
/illumos-gate/usr/src/cmd/demangle/
H A Ddemangle.c199 appendc(custr_t *cus, char c) in appendc() argument
201 if (custr_appendc(cus, c) == 0) in appendc()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_dwarf.c3343 ctf_cu_t *cus, size_t nr_cus) in c_source_has_debug() argument
3371 if (cus[i].cu_name != NULL && in c_source_has_debug()
3372 strcmp(basename, cus[i].cu_name) == 0) { in c_source_has_debug()
3381 ctf_dwarf_check_missing(ctf_convert_t *cch, ctf_cu_t *cus, size_t nr_cus, in ctf_dwarf_check_missing() argument
3446 if (!c_source_has_debug(cch, file, cus, nr_cus)) { in ctf_dwarf_check_missing()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c10248 custr_t *cus; in print_overlay_targ_cb() local
10266 if (custr_alloc_buf(&cus, buf, bufsize) != 0) { in print_overlay_targ_cb()
10277 (void) custr_append(cus, macbuf); in print_overlay_targ_cb()
10298 (void) custr_appendc(cus, ','); in print_overlay_targ_cb()
10299 (void) custr_append(cus, ipbuf); in print_overlay_targ_cb()
10304 (void) custr_appendc(cus, ':'); in print_overlay_targ_cb()
10306 (void) custr_appendc(cus, ','); in print_overlay_targ_cb()
10307 (void) custr_append_printf(cus, "%u", point->dop_port); in print_overlay_targ_cb()
10310 custr_free(cus); in print_overlay_targ_cb()