Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 3448) sorted by relevance

12345678910>>...138

/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_conv.c49 int len; in conv_wctomb() local
52 if (len != 3) { in conv_wctomb()
64 if (len != 4) { in conv_wctomb()
77 if (len != 1) { in conv_wctomb()
94 int len; in conv_mbtowc() local
139 int len; in conv_wcstombs() local
171 int len; in conv_mbstowcs() local
209 int len; in conv_oemtombs() local
241 int len; in conv_mbstooem() local
282 int len; in conv_sbequiv_strlen() local
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c420 len = len << 8; in ber_decode_INTEGER()
431 len = len << 8; in ber_decode_INTEGER()
433 len = len << 8; in ber_decode_INTEGER()
571 len = len << 8; in ber_decode_OCTET_STRING()
582 len = len << 8; in ber_decode_OCTET_STRING()
584 len = len << 8; in ber_decode_OCTET_STRING()
716 len = len << 8; in ber_decode_SEQUENCE()
727 len = len << 8; in ber_decode_SEQUENCE()
729 len = len << 8; in ber_decode_SEQUENCE()
766 len = 0; in ber_encode_PrivateKeyInfo()
[all …]
/illumos-gate/usr/src/lib/libmp/common/
H A Dmadd.c59 c->len = a->len; in m_add()
73 x.len = y.len = 0; in mp_madd()
86 y.len = -y.len; in mp_madd()
91 x.len = -x.len; in mp_madd()
92 y.len = -y.len; in mp_madd()
96 x.len = -x.len; in mp_madd()
141 c->len = a->len; in m_sub()
177 y.len = -y.len; in mp_msub()
182 x.len = -x.len; in mp_msub()
183 y.len = -y.len; in mp_msub()
[all …]
H A Dmdiv.c39 x.len = y.len = 0; in mp_mdiv()
44 x.len = -x.len; in mp_mdiv()
48 y.len = -y.len; in mp_mdiv()
54 q->len = -q->len; in mp_mdiv()
55 r->len = -r->len; in mp_mdiv()
160 u.len = v.len = x.len = w.len = 0; in m_div()
176 if (a -> len < b -> len) { in m_div()
178 r->len = a->len; in m_div()
185 x.len = 1; in m_div()
206 x.len = n; in m_div()
[all …]
H A Dmsqrt.c32 a0.len = junk.len = y.len = 0; in mp_msqrt()
33 if (a->len < 0) in mp_msqrt()
35 if (a->len == 0) { in mp_msqrt()
36 b->len = 0; in mp_msqrt()
37 r->len = 0; in mp_msqrt()
40 if (a->len % 2 == 1) in mp_msqrt()
41 x.len = (1 + a->len) / 2; in mp_msqrt()
43 x.len = 1 + a->len / 2; in mp_msqrt()
47 if (a->len % 2 == 1) in mp_msqrt()
50 x.val[x.len - 1] = 1; in mp_msqrt()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_format.c464 len = cnv_from_u8(sp, len); in cnv_default()
468 len = cnv_from_s8(sp, len); in cnv_default()
504 len = cnv_s24oe(sp, len); in cnv_default()
615 len = cnv_to_u8(sp, len); in cnv_default()
619 len = cnv_to_s8(sp, len); in cnv_default()
623 len = cnv_to_s16ne(sp, len); in cnv_default()
627 len = cnv_to_s16oe(sp, len); in cnv_default()
639 len = cnv_s24oe(sp, len); in cnv_default()
643 len = cnv_to_s24p(sp, len); in cnv_default()
655 len = cnv_to_ulaw(sp, len); in cnv_default()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Duchar.c53 size_t len; in mbrtoc32_ascii() local
100 size_t len; in mbrtoc32_badseq_utf8() local
215 size_t len; in mbrtoc32_zero() local
239 size_t len; in mbrtoc32_zero_len() local
263 size_t len; in mbrtoc32_null() local
287 size_t len; in mbrtoc16_ascii() local
334 size_t len; in mbrtoc16_null() local
358 size_t len; in mbrtoc16_zero() local
382 size_t len; in mbrtoc16_zero_len() local
558 size_t len; in c32rtomb_eilseq_iso8859() local
[all …]
H A Dwcsncasecmp.c48 size_t len = strlen(str); in main() local
58 ret = mbstowcs(a, str, len); in main()
59 VERIFY3U(ret, ==, len); in main()
60 ret = mbstowcs(b, str, len); in main()
61 VERIFY3U(ret, ==, len); in main()
66 ret = mbstowcs(b, caps, len); in main()
67 VERIFY3U(ret, ==, len); in main()
71 VERIFY3U(ret, ==, len); in main()
75 VERIFY3U(ret, ==, len); in main()
79 VERIFY3U(ret, ==, len); in main()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Deio.c136 int len; local
178 bytes += len;
188 if (len < 0 || (len == 0 && msglen != 0)) return(FAIL);
208 int len; local
273 if ( ret == SUCCESS && write( fd2, bufr, len ) != len ) {
372 int len; local
439 if (write(fileno(fp2), bufr, len) != len)
464 int len; local
492 str += len;
493 i -= len;
[all …]
H A Dgio.c94 int len, i; local
107 len = len + xpacksize - i;
120 unsigned len; local
126 if (len == 0)
128 str += len;
143 int len; local
152 bytes += len;
172 int len; local
182 if (len < 0) {
185 bytes += len;
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8_conv.c141 ssize_t len; in krb5int_utf8s_to_ucs2s() local
170 ssize_t len; in krb5int_utf8cs_to_ucs2s() local
198 ssize_t len; in krb5int_utf8s_to_ucs2les() local
228 ssize_t len; in krb5int_utf8cs_to_ucs2les() local
264 int len = 0; in k5_ucs2s_to_utf8s() local
285 if (len + n < len) in k5_ucs2s_to_utf8s()
287 len += n; in k5_ucs2s_to_utf8s()
290 return len; in k5_ucs2s_to_utf8s()
334 ssize_t len; in krb5int_ucs2s_to_utf8s() local
365 ssize_t len; in krb5int_ucs2les_to_utf8s() local
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dbitops.h44 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument
45 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument
46 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument
47 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument
49 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument
50 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument
52 #define BF32_SET(x, low, len, val) do { \ argument
53 ASSERT3U(val, <, 1U << (len)); \
54 ASSERT3U(low + len, <=, 32); \
59 ASSERT3U(val, <, 1ULL << (len)); \
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dcbcp.c139 u_short len; local
246 len = plen;
302 if (len > 8)
307 p += len;
338 len -= opt_len;
376 len = 0;
396 len = 3;
407 len = 3;
425 int len;
440 if (len > 0)
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_print.c109 int len, x; in ns_sprintrrf() local
127 name[len] == '\0')) && name[len - 1] != '.') { in ns_sprintrrf()
130 len++; in ns_sprintrrf()
170 if (len == 0) in ns_sprintrrf()
172 rdata += len; in ns_sprintrrf()
181 if (len == 0) in ns_sprintrrf()
183 rdata += len; in ns_sprintrrf()
364 if (len < 0) in ns_sprintrrf()
469 if (len < 0) in ns_sprintrrf()
539 if (len < 0) in ns_sprintrrf()
[all …]
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.c238 ls->len = saved.len; in completeLine()
310 int len; member
315 ab->len = 0; in abInit()
319 char *new = malloc(ab->len+len); in abAppend()
323 memcpy(new+ab->len,s,len); in abAppend()
326 ab->len += len; in abAppend()
341 size_t len = l->len; in refreshSingleLine() local
347 len--; in refreshSingleLine()
351 len--; in refreshSingleLine()
554 if (l->len > 0 && l->pos < l->len) { in linenoiseEditDelete()
[all …]
/illumos-gate/usr/src/boot/sys/boot/forth/
H A Dloader.4th134 bl addr len + c! len 1+ to len
136 [char] - addr len + c! len 1+ to len
140 [char] s addr len + c! len 1+ to len
147 [char] v addr len + c! len 1+ to len
154 [char] k addr len + c! len 1+ to len
190 bl addr len + c! len 1+ to len
204 bl addr len + c! len 1+ to len
209 len + to len
216 len 1- to len
220 len 1- to len
[all …]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dshares.c99 while (len > 2) { in pstrings()
102 len -= 2; in pstrings()
151 int err, len, more; in do_bind() local
154 len = sizeof (recvbuf); in do_bind()
169 if (len == -1) { in do_bind()
194 p += len; in do_enum()
198 p += len; in do_enum()
203 for (len = (p - sendbuf) & 3; len; len--) in do_enum()
207 p += len; in do_enum()
212 len = p - sendbuf; in do_enum()
[all …]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c394 len -= blen; in rngprov_getbytes_nblk()
400 len = 0; in rngprov_getbytes_nblk()
490 len -= got; in rnd_get_bytes()
504 len -= got; in rnd_get_bytes()
532 len -= bytes; in rnd_get_bytes()
933 int len = 0; in rnd_handler() local
1049 if (len < 1) in random_add_pseudo_entropy()
1064 if (len < 1) in random_add_entropy()
1081 if (len < 1) in random_get_pseudo_bytes()
1095 if (len < 1) in random_get_bytes()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_item.cc55 len = n; in item()
56 if ((value = new char[len]) == NULL) in item()
59 (void) memcpy(value, str, len); in item()
66 len = model->len; in item()
79 for (i = 0; i < len; i++) in print()
88 return ((len == other->len) && in equal()
91 return ((len == other->len) && in equal()
99 return ((len == olen) && (!strncasecmp(value, other, len))); in equal()
101 return ((len == olen) && (!memcmp(value, other, len))); in equal()
114 for (i = 0; i < len; i++) { in get_hashval()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrptime.c106 len = 2; in __strptime()
110 len--; in __strptime()
182 len = 3; in __strptime()
186 len--; in __strptime()
202 len = 2; in __strptime()
206 len--; in __strptime()
240 len--; in __strptime()
312 len--; in __strptime()
354 len--; in __strptime()
398 len--; in __strptime()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_ret.c45 u_int32_t len; local
69 len = bk->len;
91 u_int32_t len;
102 len -= dbt->doff;
104 len = dbt->dlen;
106 len = 0;
115 dbt->size = len;
135 if (len != 0 && (dbt->data == NULL || dbt->ulen < len))
140 if (len != 0 && (*memsize == 0 || *memsize < len)) {
145 *memsize = len;
[all …]
/illumos-gate/usr/src/cmd/tail/
H A Dread.c82 for (t = p - 1, len = 0; t >= sp; --t, ++len) in bytes()
85 len = 0; in bytes()
88 tlen = len; in bytes()
89 for (t = ep - 1, len = 0; t >= p; --t, ++len) in bytes()
91 if (len) { in bytes()
93 len = 0; in bytes()
100 if (len) in bytes()
107 WR(p, len); in bytes()
108 len = p - sp; in bytes()
109 if (len) in bytes()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_opts.c68 int len, want; in arg() local
75 len = 0; in arg()
79 len++; in arg()
90 if (len == want) in arg()
105 if (len == 0) in arg()
112 *pos += len; in arg()
139 len = 0; in tbl_option()
141 len++; in tbl_option()
143 if (len == 0) { in tbl_option()
161 pos += len; in tbl_option()
[all …]
/illumos-gate/usr/src/cmd/listen/
H A Dnstoa.c108 addr->len = 0;
170 int oc, ch, len = 0; local
186 len += l;
221 buf[len++] = ch;
235 buf[len++] = *s++;
237 return (len >= SBUFSIZE) ? 0 : len;
459 unsigned len, max;
507 int len; local
518 cmd[len] = '\0';
544 xcmd(s, ec, ps, len) in xcmd() argument
[all …]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_fru.c151 uint8_t len, typelen; in ipmi_fru_parse_product() local
170 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
172 tmp += len + 1; in ipmi_fru_parse_product()
178 tmp += len + 1; in ipmi_fru_parse_product()
183 tmp += len + 1; in ipmi_fru_parse_product()
189 tmp += len + 1; in ipmi_fru_parse_product()
195 tmp += len + 1; in ipmi_fru_parse_product()
215 uint8_t len, typelen; in ipmi_fru_parse_board() local
238 tmp += len + 1; in ipmi_fru_parse_board()
243 tmp += len + 1; in ipmi_fru_parse_board()
[all …]

12345678910>>...138