Home
last modified time | relevance | path

Searched refs:ascii (Results 1 – 25 of 71) sorted by relevance

123

/titanic_41/usr/src/lib/libresolv2/common/inet/
H A Dnsap_addr.c44 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { in inet_nsap_addr() argument
48 if (ascii[0] != '0' || (ascii[1] != 'x' && ascii[1] != 'X')) in inet_nsap_addr()
50 ascii += 2; in inet_nsap_addr()
52 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) { in inet_nsap_addr()
61 c = *ascii++; in inet_nsap_addr()
80 inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { in inet_nsap_ntoa() argument
86 if (ascii) in inet_nsap_ntoa()
87 start = ascii; in inet_nsap_ntoa()
89 ascii = tmpbuf; in inet_nsap_ntoa()
93 *ascii++ = '0'; in inet_nsap_ntoa()
[all …]
/titanic_41/usr/src/cmd/tsol/atohexlabel/
H A Datohexlabel.c51 label_error(const char *ascii, const int err) in label_error() argument
57 gettext("atohexlabel: bad string %s\n"), ascii); in label_error()
66 "\"%s\" at position %d\n"), ascii, err); in label_error()
82 char ascii[PIPE_BUF]; /* human readable label */ in main() local
117 (void) strlcpy(ascii, argv[optind], sizeof (ascii)); in main()
120 if ((c = read(STDIN_FILENO, ascii, sizeof (ascii))) <= 0) { in main()
129 ascii[c-1] = '\0'; in main()
138 if (str_to_label(ascii, &label, USER_CLEAR, L_NO_CORRECTION, in main()
140 label_error(ascii, err); in main()
150 if (str_to_label(ascii, &label, MAC_LABEL, L_NO_CORRECTION, in main()
[all …]
/titanic_41/usr/src/cmd/tsol/lslabels/
H A Dlslabels.c112 label_error(const char *ascii, const int err) in label_error() argument
118 gettext("lslabels: bad string %s\n"), ascii); in label_error()
127 "\"%s\" at position %d\n"), ascii, err); in label_error()
142 char ascii[PIPE_BUF]; /* human readable label */ in main() local
180 (void) strlcpy(ascii, argv[optind], sizeof (ascii)); in main()
183 if ((c = read(STDIN_FILENO, ascii, sizeof (ascii))) <= 0) { in main()
192 ascii[c-1] = '\0'; in main()
200 if (str_to_label(ascii, &label, MAC_LABEL, L_NO_CORRECTION, in main()
202 label_error(ascii, err); in main()
/titanic_41/usr/src/cmd/tsol/hextoalabel/
H A Dhextoalabel.c83 char *ascii = NULL; /* human readable label to print */ in main() local
142 if (label_to_str(label, &ascii, M_LABEL, DEF_NAMES) != 0) { in main()
146 (void) printf("%s\n", ascii); in main()
148 free(ascii); in main()
154 if (label_to_str(label, &ascii, M_LABEL, DEF_NAMES) != 0) { in main()
158 (void) printf("%s\n", ascii); in main()
160 free(ascii); in main()
/titanic_41/usr/src/lib/efcode/fcode_test/
H A Dcreate.fth29 ascii p c,
30 ascii a c,
31 ascii s c,
32 ascii s c,
33 ascii e c,
34 ascii d c,
H A Dcalling.fth27 : t1 ascii W emit ;
28 : t2 ascii L emit ;
29 : t3 t2 ascii D emit ;
30 : t4 t1 ascii O emit ;
31 : t5 t4 ascii R emit ;
H A Dparse.fth48 ascii , left-parse-string " 9600" $= " left-parse.1" rot .passed?
49 ascii , left-parse-string " 8" $= " left-parse.2" rot .passed?
50 ascii , left-parse-string " n" $= " left-parse.3" rot .passed?
51 ascii , left-parse-string " 1" $= " left-parse.4" rot .passed?
52 ascii , left-parse-string " -" $= " left-parse.5" rot .passed?
H A Dmisc.fth31 " pack.2" my-unit-str 1 + c@ ascii a = .passed?
32 " pack.3" my-unit-str 2 + c@ ascii b = .passed?
33 " pack.4" my-unit-str 3 + c@ ascii c = .passed?
34 " pack.5" my-unit-str 4 + c@ ascii d = .passed?
42 " fmt.4" h# 123 <# u# ascii X hold u# u#> " 2X3" $= .passed?
63 " fmt.18" ascii 5 d# 10 digit swap 5 = and .passed?
64 " fmt.19" ascii x d# 16 digit invert swap ascii x = and .passed?
80 my-unit-str 9 ascii A fill
81 my-unit-str 6 ascii X fill
/titanic_41/usr/src/common/devid/
H A Ddevid.c195 int i, n, ascii; in ddi_devid_str_encode() local
219 for (ascii = 1, i = 0; i < devid_len; i++) in ddi_devid_str_encode()
221 ascii = 0; in ddi_devid_str_encode()
227 ascii = 0; in ddi_devid_str_encode()
232 slen += ascii ? devid_len : (devid_len * 2); /* did_id field */ in ddi_devid_str_encode()
253 if (ascii) in ddi_devid_str_encode()
257 if (ascii) { in ddi_devid_str_encode()
321 int slen, devid_len, ascii, i, n, c, pre_alloc = FALSE; in devid_str_decode_id() local
361 ascii = DEVID_TYPE_ISASCII(ta); in devid_str_decode_id()
373 if (!ascii) { in devid_str_decode_id()
[all …]
/titanic_41/usr/src/cmd/fs.d/smbclnt/test/
H A Dsrvenum.c228 char ascii[24]; in hexdump() local
229 char *pa = ascii; in hexdump()
231 memset(ascii, '\0', sizeof (ascii)); in hexdump()
237 pa = ascii; in hexdump()
252 printf("%s\n", ascii); in hexdump()
265 printf("%s\n", ascii); in hexdump()
/titanic_41/usr/src/cmd/tsol/setlabel/
H A Dsetlabel.c137 m_label_err(const char *ascii, const int err) in m_label_err() argument
143 gettext("setlabel: bad string %s\n"), ascii); in m_label_err()
152 "\"%s\" at position %d\n"), ascii, err); in m_label_err()
/titanic_41/usr/src/cmd/mandoc/
H A Dchars.c36 const char *ascii; member
144 *rsz = strlen(ln->ascii); in mchars_spec2str()
145 return(ln->ascii); in mchars_spec2str()
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.c938 loc_aton(ascii, binary) in loc_aton() argument
939 const char *ascii; in loc_aton()
953 cp = ascii;
954 maxcp = cp + strlen(ascii);
1049 loc_ntoa(binary, ascii) in loc_ntoa() argument
1051 char *ascii;
1074 if (ascii == NULL)
1075 ascii = tmpbuf;
1078 (void) sprintf(ascii, "; error: unknown LOC RR version");
1079 return (ascii);
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dserial.c205 char ascii; in serial_translate_key_sequence() member
221 char ascii; in serial_translate_key_sequence() member
244 input_buf[0] = three_code_table[i].ascii; in serial_translate_key_sequence()
261 input_buf[0] = four_code_table[i].ascii; in serial_translate_key_sequence()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c60 uint8_t **ascii, int);
1069 mbc_marshal_put_unicode_string(mbuf_chain_t *mbc, char *ascii, int repc) in mbc_marshal_put_unicode_string() argument
1075 if ((length = smb_wcequiv_strlen(ascii)) == -1) in mbc_marshal_put_unicode_string()
1086 consumed = smb_mbtowc(&wchar, ascii, MTS_MB_CHAR_MAX); in mbc_marshal_put_unicode_string()
1095 ascii += consumed; in mbc_marshal_put_unicode_string()
1342 uint8_t **ascii, in mbc_marshal_get_ascii_string() argument
1381 *ascii = smb_srm_zalloc(sr, length * MTS_MB_CHAR_MAX); in mbc_marshal_get_ascii_string()
1382 return (mbc_marshal_cstou8("CP850", (char *)*ascii, in mbc_marshal_get_ascii_string()
1388 mbuf_chain_t *mbc, uint8_t **ascii, int max_unicode) in mbc_marshal_get_unicode_string() argument
1400 *ascii = smb_srm_zalloc(sr, max); in mbc_marshal_get_unicode_string()
[all …]
/titanic_41/usr/src/psm/stand/bootblks/common/
H A Dboot.fth147 ascii | c, ascii / c, ascii - c, ascii \ c,
266 over c@ ascii / = if
267 over ascii _ swap c! ( name$ name$' )
369 over c@ ascii / <> if
424 : printable? ( n -- flag ) \ true if n is a printable ascii character
464 over c@ ascii - <> if
480 next-c ascii - = if
482 ascii D of
492 ascii F of
499 ascii H of
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c12 static void asctouni(unsigned char *unicode, unsigned char *ascii, size_t len) in asctouni() argument
16 unicode[2*counter]=ascii[counter]; in asctouni()
/titanic_41/usr/src/cmd/sgs/libconv/common/
H A Dbld_vernote.ksh64 .ascii "$notestring"
71 .ascii "${release}-${revision} (illumos)\0"
/titanic_41/usr/src/cmd/troff/
H A Dn2.c150 if (ascii)
323 if (!ascii)
343 if (ascii)
/titanic_41/usr/src/cmd/troff/troff.d/
H A Dt10.c165 if (ascii) in ptinit()
537 if (ascii)
549 if (!ascii) in ptlead()
583 if (ascii) in newpage()
614 if (ascii) in dostop()
/titanic_41/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Ddebug.c428 uchar_t ascii[SNMP_NCHARS_IN_A_ROW + 1]; in snmp_log_pkt() local
457 snmp_get_dumpchars(ascii, p, SNMP_NCHARS_IN_A_ROW); in snmp_log_pkt()
465 ascii); in snmp_log_pkt()
474 snmp_get_dumpchars(ascii, p, nrem); in snmp_log_pkt()
487 (void) snprintf(bufp, len, "%s\n", ascii); in snmp_log_pkt()
/titanic_41/usr/src/cmd/allocate/
H A Ddevalloc_defaults31 # minlabel=<ascii string for minimum label>;\
32 # maxlabel=<ascii string for maximum label>;\
/titanic_41/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggzoom.d16 #pragma D option encoding=ascii
H A Dtst.aggpackzoom.d16 #pragma D option encoding=ascii
/titanic_41/usr/src/cmd/eqn/eqnchar.d/
H A DMakefile11 FILES = eqnchar iso ascii greek

123