HomeSort by relevance Sort by last modified time
    Searched defs:len2 (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/v8/test/mjsunit/regress/
regress-666721.js 30 function len2(a) { return a.length; } function
43 assertEquals(0, len2({length:0}));
44 assertEquals(1, len2([1]));
45 assertEquals(2, len2({length:2}));
46 assertEquals(3, len2([1,2,3]));
47 assertEquals(4, len2('1234'));
  /external/dropbear/libtomcrypt/demos/
multi.c 7 unsigned long len, len2; local
17 len2 = sizeof(buf[0]);
18 hash_memory_multi(find_hash("sha256"), buf[1], &len2, (unsigned char*)"hello", 5, NULL);
19 if (len != len2 || memcmp(buf[0], buf[1], len)) {
20 printf("Failed: %d %lu %lu\n", __LINE__, len, len2);
23 len2 = sizeof(buf[0]);
24 hash_memory_multi(find_hash("sha256"), buf[1], &len2, (unsigned char*)"he", 2UL, "llo", 3UL, NULL, 0);
25 if (len != len2 || memcmp(buf[0], buf[1], len)) {
26 printf("Failed: %d %lu %lu\n", __LINE__, len, len2);
29 len2 = sizeof(buf[0])
    [all...]
  /external/dropbear/libtomcrypt/src/misc/base64/
base64_encode.c 35 unsigned long i, len2, leven; local
43 len2 = 4 * ((inlen + 2) / 3);
44 if (*outlen < len2 + 1) {
45 *outlen = len2 + 1;
  /bionic/libc/netbsd/net/
getservent.c 76 int len2 = q[0]; local
77 total += 1 + len2;
78 q += 1 + len2;
107 int len2 = p[0]; local
109 memcpy( p2, p+1, len2 );
110 p2[len2] = 0;
111 p2 += len2 + 1;
112 p += len2 + 1;
  /external/astl/tests/
test_sstream.cpp 67 std::streamsize len2 = buf2.in_avail(); local
72 EXPECT_TRUE(len2 > 0);
  /hardware/libhardware/include/hardware/
qemud.h 44 int len2; local
46 len2 = write(fd, buff, len);
47 } while (len2 < 0 && errno == EINTR);
48 return len2;
54 int len2; local
56 len2 = read(fd, buff, len);
57 } while (len2 < 0 && errno == EINTR);
58 return len2;
  /system/core/adb/
test_track_devices.c 21 int len2 = write(fd, buf, len); local
22 if (len2 < 0) {
27 result += len2;
28 len -= len2;
29 buf += len2;
39 int len2 = read(fd, buf, len); local
40 if (len2 < 0) {
45 result += len2;
46 len -= len2;
47 buf += len2;
    [all...]
test_track_jdwp.c 21 int len2 = write(fd, buf, len); local
22 if (len2 < 0) {
27 result += len2;
28 len -= len2;
29 buf += len2;
39 int len2 = read(fd, buf, len); local
40 if (len2 < 0) {
45 result += len2;
46 len -= len2;
47 buf += len2;
    [all...]
  /external/dropbear/libtomcrypt/testprof/
katja_test.c 10 unsigned long kat_msgsize, len, len2, cnt; local
67 len2 = kat_msgsize;
72 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key));
75 if (len2 != kat_msgsize) {
76 fprintf(stderr, "\nkatja_decrypt_key mismatch len %lu (first decrypt)", len2);
80 len2 = kat_msgsize;
81 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat, &key));
86 if (len2 != kat_msgsize || memcmp(tmp, in, kat_msgsize)) {
88 fprintf(stderr, "\nkatja_decrypt_key mismatch, len %lu (second decrypt)\n", len2);
113 len2 = kat_msgsize
    [all...]
rsa_test.c 130 unsigned long rsa_msgsize, len, len2, cnt; local
190 len2 = rsa_msgsize;
195 DO(rsa_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key));
198 if (len2 != rsa_msgsize) {
199 fprintf(stderr, "\nrsa_decrypt_key mismatch len %lu (first decrypt)", len2);
203 len2 = rsa_msgsize;
204 DO(rsa_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat, &key));
209 if (len2 != rsa_msgsize || memcmp(tmp, in, rsa_msgsize)) {
211 fprintf(stderr, "\nrsa_decrypt_key mismatch, len %lu (second decrypt)\n", len2);
236 len2 = rsa_msgsize
    [all...]
  /external/skia/src/utils/
SkOSFile.cpp 8 size_t len2 = 3 + (suffix ? strlen(suffix) : 0); local
9 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t));
24 SkASSERT(i + 1 <= len + len2);
  /external/qemu/
cbuffer.c 83 int len2 = len; local
87 while (len2 > 0) {
104 if (avail > len2)
105 avail = len2;
110 len2 -= avail;
113 return len - len2;
119 int len2 = len; local
123 while (len2 > 0) {
137 if (avail > len2)
138 avail = len2;
    [all...]
tcpdump.c 123 int len2 = len; local
125 if (len2 > PCAP_SNAPLEN)
126 len2 = PCAP_SNAPLEN;
131 h.incl_len = (uint32_t) len2;
135 fwrite( base, 1, len2, capture_file );
138 capture_size += len2;
  /external/skia/src/ports/
SkXMLParser_expat.cpp 129 size_t len2 = input.read(doc, len); local
130 SkASSERT(len2 == len);
132 return this->parse(doc, len2);
SkXMLPullParser_expat.cpp 167 size_t len2 = fStream->read(fImpl->fBuffer, len); local
168 return len2 == len;
  /dalvik/dx/src/com/android/dx/util/
TwoColumnOutput.java 63 int len2 = s2.length(); local
65 StringWriter sw = new StringWriter((len1 + len2) * 3);
  /dalvik/vm/
UtfString.c 499 int len1, len2, offset1, offset2; local
506 len2 = dvmGetFieldInt((Object*) strObj2, STRING_FIELDOFF_COUNT);
508 if (len1 != len2)
509 return len1 - len2;
518 assert(offset2 + len2 <= (int) chars2->length);
  /external/srec/portable/src/
PFileSystem.c 197 size_t len2; local
199 len2 = P_PATH_MAX;
200 CHKLOG(rc, PFileSystemGetcwd(cwd, &len2));
201 len2 = *len;
202 CHKLOG(rc, lstrinsert(cwd, path, 0, &len2));
214 size_t len2; local
216 len2 = *len;
218 CHKLOG(rc, PFileSystemGetParentDirectory(path, &len2));
447 size_t len2; local
457 len2 = P_PATH_MAX
    [all...]
  /external/wpa_supplicant/
ms_funcs.c 193 const size_t len2[3] = { SHA1_MAC_LEN, 8, sizeof(magic2) }; local
208 sha1_vector(3, addr2, len2, response);
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
ms_funcs.c 193 const size_t len2[3] = { SHA1_MAC_LEN, 8, sizeof(magic2) }; local
208 sha1_vector(3, addr2, len2, response);
  /hardware/libhardware_legacy/qemu/
qemu.c 56 int len2; local
58 len2 = write(fd, cmd, len);
59 } while (len2 < 0 && errno == EINTR);
60 return len2;
66 int len2; local
68 len2 = read(fd, buff, len);
69 } while (len2 < 0 && errno == EINTR);
70 return len2;
282 int fd, len2; local
293 len2 = qemu_fd_write(fd, cmd, len)
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
BaseDumper.java 281 int len2 = s2.length(); local
282 StringWriter sw = new StringWriter(len2 * 2);
286 if ((len2 == 0) || (s2.charAt(len2 - 1) != '\n')) {
  /external/grub/stage2/
tparm.c 335 int len2; local
347 if ((len2 = grub_strlen(string)) > len_fmt) {
374 for (cp = string; (cp - string) < (int) len2;) {
  /external/qemu/android/utils/
path.c 288 unsigned len2; local
299 /* check that the parent exists, 'len2' is the length of
301 len2 = len-1;
302 while (len2 > 0 && !ispathsep(path[len2-1]))
303 len2 -= 1;
305 if (len2 > 0) {
306 old_c = path[len2];
307 path[len2] = 0;
311 ret = path_mkdir_recursive( path, len2, mode )
    [all...]
stralloc.c 87 unsigned len2 = s->n + len; local
89 if (len2 < s->n) { /* overflow ? */
94 stralloc_ready( s, len2 );

Completed in 1807 milliseconds

1 2 3