Home
last modified time | relevance | path

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

12345678910>>...65

/freebsd-14.2/contrib/libxo/tests/core/saved/
H A Dtest_08.X.out1sub><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-14.2/contrib/bmake/
H A Dstr.h116 Substring sub; in Substring_Init() local
119 sub.end = end; in Substring_Init()
120 return sub; in Substring_Init()
132 return (size_t)(sub.end - sub.start); in Substring_Length()
138 return sub.start == sub.end; in Substring_IsEmpty()
162 return Substring_Init(sub.start + start, sub.start + end); in Substring_Sub()
186 return FStr_InitOwn(bmake_strsedup(sub.start, sub.end)); in Substring_Str()
194 for (p = sub.start; p != sub.end; p++) in Substring_SkipFirst()
197 return sub.start; in Substring_SkipFirst()
205 for (p = sub.end; p != sub.start; p--) in Substring_LastIndex()
[all …]
/freebsd-14.2/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c245 switch (val->var.subs[sub - 1]) { in op_vacm_security_to_group()
630 *smodel = oid->subs[sub++]; in vacm_user_index_decode()
667 if (oid->len - sub == 0) in vacm_get_next_user()
715 sub += strlen(gname) + 1; in vacm_access_rule_index_decode()
723 sub += strlen(cprefix) + 1; in vacm_access_rule_index_decode()
725 *smodel = oid->subs[sub++]; in vacm_access_rule_index_decode()
726 *slevel = oid->subs[sub]; in vacm_access_rule_index_decode()
759 if (oid->len - sub == 0) in vacm_get_next_access_rule()
790 viod_off = sub + oid->subs[sub] + 1; in vacm_view_index_decode()
841 if (oid->len - sub == 0) in vacm_get_next_view()
[all …]
/freebsd-14.2/crypto/openssl/crypto/
H A Dpacket.c250 if ((pkt->curr - sub->lenbytes) == sub->packet_len) { in wpacket_intern_close()
257 sub->lenbytes = 0; in wpacket_intern_close()
288 OPENSSL_free(sub); in wpacket_intern_close()
296 WPACKET_SUB *sub; in WPACKET_fill_lengths() local
301 for (sub = pkt->subs; sub != NULL; sub = sub->parent) { in WPACKET_fill_lengths()
343 WPACKET_SUB *sub; in WPACKET_start_sub_packet_len__() local
354 if ((sub = OPENSSL_zalloc(sizeof(*sub))) == NULL) { in WPACKET_start_sub_packet_len__()
360 pkt->subs = sub; in WPACKET_start_sub_packet_len__()
397 WPACKET_SUB *sub; in WPACKET_set_max_size() local
405 for (sub = pkt->subs; sub->parent != NULL; sub = sub->parent) in WPACKET_set_max_size()
[all …]
/freebsd-14.2/contrib/one-true-awk/testdir/
H A Dlilly.progs79 {if(sub(/=/,"#"))print $0}
80 {if(sub(/\=/,"#"))print $0}
81 {if(sub(/==/,"#"))print $0}
82 {if(sub(/\+=/,"#"))print $0}
83 {if(sub(/\*=/,"#"))print $0}
84 {if(sub(/-=/,"#"))print $0}
86 {if(sub(/%=/,"#"))print $0}
87 {if(sub(/^=/,"#"))print $0}
88 {if(sub(/!=/,"#"))print $0}
89 {if(sub(/<=/,"#"))print $0}
[all …]
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_port.c376 val->var.len = sub + 1; in op_dot1d_base_port()
448 val->var.len = sub + 1; in op_dot1d_stp_port()
606 val->var.len = sub + 1; in op_dot1d_stp_ext_port()
747 val->var.len = sub + 1; in op_dot1d_tp_port()
826 if (oid->len - sub != oid->subs[sub] + 2 || in bridge_port_index_get()
827 oid->subs[sub] >= IFNAMSIZ) in bridge_port_index_get()
858 if (oid->len - sub == 0) in bridge_port_index_getnext()
861 if (oid->len - sub != oid->subs[sub] + 2 || in bridge_port_index_getnext()
899 if (oid->len - sub != oid->subs[sub] + 2 || in bridge_port_index_decode()
900 oid->subs[sub] >= IFNAMSIZ) in bridge_port_index_decode()
[all …]
H A Dbridge_addrs.c342 oid->len = sub + ETHER_ADDR_LEN + 1; in bridge_addrs_index_append()
343 oid->subs[sub] = ETHER_ADDR_LEN; in bridge_addrs_index_append()
381 if (oid->len - sub == 0) in bridge_addrs_getnext()
433 switch (val->var.subs[sub - 1]) { in op_dot1d_tp_fdb()
466 oid->len = sub++; in bridge_addrs_begemot_index_append()
491 n_len = oid->subs[sub]; in bridge_addrs_begemot_get()
522 if (oid->len - sub == 0) in bridge_addrs_begemot_getnext()
525 n_len = oid->subs[sub]; in bridge_addrs_begemot_getnext()
562 sub)) == NULL || in op_begemot_tp_fdb()
564 sub, te) < 0) in op_begemot_tp_fdb()
[all …]
H A Dbridge_if.c686 switch (val->var.subs[sub - 1]) { in op_dot1d_stp()
759 switch (val->var.subs[sub - 1]) { in op_dot1d_stp()
933 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in bridge_name_index_get()
962 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in bridge_if_index_get()
979 if (oid->len - sub == 0) in bridge_if_index_getnext()
982 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in bridge_if_index_getnext()
997 struct snmp_value *val, uint sub) in bridge_set_if_status() argument
1082 struct snmp_value *val, uint sub) in bridge_rollback_if_status() argument
1167 switch (val->var.subs[sub - 1]) { in op_begemot_base_bridge()
1328 switch (val->var.subs[sub - 1]) { in op_begemot_stp()
[all …]
/freebsd-14.2/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-14.2/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c113 switch (val->var.subs[sub - 1]) { in op_snmp_target()
162 switch (val->var.subs[sub - 1]) { in op_snmp_target_addrs()
247 switch (val->var.subs[sub - 1]) { in op_snmp_target_addrs()
310 switch (val->var.subs[sub - 1]) { in op_snmp_target_addrs()
495 switch (val->var.subs[sub - 1]) { in op_snmp_target_params()
660 oid->len = sub + strlen(name); in target_append_index()
662 oid->subs[sub + i] = name[i]; in target_append_index()
670 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= in target_decode_index()
704 if (oid->len - sub == 0) in target_get_next_address()
741 if (oid->len - sub == 0) in target_get_next_param()
[all …]
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c3052 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in wlan_get_ifname()
3088 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in wlan_get_next_interface()
3132 if (oid->len - sub != oid->subs[sub] + 1 || oid->subs[sub] >= IFNAMSIZ) in wlan_get_next_snmp_interface()
3167 mac_off = sub + oid->subs[sub] + 1; in wlan_mac_index_decode()
3202 if (oid->len - sub != oid->subs[sub] + 2 || oid->subs[sub] >= IFNAMSIZ) in wlan_phy_index_decode()
3209 *phy = oid->subs[sub + oid->subs[sub] + 1]; in wlan_phy_index_decode()
3394 if (oid->len - sub != oid->subs[sub] + 2 || oid->subs[sub] >= IFNAMSIZ) in wlan_channel_index_decode()
3401 *cindex = oid->subs[sub + oid->subs[sub] + 1]; in wlan_channel_index_decode()
3785 offset = sub + oid->subs[sub] + 1; in wlan_scanr_index_decode()
3792 offset = sub + oid->subs[sub] + oid->subs[offset] + 2; in wlan_scanr_index_decode()
[all …]
/freebsd-14.2/sys/dev/vmware/vmci/
H A Dvmci_event.c247 ASSERT(sub); in event_release_cb()
250 vmci_event_release(sub); in event_release_cb()
316 ASSERT(event_info->sub); in vmci_event_delayed_dispatch_cb()
318 sub = event_info->sub; in vmci_event_delayed_dispatch_cb()
321 sub->callback(sub->id, ed, sub->callback_data); in vmci_event_delayed_dispatch_cb()
324 vmci_event_release(sub); in vmci_event_delayed_dispatch_cb()
402 event_ref->sub = iter; in vmci_event_deliver()
420 cur = iter->sub; in vmci_event_deliver()
507 ASSERT(sub); in vmci_event_register_subscription()
533 sub->ref_count = 1; in vmci_event_register_subscription()
[all …]
/freebsd-14.2/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));
300 cl::sub(PrettySubcommand));
384 cl::sub(BytesSubcommand), cl::cat(MsfBytes));
463 cl::cat(MsfOptions), cl::sub(DumpSubcommand));
467 cl::cat(MsfOptions), cl::sub(DumpSubcommand));
471 cl::cat(MsfOptions), cl::sub(DumpSubcommand));
725 cl::sub(MergeSubcommand));
[all …]
/freebsd-14.2/contrib/bionic-x86_64-string/
H A Dssse3-strcmp-slm.S110 sub $16, %r11
137 sub %rcx, %r9
159 sub %r9d, %edx
187 sub $16, %r11
201 sub $16, %r11
261 sub $16, %r11
284 sub $16, %r11
376 sub $16, %r11
400 sub $16, %r11
486 sub $16, %r11
[all …]
/freebsd-14.2/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c90 switch (val->var.subs[sub - 1]) { in op_usm_stats()
180 switch (val->var.subs[sub - 1]) { in op_usm_users()
186 sub, eid, &elen, uname) < 0 || in op_usm_users()
225 if (val->var.subs[sub - 1] == in op_usm_users()
258 if (val->var.subs[sub - 1] == in op_usm_users()
325 switch (val->var.subs[sub - 1]) { in op_usm_users()
351 switch (val->var.subs[sub - 1]) { in op_usm_users()
396 switch (val->var.subs[sub - 1]) { in op_usm_users()
468 uname_off = sub + oid->subs[sub] + 1; in usm_user_index_decode()
491 sub += uuser->user_engine_len + 1; in usm_append_userindex()
[all …]
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-output-test.py115 return re.sub(
126 return re.sub(
135 return re.sub(r'Stack trace:(.|\n)*?\n', '', output)
141 return re.sub(r'\(\d+ ms', '(? ms', output)
155 return re.sub(r'unsigned int', 'unsigned', test_output)
163 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
176 output = re.sub(r'\d+ FAILED TESTS', '? FAILED TESTS', output)
177 output = re.sub(
181 return re.sub(r'\d+ tests?\.', '? tests.', output)
199 test_output = re.sub(
[all …]
/freebsd-14.2/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-14.2/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-14.2/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-14.2/contrib/bmake/unit-tests/
H A Dinclude-sub.inc1 # $NetBSD: include-sub.inc,v 1.1 2023/01/19 23:26:14 rillig Exp $
4 . info sub-before-ok
6 . warning sub-before-fail(${.INCLUDEDFROMFILE})
14 . info sub-before-for-ok
16 . warning sub-before-for-fail(${.INCLUDEDFROMFILE})
38 . info sub-after-ok
40 . warning sub-after-fail(${.INCLUDEDFROMFILE})
45 . info sub-after-for-ok
47 . warning sub-after-for-fail(${.INCLUDEDFROMFILE})
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock_output_test.py67 output = re.sub(r'.*gtest_main.*\n', '', output)
68 output = re.sub(r'\[.*\d+ tests.*\n', '', output)
69 output = re.sub(r'\[.* test environment .*\n', '', output)
70 output = re.sub(r'\[=+\] \d+ tests .* ran.*', '', output)
71 output = re.sub(r'.* FAILED TESTS\n', '', output)
88 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\:', 'FILE:#:', output)
94 return re.sub(r' error: ', ' Failure\n', output)
100 return re.sub(r'@\w+', '@0x#', output)
106 return re.sub(r'\(used in test .+\) ', '', output)
/freebsd-14.2/lib/libc/regex/grot/
H A Dmain.c407 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) || in check()
408 (sub.rm_so != -1 && sub.rm_eo == -1) || in check()
409 (sub.rm_so != -1 && sub.rm_so < 0) || in check()
410 (sub.rm_eo != -1 && sub.rm_eo < 0) ) { in check()
412 (long)sub.rm_eo); in check()
417 if (sub.rm_so == -1 && should == NULL) in check()
419 if (sub.rm_so == -1) in check()
423 if (sub.rm_eo > strlen(str)) { in check()
425 (long)sub.rm_so, (long)sub.rm_eo); in check()
429 len = (int)(sub.rm_eo - sub.rm_so); in check()
[all …]

12345678910>>...65