/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_08.X.out | 1 …sub><name>0</name><next>1</next></sub><sub><name>1</name><next>2</next></sub><sub><name>2</name><n…
|
H A D | test_08.XP.out | 80 <sub> 83 </sub> 84 <sub> 87 </sub> 88 <sub> 91 </sub> 97 <sub> 100 </sub> 101 <sub> 104 </sub> [all …]
|
H A D | test_08.E.out | 88 op open_list: [sub] [] [0] 89 op open_instance: [sub] [] [0x810] 92 op close_instance: [sub] [] [0] 93 op open_instance: [sub] [] [0x810] 96 op close_instance: [sub] [] [0] 97 op open_instance: [sub] [] [0x810] 100 op close_instance: [sub] [] [0] 101 op close_list: [sub] [] [0] 107 op open_list: [sub] [] [0] 108 op open_instance: [sub] [] [0x810] [all …]
|
/freebsd/contrib/bsnmp/snmp_vacm/ |
H A D | vacm_snmp.c | 91 uint32_t sub, uint32_t iidx __unused, enum snmp_op op) in op_vacm_context() argument 97 if (val->var.subs[sub - 1] != LEAF_vacmContextName) in op_vacm_context() 102 if ((vacm_ctx = vacm_get_context(&val->var, sub)) == NULL) in op_vacm_context() 107 if ((vacm_ctx = vacm_get_next_context(&val->var, sub)) == NULL) in op_vacm_context() 109 vacm_append_ctxindex(&val->var, sub, vacm_ctx); in op_vacm_context() 113 if ((vacm_ctx = vacm_get_context(&val->var, sub)) != NULL) in op_vacm_context() 117 if (val->var.subs[sub] >= SNMP_ADM_STR32_SIZ) in op_vacm_context() 119 if (index_decode(&val->var, sub, iidx, &cname, &cnamelen)) in op_vacm_context() 139 uint32_t sub, uint32_t iidx __unused, enum snmp_op op) in op_vacm_security_to_group() argument 147 if ((user = vacm_get_user(&val->var, sub)) == NULL) in op_vacm_security_to_group() [all …]
|
/freebsd/contrib/bmake/ |
H A D | str.h | 113 Substring sub; in Substring_Init() local 115 sub.start = start; in Substring_Init() 116 sub.end = end; in Substring_Init() 117 return sub; in Substring_Init() 127 Substring_Length(Substring sub) in Substring_Length() argument 129 return (size_t)(sub.end - sub.start); in Substring_Length() 133 Substring_IsEmpty(Substring sub) in Substring_IsEmpty() argument 135 return sub.start == sub.end; in Substring_IsEmpty() 139 Substring_Equals(Substring sub, const char *str) in Substring_Equals() argument 142 return Substring_Length(sub) == len && in Substring_Equals() [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | packet.c | 235 static int wpacket_intern_close(WPACKET *pkt, WPACKET_SUB *sub, int doclose) in wpacket_intern_close() argument 237 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close() 240 && (sub->flags & WPACKET_FLAGS_NON_ZERO_LENGTH) != 0) in wpacket_intern_close() 244 && sub->flags & WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH) { in wpacket_intern_close() 250 if ((pkt->curr - sub->lenbytes) == sub->packet_len) { in wpacket_intern_close() 251 pkt->written -= sub->lenbytes; in wpacket_intern_close() 252 pkt->curr -= sub->lenbytes; in wpacket_intern_close() 256 sub->packet_len = 0; in wpacket_intern_close() 257 sub->lenbytes = 0; in wpacket_intern_close() 261 if (sub->lenbytes > 0) { in wpacket_intern_close() [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | lilly.progs | 79 {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} 85 {if(sub(/\/=/,"#"))print $0} 86 {if(sub(/%=/,"#"))print $0} 87 {if(sub(/^=/,"#"))print $0} 88 {if(sub(/!=/,"#"))print $0} [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_port.c | 345 uint sub, uint iidx __unused, enum snmp_op op) in op_dot1d_base_port() argument 359 if (val->var.len - sub != 1) in op_dot1d_base_port() 361 if ((bp = bridge_port_find(val->var.subs[sub], in op_dot1d_base_port() 367 if (val->var.len - sub == 0) { in op_dot1d_base_port() 371 if ((bp = bridge_port_find(val->var.subs[sub], in op_dot1d_base_port() 376 val->var.len = sub + 1; in op_dot1d_base_port() 377 val->var.subs[sub] = bp->port_no; in op_dot1d_base_port() 390 switch (val->var.subs[sub - 1]) { in op_dot1d_base_port() 417 uint sub, uint iidx __unused, enum snmp_op op) in op_dot1d_stp_port() argument 431 if (val->var.len - sub != 1) in op_dot1d_stp_port() [all …]
|
H A D | bridge_addrs.c | 337 bridge_addrs_index_append(struct asn_oid *oid, uint sub, in bridge_addrs_index_append() argument 342 oid->len = sub + ETHER_ADDR_LEN + 1; in bridge_addrs_index_append() 343 oid->subs[sub] = ETHER_ADDR_LEN; in bridge_addrs_index_append() 346 oid->subs[sub + i] = te->tp_addr[i - 1]; in bridge_addrs_index_append() 353 bridge_addrs_get(const struct asn_oid *oid, uint sub, in bridge_addrs_get() argument 359 if (oid->len - sub != ETHER_ADDR_LEN + 1 || in bridge_addrs_get() 360 oid->subs[sub] != ETHER_ADDR_LEN) in bridge_addrs_get() 364 tp_addr[i] = oid->subs[sub + i + 1]; in bridge_addrs_get() 374 bridge_addrs_getnext(const struct asn_oid *oid, uint sub, in bridge_addrs_getnext() argument 381 if (oid->len - sub == 0) in bridge_addrs_getnext() [all …]
|
H A D | bridge_if.c | 633 uint sub, uint iidx __unused, enum snmp_op op) in op_dot1d_base() argument 646 switch (value->var.subs[sub - 1]) { in op_dot1d_base() 672 op_dot1d_stp(struct snmp_context *ctx, struct snmp_value *val, uint sub, in op_dot1d_stp() argument 686 switch (val->var.subs[sub - 1]) { in op_dot1d_stp() 759 switch (val->var.subs[sub - 1]) { in op_dot1d_stp() 835 switch (val->var.subs[sub - 1]) { in op_dot1d_stp() 866 uint sub, uint iidx __unused, enum snmp_op op) in op_dot1d_tp() argument 879 switch (value->var.subs[sub - 1]) { in op_dot1d_tp() 893 switch (value->var.subs[sub - 1]) { in op_dot1d_tp() 910 if (value->var.subs[sub - 1] == LEAF_dot1dTpAgingTime) in op_dot1d_tp() [all …]
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | export.c | 246 index_decode(const struct asn_oid *oid, u_int sub, u_int code, ...) in index_decode() argument 265 if (sub == oid->len) in index_decode() 267 *va_arg(ap, int32_t *) = oid->subs[sub++]; in index_decode() 271 if (sub == oid->len) in index_decode() 273 *va_arg(ap, u_int64_t *) = oid->subs[sub++]; 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() 298 (*cval)[i] = oid->subs[sub++]; in index_decode() [all …]
|
H A D | action.c | 244 u_int sub, u_int iidx __unused, enum snmp_op op) in op_system_group() argument 246 asn_subid_t which = value->var.subs[sub - 1]; in op_system_group() 356 op_debug(struct snmp_context *ctx, struct snmp_value *value, u_int sub, in op_debug() argument 359 asn_subid_t which = value->var.subs[sub - 1]; in op_debug() 449 u_int sub, u_int iidx __unused, enum snmp_op op) in op_or_table() argument 456 if ((objres = NEXT_OBJECT_INT(&objres_list, &value->var, sub)) in op_or_table() 459 value->var.subs[sub] = objres->index; in op_or_table() 460 value->var.len = sub + 1; in op_or_table() 464 if ((objres = FIND_OBJECT_INT(&objres_list, &value->var, sub)) in op_or_table() 470 if ((objres = FIND_OBJECT_INT(&objres_list, &value->var, sub)) in op_or_table() [all …]
|
/freebsd/contrib/bsnmp/snmp_target/ |
H A D | target_snmp.c | 83 uint32_t sub, uint32_t iidx __unused, enum snmp_op op) in op_snmp_target() argument 87 if (val->var.subs[sub - 1] == LEAF_snmpTargetSpinLock) { in op_snmp_target() 113 switch (val->var.subs[sub - 1]) { in op_snmp_target() 130 uint32_t sub, uint32_t iidx __unused, enum snmp_op op) in op_snmp_target_addrs() argument 137 if ((addrs = target_get_address(&val->var, sub)) == NULL) in op_snmp_target_addrs() 142 if ((addrs = target_get_next_address(&val->var, sub)) == NULL) in op_snmp_target_addrs() 144 target_append_index(&val->var, sub, addrs->name); in op_snmp_target_addrs() 148 if ((addrs = target_get_address(&val->var, sub)) == NULL && in op_snmp_target_addrs() 149 (val->var.subs[sub - 1] != LEAF_snmpTargetAddrRowStatus || in op_snmp_target_addrs() 162 switch (val->var.subs[sub - 1]) { in op_snmp_target_addrs() [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_snmp.c | 167 asn_oid *, uint sub, struct wlan_iface **, uint32_t *); 179 uint sub, struct wlan_iface **); 188 static int wlan_scanr_index_decode(const struct asn_oid *oid, uint sub, 217 op_wlan_iface(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, in op_wlan_iface() argument 228 if ((wif = wlan_get_snmp_interface(&val->var, sub)) == NULL) in op_wlan_iface() 233 if ((wif = wlan_get_next_snmp_interface(&val->var, sub)) == NULL) in op_wlan_iface() 235 wlan_append_ifindex(&val->var, sub, wif); in op_wlan_iface() 239 if ((wif = wlan_get_snmp_interface(&val->var, sub)) == NULL) { in op_wlan_iface() 240 if (val->var.subs[sub - 1] != LEAF_wlanIfaceName) in op_wlan_iface() 242 if (wlan_get_ifname(&val->var, sub, wname) == NULL) in op_wlan_iface() [all …]
|
/freebsd/sys/dev/vmware/vmci/ |
H A D | vmci_event.c | 33 static int vmci_event_register_subscription(struct vmci_subscription *sub, 43 struct vmci_subscription *sub; member 48 struct vmci_subscription *sub; member 245 struct vmci_subscription *sub = (struct vmci_subscription *)client_data; in event_release_cb() local 247 ASSERT(sub); in event_release_cb() 250 vmci_event_release(sub); in event_release_cb() 310 struct vmci_subscription *sub; in vmci_event_delayed_dispatch_cb() local 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | llvm-pdbutil.cpp | 159 cl::OneOrMore, cl::sub(DiaDumpSubcommand)); 162 cl::sub(DiaDumpSubcommand)); 166 cl::sub(DiaDumpSubcommand)); 170 cl::sub(DiaDumpSubcommand)); 176 cl::sub(DiaDumpSubcommand)); 179 cl::sub(DiaDumpSubcommand)); 181 cl::sub(DiaDumpSubcommand)); 183 cl::sub(DiaDumpSubcommand)); 186 cl::sub(DiaDumpSubcommand)); 189 cl::sub(DiaDumpSubcomman [all...] |
/freebsd/contrib/bionic-x86_64-string/ |
H A D | ssse3-strcmp-slm.S | 107 sub $0xffff, %edx /* if first 16 bytes are same, edx == 0xffff */ 110 sub $16, %r11 137 sub %rcx, %r9 159 sub %r9d, %edx 183 sub $0xffff, %edx 187 sub $16, %r11 198 sub $0xffff, %edx 201 sub $16, %r11 224 sub %r9d, %edx 239 sub $0x1000, %r10 /* subtract 4K pagesize */ [all …]
|
/freebsd/contrib/bsnmp/snmp_usm/ |
H A D | usm_snmp.c | 79 uint32_t sub __unused, uint32_t iidx __unused, enum snmp_op op) in op_usm_stats() 90 switch (val->var.subs[sub - 1]) { in op_usm_stats() 119 uint32_t sub, uint32_t iidx __unused, enum snmp_op op) in op_usm_lock() argument 121 if (val->var.subs[sub - 1] != LEAF_usmUserSpinLock) in op_usm_lock() 147 uint32_t sub, uint32_t iidx __unused, enum snmp_op op) in op_usm_users() argument 156 if ((uuser = usm_get_user(&val->var, sub)) == NULL) in op_usm_users() 161 if ((uuser = usm_get_next_user(&val->var, sub)) == NULL) in op_usm_users() 163 usm_append_userindex(&val->var, sub, uuser); in op_usm_users() 167 if ((uuser = usm_get_user(&val->var, sub)) == NULL && in op_usm_users() 168 val->var.subs[sub - 1] != LEAF_usmUserStatus && in op_usm_users() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.lib_strings.lua | 31 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) == "") 36 assert(string.sub("123456789",-10,10) == "123456789") 37 assert(string.sub("123456789",1,9) == "123456789") 38 assert(string.sub("123456789",-10,-20) == "") 39 assert(string.sub("123456789",-1) == "9") 40 assert(string.sub("123456789",-4) == "6789") [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-output-test.py | 115 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) 165 test_output = re.sub(r': Failure\n', r': error: ', test_output) 167 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output) 175 output = re.sub(r'\d+ tests?, listed below', '? tests, listed below', output) 176 output = re.sub(r'\d+ FAILED TESTS', '? FAILED TESTS', output) [all …]
|
H A D | gtest_json_test_utils.py | 48 return re.sub(r'^\d+(\.\d+)?s$', '*', value) 50 return re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$', '*', value) 52 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value) 53 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value) 55 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value) 56 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value) 58 return re.sub(r'^.*[/\\](.*)', '\\1', value)
|
/freebsd/contrib/cortex-strings/src/aarch64/ |
H A D | strcpy.S | 141 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 221 sub to_align, to_align, #16 223 sub src, srcin, to_align 224 sub dst, dstin, to_align 235 sub tmp1, data1, zeroones [all …]
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_route.c | 69 sroute_index_append(struct asn_oid *oid, u_int sub, const struct sroute *s) in sroute_index_append() argument 73 oid->len = sub + 13; in sroute_index_append() 75 oid->subs[sub + i] = s->index[i]; in sroute_index_append() 285 sroute_get(const struct asn_oid *oid, u_int sub) in sroute_get() argument 290 if (oid->len - sub != 13) in sroute_get() 293 key.index[i] = oid->subs[sub + i]; in sroute_get() 302 sroute_getnext(struct asn_oid *oid, u_int sub) in sroute_getnext() argument 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() [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | include-sub.inc | 1 # $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/lib/libc/regex/grot/ |
H A D | main.c | 391 check(char *str, regmatch_t sub, char *should) in check() argument 407 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() 411 sprintf(grump, "start %ld end %ld", (long)sub.rm_so, 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() [all …]
|