Home
last modified time | relevance | path

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

12345

/external/llvm-project/flang/test/Semantics/
Dfinal01.f908 type :: parent(kind1, len1)
10 integer, len :: len1 = 1 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/toybox/toys/posix/
Dcmp.c31 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local
47 len1 = readall(TT.fd, toybuf, 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);
72 if (len1 < 1) break;
/external/toybox/toys/example/
Ddemo_utf8towc.c21 int len1, len2; in demo_utf8towc_main() local
34 len1 = mbrtowc(&wc1, str, len2, &mb); in demo_utf8towc_main()
35 if (len1<0) memset(&mb, 0, sizeof(mb)); 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/dtc/tests/
Ddtbs_equal_unordered.c101 int len1, len2; in compare_properties() local
105 data1 = fdt_getprop_by_offset(fdt1, offset, &name, &len1); in compare_properties()
108 fdt_strerror(len1)); in compare_properties()
121 verbose_printf("len1=%d data1=", len1); in compare_properties()
122 for (i = 0; i < len1; i++) in compare_properties()
125 for (i = 0; i < len1; i++) in compare_properties()
129 if (len1 != len2) in compare_properties()
131 name, len1, len2); in compare_properties()
132 else if (memcmp(data1, data2, len1) != 0) in compare_properties()
Ddtbs_equal_ordered.c73 int len1, len2; in compare_structure() local
118 len1 = fdt32_to_cpu(prop1->len); in compare_structure()
120 if (len1 != len2) in compare_structure()
122 "at (%d, %d)", len1, len2, offset1, offset2); in compare_structure()
124 if (memcmp(prop1->data, prop2->data, len1) != 0) in compare_structure()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DPrimitiveArrayDeserializers.java332 int len1 = oldValue.length; in _concat() local
334 char[] result = Arrays.copyOf(oldValue, len1+len2); in _concat()
335 System.arraycopy(newValue, 0, result, len1, len2); in _concat()
417 int len1 = oldValue.length; in _concat() local
419 boolean[] result = Arrays.copyOf(oldValue, len1+len2); in _concat()
420 System.arraycopy(newValue, 0, result, len1, len2); in _concat()
551 int len1 = oldValue.length; in _concat() local
553 byte[] result = Arrays.copyOf(oldValue, len1+len2); in _concat()
554 System.arraycopy(newValue, 0, result, len1, len2); in _concat()
625 int len1 = oldValue.length; in _concat() local
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc89 uptr len1 = internal_strlen(str1); in TEST() local
98 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST()
99 EXPECT_EQ(len1, bytes_written); in TEST()
112 EXPECT_EQ(len1 + len2, fsize); in TEST()
132 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); in TEST()
133 EXPECT_EQ(len1, bytes_read); in TEST()
134 EXPECT_EQ(0, internal_memcmp(buf, str1, len1)); in TEST()
135 EXPECT_EQ((char)0, buf[len1 + 1]); in TEST()
136 internal_memset(buf, 0, len1); in TEST()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sockmap_kern.h206 int *bytes, len1, len2 = 0, len3, len4; in bpf_prog5() local
215 len1 = (__u64)msg->data_end - (__u64)msg->data; in bpf_prog5()
229 len1, len2); in bpf_prog5()
245 len2 ? len2 : len1, len3); in bpf_prog5()
259 len1 ? len1 : 0, len4); in bpf_prog5()
263 len1, err1, err2); in bpf_prog5()
313 int len1, len2 = 0, len3, len4; in bpf_prog7() local
324 len1 = (__u64)msg->data_end - (__u64)msg->data; in bpf_prog7()
337 len1, len2); in bpf_prog7()
352 len2 ? len2 : len1, len3); in bpf_prog7()
[all …]
/external/fastrpc/src/
Dapps_mem_imp.c147 int64 len1; in __QAIC_IMPL() local
150 len1 = (int64)len; in __QAIC_IMPL()
151 nErr = apps_mem_request_map64(heapid, lflags, rflags, vin1, len1, &vapps1, &vadsp1); in __QAIC_IMPL()
193 int64 len1 = (int64)len; in __QAIC_IMPL() local
194 int nErr = apps_mem_request_unmap64(vadsp1, len1); in __QAIC_IMPL()
237 int64 len1 = (int64)size; in __QAIC_IMPL() local
239 nErr = apps_mem_request_unmap64(vadsp, len1); in __QAIC_IMPL()
/external/toybox/toys/pending/
Dtr.c27 int len1, len2;
38 int i = TT.len1, k = 0; in map_translation()
44 for (i = TT.len1, k = 0; i; i--, k++) in map_translation()
50 while (!(toys.optflags & FLAG_d) && set2 && TT.len1--) { //ignore set2 if -d present in map_translation()
237 if (memchr(*set, i, TT.len1)) continue; in do_complement()
241 TT.len1 = j; in do_complement()
252 set1 = expand_set(toys.optargs[0], &TT.len1); in tr_main()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cpp103 uptr len1 = internal_strlen(str1); in TEST() local
120 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST()
121 EXPECT_EQ(len1, bytes_written); in TEST()
134 EXPECT_EQ(len1 + len2, fsize); in TEST()
154 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); in TEST()
155 EXPECT_EQ(len1, bytes_read); in TEST()
156 EXPECT_EQ(0, internal_memcmp(buf, str1, len1)); in TEST()
157 EXPECT_EQ((char)0, buf[len1 + 1]); in TEST()
158 internal_memset(buf, 0, len1); in TEST()
/external/oj-libjdwp/src/share/npt/
Dutf.c460 int len1; in test() local
468 len1 = utf8FromPlatform(ui, str, (int)strlen(str), (jbyte*)buf1, 1024); in test()
470 UTF_ASSERT(len1==(int)strlen(str)); in test()
472 len3 = utf8ToUtf16(ui, (jbyte*)buf1, len1, (jchar*)buf3, 1024); in test()
474 UTF_ASSERT(len3==len1); in test()
476 len1 = utf16ToUtf8m(ui, (jchar*)buf3, len3, (jbyte*)buf1, 1024); in test()
478 UTF_ASSERT(len1==len3); in test()
481 len2 = utf8ToPlatform(ui, (jbyte*)buf1, len1, buf2, 1024); in test()
483 UTF_ASSERT(len2==len1); in test()
/external/lzma/Java/SevenZip/Compression/LZ/
DBinTree.java184 int len0, len1; in GetMatches() local
185 len0 = len1 = kNumHashDirectBytes; in GetMatches()
215 int len = Math.min(len0, len1); in GetMatches()
238 len1 = len; in GetMatches()
293 int len0, len1; in Skip() local
294 len0 = len1 = kNumHashDirectBytes; in Skip()
311 int len = Math.min(len0, len1); in Skip()
329 len1 = len; in Skip()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerInterceptors.cpp108 size_t len1 = internal_strlen(haystack); in internal_strstr() local
110 if (len1 < len2) in internal_strstr()
112 for (size_t pos = 0; pos <= len1 - len2; pos++) { in internal_strstr()
137 void __sanitizer_weak_hook_memmem(void *called_pc, const void *s1, size_t len1,
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.cpp108 size_t len1 = internal_strlen(haystack); in internal_strstr() local
110 if (len1 < len2) in internal_strstr()
112 for (size_t pos = 0; pos <= len1 - len2; pos++) { in internal_strstr()
137 void __sanitizer_weak_hook_memmem(void *called_pc, const void *s1, size_t len1,
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/xz-java/src/org/tukaani/xz/lz/
DBT4.java145 int len1 = 0; in getMatches() local
161 int len = Math.min(len0, len1); in getMatches()
187 len1 = len; in getMatches()
203 int len1 = 0; in skip() local
216 int len = Math.min(len0, len1); in skip()
236 len1 = len; in skip()
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_detail.h49 … unsigned char **op1, size_t *len1, const unsigned char **op2, size_t *len2, void *hist) { in dfltcc() argument
51 size_t t3 = len1 ? *len1 : 0; in dfltcc()
87 if (len1) in dfltcc()
88 *len1 = t3; in dfltcc()
/external/lzma/CS/7zip/Compress/LZ/
DLzBinTree.cs184 UInt32 len0, len1; in GetMatches()
185 len0 = len1 = kNumHashDirectBytes; in GetMatches()
215 UInt32 len = Math.Min(len0, len1); in GetMatches()
238 len1 = len; in GetMatches()
293 UInt32 len0, len1; in Skip()
294 len0 = len1 = kNumHashDirectBytes; in Skip()
311 UInt32 len = Math.Min(len0, len1); in Skip()
329 len1 = len; in Skip()
/external/flatbuffers/swift/Sources/FlatBuffers/
DTable.swift113 let len1 = fbb.read(def: Int32.self, position: Int(_off1)) in compare() variable
117 let minValue = min(len1, len2) in compare()
125 return len1 - len2 in compare()
131 let len1 = fbb.read(def: Int32.self, position: Int(_off1)) in compare() variable
134 let minValue = min(len1, len2) in compare()
142 return len1 - len2 in compare()
/external/wpa_supplicant_8/wpa_supplicant/
Drobust_av.c21 u8 *len, *len1; in wpas_populate_mscs_descriptor_ie() local
35 len1 = wpabuf_put(buf, 1); in wpas_populate_mscs_descriptor_ie()
41 *len1 = (u8 *) wpabuf_put(buf, 0) - len1 - 1; in wpas_populate_mscs_descriptor_ie()
/external/python/cpython2/Modules/
Daudioop.c516 int len1, len2; in audioop_findfit() local
526 (char**)&cp1, &len1, (char**)&cp2, &len2) ) in audioop_findfit()
528 if ( len1 & 1 || len2 & 1 ) { in audioop_findfit()
532 len1 >>= 1; in audioop_findfit()
535 if ( len1 < len2 ) { in audioop_findfit()
548 for (j=1; j<=len1-len2; j++) { in audioop_findfit()
578 int len1, len2; in audioop_findfactor() local
582 (char**)&cp1, &len1, (char**)&cp2, &len2) ) in audioop_findfactor()
584 if ( len1 & 1 || len2 & 1 ) { in audioop_findfactor()
588 if ( len1 != len2 ) { in audioop_findfactor()
[all …]
/external/selinux/libselinux/src/
Dregex.c245 size_t len1, len2; in regex_cmp() local
246 rc = pcre2_pattern_info(regex1->regex, PCRE2_INFO_SIZE, &len1); in regex_cmp()
250 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
483 size_t len1, len2; in regex_cmp() local
484 rc = pcre_fullinfo(regex1->regex, NULL, PCRE_INFO_SIZE, &len1); in regex_cmp()
488 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
/external/dng_sdk/source/
Ddng_string.cpp1517 uint32 len1 = Length (); in EndsWith() local
1521 if (len1 < len2) in EndsWith()
1526 const char *t = Get () + (len1 - len2); in EndsWith()
1563 uint32 len1 = Length (); in Contains() local
1567 if (len1 < len2) in Contains()
1572 uint32 offsets = len1 - len2; in Contains()
1628 uint32 len1 = Length (); in Replace() local
1652 uint32 extra = len1 - match_offset - len2 + 1; // + 1 for NULL termination in Replace()
1667 SafeUint32Add (SafeUint32Add (len1 - len2, len3), 1)); in Replace()
1687 uint32 extra = len1 - match_offset - len2 + 1; // + 1 for NULL termination in Replace()
[all …]
/external/dnsmasq/src/
Dnetlink.c175 unsigned int len1 = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)); in iface_enumerate() local
184 while (RTA_OK(rta, len1)) { in iface_enumerate()
190 rta = RTA_NEXT(rta, len1); in iface_enumerate()
200 while (RTA_OK(rta, len1)) { in iface_enumerate()
203 rta = RTA_NEXT(rta, len1); in iface_enumerate()
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXStringForFSB.java475 int len1 = m_length; in compareTo() local
477 int n = Math.min(len1, len2); in compareTo()
496 return len1 - len2; in compareTo()
521 int len1 = m_length; in compareToIgnoreCase() local
523 int n = Math.min(len1, len2); in compareToIgnoreCase()
542 return len1 - len2; in compareToIgnoreCase()

12345