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

123

/external/v8/test/mjsunit/regress/
H A 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/compiler-rt/lib/tsan/unit_tests/
H A Dtsan_platform_test.cc65 uptr len1 = internal_strlen(str1); local
71 EXPECT_EQ(len1, internal_write(fd, str1, len1));
77 EXPECT_EQ(len1 + len2, internal_filesize(fd));
79 EXPECT_EQ(len1, internal_read(fd, buf, len1));
80 EXPECT_EQ(0, internal_memcmp(buf, str1, len1));
81 EXPECT_EQ((char)0, buf[len1 + 1]);
82 internal_memset(buf, 0, len1);
/external/v8/test/cctest/
H A Dtest-liveedit.cc68 len1(len1_param), len2(len2_param), next(NULL) {}
71 int len1; member in class:__anon13531::DiffChunkStruct
83 void AddChunk(int pos1, int pos2, int len1, int len2) { argument
84 current_chunk_ = new DiffChunkStruct(pos1, pos2, len1, len2);
105 int len1 = StrLength(s1); local
123 ASSERT(pos1 + j < len1);
127 diff_parameter += chunk->len1 + chunk->len2;
128 pos1 = diff_pos1 + chunk->len1;
133 int similar_part_length = len1 - pos1;
137 ASSERT(pos1 + j < len1);
[all...]
/external/chromium/net/base/
H A Dnss_memio.h72 * |buf1|, |len1| and |buf2|, |len2|.
75 const char **buf1, unsigned int *len1,
/external/qemu/android/utils/
H A Ddll.c22 int len1 = strlen(str1); local
24 char* result = malloc(len1+len2+1);
27 memcpy(result, str1, len1);
28 memcpy(result + len1, str2, len2);
29 result[len1+len2] = '\0';
/external/valgrind/main/none/tests/s390x/
H A Dclcl.c11 uint32_t len1; member in struct:__anon14801
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:__anon14803
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...]
/external/valgrind/main/VEX/priv/
H A Dmain_util.c328 Int fwidth, nout, len1, len2, len3; local
377 len1 = len3 = 0;
379 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2;
381 PAD(len1); PUTSTR(str); PAD(len3);
389 len1 = len3 = 0;
391 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2;
393 PAD(len1); PUTSTR(str); PAD(len3);
405 len1 = len3 = 0;
407 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2;
409 PAD(len1); PUTST
[all...]
/external/linux-tools-perf/util/
H A Dlevenshtein.c44 int len1 = strlen(string1), len2 = strlen(string2); local
52 for (i = 0; i < len1; i++) {
/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/bluetooth/bluedroid/stack/sdp/
H A Dsdp_utils.c663 BOOLEAN sdpu_compare_uuid_arrays (UINT8 *p_uuid1, UINT32 len1, UINT8 *p_uuid2, UINT16 len2) argument
669 if (len1 == len2)
671 if (len1 == 2)
673 if (len1 == 4)
677 return (memcmp (p_uuid1, p_uuid2, (size_t)len1) == 0);
679 else if (len1 > len2)
681 /* If the len1 was 4-byte, (so len2 is 2-byte), compare on the fly */
682 if (len1 == 4)
703 /* len2 is greater than len1 */
704 /* If the len2 was 4-byte, (so len1 i
855 UINT16 len1; local
884 UINT16 len1 = 0; local
[all...]
/external/qemu/audio/
H A Dfmodaudio.c97 unsigned int len1 = 0, len2 = 0; local
105 &len1,
114 if ((len1 & hw->info.align) || (len2 & hw->info.align)) {
116 len1, len2, hw->info.align + 1);
120 if ((len1 + len2) - (hw->samples << hw->info.shift)) {
122 len1 + len2, hw->samples << hw->info.shift);
129 status = FSOUND_Sample_Unlock (fmd->fmod_sample, p1, p2, len1, len2);
233 unsigned int len1 = 0, len2 = 0; local
279 len1 = blen1 >> hw->info.shift;
281 ldebug ("%p %p %d %d %d %d\n", p1, p2, len1, len
457 unsigned int len1, len2; local
[all...]
H A Ddsoundaudio.c383 DWORD blen1, blen2, len1, len2; local
398 len1 = blen1 >> hw->info.shift;
403 p1, blen1, len1,
407 if (p1 && len1) {
408 audio_pcm_info_clear_buf (&hw->info, p1, len1);
576 DWORD len1, len2; local
672 len1 = blen1 >> hwshift;
674 decr = len1 + len2;
676 if (p1 && len1) {
677 dsound_write_sample (hw, p1, len1);
764 DWORD len1, len2; local
[all...]
/external/astl/tests/
H A Dtest_sstream.cpp66 std::streamsize len1 = buf1.in_avail(); local
71 EXPECT_TRUE(len1 > 0);
/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);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.cc150 uptr len1 = internal_strlen(haystack); local
152 if (len1 < len2) return 0;
153 for (uptr pos = 0; pos <= len1 - len2; pos++) {
/external/skia/src/ports/
H A DSkXMLParser_expat.cpp57 size_t len1 = sk_wcslen((const short*) attr1); local
58 SkAutoMalloc attr1_8(len1 + 1);
59 attr1 = ConvertUnicodeToChar((const short*) attr1, len1, attr1_8);
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXStringForFSB.java475 int len1 = m_length;
477 int n = Math.min(len1, len2);
496 return len1 - len2;
521 int len1 = m_length;
523 int n = Math.min(len1, len2);
542 return len1 - len2;
H A DXString.java429 int len1 = this.length();
431 int n = Math.min(len1, len2);
449 return len1 - len2;
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DTwoColumnOutput.java62 int len1 = s1.length();
65 StringWriter sw = new StringWriter((len1 + len2) * 3);
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DTwoColumnOutput.java66 int len1 = s1.length();
69 StringWriter sw = new StringWriter((len1 + len2) * 3);
/external/libppp/src/
H A Dpred.c221 int len, olen, len1; local
236 len1 = decompress(state, cp, pp, olen - 4);
239 if (len != len1) { /* Error is detected. Send reset request */
240 log_Printf(LogCCP, "Pred1: Length error (got %d, not %d)\n", len1, len);
247 pp += len1;
/external/dbus/dbus/
H A Ddbus-sysdeps-unix.h61 int len1,
/external/v8/src/
H A Dliveedit.h163 virtual void AddChunk(int pos1, int pos2, int len1, int len2) = 0;
/external/dnsmasq/contrib/wrt/
H A Ddhcp_release.c226 unsigned int len1 = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)); local
235 for (rta = IFA_RTA(ifa); RTA_OK(rta, len1); rta = RTA_NEXT(rta, len1))

Completed in 619 milliseconds

123