Home
last modified time | relevance | path

Searched refs:us_len (Results 1 – 12 of 12) sorted by relevance

/dports/misc/rump/buildrump.sh-b914579/src/sys/compat/ndis/
H A Dkern_windrv.c154 us.us_len = strlen(name) * 2; in windrv_lookup()
159 us.us_len = 0; in windrv_lookup()
171 (char *)us.us_buf, us.us_len) == 0 && us.us_len > 0)) { in windrv_lookup()
332 drv->dro_drivername.us_len = strlen(DUMMY_REGISTRY_PATH) * 2; in windrv_load()
444 drv->dro_drivername.us_len = strlen(name) * 2; in windrv_bus_attach()
H A Dsubr_ntoskrnl.c311 if (str1->us_len != str2->us_len) in RtlEqualUnicodeString()
314 for (i = 0; i < str1->us_len; i++) { in RtlEqualUnicodeString()
332 if (dest->us_maxlen >= src->us_len) in RtlCopyUnicodeString()
333 dest->us_len = src->us_len; in RtlCopyUnicodeString()
335 dest->us_len = dest->us_maxlen; in RtlCopyUnicodeString()
378 if (dest->us_maxlen < dest->us_len) in RtlAnsiStringToUnicodeString()
379 dest->us_len = dest->us_maxlen; in RtlAnsiStringToUnicodeString()
2024 u->us_len = u->us_maxlen = 0;
2031 u->us_len = u->us_maxlen = i * 2;
2046 len = ustr->us_len;
[all …]
H A Dsubr_ndis.c644 ustr->us_len = strlen((char *)oiddata) * 2; in ndis_encode_parm()
746 if (key->us_len == 0 || key->us_buf == NULL) {
751 ndis_unicode_to_ascii(key->us_buf, key->us_len, &keystr);
910 ndis_unicode_to_ascii(key->us_buf, key->us_len, &keystr);
2519 sstr->us_len, &dstr->nas_buf))
2540 dstr->us_len = dstr->us_maxlen = sstr->nas_len * 2;
2875 u->us_len = u->us_maxlen = strlen(src) * 2;
2925 u->us_len = u->us_maxlen = 0;
2932 u->us_len = u->us_maxlen = i * 2;
3047 filename->us_len, &afilename);
[all …]
H A Dntoskrnl_var.h48 uint16_t us_len; member
/dports/japanese/canna-server/Canna37p3/cmd/mergewd/
H A Dmergewd.c47 #define ckrecSiz(k) (NW_PREFIX+us_len(k))
48 #define ckwrecSiz(y,s) (1+us_len(y)+2+3+s)
55 us_len(us) in us_len() function
/dports/japanese/canna-lib/Canna37p3/cmd/mergewd/
H A Dmergewd.c47 #define ckrecSiz(k) (NW_PREFIX+us_len(k))
48 #define ckwrecSiz(y,s) (1+us_len(y)+2+3+s)
55 us_len(us) in us_len() function
/dports/lang/rust/rustc-1.58.1-src/library/core/src/slice/
H A Dmod.rs3280 let us_len = self.len() / ts * us; in align_to_offsets() localVariable
3283 (us_len, ts_len) in align_to_offsets()
3333 let (us_len, ts_len) = rest.align_to_offsets::<U>(); in align_to()
3339 from_raw_parts(rest.as_ptr() as *const U, us_len), in align_to()
3399 let (us_len, ts_len) = rest.align_to_offsets::<U>(); in align_to_mut()
3407 from_raw_parts_mut(mut_ptr as *mut U, us_len), in align_to_mut()
/dports/www/pecl-http/pecl_http-3.2.4/src/
H A Dphp_http_message_body.c697 size_t us_len; in PHP_METHOD() local
699 if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS(), "s", &us_str, &us_len)) { in PHP_METHOD()
701 php_stream *s = php_stream_memory_open(0, us_str, us_len); in PHP_METHOD()
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-smb.c1741 int us_len;
1747 us_len = 0;
1755 us_len += 1; /* this is a one-byte null terminator */
1761 us_len += 2; /* this is a two-byte null terminator */
1776 us_len += 2;
1779 if(us_len>= *us_lenp){
1792 *us_lenp = us_len;
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-smb.c1741 int us_len; in unicode_to_str() local
1747 us_len = 0; in unicode_to_str()
1755 us_len += 1; /* this is a one-byte null terminator */ in unicode_to_str()
1761 us_len += 2; /* this is a two-byte null terminator */ in unicode_to_str()
1776 us_len += 2; in unicode_to_str()
1779 if(us_len>= *us_lenp){ in unicode_to_str()
1792 *us_lenp = us_len; in unicode_to_str()
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-smb.c1741 int us_len; in unicode_to_str() local
1747 us_len = 0; in unicode_to_str()
1755 us_len += 1; /* this is a one-byte null terminator */ in unicode_to_str()
1761 us_len += 2; /* this is a two-byte null terminator */ in unicode_to_str()
1776 us_len += 2; in unicode_to_str()
1779 if(us_len>= *us_lenp){ in unicode_to_str()
1792 *us_lenp = us_len; in unicode_to_str()
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-smb.c1741 int us_len; in unicode_to_str() local
1747 us_len = 0; in unicode_to_str()
1755 us_len += 1; /* this is a one-byte null terminator */ in unicode_to_str()
1761 us_len += 2; /* this is a two-byte null terminator */ in unicode_to_str()
1776 us_len += 2; in unicode_to_str()
1779 if(us_len>= *us_lenp){ in unicode_to_str()
1792 *us_lenp = us_len; in unicode_to_str()