conv
const struct conv *cp;
struct conv tmp;
return (strcmp(((const struct conv *)a)->name,
((const struct conv *)b)->name));
conv = _region_peek8(&rc->rc_table, idx);
conv = be16toh(_region_peek16(&rc->rc_table, idx*2));
conv = be32toh(_region_peek32(&rc->rc_table, idx*4));
if (conv == rc->rc_dst_invalid) {
if (conv == rc->rc_dst_ilseq)
*dst = conv;
u_int32_t conv;
dst = conv->cbuff;
used = (ssize_t)(dst - conv->cbuff);
if ((conv->csize - (size_t)used) < 5) {
if (ct_conv_cbuff_resize(conv,
conv->csize + CT_BUFSIZ) == -1)
dst = conv->cbuff + used;
return conv->cbuff;
ct_decode_string(const char *s, ct_buffer_t *conv)
if (conv->wsize < ++len)
if (ct_conv_wbuff_resize(conv, len + CT_BUFSIZ) == -1)
mbstowcs(conv->wbuff, s, conv->wsize);
return conv->wbuff;
ct_decode_argv(int argc, const char *argv[], ct_buffer_t *conv)
if (conv->wsize < ++bufspace)
if (ct_conv_wbuff_resize(conv, bufspace + CT_BUFSIZ) == -1)
for (i = 0, p = conv->wbuff; i < argc; ++i) {
ct_visual_string(const wchar_t *s, ct_buffer_t *conv)
if (ct_conv_wbuff_resize(conv, CT_BUFSIZ) == -1)
dst = conv->wbuff;
conv->wsize - (size_t)(dst - conv->wbuff), *s);
uintptr_t sused = (uintptr_t)dst - (uintptr_t)conv->wbuff;
if (ct_conv_wbuff_resize(conv, conv->wsize + CT_BUFSIZ) == -1)
dst = conv->wbuff + sused;
if (dst >= (conv->wbuff + conv->wsize)) { /* sigh */
uintptr_t sused = (uintptr_t)dst - (uintptr_t)conv->wbuff;
if (ct_conv_wbuff_resize(conv, conv->wsize + CT_BUFSIZ) == -1)
dst = conv->wbuff + sused;
return conv->wbuff;
ct_conv_cbuff_resize(ct_buffer_t *conv, size_t csize)
if (csize <= conv->csize)
conv->csize = csize;
p = el_realloc(conv->cbuff, conv->csize * sizeof(*conv->cbuff));
conv->csize = 0;
el_free(conv->cbuff);
conv->cbuff = NULL;
conv->cbuff = p;
ct_conv_wbuff_resize(ct_buffer_t *conv, size_t wsize)
if (wsize <= conv->wsize)
conv->wsize = wsize;
p = el_realloc(conv->wbuff, conv->wsize * sizeof(*conv->wbuff));
conv->wsize = 0;
el_free(conv->wbuff);
conv->wbuff = NULL;
conv->wbuff = p;
ct_encode_string(const wchar_t *s, ct_buffer_t *conv)
static ct_buffer_t conv;
decode_result = ct_decode_string(ptr, &conv);
static ct_buffer_t conv;
str = ct_encode_string(ev.str, &conv);
static ct_buffer_t conv;
if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) {
rv = regexec(&re, ct_encode_string(str, &conv), (size_t)0, NULL,
if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) {
rv = regexec(re, ct_encode_string(str, &conv));
if (re_comp(ct_encode_string(pat, &conv)) != NULL)
return re_exec(ct_encode_string(str, &conv)) == 1;
static ct_buffer_t conv;
c, el->el_search.patlen, ct_encode_string(el->el_search.patbuf, &conv));
const struct pam_conv *conv;
conv = (const struct pam_conv *)item;
if ((retval = conv->conv(num_msgs, msg_ptrs, &resp,
conv->appdata_ptr)) != PAM_SUCCESS)
struct pam_conv conv = { &auth_conv, &auth_cred };
e = pam_start("telnetd", name, &conv, &pamh);
struct ftpconv *conv, *cnext;
for (conv = curclass.conversions; conv != NULL;
conv = conv->next) {
if (strcmp(conv->suffix, suffix) == 0)
if (conv == NULL) {
conv = (struct ftpconv *)
if (conv == NULL) {
conv->next = NULL;
cnext->next = conv;
curclass.conversions = conv;
REASSIGN(conv->suffix, suffix);
REASSIGN(conv->types, types);
REASSIGN(conv->disable, disable);
REASSIGN(conv->command, convcmd);
struct ftpconv *conv, *cnext;
for (conv = curclass.conversions; conv != NULL; conv = cnext) {
REASSIGN(conv->suffix, NULL);
REASSIGN(conv->types, NULL);
REASSIGN(conv->disable, NULL);
REASSIGN(conv->command, NULL);
cnext = conv->next;
free(conv);
struct pam_conv conv = { &auth_conv, &auth_cred };
e = pam_start("ftpd", curname, &conv, &pamh);
int conv = 1;
&& conv != 3)
conv = 2;
conv = 3;
conv = 3;
&& conv != 3)
conv = 2;
conv = 3;
conv = 3;
if (conv != 3) {
return conv;
conv = &devsw_conv[i];
if (conv->d_name == NULL)
len = strlen(conv->d_name);
if (strncmp(conv->d_name, name, len) != 0)
bmajor = conv->d_bmajor;
if (strlen(conv->d_name) >= devnamelen)
strncpy(devname, conv->d_name, devnamelen);
struct devsw_conv *conv;
conv = &devsw_conv[i];
if (conv->d_name == NULL)
len = strlen(conv->d_name);
if (strncmp(conv->d_name, name, len) != 0)
cmajor = conv->d_cmajor;
if (strlen(conv->d_name) >= devnamelen)
strncpy(devname, conv->d_name, devnamelen);
struct devsw_conv *conv;
conv = &devsw_conv[i];
if (conv->d_name == NULL || strcmp(devname, conv->d_name) != 0)
*bmajor = conv->d_bmajor;
*cmajor = conv->d_cmajor;
if (*bmajor != conv->d_bmajor || *cmajor != conv->d_cmajor) {
struct devsw_conv *conv;
audio_write(int fd, void *buf, size_t len, convert conv)
if (conv == NULL)
len = conv(buf, convert_buffer, len);
convert conv = NULL;
sizet_filesize, audiofd, &datasize, file, &conv)) < 0) {
nw = audio_write(audiofd, addr, bufsize, conv);
nw = audio_write(audiofd, addr, datasize, conv);
convert conv = NULL;
hdrlen = audioctl_write_fromhdr(buffer, nr, audiofd, &datasize, file, &conv);
nw = audio_write(audiofd, buffer, nr, conv);
audioctl_write_fromhdr(void *hdr, size_t fsz, int fd, off_t *datasize, const char *file, convert *conv)
*conv = NULL;
*conv = float32_to_linear32;
*conv = float64_to_linear32;
conv:
goto conv;
goto conv;
goto conv;
goto conv;
goto conv;
goto conv;
goto conv;