Home
last modified time | relevance | path

Searched refs:conv (Results 1 – 25 of 210) sorted by relevance

123456789

/freebsd/contrib/bsnmp/tests/
H A Dasn1.cc436 conv(3, 0x0, "x46:01:00"_cbuf);
437 conv(3, 0x1, "x46:01:01"_cbuf);
438 conv(3, 0x7f, "x46:01:7f"_cbuf);
526 conv("x41:01:00"_cbuf, 0x0U);
613 conv(3, 0x0, "x41:01:00"_cbuf);
614 conv(3, 0x1, "x41:01:01"_cbuf);
615 conv(3, 0x7f, "x41:01:7f"_cbuf);
790 conv(3, 0x0, "x02:01:00"_cbuf);
791 conv(3, 0x1, "x02:01:01"_cbuf);
792 conv(3, 0x7f, "x02:01:7f"_cbuf);
[all …]
/freebsd/contrib/libedit/
H A Dchartype.c59 p = el_realloc(conv->cbuff, conv->csize * sizeof(*conv->cbuff)); in ct_conv_cbuff_resize()
61 conv->csize = 0; in ct_conv_cbuff_resize()
66 conv->cbuff = p; in ct_conv_cbuff_resize()
80 p = el_realloc(conv->wbuff, conv->wsize * sizeof(*conv->wbuff)); in ct_conv_wbuff_resize()
82 conv->wsize = 0; in ct_conv_wbuff_resize()
87 conv->wbuff = p; in ct_conv_wbuff_resize()
138 mbstowcs(conv->wbuff, s, conv->wsize); in ct_decode_string()
230 conv->wsize - (size_t)(dst - conv->wbuff), *s); in ct_visual_string()
239 if (ct_conv_wbuff_resize(conv, conv->wsize + CT_BUFSIZ) == -1) in ct_visual_string()
244 if (dst >= (conv->wbuff + conv->wsize)) { /* sigh */ in ct_visual_string()
[all …]
H A Dsearch.c117 static ct_buffer_t conv; in el_match() local
133 if (regcomp(&re, ct_encode_string(pat, &conv), 0) == 0) { in el_match()
134 rv = regexec(&re, ct_encode_string(str, &conv), (size_t)0, NULL, in el_match()
142 if ((re = regcomp(ct_encode_string(pat, &conv))) != NULL) { in el_match()
143 rv = regexec(re, ct_encode_string(str, &conv)); in el_match()
150 if (re_comp(ct_encode_string(pat, &conv)) != NULL) in el_match()
153 return re_exec(ct_encode_string(str, &conv)) == 1; in el_match()
573 static ct_buffer_t conv; in cv_repeat_srch() local
575 c, el->el_search.patlen, ct_encode_string(el->el_search.patbuf, &conv)); in cv_repeat_srch()
/freebsd/contrib/openpam/lib/libpam/
H A Dpam_vprompt.c65 const struct pam_conv *conv; in pam_vprompt() local
73 conv = convp; in pam_vprompt()
74 if (conv == NULL || conv->conv == NULL) { in pam_vprompt()
83 r = (conv->conv)(1, &msgp, &rsp, conv->appdata_ptr); in pam_vprompt()
/freebsd/bin/dd/
H A DMakefile6 SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
18 .for conv in ascii ebcdic ibm oldascii oldebcdic oldibm \
21 @${ECHO} testing conv=${conv}
23 LC_ALL=en_US.US-ASCII ./dd conv=${conv} 2>/dev/null | \
25 diff -I FreeBSD - ${.CURDIR}/ref.${conv}
28 @./gen 189284 | ./dd ibs=16 obs=8 conv=sparse of=obs_zeroes 2> /dev/null
33 @./dd if=1M_zeroes of=1M_zeroes.1 bs=1048576 conv=sparse 2> /dev/null
/freebsd/contrib/nvi/common/
H A Dconv.c159 sp->conv.id[IC_FE_CHAR2INT]); in fe_char2int()
167 sp->conv.id[IC_IE_CHAR2INT]); in ie_char2int()
296 sp->conv.id[IC_FE_INT2CHAR]); in fe_int2char()
322 memmove(&sp->conv, &orig->conv, sizeof(CONV)); in conv_init()
343 sp->conv.sys2int = sp->conv.file2int = raw2int; in conv_init()
344 sp->conv.int2sys = sp->conv.int2file = int2raw; in conv_init()
345 sp->conv.input2int = raw2int; in conv_init()
347 sp->conv.sys2int = cs_char2int; in conv_init()
348 sp->conv.int2sys = cs_int2char; in conv_init()
361 sp->conv.id[i] = (iconv_t)-1; in conv_init()
[all …]
H A Dkey.h14 sp->conv.file2int(sp, n, nlen, &buf, &wlen, &w)
16 sp->conv.int2file(sp, w, wlen, &sp->cw, &nlen, &n)
18 sp->conv.sys2int(sp, n, nlen, &buf, &wlen, &w)
20 sp->conv.int2sys(sp, w, wlen, &sp->cw, &nlen, &n)
22 sp->conv.input2int(sp, n, nlen, &(cw), &wlen, &w)
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_conv.c401 conv = 2; in unix2dosfn()
403 conv = 3; in unix2dosfn()
407 conv = 3; in unix2dosfn()
412 conv = 3; in unix2dosfn()
440 conv = 2; in unix2dosfn()
442 conv = 3; in unix2dosfn()
446 conv = 3; in unix2dosfn()
451 conv = 3; in unix2dosfn()
465 conv = 0; in unix2dosfn()
477 conv = 0; in unix2dosfn()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremoval_nopwrite.ksh43 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
46 conv=notrunc >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
54 count=$MEGS oflag=sync conv=notrunc >/dev/null 2>&1 || \
66 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
70 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
76 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
80 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
104 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
108 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
117 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
[all …]
/freebsd/usr.bin/calendar/
H A Devents.c41 static iconv_t conv = (iconv_t)-1; variable
68 if (conv != (iconv_t) -1) { in set_new_encoding()
69 iconv_close(conv); in set_new_encoding()
70 conv = (iconv_t) -1; in set_new_encoding()
91 if (conv == (iconv_t)-1) { in convert()
92 conv = iconv_open(outputEncoding, currentEncoding); in convert()
93 if (conv == (iconv_t)-1) { in convert()
113 converted = iconv(conv, (char **) &inbuf, &inleft, &outbuf, &outleft); in convert()
137 iconv(conv, NULL, NULL, &outbuf, &outleft); in convert()
/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_conv.c299 int conv = 1; in unix2dosfn() local
367 && conv != 3) in unix2dosfn()
368 conv = 2; in unix2dosfn()
370 conv = 3; in unix2dosfn()
375 conv = 3; in unix2dosfn()
393 && conv != 3) in unix2dosfn()
394 conv = 2; in unix2dosfn()
396 conv = 3; in unix2dosfn()
401 conv = 3; in unix2dosfn()
420 if (conv != 3) { in unix2dosfn()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_negative.ksh46 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
52 conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
59 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
65 conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
71 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
76 conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
82 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
87 conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
H A Dnopwrite_copies.ksh46 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
52 conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
62 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
68 conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
/freebsd/tests/sys/geom/class/gate/
H A Dggate_test.sh22 atf_check -e ignore -o ignore dd if=/dev/random of=/dev/$work bs=1m count=1 conv=notrunc
63 dd if=/dev/random of=/dev/$work bs=1m count=1 conv=notrunc
65 dd if=/dev/random of=/dev/$src bs=1m count=1 conv=notrunc
78 dd if=/dev/${src} of=${ggate_dev} bs=1m count=1 conv=notrunc
114 dd if=src of=${ggate_dev} bs=1m count=1 conv=notrunc
142 dd if=/dev/random of=$work bs=1m count=1 conv=notrunc
144 dd if=/dev/random of=$src bs=1m count=1 conv=notrunc
153 dd if=/dev/$src of=${ggate_dev} bs=1m count=1 conv=notrunc
/freebsd/contrib/openpam/modules/pam_unix/
H A Dpam_unix.c68 struct pam_conv *conv; in pam_sm_authenticate() local
89 pam_err = pam_get_item(pamh, PAM_CONV, (const void **)&conv); in pam_sm_authenticate()
102 pam_err = (*conv->conv)(1, &msgp, &resp, conv->appdata_ptr); in pam_sm_authenticate()
/freebsd/sys/contrib/device-tree/Bindings/net/pcs/
H A Drenesas,rzn1-miic.yaml56 "^mii-conv@[0-5]$":
147 mii_conv1: mii-conv@1 {
152 mii_conv2: mii-conv@2 {
157 mii_conv3: mii-conv@3 {
162 mii_conv4: mii-conv@4 {
167 mii_conv5: mii-conv@5 {
/freebsd/tests/sys/geom/class/eli/
H A Dintegrity_test.sh21 conv=notrunc status=none
23 conv=notrunc status=none
39 seek=$(( $secsize / 512 )) of=sector conv=notrunc status=none
41 seek=$(( $secsize / 256 )) if=sector conv=notrunc status=none
83 atf_check dd if=rnd of=sector bs=1 count=8 seek=64 conv=notrunc status=none
127 atf_check dd if=rnd of=sector bs=1 count=16 conv=notrunc status=none
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_hole_birth.ksh86 conv=notrunc
88 conv=notrunc
113 log_must dd if=/dev/urandom of=/$sendfs/file1 bs=512 count=128k conv=notrunc
118 conv=notrunc
/freebsd/tools/test/stress2/misc/
H A Dtmpfs24.sh60 printf "\001" | dd of=$file seek=$((0*bs)) bs=1 count=1 conv=notrunc status=none
61 printf "\002" | dd of=$file seek=$((2*bs)) bs=1 count=1 conv=notrunc status=none
62 printf "\003" | dd of=$file seek=$((4*bs)) bs=1 count=1 conv=notrunc status=none
H A Dseekhole.sh64 printf "\001" | dd of=$file seek=$((0*bs)) bs=1 count=1 conv=notrunc status=none
65 printf "\002" | dd of=$file seek=$((2*bs)) bs=1 count=1 conv=notrunc status=none
66 printf "\003" | dd of=$file seek=$((4*bs)) bs=1 count=1 conv=notrunc status=none
/freebsd/lib/libiconv_modules/mapper_std/
H A Dcitrus_mapper_std.c86 uint32_t conv; in rowcol_convert() local
110 conv = _region_peek8(&rc->rc_table, idx); in rowcol_convert()
113 conv = be16toh(_region_peek16(&rc->rc_table, idx*2)); in rowcol_convert()
116 conv = be32toh(_region_peek32(&rc->rc_table, idx*4)); in rowcol_convert()
122 if (conv == rc->rc_dst_invalid) { in rowcol_convert()
126 if (conv == rc->rc_dst_ilseq) in rowcol_convert()
129 *dst = conv; in rowcol_convert()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/
H A Dcp_files_002_pos.ksh110 count=1 conv=notrunc
123 seek=$(($RANDOM % $SRC_SIZE)) count=$((1 + $RANDOM % 16)) conv=notrunc
148 count=1 conv=notrunc
155 seek=$(($RANDOM % $SRC_SIZE)) count=$((1 + $RANDOM % 16)) conv=notrunc
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_trim.ksh94 log_must dd if=$datafile1 of=$zvolpath conv=fsync
114 log_must dd if=/dev/zero of="$datafile1" bs=1M count=1 conv=notrunc
115 log_must dd if=/dev/zero of="$datafile1" bs=1M count=2 seek=3 conv=notrunc
/freebsd/usr.sbin/nvram/
H A Dnvram.c55 } conv; variable
121 memcpy(conv.buf, cp, sizeof(struct chrp_header)); in main()
122 size = conv.header.length * 0x10; in main()
123 if (strncmp(conv.header.name, "common", 7) == 0) in main()
/freebsd/tools/tools/nanobsd/
H A Dlegacy.sh138 dd conv=sparse if=/dev/${MD} of=${NANO_DISKIMGDIR}/_.disk.image bs=64k
196 dd conv=sparse if=${NANO_DISKIMGDIR}/_.disk.image of=/dev/${MD}${NANO_SLICE_ROOT} bs=64k
201 dd conv=sparse if=/dev/${MD}${NANO_SLICE_ROOT} of=/dev/${MD}${NANO_SLICE_ALTROOT} bs=64k
238 dd conv=sparse if=/dev/${MD} of=${IMG} bs=64k

123456789