Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 1357) sorted by relevance

12345678910>>...55

/freebsd-13.1/sys/compat/cloudabi32/
H A Dcloudabi32_poll.c96 error = copyin(args->in++, &sub, sizeof(sub)); in cloudabi32_kevent_copyin()
102 switch (sub.type) { in cloudabi32_kevent_copyin()
233 error = copyin(uap->in, &sub, sizeof(sub)); in cloudabi32_sys_poll()
237 ev.type = sub.type; in cloudabi32_sys_poll()
273 error = copyin(uap->in, &sub, sizeof(sub)); in cloudabi32_sys_poll()
287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, in cloudabi32_sys_poll()
288 sub[1].clock.timeout, sub[1].clock.precision, in cloudabi32_sys_poll()
305 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi32_sys_poll()
306 sub[1].clock.timeout, sub[1].clock.precision, in cloudabi32_sys_poll()
323 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi32_sys_poll()
[all …]
/freebsd-13.1/sys/compat/cloudabi64/
H A Dcloudabi64_poll.c96 error = copyin(args->in++, &sub, sizeof(sub)); in cloudabi64_kevent_copyin()
102 switch (sub.type) { in cloudabi64_kevent_copyin()
233 error = copyin(uap->in, &sub, sizeof(sub)); in cloudabi64_sys_poll()
237 ev.type = sub.type; in cloudabi64_sys_poll()
273 error = copyin(uap->in, &sub, sizeof(sub)); in cloudabi64_sys_poll()
287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, in cloudabi64_sys_poll()
288 sub[1].clock.timeout, sub[1].clock.precision, in cloudabi64_sys_poll()
305 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi64_sys_poll()
306 sub[1].clock.timeout, sub[1].clock.precision, in cloudabi64_sys_poll()
323 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi64_sys_poll()
[all …]
/freebsd-13.1/contrib/libxo/tests/core/saved/
H A Dtest_08.X.out1 …sub><name>0</name><next>1</next></sub><sub><name>1</name><next>2</next></sub><sub><name>2</name><n…
H A Dtest_08.XP.out80 <sub>
84 <sub>
88 <sub>
97 <sub>
101 <sub>
105 <sub>
114 <sub>
118 <sub>
122 <sub>
131 <sub>
[all …]
H A Dtest_08.E.out88 op open_list: [sub] [] [0]
92 op close_instance: [sub] [] [0]
101 op close_list: [sub] [] [0]
107 op open_list: [sub] [] [0]
120 op close_list: [sub] [] [0]
126 op open_list: [sub] [] [0]
139 op close_list: [sub] [] [0]
145 op open_list: [sub] [] [0]
158 op close_list: [sub] [] [0]
164 op open_list: [sub] [] [0]
[all …]
/freebsd-13.1/contrib/bmake/
H A Dstr.h111 Substring sub; in Substring_Init() local
114 sub.end = end; in Substring_Init()
115 return sub; in Substring_Init()
127 return (size_t)(sub.end - sub.start); in Substring_Length()
133 return sub.start == sub.end; in Substring_IsEmpty()
157 return Substring_Init(sub.start + start, sub.start + end); in Substring_Sub()
181 return FStr_InitOwn(bmake_strsedup(sub.start, sub.end)); in Substring_Str()
189 for (p = sub.start; p != sub.end; p++) in Substring_SkipFirst()
192 return sub.start; in Substring_SkipFirst()
200 for (p = sub.end; p != sub.start; p--) in Substring_LastIndex()
[all …]
/freebsd-13.1/crypto/openssl/ssl/
H A Dpacket.c201 if ((pkt->curr - sub->lenbytes) == sub->packet_len) { in wpacket_intern_close()
208 sub->lenbytes = 0; in wpacket_intern_close()
212 if (sub->lenbytes > 0 in wpacket_intern_close()
227 WPACKET_SUB *sub; in WPACKET_fill_lengths() local
232 for (sub = pkt->subs; sub != NULL; sub = sub->parent) { in WPACKET_fill_lengths()
274 WPACKET_SUB *sub; in WPACKET_start_sub_packet_len__() local
281 if ((sub = OPENSSL_zalloc(sizeof(*sub))) == NULL) { in WPACKET_start_sub_packet_len__()
287 pkt->subs = sub; in WPACKET_start_sub_packet_len__()
324 WPACKET_SUB *sub; in WPACKET_set_max_size() local
332 for (sub = pkt->subs; sub->parent != NULL; sub = sub->parent) in WPACKET_set_max_size()
[all …]
/freebsd-13.1/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c246 switch (val->var.subs[sub - 1]) { in op_vacm_security_to_group()
631 *smodel = oid->subs[sub++]; in vacm_user_index_decode()
668 if (oid->len - sub == 0) in vacm_get_next_user()
716 sub += strlen(gname) + 1; in vacm_access_rule_index_decode()
724 sub += strlen(cprefix) + 1; in vacm_access_rule_index_decode()
726 *smodel = oid->subs[sub++]; in vacm_access_rule_index_decode()
727 *slevel = oid->subs[sub]; in vacm_access_rule_index_decode()
760 if (oid->len - sub == 0) in vacm_get_next_access_rule()
791 viod_off = sub + oid->subs[sub] + 1; in vacm_view_index_decode()
842 if (oid->len - sub == 0) in vacm_get_next_view()
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_port.c378 val->var.len = sub + 1; in op_dot1d_base_port()
450 val->var.len = sub + 1; in op_dot1d_stp_port()
608 val->var.len = sub + 1; in op_dot1d_stp_ext_port()
749 val->var.len = sub + 1; in op_dot1d_tp_port()
828 if (oid->len - sub != oid->subs[sub] + 2 || in bridge_port_index_get()
829 oid->subs[sub] >= IFNAMSIZ) in bridge_port_index_get()
860 if (oid->len - sub == 0) in bridge_port_index_getnext()
863 if (oid->len - sub != oid->subs[sub] + 2 || in bridge_port_index_getnext()
901 if (oid->len - sub != oid->subs[sub] + 2 || in bridge_port_index_decode()
902 oid->subs[sub] >= IFNAMSIZ) in bridge_port_index_decode()
[all …]
H A Dbridge_addrs.c344 oid->len = sub + ETHER_ADDR_LEN + 1; in bridge_addrs_index_append()
345 oid->subs[sub] = ETHER_ADDR_LEN; in bridge_addrs_index_append()
383 if (oid->len - sub == 0) in bridge_addrs_getnext()
435 switch (val->var.subs[sub - 1]) { in op_dot1d_tp_fdb()
468 oid->len = sub++; in bridge_addrs_begemot_index_append()
493 n_len = oid->subs[sub]; in bridge_addrs_begemot_get()
524 if (oid->len - sub == 0) in bridge_addrs_begemot_getnext()
527 n_len = oid->subs[sub]; in bridge_addrs_begemot_getnext()
564 sub)) == NULL || in op_begemot_tp_fdb()
566 sub, te) < 0) in op_begemot_tp_fdb()
[all …]
H A Dbridge_if.c688 switch (val->var.subs[sub - 1]) { in op_dot1d_stp()
761 switch (val->var.subs[sub - 1]) { in op_dot1d_stp()
935 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in bridge_name_index_get()
964 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in bridge_if_index_get()
981 if (oid->len - sub == 0) in bridge_if_index_getnext()
984 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in bridge_if_index_getnext()
999 struct snmp_value *val, uint sub) in bridge_set_if_status() argument
1084 struct snmp_value *val, uint sub) in bridge_rollback_if_status() argument
1169 switch (val->var.subs[sub - 1]) { in op_begemot_base_bridge()
1330 switch (val->var.subs[sub - 1]) { in op_begemot_stp()
[all …]
/freebsd-13.1/contrib/bsnmp/snmpd/
H A Dexport.c265 if (sub == oid->len) in index_decode()
271 if (sub == oid->len) in index_decode()
283 if (sub == oid->len) in index_decode()
287 *sval = oid->subs[sub++]; in index_decode()
288 if (sub + *sval > oid->len) in index_decode()
296 if (oid->subs[sub] > 0xff) in index_decode()
308 if (sub == oid->len) in index_decode()
324 if (sub + 4 > oid->len) in index_decode()
328 if (oid->subs[sub] > 0xff) in index_decode()
338 if (sub == oid->len) in index_decode()
[all …]
H A Daction.c460 value->var.len = sub + 1; in op_or_table()
484 switch (value->var.subs[sub - 1]) { in op_or_table()
514 switch (value->var.subs[sub - 1]) { in op_snmp()
555 switch (value->var.subs[sub - 1]) { in op_snmp()
566 switch (value->var.subs[sub - 1]) { in op_snmp()
574 switch (value->var.subs[sub - 1]) { in op_snmp()
594 switch (value->var.subs[sub - 1]) { in op_snmpd_stats()
795 sub)) == NULL) { in op_community()
819 sub)) == NULL) in op_community()
832 sub)) == NULL) in op_community()
[all …]
/freebsd-13.1/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c114 switch (val->var.subs[sub - 1]) { in op_snmp_target()
163 switch (val->var.subs[sub - 1]) { in op_snmp_target_addrs()
248 switch (val->var.subs[sub - 1]) { in op_snmp_target_addrs()
311 switch (val->var.subs[sub - 1]) { in op_snmp_target_addrs()
496 switch (val->var.subs[sub - 1]) { in op_snmp_target_params()
661 oid->len = sub + strlen(name); in target_append_index()
663 oid->subs[sub + i] = name[i]; in target_append_index()
671 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= in target_decode_index()
705 if (oid->len - sub == 0) in target_get_next_address()
742 if (oid->len - sub == 0) in target_get_next_param()
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c3054 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in wlan_get_ifname()
3090 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in wlan_get_next_interface()
3134 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in wlan_get_next_snmp_interface()
3169 mac_off = sub + oid->subs[sub] + 1; in wlan_mac_index_decode()
3204 if (oid->len - sub != oid->subs[sub] + 2 || oid->subs[sub] >= IFNAMSIZ) in wlan_phy_index_decode()
3211 *phy = oid->subs[sub + oid->subs[sub] + 1]; in wlan_phy_index_decode()
3396 if (oid->len - sub != oid->subs[sub] + 2 || oid->subs[sub] >= IFNAMSIZ) in wlan_channel_index_decode()
3403 *cindex = oid->subs[sub + oid->subs[sub] + 1]; in wlan_channel_index_decode()
3787 offset = sub + oid->subs[sub] + 1; in wlan_scanr_index_decode()
3794 offset = sub + oid->subs[sub] + oid->subs[offset] + 2; in wlan_scanr_index_decode()
[all …]
/freebsd-13.1/sys/dev/vmware/vmci/
H A Dvmci_event.c249 ASSERT(sub); in event_release_cb()
252 vmci_event_release(sub); in event_release_cb()
318 ASSERT(event_info->sub); in vmci_event_delayed_dispatch_cb()
320 sub = event_info->sub; in vmci_event_delayed_dispatch_cb()
323 sub->callback(sub->id, ed, sub->callback_data); in vmci_event_delayed_dispatch_cb()
326 vmci_event_release(sub); in vmci_event_delayed_dispatch_cb()
404 event_ref->sub = iter; in vmci_event_deliver()
422 cur = iter->sub; in vmci_event_deliver()
509 ASSERT(sub); in vmci_event_register_subscription()
535 sub->ref_count = 1; in vmci_event_register_subscription()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp162 cl::sub(DiaDumpSubcommand));
166 cl::sub(DiaDumpSubcommand));
170 cl::sub(DiaDumpSubcommand));
176 cl::sub(DiaDumpSubcommand));
298 cl::sub(PrettySubcommand));
379 cl::sub(BytesSubcommand), cl::cat(MsfBytes));
460 cl::cat(MsfOptions), cl::sub(DumpSubcommand));
464 cl::cat(MsfOptions), cl::sub(DumpSubcommand));
468 cl::cat(MsfOptions), cl::sub(DumpSubcommand));
701 cl::sub(MergeSubcommand));
[all …]
/freebsd-13.1/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c91 switch (val->var.subs[sub - 1]) { in op_usm_stats()
181 switch (val->var.subs[sub - 1]) { in op_usm_users()
187 sub, eid, &elen, uname) < 0 || in op_usm_users()
226 if (val->var.subs[sub - 1] == in op_usm_users()
259 if (val->var.subs[sub - 1] == in op_usm_users()
326 switch (val->var.subs[sub - 1]) { in op_usm_users()
352 switch (val->var.subs[sub - 1]) { in op_usm_users()
397 switch (val->var.subs[sub - 1]) { in op_usm_users()
469 uname_off = sub + oid->subs[sub] + 1; in usm_user_index_decode()
492 sub += uuser->user_engine_len + 1; in usm_append_userindex()
[all …]
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-output-test.py112 return re.sub(r'Stack trace:(.|\n)*?\n\n',
120 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
126 return re.sub(r'\(\d+ ms', '(? ms', output)
140 return re.sub(r'unsigned int', 'unsigned', test_output)
160 output = re.sub(r'\d+ tests?, listed below',
162 output = re.sub(r'\d+ FAILED TESTS',
164 output = re.sub(r'\d+ tests? from \d+ test cases?',
166 output = re.sub(r'\d+ tests? from ([a-zA-Z_])',
168 return re.sub(r'\d+ tests?\.', '? tests.', output)
186 test_output = re.sub(
[all …]
/freebsd-13.1/sys/contrib/cloudabi/
H A Dcloudabi_vdso_armv6_on_64bit.S41 sub r2, sp, #16
56 sub r2, sp, #16
73 sub r2, sp, #24
81 sub r2, sp, #16
90 sub r2, sp, #16
103 sub r2, sp, #16
117 sub r2, sp, #16
126 sub r2, sp, #16
146 sub r2, sp, #32
166 sub r2, sp, #32
[all …]
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_strings.lua31 assert(string.sub("123456789",2,4) == "234")
32 assert(string.sub("123456789",7) == "789")
33 assert(string.sub("123456789",7,6) == "")
34 assert(string.sub("123456789",7,7) == "7")
35 assert(string.sub("123456789",0,0) == "")
38 assert(string.sub("123456789",-10,-20) == "")
39 assert(string.sub("123456789",-1) == "9")
40 assert(string.sub("123456789",-4) == "6789")
46 assert(("\000123456789"):sub(8) == "789")
125 assert(string.sub(x, 1, 4) == '"a ')
[all …]
/freebsd-13.1/contrib/cortex-strings/src/aarch64/
H A Dstrcpy.S141 sub tmp1, tmp2, zeroones
146 sub tmp3, tmp4, zeroones
149 sub tmp1, data1, zeroones
153 sub tmp3, data2, zeroones
167 sub pos, tmp2, pos
188 sub pos, tmp2, pos
223 sub src, srcin, to_align
224 sub dst, dstin, to_align
271 sub dstin, dst, #1
315 sub tmp1, tmp2, zeroones
[all …]
/freebsd-13.1/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c73 oid->len = sub + 13; in sroute_index_append()
75 oid->subs[sub + i] = s->index[i]; in sroute_index_append()
290 if (oid->len - sub != 13) in sroute_get()
293 key.index[i] = oid->subs[sub + i]; in sroute_get()
314 if (oid->len == sub) in sroute_getnext()
321 if (oid->len < sub + 13) { in sroute_getnext()
322 for (i = sub; i < oid->len; i++) in sroute_getnext()
336 for (i = sub + 13 - 1; i >= sub; i--) { in sroute_getnext()
343 oid->len = sub + 13; in sroute_getnext()
347 for (i = sub; i < sub + 13; i++) in sroute_getnext()
[all …]
/freebsd-13.1/contrib/ncurses/menu/
H A Dm_cursor.c86 WINDOW *win, *sub; in pos_menu_cursor() local
95 sub = menu->usersub ? menu->usersub : win; in pos_menu_cursor()
96 assert(win && sub); in pos_menu_cursor()
101 wmove(sub, y, x); in pos_menu_cursor()
103 if (win != sub) in pos_menu_cursor()
105 wcursyncup(sub); in pos_menu_cursor()
106 wsyncup(sub); in pos_menu_cursor()
107 untouchwin(sub); in pos_menu_cursor()
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock_output_test.py66 output = re.sub(r'.*gtest_main.*\n', '', output)
67 output = re.sub(r'\[.*\d+ tests.*\n', '', output)
68 output = re.sub(r'\[.* test environment .*\n', '', output)
69 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output)
70 output = re.sub(r'.* FAILED TESTS\n', '', output)
87 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output)
93 return re.sub(r' error: ', ' Failure\n', output)
99 return re.sub(r'@\w+', '@0x#', output)
105 return re.sub(r'\(used in test .+\) ', '', output)

12345678910>>...55