Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 25 of 164) sorted by relevance

1234567

/external/oss-fuzz/projects/unbound/
Dfuzz_3.c14 size_t len, len2; in LLVMFuzzerTestOneInput() local
27 len2 = len; sldns_str2wire_dname_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
28 len2 = len; sldns_str2wire_int8_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
29 len2 = len; sldns_str2wire_int16_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
30 len2 = len; sldns_str2wire_int32_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
31 len2 = len; sldns_str2wire_a_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
32 len2 = len; sldns_str2wire_aaaa_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
33 len2 = len; sldns_str2wire_str_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
34 len2 = len; sldns_str2wire_apl_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
35 len2 = len; sldns_str2wire_b64_buf(bin, bout, &len2); in LLVMFuzzerTestOneInput()
[all …]
/external/llvm-project/flang/test/Semantics/
Dfinal01.f9012 type, extends(parent) :: child(kind2, len2)
14 integer, len :: len2 = 2 component
50 type(child(len1=*, len2=*)), intent(inout) :: x
53 type(child(len1=*, len2=*)), intent(inout) :: x
56 type(child(len1=*, len2=*)), intent(inout) :: x
65 type(child(kind1=3, len1=*, len2=*)), intent(out) :: x
68 type(child(kind1=4, len1=*, len2=*)), value :: x
71 type(child(kind1=5, len1=*, len2=*)), pointer :: x
74 type(child(kind1=6, len1=*, len2=*)), allocatable :: x
77 type(child(kind1=7, len1=*, len2=*)) :: x[*]
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/
Dcrc32.c22 static uint32_t crc32_combine_(uint32_t crc1, uint32_t crc2, z_off64_t len2);
23 static void crc32_combine_gen_(uint32_t *op, z_off64_t len2);
180 static uint32_t crc32_combine_(uint32_t crc1, uint32_t crc2, z_off64_t len2) { in crc32_combine_() argument
183 if (len2 > 0) in crc32_combine_()
185 for (n = 0; len2; n = (n + 1) % GF2_DIM, len2 >>= 1) in crc32_combine_()
186 if (len2 & 1) in crc32_combine_()
193 unsigned long Z_EXPORT PREFIX(crc32_combine)(unsigned long crc1, unsigned long crc2, z_off_t len2) { in PREFIX()
194 return (unsigned long)crc32_combine_((uint32_t)crc1, (uint32_t)crc2, len2); in PREFIX()
197 …gned long Z_EXPORT PREFIX4(crc32_combine)(unsigned long crc1, unsigned long crc2, z_off64_t len2) { in PREFIX4()
198 return (unsigned long)crc32_combine_((uint32_t)crc1, (uint32_t)crc2, len2); in PREFIX4()
[all …]
Dadler32.c102 static uint32_t adler32_combine_(uint32_t adler1, uint32_t adler2, z_off64_t len2) { argument
108 if (len2 < 0)
112 len2 %= BASE; /* assumes len2 >= 0 */
113 rem = (unsigned)len2;
128 …d long Z_EXPORT PREFIX(adler32_combine)(unsigned long adler1, unsigned long adler2, z_off_t len2) {
129 return (unsigned long)adler32_combine_((uint32_t)adler1, (uint32_t)adler2, len2);
132 …ong Z_EXPORT PREFIX4(adler32_combine)(unsigned long adler1, unsigned long adler2, z_off64_t len2) {
133 return (unsigned long)adler32_combine_((uint32_t)adler1, (uint32_t)adler2, len2);
136 uint32_t Z_EXPORT PREFIX4(adler32_combine)(uint32_t adler1, uint32_t adler2, z_off64_t len2) {
137 return adler32_combine_(adler1, adler2, len2);
/external/toybox/toys/example/
Ddemo_utf8towc.c21 int len1, len2; in demo_utf8towc_main() local
30 len2 = 4; in demo_utf8towc_main()
32 while (!*str) str++, len2--; in demo_utf8towc_main()
34 len1 = mbrtowc(&wc1, str, len2, &mb); in demo_utf8towc_main()
36 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
37 if (len1 != len2 || wc1 != wc2) in demo_utf8towc_main()
38 printf("%x %d %x %d %x\n", u, len1, wc1, len2, wc2); in demo_utf8towc_main()
/external/rust/crates/crc32fast/src/
Dcombine.rs22 pub(crate) fn combine(mut crc1: u32, crc2: u32, mut len2: u64) -> u32 { in combine()
28 if len2 <= 0 { in combine()
51 if len2 & 1 == 1 { in combine()
54 len2 >>= 1; in combine()
57 if len2 == 0 { in combine()
63 if len2 & 1 == 1 { in combine()
66 len2 >>= 1; in combine()
69 if len2 == 0 { in combine()
/external/lzma/CPP/Windows/Control/
DComboBox.cpp24 LRESULT len2 = GetLBText(index, s.GetBuf((unsigned)len)); in GetLBText() local
25 if (len2 == CB_ERR) in GetLBText()
27 if (len > len2) in GetLBText()
28 len = len2; in GetLBText()
49 LRESULT len2 = SendMsgW(CB_GETLBTEXT, index, (LPARAM)s.GetBuf((unsigned)len)); in GetLBText() local
50 if (len2 == CB_ERR) in GetLBText()
52 if (len > len2) in GetLBText()
53 len = len2; in GetLBText()
/external/rust/crates/libz-sys/src/zlib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
146 z_off64_t len2;
153 if (len2 < 0)
157 MOD63(len2); /* assumes len2 >= 0 */
158 rem = (unsigned)len2;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
175 z_off_t len2;
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
[all …]
Dcrc32.c51 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
375 z_off64_t len2;
383 if (len2 <= 0)
405 if (len2 & 1)
407 len2 >>= 1;
410 if (len2 == 0)
415 if (len2 & 1)
417 len2 >>= 1;
420 } while (len2 != 0);
[all …]
/external/python/cpython2/Modules/zlib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
146 z_off64_t len2;
153 if (len2 < 0)
157 MOD63(len2); /* assumes len2 >= 0 */
158 rem = (unsigned)len2;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
175 z_off_t len2;
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
[all …]
Dcrc32.c51 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
375 z_off64_t len2;
383 if (len2 <= 0)
405 if (len2 & 1)
407 len2 >>= 1;
410 if (len2 == 0)
415 if (len2 & 1)
417 len2 >>= 1;
420 } while (len2 != 0);
[all …]
/external/zlib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
171 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
174 z_off64_t len2;
181 if (len2 < 0)
185 MOD63(len2); /* assumes len2 >= 0 */
186 rem = (unsigned)len2;
200 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
203 z_off_t len2;
205 return adler32_combine_(adler1, adler2, len2);
208 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
[all …]
Dcrc32.c57 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
426 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
429 z_off64_t len2;
437 if (len2 <= 0)
459 if (len2 & 1)
461 len2 >>= 1;
464 if (len2 == 0)
469 if (len2 & 1)
471 len2 >>= 1;
474 } while (len2 != 0);
[all …]
/external/angle/third_party/zlib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
171 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
174 z_off64_t len2;
181 if (len2 < 0)
185 MOD63(len2); /* assumes len2 >= 0 */
186 rem = (unsigned)len2;
200 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
203 z_off_t len2;
205 return adler32_combine_(adler1, adler2, len2);
208 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
[all …]
Dcrc32.c57 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
426 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
429 z_off64_t len2;
437 if (len2 <= 0)
459 if (len2 & 1)
461 len2 >>= 1;
464 if (len2 == 0)
469 if (len2 & 1)
471 len2 >>= 1;
474 } while (len2 != 0);
[all …]
/external/libwebsockets/win32port/zlib/
Dcrc32.c71 local uLong crc32_combine_(uLong crc1, uLong crc2, z_off64_t len2);
370 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
373 z_off64_t len2;
381 if (len2 <= 0)
403 if (len2 & 1)
405 len2 >>= 1;
408 if (len2 == 0)
413 if (len2 & 1)
415 len2 >>= 1;
418 } while (len2 != 0);
[all …]
Dadler32.c12 local uLong adler32_combine_(uLong adler1, uLong adler2, z_off64_t len2);
131 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
134 z_off64_t len2;
141 rem = (unsigned)(len2 % BASE);
155 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
158 z_off_t len2;
160 return adler32_combine_(adler1, adler2, len2);
163 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
166 z_off64_t len2;
168 return adler32_combine_(adler1, adler2, len2);
/external/toybox/toys/posix/
Dcmp.c31 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local
48 len2 = readall(fd, buf2, size);
50 min_len = len1 < len2 ? len1 : len2;
66 if (len1 != len2) {
68 fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name);
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DPrimitiveArrayDeserializers.java333 int len2 = newValue.length; in _concat() local
334 char[] result = Arrays.copyOf(oldValue, len1+len2); in _concat()
335 System.arraycopy(newValue, 0, result, len1, len2); in _concat()
418 int len2 = newValue.length; in _concat() local
419 boolean[] result = Arrays.copyOf(oldValue, len1+len2); in _concat()
420 System.arraycopy(newValue, 0, result, len1, len2); in _concat()
552 int len2 = newValue.length; in _concat() local
553 byte[] result = Arrays.copyOf(oldValue, len1+len2); in _concat()
554 System.arraycopy(newValue, 0, result, len1, len2); in _concat()
626 int len2 = newValue.length; in _concat() local
[all …]
/external/skia/src/effects/
DSkDashPathEffect.cpp238 SkScalar len2 = length; in onAsPoints() local
240 SkASSERT(len2 >= clampedInitialDashLength); in onAsPoints()
246 len2 -= clampedInitialDashLength; in onAsPoints()
248 len2 -= fIntervals[1]; // also skip first space in onAsPoints()
249 if (len2 < 0) { in onAsPoints()
250 len2 = 0; in onAsPoints()
253 len2 -= clampedInitialDashLength; // skip initial partial empty in onAsPoints()
259 SkScalar numIntervals = len2 / fIntervalLength; in onAsPoints()
265 len2 -= numMidPoints * fIntervalLength; in onAsPoints()
267 if (len2 > 0) { in onAsPoints()
[all …]
/external/skqp/src/effects/
DSkDashPathEffect.cpp238 SkScalar len2 = length; in onAsPoints() local
240 SkASSERT(len2 >= clampedInitialDashLength); in onAsPoints()
246 len2 -= clampedInitialDashLength; in onAsPoints()
248 len2 -= fIntervals[1]; // also skip first space in onAsPoints()
249 if (len2 < 0) { in onAsPoints()
250 len2 = 0; in onAsPoints()
253 len2 -= clampedInitialDashLength; // skip initial partial empty in onAsPoints()
259 SkScalar numIntervals = len2 / fIntervalLength; in onAsPoints()
265 len2 -= numMidPoints * fIntervalLength; in onAsPoints()
267 if (len2 > 0) { in onAsPoints()
[all …]
/external/dtc/tests/
Ddtbs_equal_unordered.c101 int len1, len2; in compare_properties() local
112 data2 = fdt_getprop(fdt2, offset2, name, &len2); in compare_properties()
114 if (len2 == -FDT_ERR_NOTFOUND) in compare_properties()
118 fdt_strerror(len2)); in compare_properties()
124 verbose_printf("\nlen2=%d data2=", len2); in compare_properties()
129 if (len1 != len2) in compare_properties()
131 name, len1, len2); in compare_properties()
/external/lzma/CPP/Windows/
DWindow.cpp122 int len2 = GetText(p, len + 1); in GetText() local
123 if (len > len2) in GetText()
124 len = len2; in GetText()
143 int len2 = GetWindowTextW(_window, p, len + 1); in GetText() local
144 if (len > len2) in GetText()
145 len = len2; in GetText()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerInterceptors.cpp109 size_t len2 = internal_strlen(needle); in internal_strstr() local
110 if (len1 < len2) in internal_strstr()
112 for (size_t pos = 0; pos <= len1 - len2; pos++) { in internal_strstr()
113 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr()
138 const void *s2, size_t len2, void *result);
212 void *memmem(const void *s1, size_t len1, const void *s2, size_t len2) { in memmem() argument
214 void *result = REAL(memmem)(s1, len1, s2, len2); in memmem()
215 __sanitizer_weak_hook_memmem(GET_CALLER_PC(), s1, len1, s2, len2, result); in memmem()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerInterceptors.cpp109 size_t len2 = internal_strlen(needle); in internal_strstr() local
110 if (len1 < len2) in internal_strstr()
112 for (size_t pos = 0; pos <= len1 - len2; pos++) { in internal_strstr()
113 if (internal_memcmp(haystack + pos, needle, len2) == 0) in internal_strstr()
138 const void *s2, size_t len2, void *result);
212 void *memmem(const void *s1, size_t len1, const void *s2, size_t len2) { in memmem() argument
214 void *result = REAL(memmem)(s1, len1, s2, len2); in memmem()
215 __sanitizer_weak_hook_memmem(GET_CALLER_PC(), s1, len1, s2, len2, result); in memmem()

1234567