| /freebsd-13-stable/contrib/unbound/util/data/ |
| HD | dname.c | 235 uint8_t len1, len2; in dname_pkt_compare() local 238 len1 = *d1++; in dname_pkt_compare() 240 while( len1 != 0 || len2 != 0 ) { in dname_pkt_compare() 242 if(LABEL_IS_PTR(len1)) { in dname_pkt_compare() 243 if((size_t)PTR_OFFSET(len1, *d1) in dname_pkt_compare() 248 d1 = sldns_buffer_at(pkt, PTR_OFFSET(len1, *d1)); in dname_pkt_compare() 249 len1 = *d1++; in dname_pkt_compare() 263 log_assert(len1 <= LDNS_MAX_LABELLEN); in dname_pkt_compare() 265 if(len1 != len2) { in dname_pkt_compare() 266 if(len1 < len2) return -1; in dname_pkt_compare() [all …]
|
| /freebsd-13-stable/usr.sbin/bluetooth/hccontrol/ |
| HD | util.c | 2897 int n, i, len0, len1; in hci_commands2str() local 2910 if (len1 + strlen(t[n][i]) > 60) { in hci_commands2str() 2911 len1 = 0; in hci_commands2str() 2915 len1 += strlen(t[n][i]); in hci_commands2str() 3012 int n, i, len0, len1; in hci_features2str() local 3015 len1 = 0; in hci_features2str() 3025 if (len1 + strlen(t[n][i]) > 60) { in hci_features2str() 3026 len1 = 0; in hci_features2str() 3030 len1 += strlen(t[n][i]); in hci_features2str() 3126 int n, i, len0, len1; in hci_le_features2str() local [all …]
|
| /freebsd-13-stable/usr.bin/sort/ |
| HD | bwstring.c | 479 size_t cmp_len, len1, len2; in bwsncmp() local 482 len1 = BWSLEN(bws1); in bwsncmp() 485 if (len1 <= offset) { in bwsncmp() 491 len1 -= offset; in bwsncmp() 494 cmp_len = len1; in bwsncmp() 522 if (len1 < cmp_len && len1 < len2) in bwsncmp() 524 else if (len2 < cmp_len && len2 < len1) in bwsncmp() 534 size_t len1, len2, cmp_len; in bwscmp() local 537 len1 = BWSLEN(bws1); in bwscmp() 540 len1 -= offset; in bwscmp() [all …]
|
| HD | vsort.c | 205 size_t len1, len2, slen1, slen2; in vcmp() local 215 len1 = slen1 = BWSLEN(s1); in vcmp() 252 find_suffix(si1, bws_end(s1), &len1); in vcmp() 255 if ((len1 == len2) && (bws_iterator_cmp(si1, si2, len1) == 0)) in vcmp() 258 cmp_res = cmpversions(si1, bws_iterator_inc(si1, len1), si2, in vcmp()
|
| /freebsd-13-stable/contrib/bmake/ |
| HD | str.c | 84 size_t len1 = strlen(s1); in str_concat2() local 86 char *result = bmake_malloc(len1 + len2 + 1); in str_concat2() 87 memcpy(result, s1, len1); in str_concat2() 88 memcpy(result + len1, s2, len2 + 1); in str_concat2() 96 size_t len1 = strlen(s1); in str_concat3() local 99 char *result = bmake_malloc(len1 + len2 + len3 + 1); in str_concat3() 100 memcpy(result, s1, len1); in str_concat3() 101 memcpy(result + len1, s2, len2); in str_concat3() 102 memcpy(result + len1 + len2, s3, len3 + 1); in str_concat3()
|
| HD | arch.c | 223 size_t len1 = strlen(archive); in FullName() local 225 char *result = bmake_malloc(len1 + 1 + len3 + 1 + 1); in FullName() 226 memcpy(result, archive, len1); in FullName() 227 memcpy(result + len1, "(", 1); in FullName() 228 memcpy(result + len1 + 1, member, len3); in FullName() 229 memcpy(result + len1 + 1 + len3, ")", 1 + 1); in FullName()
|
| /freebsd-13-stable/usr.bin/cmp/ |
| HD | link.c | 47 ssize_t len1, len2; in c_link() local 52 if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) { in c_link() 66 if (skip1 > len1) in c_link() 67 skip1 = len1; in c_link() 68 buf1[len1] = '\0'; in c_link()
|
| HD | regular.c | 61 c_regular(int fd1, const char *file1, off_t skip1, off_t len1, in c_regular() argument 72 if (skip1 > len1) { in c_regular() 76 len1 -= skip1; in c_regular() 83 if (sflag && len1 != len2) in c_regular() 91 length = MIN(len1, len2); in c_regular() 173 if (len1 != len2) { in c_regular() 174 eofmsg(len1 > len2 ? file2 : file1); in c_regular()
|
| /freebsd-13-stable/lib/libc/locale/ |
| HD | wctype.c | 97 size_t len1, len2; in wctype_l() local 101 len1 = strlen(property); in wctype_l() 104 if (len1 == len2 && memcmp(property, p, len1) == 0) in wctype_l()
|
| /freebsd-13-stable/lib/libc/string/ |
| HD | wcscoll.c | 45 int len1, len2, pri1, pri2; in wcscoll_l() local 121 _collate_lookup(table, w1, &len1, in wcscoll_l() 151 w1 += len1; in wcscoll_l() 168 _collate_lookup(table, w1, &len1, &pri1, in wcscoll_l() 170 w1 += len1; in wcscoll_l()
|
| /freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| HD | FuzzerInterceptors.cpp | 109 size_t len1 = internal_strlen(haystack); in internal_strstr() local 111 if (len1 < len2) in internal_strstr() 113 for (size_t pos = 0; pos <= len1 - len2; pos++) { in internal_strstr() 138 void __sanitizer_weak_hook_memmem(void *called_pc, const void *s1, size_t len1, 213 void *memmem(const void *s1, size_t len1, const void *s2, size_t len2) { in memmem() argument 215 void *result = REAL(memmem)(s1, len1, s2, len2); in memmem() 216 __sanitizer_weak_hook_memmem(GET_CALLER_PC(), s1, len1, s2, len2, result); in memmem()
|
| /freebsd-13-stable/sys/dev/mlx5/mlx5_fpga_tools/ |
| HD | mlx5fpga_tools_char.c | 135 size_t len, len1; in tools_char_read() local 151 context->access_type, &len1); in tools_char_read() 153 ret = uiomove(kbuf, len1, uio); in tools_char_read() 164 size_t len, len1; in tools_char_write() local 179 len1 = uio->uio_resid; in tools_char_write() 184 len1 -= uio->uio_resid; in tools_char_write() 186 context->access_type, &len1); in tools_char_write()
|
| /freebsd-13-stable/usr.sbin/jail/ |
| HD | jailparse.y | 195 size_t len1; variable 198 len1 = strlen($2); 199 $$->s = erealloc($$->s, $$->len + len1 + 1); 202 $$->len += len1;
|
| /freebsd-13-stable/contrib/ncurses/ncurses/tinfo/ |
| HD | strings.c | 51 size_t len1 = strlen(haystack); in NCURSES_EXPORT() local 55 while ((len1 != 0) && (len1-- >= len2)) { in NCURSES_EXPORT()
|
| /freebsd-13-stable/lib/libc/gen/ |
| HD | fmtmsg.c | 206 size_t len1, len2; in validmsgverb() local 213 len1 = strlen(msgcomp); in validmsgverb() 215 if (len1 == len2 && memcmp(msgcomp, p, len1) == 0) in validmsgverb()
|
| /freebsd-13-stable/contrib/diff/src/ |
| HD | side.c | 210 long int len1 = limit1 - i1; in print_sdiff_common_lines() local 211 fprintf (outfile, "i%ld,%ld\n", len0, len1); in print_sdiff_common_lines() 252 long int len1 = last1 - first1 + 1; in print_sdiff_hunk() local 253 fprintf (outfile, "c%ld,%ld\n", len0, len1); in print_sdiff_hunk()
|
| /freebsd-13-stable/contrib/bearssl/T0/ |
| HD | CodeElementUIntExpr.cs | 58 int len1 = oneByteCode in Encode() 64 return len1 + len2; in Encode()
|
| /freebsd-13-stable/usr.sbin/ppp/ |
| HD | pred.c | 221 int len, olen, len1; in Pred1Input() local 236 len1 = decompress(state, cp, pp, olen - 4); in Pred1Input() 239 if (len != len1) { /* Error is detected. Send reset request */ in Pred1Input() 240 log_Printf(LogCCP, "Pred1: Length error (got %d, not %d)\n", len1, len); in Pred1Input() 247 pp += len1; in Pred1Input()
|
| /freebsd-13-stable/contrib/bearssl/tools/ |
| HD | ta.c | 207 size_t len1, len2; in do_ta() local 217 len1 = VEC_LEN(tas); in do_ta() 221 len2 = VEC_LEN(tas) - len1; in do_ta()
|
| /freebsd-13-stable/usr.sbin/rpc.lockd/ |
| HD | lockd_lock.c | 173 int regions_overlap(const u_int64_t start1, const u_int64_t len1, 177 u_int64_t *start1, u_int64_t *len1, u_int64_t *start2, u_int64_t *len2); 466 regions_overlap(start1, len1, start2, len2) in regions_overlap() argument 467 const u_int64_t start1, len1, start2, len2; in regions_overlap() 473 start1, len1, start2, len2); 475 result = region_compare(start1, len1, start2, len2, 496 start1, len1, start2, len2) in region_compare() argument 498 u_int64_t *start1, *len1, *start2, *len2; 523 *len1 = startu - starte; 557 *len1 = startu - starte; [all …]
|
| /freebsd-13-stable/crypto/heimdal/lib/kadm5/ |
| HD | keys.c | 71 _kadm5_exists_keys(Key *keys1, int len1, Key *keys2, int len2) in _kadm5_exists_keys() argument 75 for (i = 0; i < len1; ++i) { in _kadm5_exists_keys()
|
| /freebsd-13-stable/crypto/heimdal/lib/hx509/ |
| HD | sel.c | 102 size_t len1 = strlen(s1); in eval_comp() local 105 if (len1 < len2) in eval_comp() 107 ret = strcmp(s1 + (len1 - len2), s2) == 0; in eval_comp()
|
| /freebsd-13-stable/contrib/xz/src/liblzma/lz/ |
| HD | lz_encoder_mf.c | 466 uint32_t len1 = 0; in bt_find_func() local 481 uint32_t len = my_min(len0, len1); in bt_find_func() 504 len1 = len; in bt_find_func() 530 uint32_t len1 = 0; in bt_skip_func() local 544 uint32_t len = my_min(len0, len1); in bt_skip_func() 560 len1 = len; in bt_skip_func()
|
| /freebsd-13-stable/sys/contrib/dev/iwlwifi/pcie/ |
| HD | ctxt-info-gen3.c | 292 u32 len, len0, len1; in iwl_pcie_load_payloads_continuously() local 301 len1 = pnvm_data->chunks[1].len; in iwl_pcie_load_payloads_continuously() 302 if (len1 > 0xFFFFFFFF - len0) { in iwl_pcie_load_payloads_continuously() 306 len = len0 + len1; in iwl_pcie_load_payloads_continuously() 317 memcpy((u8 *)dram->block + len0, pnvm_data->chunks[1].data, len1); in iwl_pcie_load_payloads_continuously()
|
| /freebsd-13-stable/sys/contrib/octeon-sdk/ |
| HD | cvmx-dma-engine.c | 434 buffers[0].pcie_length.len1 = size - MAX_SIZE; in __cvmx_dma_engine_build_external_pointers() 445 buffers[0].pcie_length.len1 = MAX_SIZE; in __cvmx_dma_engine_build_external_pointers() 459 buffers[0].pcie_length.len1 = MAX_SIZE; in __cvmx_dma_engine_build_external_pointers() 476 buffers[0].pcie_length.len1 = MAX_SIZE; in __cvmx_dma_engine_build_external_pointers()
|