Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 25 of 66) sorted by relevance

123

/freebsd-14.2/contrib/unbound/util/data/
H A Ddname.c238 len1 = *d1++; in dname_pkt_compare()
249 len1 = *d1++; in dname_pkt_compare()
269 log_assert(len1 == len2 && len1 != 0); in dname_pkt_compare()
280 len1 = *d1++; in dname_pkt_compare()
496 d1 += len1; in dname_lab_cmp()
515 len1 = *d1++; in dname_lab_cmp()
523 d1 += len1; in dname_lab_cmp()
549 len1--; in dname_lab_cmp()
788 uint8_t min = (len1<len2)?len1:len2; in memcanoncmp()
816 d1 += len1; in dname_canon_lab_cmp()
[all …]
/freebsd-14.2/usr.sbin/bluetooth/hccontrol/
H A Dutil.c2897 int n, i, len0, len1; in hci_commands2str() local
2911 len1 = 0; in hci_commands2str()
3012 int n, i, len0, len1; in hci_features2str() local
3015 len1 = 0; in hci_features2str()
3026 len1 = 0; in hci_features2str()
3126 int n, i, len0, len1; in hci_le_features2str() local
3129 len1 = 0; in hci_le_features2str()
3140 len1 = 0; in hci_le_features2str()
3333 len1 = 0; in hci_le_chanmap2str()
3345 len1 = 0; in hci_le_chanmap2str()
[all …]
/freebsd-14.2/usr.bin/sort/
H A Dbwstring.c491 len1 -= offset; in bwsncmp()
494 cmp_len = len1; in bwsncmp()
522 if (len1 < cmp_len && len1 < len2) in bwsncmp()
540 len1 -= offset; in bwscmp()
543 cmp_len = len1; in bwscmp()
551 if( len1 < len2) in bwscmp()
581 size_t len1, len2; in bwscoll() local
586 if (len1 <= offset) in bwscoll()
592 len1 -= offset; in bwscoll()
622 maxlen = len1; in bwscoll()
[all …]
H A Dvsort.c205 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-14.2/usr.bin/cmp/
H A Dlink.c47 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()
H A Dregular.c61 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-14.2/contrib/bmake/
H A Dstr.c84 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()
H A Darch.c223 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-14.2/lib/libc/locale/
H A Dwctype.c96 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-14.2/lib/libc/string/
H A Dwcscoll.c44 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-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp109 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-14.2/sys/dev/mlx5/mlx5_fpga_tools/
H A Dmlx5fpga_tools_char.c135 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-14.2/usr.bin/diff/
H A Ddiffdir.c213 ssize_t len1 = 0; in diffit() local
216 len1 = readlink(path1, buf1, sizeof(buf1)); in diffit()
219 if (len1 < 0 || len2 < 0) { in diffit()
223 buf1[len1] = '\0'; in diffit()
226 if (len1 != len2 || strncmp(buf1, buf2, len1) != 0) { in diffit()
/freebsd-14.2/contrib/ncurses/ncurses/tinfo/
H A Dstrings.c51 size_t len1 = strlen(haystack); in NCURSES_EXPORT() local
55 while ((len1 != 0) && (len1-- >= len2)) { in NCURSES_EXPORT()
/freebsd-14.2/lib/libc/gen/
H A Dfmtmsg.c205 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-14.2/usr.sbin/jail/
H A Djailparse.y209 size_t len1; variable
212 len1 = strlen($2);
213 $$->s = erealloc($$->s, $$->len + len1 + 1);
216 $$->len += len1;
/freebsd-14.2/contrib/diff/src/
H A Dside.c210 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-14.2/contrib/bearssl/T0/
H A DCodeElementUIntExpr.cs58 int len1 = oneByteCode in Encode()
64 return len1 + len2; in Encode()
/freebsd-14.2/usr.sbin/ppp/
H A Dpred.c221 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-14.2/contrib/bearssl/tools/
H A Dta.c207 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-14.2/crypto/heimdal/lib/kadm5/
H A Dkeys.c71 _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-14.2/crypto/heimdal/lib/hx509/
H A Dsel.c102 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-14.2/contrib/xz/src/liblzma/lz/
H A Dlz_encoder_mf.c467 uint32_t len1 = 0; in bt_find_func() local
482 uint32_t len = my_min(len0, len1); in bt_find_func()
505 len1 = len; in bt_find_func()
531 uint32_t len1 = 0; in bt_skip_func() local
545 uint32_t len = my_min(len0, len1); in bt_skip_func()
561 len1 = len; in bt_skip_func()
/freebsd-14.2/usr.sbin/rpc.lockd/
H A Dlockd_lock.c460 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()
916 u_int64_t start1, len1, start2, len2; in split_nfslock() local
921 &start1, &len1, &start2, &len2); in split_nfslock()
[all …]
/freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/
H A Dctxt-info-gen3.c292 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()

123