/freebsd/contrib/unbound/util/data/ |
H A D | 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/usr.sbin/bluetooth/hccontrol/ |
H A D | 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/usr.bin/sort/ |
H A D | 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 …]
|
H A D | vsort.c | 204 size_t len1, len2, slen1, slen2; in vcmp() local 214 len1 = slen1 = BWSLEN(s1); in vcmp() 251 find_suffix(si1, bws_end(s1), &len1); in vcmp() 254 if ((len1 == len2) && (bws_iterator_cmp(si1, si2, len1) == 0)) in vcmp() 257 cmp_res = cmpversions(si1, bws_iterator_inc(si1, len1), si2, in vcmp()
|
/freebsd/usr.bin/cmp/ |
H A D | link.c | 46 ssize_t len1, len2; in c_link() local 51 if ((len1 = readlink(file1, buf1, sizeof(buf1) - 1)) < 0) { in c_link() 65 if (skip1 > len1) in c_link() 66 skip1 = len1; in c_link() 67 buf1[len1] = '\0'; in c_link()
|
H A D | regular.c | 54 c_regular(int fd1, const char *file1, off_t skip1, off_t len1, in c_regular() argument 65 if (skip1 > len1) { in c_regular() 69 len1 -= skip1; in c_regular() 76 if (sflag && len1 != len2) in c_regular() 84 length = MIN(len1, len2); in c_regular() 166 if (len1 != len2) { in c_regular() 167 eofmsg(len1 > len2 ? file2 : file1); in c_regular()
|
/freebsd/contrib/bmake/ |
H A D | 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()
|
/freebsd/lib/libc/locale/ |
H A D | wctype.c | 96 size_t len1, len2; in wctype_l() local 100 len1 = strlen(property); in wctype_l() 103 if (len1 == len2 && memcmp(property, p, len1) == 0) in wctype_l()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | 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/lib/libc/string/ |
H A D | wcscoll.c | 44 int len1, len2, pri1, pri2; in wcscoll_l() local 120 _collate_lookup(table, w1, &len1, in wcscoll_l() 150 w1 += len1; in wcscoll_l() 167 _collate_lookup(table, w1, &len1, &pri1, in wcscoll_l() 169 w1 += len1; in wcscoll_l()
|
/freebsd/sys/dev/mlx5/mlx5_fpga_tools/ |
H A D | 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/usr.bin/diff/ |
H A D | diffdir.c | 212 ssize_t len1 = 0; in diffit() local 215 len1 = readlink(path1, buf1, sizeof(buf1)); in diffit() 218 if (len1 < 0 || len2 < 0) { in diffit() 222 buf1[len1] = '\0'; in diffit() 225 if (len1 != len2 || strncmp(buf1, buf2, len1) != 0) { in diffit()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | strings.c | 51 size_t len1 = strlen(haystack); in NCURSES_EXPORT() local 55 while ((len1 != 0) && (len1-- >= len2)) { in NCURSES_EXPORT()
|
/freebsd/lib/libc/gen/ |
H A D | fmtmsg.c | 205 size_t len1, len2; in validmsgverb() local 212 len1 = strlen(msgcomp); in validmsgverb() 214 if (len1 == len2 && memcmp(msgcomp, p, len1) == 0) in validmsgverb()
|
/freebsd/usr.sbin/jail/ |
H A D | jailparse.y | 209 size_t len1; variable 212 len1 = strlen($2); 213 $$->s = erealloc($$->s, $$->len + len1 + 1); 216 $$->len += len1;
|
/freebsd/contrib/diff/src/ |
H A D | 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/contrib/bearssl/T0/ |
H A D | CodeElementUIntExpr.cs | 58 int len1 = oneByteCode in Encode() 64 return len1 + len2; in Encode()
|
/freebsd/usr.sbin/ppp/ |
H A D | 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/contrib/bearssl/tools/ |
H A D | 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/crypto/heimdal/lib/hx509/ |
H A D | 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/crypto/heimdal/lib/kadm5/ |
H A D | 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/usr.sbin/rpc.lockd/ |
H A D | 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); 460 regions_overlap(const u_int64_t start1, const u_int64_t len1, in regions_overlap() argument 467 start1, len1, start2, len2); in regions_overlap() 469 result = region_compare(start1, len1, start2, len2, in regions_overlap() 491 u_int64_t *len1, u_int64_t *start2, u_int64_t *len2) in region_compare() argument 516 *len1 = startu - starte; in region_compare() 550 *len1 = startu - starte; in region_compare() 585 *len1 = startu - starte; in region_compare() 630 *len1 = (startu - starte); in region_compare() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | ctxt-info-gen3.c | 318 u32 len, len0, len1; in iwl_pcie_load_payloads_continuously() 327 len1 = pnvm_data->chunks[1].len; in iwl_pcie_load_payloads_segments() 328 if (len1 > 0xFFFFFFFF - len0) { in iwl_pcie_load_payloads_segments() 332 len = len0 + len1; in iwl_pcie_load_payloads_segments() 343 memcpy((u8 *)dram->block + len0, pnvm_data->chunks[1].data, len1); in iwl_pcie_load_payloads_segments() 292 u32 len, len0, len1; iwl_pcie_load_payloads_continuously() local
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | robust_av.c | 26 u8 *len, *len1; in wpas_populate_mscs_descriptor_ie() local 40 len1 = wpabuf_put(buf, 1); in wpas_populate_mscs_descriptor_ie() 46 *len1 = (u8 *) wpabuf_put(buf, 0) - len1 - 1; in wpas_populate_mscs_descriptor_ie() 116 u8 *len, *len1; in wpas_populate_scs_descriptor_ie() local 149 len1 = wpabuf_put(buf, 1); in wpas_populate_scs_descriptor_ie() 175 *len1 = (u8 *) wpabuf_put(buf, 0) - len1 - 1; in wpas_populate_scs_descriptor_ie() 190 len1 = wpabuf_put(buf, 1); in wpas_populate_scs_descriptor_ie() 257 *len1 = (u8 *) wpabuf_put(buf, 0) - len1 - 1; in wpas_populate_scs_descriptor_ie()
|
/freebsd/sys/dev/sfxge/common/ |
H A D | siena_flash.h | 202 efx_dword_t len1; /* length of first image */ member 212 efx_dword_t len1; /* length of first image */ member
|