Searched refs:len1 (Results 1 - 25 of 139) sorted by relevance

123456

/external/toybox/toys/example/
H A Ddemo_utf8towc.c21 int len1, len2; local
36 len1 = mbrtowc(&wc1, str, len2, &mb);
37 if (len1<0) memset(&mb, 0, sizeof(mb));
39 if (len1 != len2 || wc1 != wc2)
40 printf("%x %d %x %d %x\n", u, len1, wc1, len2, wc2);
/external/toybox/toys/posix/
H A Dcmp.c33 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local
49 len1 = readall(TT.fd, toybuf, size);
52 min_len = len1 < len2 ? len1 : len2;
68 if (len1 != len2) {
70 fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name);
74 if (len1 < 1) break;
/external/libunwind/src/
H A Dos-freebsd.c56 size_t len, len1; local
69 len1 = len * 4 / 3;
70 buf = get_mem(len1);
73 len = len1;
76 free_mem(buf, len1);
87 free_mem(buf, len1);
96 size_t len, len1; local
120 len1 = len * 4 / 3;
121 buf = get_mem(len1);
124 len = len1;
[all...]
/external/valgrind/none/tests/s390x/
H A Dclcl.c11 uint32_t len1; member in struct:__anon29805
61 result.len1 = regs.r1p1 & 0xFFFFFF;
73 clcl(void *addr1, uint32_t len1, argument
82 assert((len1 & 0xFFFFFF) == len1);
87 r1p1 = len1;
128 if (result1.len1 != result2.len1)
129 printf("FAIL: len1 result is different\n");
141 run_test(void *addr1, uint32_t len1, voi argument
[all...]
H A Dmvcl.c11 uint32_t len1; member in struct:__anon29818
62 result.len1 = regs.r1p1 & 0xFFFFFF;
74 mvcl(void *addr1, uint32_t len1, argument
83 assert((len1 & 0xFFFFFF) == len1);
87 void *copy = memcpy(malloc(len1), addr1, len1);
91 r1p1 = len1;
110 memcpy(addr1, copy, len1);
133 if (result1.len1 !
[all...]
H A Dcu24.c15 uint64_t len1; member in struct:__anon29814
77 regs.len1 = dest_len;
95 if (dst_len - result.len1 == 0)
98 uint64_t num_bytes = dst_len - result.len1;
113 printf(" dst len: %"PRId64"\n", result.len1);
H A Dcu24_1.c15 uint64_t len1; member in struct:__anon29815
77 regs.len1 = dest_len;
95 if (dst_len - result.len1 == 0)
98 uint64_t num_bytes = dst_len - result.len1;
113 printf(" dst len: %"PRId64"\n", result.len1);
H A Dcu42.c12 uint64_t len1; member in struct:__anon29817
80 regs.len1 = dest_len;
98 if (dst_len - result.len1 == 0)
101 assert((dst_len - result.len1) % 2 == 0);
102 for (i = 0; i < (dst_len - result.len1) / 2; ++i) {
110 printf(" dst len: %"PRId64"\n", result.len1);
H A Dcu21.c15 uint64_t len1; member in struct:__anon29812
90 regs.len1 = dest_len;
108 if (dst_len - result.len1 == 0)
111 for (i = 0; i < dst_len - result.len1; i++) {
119 printf(" dst len: %"PRId64"\n", result.len1);
H A Dcu21_1.c15 uint64_t len1; member in struct:__anon29813
90 regs.len1 = dest_len;
108 if (dst_len - result.len1 == 0)
111 for (i = 0; i < dst_len - result.len1; i++) {
119 printf(" dst len: %"PRId64"\n", result.len1);
H A Dcu41.c12 uint64_t len1; member in struct:__anon29816
91 regs.len1 = dest_len;
109 if (dst_len - result.len1 == 0)
112 for (i = 0; i < dst_len - result.len1; ++i) {
120 printf(" dst len: %"PRId64"\n", result.len1);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cc89 uptr len1 = internal_strlen(str1); local
98 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written));
99 EXPECT_EQ(len1, bytes_written);
112 EXPECT_EQ(len1 + len2, fsize);
132 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read));
133 EXPECT_EQ(len1, bytes_read);
134 EXPECT_EQ(0, internal_memcmp(buf, str1, len1));
135 EXPECT_EQ((char)0, buf[len1 + 1]);
136 internal_memset(buf, 0, len1);
/external/dtc/tests/
H A Ddtbs_equal_unordered.c113 int len1, len2; local
117 data1 = fdt_getprop_by_offset(fdt1, offset, &name, &len1);
120 fdt_strerror(len1));
133 verbose_printf("len1=%d data1=", len1);
134 for (i = 0; i < len1; i++)
137 for (i = 0; i < len1; i++)
141 if (len1 != len2)
143 name, len1, len2);
144 else if (memcmp(data1, data2, len1) !
[all...]
H A Ddtbs_equal_ordered.c86 int len1, len2; local
131 len1 = fdt32_to_cpu(prop1->len);
133 if (len1 != len2)
135 "at (%d, %d)", len1, len2, offset1, offset2);
137 if (memcmp(prop1->data, prop2->data, len1) != 0)
/external/opencv/otherlibs/highgui/
H A Dgrfmt_sunras.cpp228 int code = 0, len = 0, len1 = 0; local
238 tsrc[len1] = (uchar)code;
240 while( ++len1 < max_count );
242 tsrc += len1;
296 int code = 0, len = 0, len1; local
311 len1 = (int)(tsrc - src);
313 if( len1 > 0 )
316 FillColorRow8( data, src, len1, m_palette );
318 FillGrayRow8( data, src, len1, gray_palette );
319 data += len1*nc
[all...]
/external/toybox/toys/pending/
H A Dtr.c27 int len1, len2;
38 int i = TT.len1, k = 0;
44 for (i = TT.len1, k = 0; i; i--, k++)
50 while (!(toys.optflags & FLAG_d) && set2 && TT.len1--) { //ignore set2 if -d present
242 if (memchr(*set, i, TT.len1)) continue;
246 TT.len1 = j;
257 set1 = expand_set(toys.optargs[0], &TT.len1);
/external/v8/src/wasm/
H A Dfunction-body-decoder-impl.h203 unsigned len1 = 0; local
205 index = decoder->checked_read_u32v(pc, 1 + len1, &len2, "function index");
206 length = len1 + len2;
230 unsigned len1 = 0; local
231 table_count = decoder->checked_read_u32v(pc, 1, &len1, "table count");
233 len1 > UINT_MAX - (table_count + 1) * sizeof(uint32_t)) {
236 table = pc + 1 + len1;
/external/valgrind/VEX/priv/
H A Dmain_util.c342 Int fwidth, nout, len1, len3; local
401 len1 = len3 = 0;
403 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2;
405 PAD(len1); PUTSTR(str); PAD(len3);
413 len1 = len3 = 0;
415 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2;
417 PAD(len1); PUTSTR(str); PAD(len3);
430 len1 = len3 = 0;
432 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2;
434 PAD(len1); PUTST
[all...]
/external/lzma/CS/7zip/Compress/LZ/
H A DLzBinTree.cs184 UInt32 len0, len1;
185 len0 = len1 = kNumHashDirectBytes;
215 UInt32 len = Math.Min(len0, len1);
238 len1 = len;
293 UInt32 len0, len1;
294 len0 = len1 = kNumHashDirectBytes;
311 UInt32 len = Math.Min(len0, len1);
329 len1 = len;
/external/lzma/Java/SevenZip/Compression/LZ/
H A DBinTree.java184 int len0, len1;
185 len0 = len1 = kNumHashDirectBytes;
215 int len = Math.min(len0, len1);
238 len1 = len;
293 int len0, len1;
294 len0 = len1 = kNumHashDirectBytes;
311 int len = Math.min(len0, len1);
329 len1 = len;
/external/webrtc/webrtc/common_audio/signal_processing/
H A Dcross_correlation_neon.c21 size_t len1 = length >> 3; local
26 for (i = len1; i > 0; i -= 1) {
H A Dresample_by_2_mips.c36 size_t i, len1; local
56 len1 = (len >> 1);
62 for (i = len1; i > 0; i--) {
153 len1 = (len >> 1)/4;
154 for (i = len1; i > 0; i--) {
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
H A DBT4.java135 int len1 = 0;
151 int len = Math.min(len0, len1);
177 len1 = len;
193 int len1 = 0;
206 int len = Math.min(len0, len1);
226 len1 = len;
/external/oj-libjdwp/src/share/npt/
H A Dutf.c460 int len1; local
468 len1 = utf8FromPlatform(ui, str, (int)strlen(str), (jbyte*)buf1, 1024);
470 UTF_ASSERT(len1==(int)strlen(str));
472 len3 = utf8ToUtf16(ui, (jbyte*)buf1, len1, (jchar*)buf3, 1024);
474 UTF_ASSERT(len3==len1);
476 len1 = utf16ToUtf8m(ui, (jchar*)buf3, len3, (jbyte*)buf1, 1024);
478 UTF_ASSERT(len1==len3);
481 len2 = utf8ToPlatform(ui, (jbyte*)buf1, len1, buf2, 1024);
483 UTF_ASSERT(len2==len1);
/external/dnsmasq/src/
H A Dnetlink.c190 unsigned int len1 = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)); local
200 while (RTA_OK(rta, len1))
207 rta = RTA_NEXT(rta, len1);
218 while (RTA_OK(rta, len1))
223 rta = RTA_NEXT(rta, len1);

Completed in 1306 milliseconds

123456