/external/syslinux/utils/ |
bin2hex.pl | 32 $len = 0; 37 $len += length($s); 38 if ( $len > 72 ) { 40 $len = 0; 43 $len++; 46 print "\n" if ( $len );
|
isohdpfxarray.pl | 41 my $len = 0; 48 printf("\t/* 0x%03x */ ", $len) if (!($len % 8)); 50 $len++; 52 print("\n") if (!($len % 8));
|
/external/clang/test/Lexer/ |
digraph.c | 10 void copy(char d<::>, const char s<::>, int len) 12 while (len-- >= 0) 14 d<:len:> = s<:len:>; variable
|
/external/fec/ |
dotprod.h | 4 int len; /* Number of coefficients */ member in struct:dotprod
|
/external/clang/test/CodeGen/ |
2004-05-07-VarArrays.c | 3 int foo(int len, char arr[][len], int X) {
|
offsetof.c | 9 int test(int len) { 10 return __builtin_offsetof(struct sockaddr_un, sun_path[len+1]);
|
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/ |
strnlen.c | 38 size_t len; local 40 for (len = 0; len < maxlen; len++, s++) { 44 return (len);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/util/ |
ByteArrayBuffer.java | 41 private int len; field in class:ByteArrayBuffer 53 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 57 public void append(final byte[] b, int off, int len) { 63 || (len < 0) 64 || ((off + len) < 0) 65 || ((off + len) > b.length)) { 68 if (len == 0) { 71 int newlen = this.len + len; 75 System.arraycopy(b, off, this.buffer, this.len, len) [all...] |
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
leb128_unittest.cc | 39 size_t len; local 64 CHECK(read_unsigned_LEB_128(u1, &len) == 0 && len == sizeof(u1)); 65 CHECK(read_unsigned_LEB_128(u2, &len) == 1 && len == sizeof(u2)); 66 CHECK(read_unsigned_LEB_128(u3, &len) == 126 && len == sizeof(u3)); 67 CHECK(read_unsigned_LEB_128(u4, &len) == 127 && len == sizeof(u4)); 68 CHECK(read_unsigned_LEB_128(u5, &len) == 128 && len == sizeof(u5)) [all...] |
/external/syslinux/gpxe/src/crypto/ |
asn1.c | 37 * @ret len Length of object body, or negative error 52 unsigned int len; local 56 if ( cursor->len < 2 /* Tag byte and first length byte */ ) { 57 if ( cursor->len ) 71 cursor->len--; 78 cursor->len--; 82 if ( cursor->len < len_len ) { 84 "%zd)\n", cursor, len_len, cursor->len ); 90 for ( len = 0 ; len_len ; len_len-- ) { 91 len <<= 8 123 int len; local 148 int len; local [all...] |
/external/clang/test/CodeCompletion/ |
bracket-decl.c | 3 static const int len = 1234; variable 8 // CHECK: COMPLETION: len
|
/external/strace/tests/ |
sethostname.c | 50 kernel_ulong_t len; local 53 len = __NEW_UTS_LEN; 54 rc = syscall(__NR_sethostname, 0, len); 56 (unsigned) len, sprintrc(rc)); 59 len |= F8ILL_KULONG_MASK; 60 rc = syscall(__NR_sethostname, 0, len); 62 (unsigned) len, sprintrc(rc)); 65 len = __NEW_UTS_LEN + 1; 66 void *const p = tail_alloc(len); 67 rc = syscall(__NR_sethostname, p, len); [all...] |
ftruncate.c | 39 const kernel_ulong_t len = (kernel_ulong_t) 0xdefaced0badc0deULL; local 42 if (sizeof(len) > sizeof(long)) 43 rc = ftruncate(-1, len); 45 rc = syscall(__NR_ftruncate, -1L, len); 48 (unsigned long long) len, rc, errno2name());
|
truncate.c | 41 const kernel_ulong_t len = (kernel_ulong_t) 0xdefaced0badc0deULL; local 44 if (sizeof(len) > sizeof(long)) 45 rc = truncate(fname, len); 47 rc = syscall(__NR_truncate, fname, len); 50 qname, (unsigned long long) len, rc, errno2name());
|
/external/strace/tests-m32/ |
sethostname.c | 50 kernel_ulong_t len; local 53 len = __NEW_UTS_LEN; 54 rc = syscall(__NR_sethostname, 0, len); 56 (unsigned) len, sprintrc(rc)); 59 len |= F8ILL_KULONG_MASK; 60 rc = syscall(__NR_sethostname, 0, len); 62 (unsigned) len, sprintrc(rc)); 65 len = __NEW_UTS_LEN + 1; 66 void *const p = tail_alloc(len); 67 rc = syscall(__NR_sethostname, p, len); [all...] |
/external/strace/tests-mx32/ |
sethostname.c | 50 kernel_ulong_t len; local 53 len = __NEW_UTS_LEN; 54 rc = syscall(__NR_sethostname, 0, len); 56 (unsigned) len, sprintrc(rc)); 59 len |= F8ILL_KULONG_MASK; 60 rc = syscall(__NR_sethostname, 0, len); 62 (unsigned) len, sprintrc(rc)); 65 len = __NEW_UTS_LEN + 1; 66 void *const p = tail_alloc(len); 67 rc = syscall(__NR_sethostname, p, len); [all...] |
/external/elfutils/libelf/ |
chdr_xlate.h | 6 Elf32_cvt_chdr (void *dest, const void *src, size_t len, int encode) 8 if (len == 0) 14 memmove (dest, src, len); 16 if (len >= sizeof (Elf32_Chdr)) 21 Elf64_cvt_chdr (void *dest, const void *src, size_t len, int encode) 23 if (len == 0) 29 memmove (dest, src, len); 31 if (len >= sizeof (Elf64_Chdr))
|
/libcore/benchmarks/src/benchmarks/ |
SystemArrayCopyBenchmark.java | 29 final int len = arrayLength; local 30 char[] src = new char[len]; 31 char[] dst = new char[len]; 33 System.arraycopy(src, 0, dst, 0, len); 38 final int len = arrayLength; local 39 byte[] src = new byte[len]; 40 byte[] dst = new byte[len]; 42 System.arraycopy(src, 0, dst, 0, len); 47 final int len = arrayLength; local 48 short[] src = new short[len]; 56 final int len = arrayLength; local 65 final int len = arrayLength; local 74 final int len = arrayLength; local 83 final int len = arrayLength; local 92 final int len = arrayLength; local [all...] |
/toolchain/binutils/binutils-2.27/libiberty/ |
xstrndup.c | 51 size_t len = strlen (s); local 53 if (n < len) 54 len = n; 56 result = XNEWVEC (char, len + 1); 58 result[len] = '\0'; 59 return (char *) memcpy (result, s, len);
|
/frameworks/compile/libbcc/lib/ |
Properties.h | 29 int len; local 30 len = __system_property_get(key, value); 31 if (len > 0) { 32 return len; 36 len = strlen(default_value); 37 memcpy(value, default_value, len + 1); 39 return len;
|
/external/lzma/CPP/Windows/Control/ |
ComboBox.cpp | 21 LRESULT len = GetLBTextLen(index); // length, excluding the terminating null character
local 22 if (len == CB_ERR)
23 return len;
24 LRESULT len2 = GetLBText(index, s.GetBuf((unsigned)len));
26 return len;
27 if (len > len2)
28 len = len2;
29 s.ReleaseBuf_CalcLen((unsigned)len);
30 return len;
46 LRESULT len = SendMsgW(CB_GETLBTEXTLEN, index, 0); local 58 LRESULT len = GetLBText(index, sa); local [all...] |
/external/vboot_reference/firmware/lib/ |
stateful_util.c | 13 void StatefulInit(MemcpyState *state, void *buf, uint64_t len) 16 state->remaining_len = len; 20 void *StatefulSkip(MemcpyState *state, uint64_t len) 24 if (len > state->remaining_len) { 28 state->remaining_buf += len; 29 state->remaining_len -= len; 33 void *StatefulMemcpy(MemcpyState *state, void *dst, uint64_t len) 37 if (len > state->remaining_len) { 41 Memcpy(dst, state->remaining_buf, len); 42 state->remaining_buf += len; [all...] |
/external/apache-http/src/org/apache/http/util/ |
ByteArrayBuffer.java | 51 private int len; field in class:ByteArrayBuffer 63 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 67 public void append(final byte[] b, int off, int len) { 71 if ((off < 0) || (off > b.length) || (len < 0) || 72 ((off + len) < 0) || ((off + len) > b.length)) { 75 if (len == 0) { 78 int newlen = this.len + len; 82 System.arraycopy(b, off, this.buffer, this.len, len) 121 append(b.buffer(), off, len); local [all...] |
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcsnlen.c | 35 size_t len; local 37 for (len = 0; len < maxlen; len++, s++) { 41 return (len);
|
/external/curl/src/ |
tool_strdup.c | 27 size_t len; local 33 len = strlen(str); 35 if(len >= ((size_t)-1) / sizeof(char)) 38 newstr = malloc((len + 1)*sizeof(char)); 42 memcpy(newstr, str, (len + 1)*sizeof(char));
|