Home
last modified time | relevance | path

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

12345

/external/libunwind/src/
Dos-freebsd.c56 size_t len, len1; in get_pid_by_tid() local
69 len1 = len * 4 / 3; in get_pid_by_tid()
70 buf = get_mem(len1); in get_pid_by_tid()
73 len = len1; in get_pid_by_tid()
76 free_mem(buf, len1); in get_pid_by_tid()
87 free_mem(buf, len1); in get_pid_by_tid()
96 size_t len, len1; in map_create_list() local
120 len1 = len * 4 / 3; in map_create_list()
121 buf = get_mem(len1); in map_create_list()
124 len = len1; in map_create_list()
[all …]
/external/v8/test/cctest/
Dtest-liveedit.cc66 len1(len1_param), len2(len2_param), next(NULL) {} in DiffChunkStruct()
69 int len1; member in __anon8fc936890111::DiffChunkStruct
82 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument
83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2); in AddChunk()
105 int len1 = StrLength(s1); in CompareStringsOneWay() local
123 CHECK(pos1 + j < len1); in CompareStringsOneWay()
127 diff_parameter += chunk->len1 + chunk->len2; in CompareStringsOneWay()
128 pos1 = diff_pos1 + chunk->len1; in CompareStringsOneWay()
133 int similar_part_length = len1 - pos1; in CompareStringsOneWay()
137 CHECK(pos1 + j < len1); in CompareStringsOneWay()
/external/toybox/toys/posix/
Dcmp.c33 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;
68 if (len1 != len2) {
70 fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name);
74 if (len1 < 1) break;
/external/valgrind/none/tests/s390x/
Dclcl.c11 uint32_t len1; member
61 result.len1 = regs.r1p1 & 0xFFFFFF; in result_from_regs()
73 clcl(void *addr1, uint32_t len1, in clcl() argument
82 assert((len1 & 0xFFFFFF) == len1); in clcl()
87 r1p1 = len1; in clcl()
128 if (result1.len1 != result2.len1) in clcl()
141 run_test(void *addr1, uint32_t len1, void *addr2, uint32_t len2, uint32_t pad) in run_test() argument
145 result = clcl(addr1, len1, addr2, len2, pad); in run_test()
149 result.len1, result.len2, (int64_t)result.addr1 - (int64_t)addr1, in run_test()
Dmvcl.c11 uint32_t len1; member
62 result.len1 = regs.r1p1 & 0xFFFFFF; in result_from_regs()
74 mvcl(void *addr1, uint32_t len1, in mvcl() argument
83 assert((len1 & 0xFFFFFF) == len1); in mvcl()
87 void *copy = memcpy(malloc(len1), addr1, len1); in mvcl()
91 r1p1 = len1; in mvcl()
110 memcpy(addr1, copy, len1); in mvcl()
133 if (result1.len1 != result2.len1) in mvcl()
167 result.len1, result.len2, (int64_t)result.addr1 - (int64_t)dst, in run_test()
Dcu42.c12 uint64_t len1; member
80 regs.len1 = dest_len; in do_cu42()
98 if (dst_len - result.len1 == 0) in run_test()
101 assert((dst_len - result.len1) % 2 == 0); in run_test()
102 for (i = 0; i < (dst_len - result.len1) / 2; ++i) { in run_test()
110 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
Dcu24_1.c15 uint64_t len1; member
77 regs.len1 = dest_len; in do_cu24()
95 if (dst_len - result.len1 == 0) in run_test()
98 uint64_t num_bytes = dst_len - result.len1; in run_test()
113 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
Dcu24.c15 uint64_t len1; member
77 regs.len1 = dest_len; in do_cu24()
95 if (dst_len - result.len1 == 0) in run_test()
98 uint64_t num_bytes = dst_len - result.len1; in run_test()
113 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
Dcu41.c12 uint64_t len1; member
91 regs.len1 = dest_len; in do_cu41()
109 if (dst_len - result.len1 == 0) in run_test()
112 for (i = 0; i < dst_len - result.len1; ++i) { in run_test()
120 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
Dcu21_1.c15 uint64_t len1; member
90 regs.len1 = dest_len; in do_cu21()
108 if (dst_len - result.len1 == 0) in run_test()
111 for (i = 0; i < dst_len - result.len1; i++) { in run_test()
119 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
Dcu21.c15 uint64_t len1; member
90 regs.len1 = dest_len; in do_cu21()
108 if (dst_len - result.len1 == 0) in run_test()
111 for (i = 0; i < dst_len - result.len1; i++) { in run_test()
119 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
/external/v8/test/mjsunit/regress/
Dregress-666721.js29 function len1(a) { return a.length; } function
38 assertEquals(0, len1(''));
39 assertEquals(1, len1({length:1}));
40 assertEquals(2, len1('12'));
41 assertEquals(3, len1([1,2,3]));
/external/valgrind/VEX/priv/
Dmain_util.c342 Int fwidth, nout, len1, len3; in vprintf_wrk() local
401 len1 = len3 = 0; in vprintf_wrk()
403 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk()
405 PAD(len1); PUTSTR(str); PAD(len3); in vprintf_wrk()
413 len1 = len3 = 0; in vprintf_wrk()
415 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk()
417 PAD(len1); PUTSTR(str); PAD(len3); in vprintf_wrk()
430 len1 = len3 = 0; in vprintf_wrk()
432 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk()
434 PAD(len1); PUTSTR(intbuf); PAD(len3); in vprintf_wrk()
[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/opencv/otherlibs/highgui/
Dgrfmt_sunras.cpp228 int code = 0, len = 0, len1 = 0; in ReadData() local
238 tsrc[len1] = (uchar)code; in ReadData()
240 while( ++len1 < max_count ); in ReadData()
242 tsrc += len1; in ReadData()
296 int code = 0, len = 0, len1; in ReadData() local
311 len1 = (int)(tsrc - src); in ReadData()
313 if( len1 > 0 ) in ReadData()
316 FillColorRow8( data, src, len1, m_palette ); in ReadData()
318 FillGrayRow8( data, src, len1, gray_palette ); in ReadData()
319 data += len1*nch; in ReadData()
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_sunras.cpp207 int code = 0, len = 0, len1 = 0; in readData() local
217 tsrc[len1] = (uchar)code; in readData()
219 while( ++len1 < max_count ); in readData()
221 tsrc += len1; in readData()
275 int code = 0, len = 0, len1; in readData() local
290 len1 = (int)(tsrc - src); in readData()
292 if( len1 > 0 ) in readData()
295 FillColorRow8( data, src, len1, m_palette ); in readData()
297 FillGrayRow8( data, src, len1, gray_palette ); in readData()
298 data += len1*nch; in readData()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
DSorterTemplate.java99 private void merge(int lo, int pivot, int hi, int len1, int len2) { in merge() argument
100 if (len1 == 0 || len2 == 0) { in merge()
103 if (len1 + len2 == 2) { in merge()
111 if (len1 > len2) { in merge()
112 len11 = len1 / 2; in merge()
125 merge(new_mid, second_cut, hi, len1 - len11, len2 - len22); in merge()
/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()
242 if (memchr(*set, i, TT.len1)) continue; in do_complement()
246 TT.len1 = j; in do_complement()
257 set1 = expand_set(toys.optargs[0], &TT.len1); in tr_main()
/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/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
DBT4.java135 int len1 = 0; in getMatches() local
151 int len = Math.min(len0, len1); in getMatches()
177 len1 = len; in getMatches()
193 int len1 = 0; in skip() local
206 int len = Math.min(len0, len1); in skip()
226 len1 = len; in skip()
/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/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.c190 unsigned int len1 = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)); in iface_enumerate() local
200 while (RTA_OK(rta, len1)) in iface_enumerate()
207 rta = RTA_NEXT(rta, len1); in iface_enumerate()
218 while (RTA_OK(rta, len1)) in iface_enumerate()
223 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()
/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_mips.c36 size_t i, len1; in WebRtcSpl_DownsampleBy2() local
56 len1 = (len >> 1); in WebRtcSpl_DownsampleBy2()
62 for (i = len1; i > 0; i--) { in WebRtcSpl_DownsampleBy2()
153 len1 = (len >> 1)/4; in WebRtcSpl_DownsampleBy2()
154 for (i = len1; i > 0; i--) { in WebRtcSpl_DownsampleBy2()

12345