Searched refs:u8s (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_idmap.c301 nfs_idmap_str_uid(utf8string *u8s, uid_t *uid, bool_t isserver) argument
317 if (!u8s || !u8s->utf8string_val || u8s->utf8string_len == 0 ||
318 (u8s->utf8string_val[0] == '\0')) {
326 if (bcmp(u8s->utf8string_val, "nobody", 6) == 0) {
347 (!utf8_strchr(u8s, '@') && !isserver)) {
350 error = nfs_idmap_s2i_literal(u8s, uid, isserver);
362 if (nfs_idmap_cache_s2i_lkup(&nig->s2u_ci, u8s, &hashno, uid)) {
368 mapargp = kmem_alloc(MAPID_ARG_LEN(u8s
514 nfs_idmap_uid_str(uid_t uid, utf8string *u8s, bool_t isserver) argument
680 nfs_idmap_str_gid(utf8string *u8s, gid_t *gid, bool_t isserver) argument
894 nfs_idmap_gid_str(gid_t gid, utf8string *u8s, bool_t isserver) argument
1272 nfs_idmap_cache_s2i_lkup(idmap_cache_info_t *cip, utf8string *u8s, uint_t *hashno, uid_t *id_buf) argument
1350 nfs_idmap_cache_s2i_insert(idmap_cache_info_t *cip, uid_t id, utf8string *u8s, hash_stat behavior, uint_t hash_number) argument
1450 nfs_idmap_cache_i2s_lkup(idmap_cache_info_t *cip, uid_t id, uint_t *hashno, utf8string *u8s) argument
1518 nfs_idmap_cache_i2s_insert(idmap_cache_info_t *cip, uid_t id, utf8string *u8s, hash_stat behavior, uint_t hash_number) argument
1617 is_stringified_id(utf8string *u8s) argument
1628 nfs_idmap_s2i_literal(utf8string *u8s, uid_t *id, int isserver) argument
1669 nfs_idmap_i2s_literal(uid_t id, utf8string *u8s) argument
1680 utf8_strchr(utf8string *u8s, const char c) argument
[all...]
H A Dnfs4_subr.c545 utf8_to_fn(utf8string *u8s, uint_t *lenp, char *s) argument
549 if (u8s == NULL || u8s->utf8string_len <= 0 ||
550 u8s->utf8string_val == NULL)
556 if (utf8_strchr(u8s, '/') != NULL) {
560 int len = u8s->utf8string_len;
563 bcopy(u8s->utf8string_val, path, len);
575 return (utf8_to_str(u8s, lenp, s));
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_test.c319 nfs_idmap_str_uid(utf8string *u8s, uid_t *uid) argument
330 if (!u8s || !u8s->utf8string_val || !u8s->utf8string_len ||
331 (u8s->utf8string_val[0] == '\0')) {
336 if (bcmp(u8s->utf8string_val, "nobody", 6) == 0) {
345 if ((mapargp = malloc(MAPID_ARG_LEN(u8s->utf8string_len))) == NULL) {
347 MAPID_ARG_LEN(u8s->utf8string_len));
352 mapargp->u_arg.len = u8s->utf8string_len;
353 (void) bcopy(u8s
421 nfs_idmap_uid_str(uid_t uid, utf8string *u8s) argument
493 nfs_idmap_str_gid(utf8string *u8s, gid_t *gid) argument
[all...]
/illumos-gate/usr/src/common/unicode/
H A Du8_textprep.c171 u8t[k] = u8s[start[(a)] + k]; \
173 u8s[start[(a)] + k] = u8s[start[(b)] + k]; \
176 u8s[start[(b)] + k] = u8t[k]; \
462 do_case_conv(int uv, uchar_t *u8s, uchar_t *s, int sz, boolean_t is_it_toupper) argument
476 * The u8s should point to a vector that is well beyond the size of
480 b3 = u8s[0] = s[0];
481 b4 = u8s[1] = s[1];
483 b2 = u8s[0] = s[0];
484 b3 = u8s[
746 do_decomp(size_t uv, uchar_t *u8s, uchar_t *s, int sz, boolean_t canonical_decomposition, u8_normalization_states_t *state) argument
1380 collect_a_seq(size_t uv, uchar_t *u8s, uchar_t **source, uchar_t *slast, boolean_t is_it_toupper, boolean_t is_it_tolower, boolean_t canonical_decomposition, boolean_t compatibility_decomposition, boolean_t canonical_composition, int *errnum, u8_normalization_states_t *state) argument
1933 uchar_t u8s[U8_STREAM_SAFE_TEXT_MAX + 1]; local
[all...]
H A Duconv.c426 uchar_t *u8s, size_t *utf8len, int flag)
439 if (u8s == NULL || utf8len == NULL)
485 u8s[u8l++] = (uchar_t)lo;
489 u8s[u8l++] = (uchar_t)(0xc0 | ((lo & 0x07c0) >> 6));
490 u8s[u8l++] = (uchar_t)(0x80 | (lo & 0x003f));
494 u8s[u8l++] = (uchar_t)(0xe0 | ((lo & 0x0f000) >> 12));
495 u8s[u8l++] = (uchar_t)(0x80 | ((lo & 0x00fc0) >> 6));
496 u8s[u8l++] = (uchar_t)(0x80 | (lo & 0x0003f));
500 u8s[u8l++] = (uchar_t)(0xf0 | ((lo & 0x01c0000) >> 18));
501 u8s[u8
425 uconv_u16tou8(const uint16_t *u16s, size_t *utf16len, uchar_t *u8s, size_t *utf8len, int flag) argument
602 uconv_u32tou8(const uint32_t *u32s, size_t *utf32len, uchar_t *u8s, size_t *utf8len, int flag) argument
670 uconv_u8tou16(const uchar_t *u8s, size_t *utf8len, uint16_t *u16s, size_t *utf16len, int flag) argument
781 uconv_u8tou32(const uchar_t *u8s, size_t *utf8len, uint32_t *u32s, size_t *utf32len, int flag) argument
[all...]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4.h1314 extern int nfs_idmap_str_uid(utf8string *u8s, uid_t *, bool_t);
1315 extern int nfs_idmap_str_gid(utf8string *u8s, gid_t *, bool_t);
1316 extern int nfs_idmap_uid_str(uid_t, utf8string *u8s, bool_t);
1317 extern int nfs_idmap_gid_str(gid_t gid, utf8string *u8s, bool_t);

Completed in 89 milliseconds