HomeSort by relevance Sort by last modified time
    Searched refs:len (Results 101 - 125 of 25604) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/ojluni/src/main/java/javax/crypto/spec/
IvParameterSpec.java 57 * Creates an IvParameterSpec object using the first <code>len</code>
62 * <code>iv[offset]</code> and <code>iv[offset+len-1]</code> inclusive.
64 * @param iv the buffer with the IV. The first <code>len</code>
69 * @param len the number of IV bytes.
71 * or {@code (iv.length - offset < len)}
73 * or <code>len</code> index bytes outside the <code>iv</code>.
75 public IvParameterSpec(byte[] iv, int offset, int len) {
79 if (iv.length - offset < len) {
83 if (len < 0) {
84 throw new ArrayIndexOutOfBoundsException("len is negative")
    [all...]
  /external/syslinux/com32/lib/
dhcppack.c 12 * On return, len contains the number of active bytes, and the full
17 static int dhcp_pack_field_zero(void *field, size_t *len,
24 size_t spc = *len;
27 if (!*len)
31 if (opt[i].len < 0)
35 if (opt[i].len <= 255)
36 xlen = opt[i].len + 2;
38 xlen = opt[i].len + 2*((opt[i].len+254)/255);
48 xlen = opt[i].len;
    [all...]
  /external/tcpdump/
print-msdp.c 36 unsigned int type, len; local
41 len = EXTRACT_16BITS(sp + 1);
42 if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX)
48 len = EXTRACT_16BITS(sp + 1);
49 if (len > 1400 || ndo->ndo_vflag)
50 ND_PRINT((ndo, " [len %u]", len));
51 if (len < 3)
64 if ((u_int)((*sp * 12) + 8) < len) {
    [all...]
  /system/core/toolbox/upstream-netbsd/usr.bin/grep/
fastgrep.c 63 fg->len = strlen(pat);
72 fg->qsBc[i] = fg->len;
73 for (i = 1; i < fg->len; i++)
74 fg->qsBc[fg->pattern[i]] = fg->len - i;
91 fg->len = strlen(pat);
98 if (fg->len > 0 && pat[fg->len - 1] == '$') {
100 fg->len--;
106 fg->len--;
110 if (fg->len >= 14 &
    [all...]
  /system/bt/test/suite/rfcomm/
rfcomm_unittest.cc 34 size_t len = 0; local
44 len = read(fd, &channel, sizeof(channel));
45 EXPECT_TRUE(len == sizeof(channel))
46 << "Channel not read from RFCOMM socket. Bytes read: " << len;
47 len = read(fd, &signal, sizeof(signal));
48 EXPECT_TRUE(len == sizeof(signal))
49 << "Connection signal not read from RFCOMM socket. Bytes read: " << len;
57 len = write(fd, HANDSHAKE_COMMAND, sizeof(HANDSHAKE_COMMAND));
58 EXPECT_TRUE(len == sizeof(HANDSHAKE_COMMAND))
59 << "Unable to send HFP handshake. Bytes written: " << len;
75 size_t len = 0; local
    [all...]
  /external/skia/src/core/
SkWriter32.cpp 24 size_t len = this->readU32(); local
28 size_t alignedSize = SkAlign4(len + 1);
32 *outLen = len;
38 size_t len; local
39 const char* ptr = this->readString(&len);
41 copy->set(ptr, len);
43 return len;
46 void SkWriter32::writeString(const char str[], size_t len) {
49 len = 0;
51 if ((long)len < 0)
    [all...]
  /external/skqp/src/core/
SkWriter32.cpp 24 size_t len = this->readU32(); local
28 size_t alignedSize = SkAlign4(len + 1);
32 *outLen = len;
38 size_t len; local
39 const char* ptr = this->readString(&len);
41 copy->set(ptr, len);
43 return len;
46 void SkWriter32::writeString(const char str[], size_t len) {
49 len = 0;
51 if ((long)len < 0)
    [all...]
  /external/pdfium/third_party/bigint/
BigUnsigned.cc 32 if (i < len) {
36 // If i >= len, no effect.
38 if (i >= len) {
42 for (Index j = len; j < i; j++)
44 len = i+1;
57 Blk leftmostBlock = getBlock(len - 1);
63 return leftmostBlockLen + (len - 1) * N;
77 if (len < x.len)
79 else if (len > x.len
    [all...]
  /external/google-breakpad/src/third_party/libdisasm/
x86_format.c 18 #define STRNCAT( buf, str, len ) do { \
19 int _i = strlen(str), _blen = strlen(buf), _len = len - 1; \
20 if ( len ) { \
24 len = 0; \
26 len -= _i; \
31 #define STRNCATF( buf, fmt, data, len ) do { \
35 STRNCAT( buf, _tmp, len ); \
42 STRNCATF( buf, "-0x%" PRIX32, -ea->disp, len ); \
44 STRNCATF( buf, "0x%" PRIX32, ea->disp, len ); \
58 int len ) {
1087 struct op_string { char *buf; size_t len; }; member in struct:op_string
    [all...]
  /external/syslinux/gpxe/src/include/gpxe/
iobuf.h 66 * @v len Length to reserve
69 static inline void * iob_reserve ( struct io_buffer *iobuf, size_t len ) {
70 iobuf->data += len;
71 iobuf->tail += len;
74 #define iob_reserve( iobuf, len ) ( { \
76 __result = iob_reserve ( (iobuf), (len) ); \
84 * @v len Length to add
87 static inline void * iob_push ( struct io_buffer *iobuf, size_t len ) {
88 iobuf->data -= len;
91 #define iob_push( iobuf, len ) ( { \
    [all...]
  /external/elfutils/libelf/
note_xlate.h 30 elf_cvt_note (void *dest, const void *src, size_t len, int encode)
34 while (len >= sizeof (Elf32_Nhdr))
42 len -= sizeof *n;
46 if (namesz > len)
48 len -= namesz;
49 if (descsz > len)
51 len -= descsz;
62 if (unlikely (len > 0) && src != dest)
63 memcpy (dest, src, len);
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fgets.c 63 size_t len; local
92 len = fp->_r;
101 if (len > (size_t)n)
102 len = n;
103 t = memchr((void *)p, '\n', len);
105 len = ++t - p;
106 fp->_r -= (int)len;
108 (void)memcpy((void *)s, (void *)p, len);
109 s[len] = 0;
113 fp->_r -= (int)len;
    [all...]
  /external/fio/
fifo.c 49 unsigned int fifo_put(struct fifo *fifo, void *buffer, unsigned int len)
53 len = min(len, fifo_room(fifo));
56 l = min(len, fifo->size - (fifo->in & (fifo->size - 1)));
60 memcpy(fifo->buffer, buffer + l, len - l);
67 fifo->in += len;
69 return len;
72 unsigned int fifo_get(struct fifo *fifo, void *buf, unsigned int len)
74 len = min(len, fifo->in - fifo->out)
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
fdt_addresses.c 62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
  /external/boringssl/src/tool/
file.cc 27 size_t len = 0; local
31 len += fread(out->data() + len, 1, out->size() - len, file);
34 out->resize(len);
41 if (len == out->size()) {
  /external/dtc/libfdt/
fdt_addresses.c 62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
  /external/e2fsprogs/
wordwrap.pl 20 $len = length($word) + 1;
21 $linelen += $len;
24 $linelen = 1+$len;
  /external/syslinux/com32/gpllib/disk/
ata.c 9 * @len: length of string to return. must be an even number.
19 unsigned int ofs, unsigned int len)
23 while (len > 0) {
33 len -= 2;
42 * @len: length of string to return. must be an odd number.
46 * null. @len must be actual maximum length (even number) + 1.
52 unsigned int ofs, unsigned int len)
56 ata_id_string(id, s, ofs, len - 1);
58 p = s + strnlen((const char *)s, len - 1);
  /external/tensorflow/tensorflow/stream_executor/lib/
process_state.cc 40 size_t len = 128; local
41 std::unique_ptr<char[]> a(new char[len]);
43 char* p = getcwd(a.get(), len);
48 len += len;
49 a.reset(new char[len]);
  /external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/
pcm16b.c 16 size_t len,
19 for (i = 0; i < len; ++i) {
24 return 2 * len;
28 size_t len,
31 for (i = 0; i < len / 2; ++i)
33 return len / 2;
  /frameworks/base/core/java/com/android/internal/alsa/
LineTokenizer.java 33 int len = line.length(); local
35 for (; offset < len; offset++) {
42 return offset < len ? offset : kTokenNotFound;
46 int len = line.length(); local
48 for (; offset < len; offset++) {
55 return offset < len ? offset : kTokenNotFound;
  /hardware/intel/img/hwcomposer/moorefield_hdmi/common/utils/
Dump.cpp 24 Dump::Dump(char *buf, int len)
26 mLen(len)
38 int len; local
45 len = vsnprintf(mBuf, mLen, fmt, ap);
48 mLen -= len;
49 mBuf += len;
  /libcore/ojluni/src/main/java/java/io/
OutputStream.java 79 * Writes <code>len</code> bytes from the specified byte array
81 * The general contract for <code>write(b, off, len)</code> is that
84 * byte written and <code>b[off+len-1]</code> is the last byte written
95 * If <code>off</code> is negative, or <code>len</code> is negative, or
96 * <code>off+len</code> is greater than the length of the array
101 * @param len the number of bytes to write.
106 public void write(byte b[], int off, int len) throws IOException {
109 } else if ((off < 0) || (off > b.length) || (len < 0) ||
110 ((off + len) > b.length) || ((off + len) < 0))
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/ch/
NativeDispatcher.java 38 abstract int read(FileDescriptor fd, long address, int len)
49 int pread(FileDescriptor fd, long address, int len, long position)
55 abstract long readv(FileDescriptor fd, long address, int len)
58 abstract int write(FileDescriptor fd, long address, int len)
61 int pwrite(FileDescriptor fd, long address, int len, long position)
67 abstract long writev(FileDescriptor fd, long address, int len)
  /toolchain/binutils/binutils-2.27/gprof/
search_list.c 33 unsigned int len;
42 len = colon - beg;
44 len = strlen (beg);
46 new_el = (Search_List_Elem *) xmalloc (sizeof (*new_el) + len);
47 memcpy (new_el->path, beg, len);
48 new_el->path[len] = '\0';
32 unsigned int len; local

Completed in 1335 milliseconds

1 2 3 45 6 7 8 91011>>