Home
last modified time | relevance | path

Searched refs:ucs (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dmodify.c44 uccid_cmd_status_t ucs; in main() local
64 bzero(&ucs, sizeof (ucs)); in main()
65 ucs.ucs_version = UCCID_CURRENT_VERSION; in main()
66 ret = ioctl(fd, UCCID_CMD_STATUS, &ucs); in main()
78 bzero(&ucs, sizeof (ucs)); in main()
93 bzero(&ucs, sizeof (ucs)); in main()
107 bzero(&ucs, sizeof (ucs)); in main()
121 bzero(&ucs, sizeof (ucs)); in main()
135 bzero(&ucs, sizeof (ucs)); in main()
154 bzero(&ucs, sizeof (ucs)); in main()
[all …]
H A Dstatus.c40 uccid_cmd_status_t ucs; in main() local
62 bzero(&ucs, sizeof (ucs)); in main()
63 ucs.ucs_version = UCCID_CURRENT_VERSION; in main()
65 ret = ioctl(fd, UCCID_CMD_STATUS, &ucs); in main()
68 ret = ioctl(efd, UCCID_CMD_STATUS, &ucs); in main()
71 ucs.ucs_version = UCCID_VERSION_ONE - 1; in main()
76 ucs.ucs_version = UCCID_VERSION_ONE + 1; in main()
81 ucs.ucs_version = UCCID_VERSION_ONE - 1; in main()
82 ret = ioctl(fd, UCCID_CMD_STATUS, &ucs); in main()
86 ucs.ucs_version = UCCID_VERSION_ONE + 1; in main()
[all …]
H A Dyk-readonly.c43 uccid_cmd_status_t ucs; in main() local
79 bzero(&ucs, sizeof (ucs)); in main()
80 ucs.ucs_version = UCCID_CURRENT_VERSION; in main()
81 if ((ret = ioctl(fd, UCCID_CMD_STATUS, &ucs)) != 0) { in main()
/illumos-gate/usr/src/lib/iconv_modules/hi_IN/include/
H A Discii.h39 #define get_script_types(ucs, type) \ argument
40 if ( ucs >= 0x0900 && ucs <= 0x097f ) \
42 else if ( ucs >= 0x0980 && ucs <= 0x09ff ) \
44 else if ( ucs >= 0x0a00 && ucs <= 0x0a7f ) \
46 else if ( ucs >= 0x0a80 && ucs <= 0x0aff ) \
48 else if ( ucs >= 0x0b00 && ucs <= 0x0b7f ) \
50 else if ( ucs >= 0x0b80 && ucs <= 0x0bff ) \
52 else if ( ucs >= 0x0c00 && ucs <= 0x0c7f ) \
54 else if ( ucs >= 0x0c80 && ucs <= 0x0cff ) \
56 else if ( ucs >= 0x0d00 && ucs <= 0x0d7f ) \
H A Discii-common.h60 ucs_t ucs; member
/illumos-gate/usr/src/cmd/ccidadm/
H A Dccidadm.c201 switch (ucs->ucs_prot) { in ccidadm_list_slot_transport_str()
278 uccid_cmd_status_t ucs; in ccidadm_list_slot() local
282 bzero(&ucs, sizeof (ucs)); in ccidadm_list_slot()
295 cloa.cloa_status = &ucs; in ccidadm_list_slot()
350 ret = atr_parse(ucs->ucs_atr, ucs->ucs_atrlen, data); in ccidadm_atr_props()
483 ret = atr_parse(ucs->ucs_atr, ucs->ucs_atrlen, data); in ccidadm_atr_verbose()
501 uccid_cmd_status_t ucs; in ccidadm_atr_fetch() local
504 bzero(&ucs, sizeof (ucs)); in ccidadm_atr_fetch()
523 atr_data_hexdump(ucs.ucs_atr, ucs.ucs_atrlen, stdout); in ccidadm_atr_fetch()
662 uccid_cmd_status_t ucs; in ccidadm_reader_print() local
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ccid/common/
H A Dcfga_ccid.c63 uccid_cmd_status_t ucs; in cfga_ccid_modify() local
75 bzero(&ucs, sizeof (ucs)); in cfga_ccid_modify()
76 ucs.ucs_version = UCCID_CURRENT_VERSION; in cfga_ccid_modify()
251 product = ucs->ucs_product; in cfga_ccid_fill_info()
257 serial = ucs->ucs_serial; in cfga_ccid_fill_info()
279 switch (ucs->ucs_prot) { in cfga_ccid_fill_info()
309 uccid_cmd_status_t ucs; in cfga_list_ext() local
330 bzero(&ucs, sizeof (ucs)); in cfga_list_ext()
331 ucs.ucs_version = UCCID_CURRENT_VERSION; in cfga_list_ext()
351 ucs.ucs_instance, ucs.ucs_slot) >= sizeof (cld->ap_log_id)) { in cfga_list_ext()
[all …]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_oem.c188 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid) in ucstooem() argument
194 if (ucs == NULL || oem == NULL) in ucstooem()
200 while (nbytes != 0 && (oemchar = ucspage->value[*ucs]) != 0) { in ucstooem()
213 ucs++; in ucstooem()
230 oemtoucs(smb_wchar_t *ucs, const char *oem, size_t nwchars, uint32_t cpid) in oemtoucs() argument
236 if (ucs == NULL || oem == NULL) in oemtoucs()
250 *ucs = 0; in oemtoucs()
255 *ucs = LE_IN16(&oempage->value[oemchar]); in oemtoucs()
257 *ucs = oempage->value[oemchar]; in oemtoucs()
260 ucs++; in oemtoucs()
[all …]
/illumos-gate/usr/src/lib/libpcsc/common/
H A Dlibpcsc.c481 bzero(ucs, sizeof (uccid_cmd_status_t)); in uccid_status_helper()
499 if ((ucs->ucs_prot & prots) == 0) { in uccid_status_helper()
511 uccid_cmd_status_t ucs; in SCardConnect() local
559 *protp = ucs.ucs_prot; in SCardConnect()
606 switch (ucs.ucs_prot) { in SCardStatus()
630 if (len < ucs.ucs_atrlen) { in SCardStatus()
631 *atrlenp = ucs.ucs_atrlen; in SCardStatus()
652 bcopy(ucs.ucs_atr, ubuf, ucs.ucs_atrlen); in SCardStatus()
653 *atrlenp = ucs.ucs_atrlen; in SCardStatus()
857 uccid_cmd_status_t ucs; in SCardReconnect() local
[all …]
/illumos-gate/usr/src/lib/iconv_modules/hi_IN/
H A DUTF-8%iscii91.c106 traverse_table(Entry *entry, int num, ucs_t ucs, Type *type) in traverse_table() argument
117 if ( ucs < en.ucs ) break; in traverse_table()
118 if ( ucs == en.ucs ) { /* found */ in traverse_table()
127 if ( ucs < en.ucs ) break; in traverse_table()
128 if ( ucs >= en.ucs && ucs < en.ucs + en.count ) { in traverse_table()
129 retc = en.iscii + ( ucs - en.ucs ); in traverse_table()
H A Discii91%UTF-8.c94 retucs = en.ucs + ( iscii - en.iscii ); in traverse_table()
200 int ucs; in iscii_to_utf8() local
202 if (( ucs = get_nukta(keepc1, isc_type)) != 0 ) { in iscii_to_utf8()
204 uniid = ucs; in iscii_to_utf8()
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A DUTF-8%zh_TW-big5.c125 uint_t ucs; in _icv_iconv() local
206 ucs = ((st->keepc[1] & 0xff) << 8) | (st->keepc[0] & 0xff); in _icv_iconv()
209 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
242 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
254 n = get_big5_by_utf(ucs, &unidx, &big5code); in _icv_iconv()
315 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
413 static int get_big5_by_utf(uint_t ucs, int *unidx, unsigned long *big5code) in get_big5_by_utf() argument
416 if ( ucs == 0xFFFE || ucs == 0xFFFF ) return -1; in get_big5_by_utf()
418 *unidx = binsearch(ucs, utf_big5_tab, MAX_BIG5_NUM); in get_big5_by_utf()
424 fprintf(stderr, "Unicode=%04x, idx=%5d, Big-5=%x ", ucs, *unidx, *big5code); in get_big5_by_utf()
H A DUTF-8%zh_TW-euc.c127 uint_t ucs; in _icv_iconv() local
210 ucs = ((st->keepc[1] & 0xff)<< 8) | (st->keepc[0] & 0xff); in _icv_iconv()
213 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
246 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
259 if ( ucs == 0xFFFE || ucs == 0xFFFF ) { in _icv_iconv()
264 plane_no = get_plane_no_by_utf(ucs, &unidx, &cnscode); in _icv_iconv()
317 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
H A DUTF-8%zh_HK.hkscs.c124 uint_t ucs; in _icv_iconv() local
206 ucs = ((st->keepc[1] & 0xff) << 8) | ( st->keepc[0] & 0xff); in _icv_iconv()
209 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
242 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
253 n = get_hkscs_by_utf(ucs, &unidx, &hkscscode); in _icv_iconv()
311 convert_utf8_to_ucs4((uchar_t*)(&st->keepc[0]), utf8_len, &ucs); in _icv_iconv()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlm.c572 uint16_t *ucs = NULL; in smb_put_blob_name() local
576 ucs = convert_utf8_to_leunicode(name); in smb_put_blob_name()
577 if (ucs) in smb_put_blob_name()
578 nlen = unicode_strlen(ucs); in smb_put_blob_name()
586 mb_put_mem(mbp, (char *)ucs, nlen, MB_MSYSTEM); in smb_put_blob_name()
588 if (ucs) in smb_put_blob_name()
589 free(ucs); in smb_put_blob_name()
/illumos-gate/usr/src/test/util-tests/tests/iconv/
H A Diconv_test.sh93 test_conv ascii ucs-2le abc 'a\0b\0c\0\n\0\c'
94 test_conv ucs-2le ascii 'a\0b\0c\0\n\0\c' abc
/illumos-gate/usr/src/uts/common/io/usb/clients/ccid/
H A Dccid.c3939 uccid_cmd_status_t ucs; in ccid_ioctl_status() local
3942 if (ddi_copyin((void *)arg, &ucs, sizeof (ucs), mode & FKIOCTL) != 0) in ccid_ioctl_status()
3948 ucs.ucs_status = 0; in ccid_ioctl_status()
3965 bcopy(slot->cs_atr->b_rptr, ucs.ucs_atr, ucs.ucs_atrlen); in ccid_ioctl_status()
3967 bzero(ucs.ucs_atr, sizeof (ucs.ucs_atr)); in ccid_ioctl_status()
3968 ucs.ucs_atrlen = 0; in ccid_ioctl_status()
3971 bcopy(&ccid->ccid_class, &ucs.ucs_class, sizeof (ucs.ucs_class)); in ccid_ioctl_status()
3978 ucs.ucs_product[0] = '\0'; in ccid_ioctl_status()
3983 sizeof (ucs.ucs_serial)); in ccid_ioctl_status()
3986 ucs.ucs_serial[0] = '\0'; in ccid_ioctl_status()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dxsave_util.c173 uc_xsave_t *ucs; in xsu_overwrite_uctx() local
196 ucs = new_buf; in xsu_overwrite_uctx()
197 ucs->ucx_vers = UC_XSAVE_VERS; in xsu_overwrite_uctx()
198 ucs->ucx_len = xsave_size; in xsu_overwrite_uctx()
200 ucs->ucx_bv |= XFEATURE_AVX; in xsu_overwrite_uctx()
204 ucs->ucx_bv |= XFEATURE_AVX512_OPMASK | XFEATURE_AVX512_ZMM; in xsu_overwrite_uctx()
206 ucs->ucx_bv |= XFEATURE_AVX512_HI_ZMM; in xsu_overwrite_uctx()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE129 10-10-04 regex/regcoll.c: add wchar_t* args to regcollate(), drop ucs name lookup
/illumos-gate/usr/src/data/locale/data/
H A Dwidths.txt4 # which can be found at http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c