HomeSort by relevance Sort by last modified time
    Searched full:len (Results 351 - 375 of 5669) sorted by null

<<11121314151617181920>>

  /ndk/build/platforms/android-8/arch-x86/usr/include/linux/mtd/
mtd.h 38 u_int32_t len; member in struct:erase_info
64 size_t len; member in struct:mtd_oob_ops
100 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf);
102 void (*unpoint) (struct mtd_info *mtd, u_char * addr, loff_t from, size_t len);
104 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
105 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf);
112 int (*get_fact_prot_info) (struct mtd_info *mtd, struct otp_info *buf, size_t len);
113 int (*read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
114 int (*get_user_prot_info) (struct mtd_info *mtd, struct otp_info *buf, size_t len);
115 int (*read_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf)
    [all...]
  /external/wpa_supplicant/
common.c 85 * @len: Length of the text to convert in bytes (of buf); hex will be double
89 int hexstr2bin(const char *hex, u8 *buf, size_t len)
96 for (i = 0; i < len; i++) {
110 * @len: Length of the counter in bytes
116 void inc_byte_array(u8 *counter, size_t len)
118 int pos = len - 1;
223 size_t len, int show)
231 fprintf(out_file, "%s - hexdump(len=%lu):",
232 title, (unsigned long) len);
236 for (i = 0; i < len; i++
416 int len; local
    [all...]
asn1.c 23 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr)
30 end = buf + len;
88 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid,
98 if (asn1_get_next(buf, len, &hdr) < 0 || hdr.length == 0)
121 if (oid->len >= ASN1_MAX_OID_LEN) {
125 if (oid->len == 0) {
135 oid->len = 2;
137 oid->oid[oid->len++] = val;
144 void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len)
150 if (len == 0
    [all...]
driver_ndis_.c 46 * data (variable len, optional)
51 u8 *buf, size_t len)
57 wpa_hexdump(MSG_MSGDUMP, "NDIS: received event data", buf, len);
58 if (len < sizeof(int))
64 if (buf + len - pos > 2) {
67 if (data_len > (size_t) (buf + len - pos)) {
99 DWORD len; local
102 if (ReadFile(drv->events_pipe, buf, sizeof(buf), &len, NULL))
103 wpa_driver_ndis_event_process(drv, buf, len);
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/digests/
GeneralDigest.java 58 int len)
63 while ((xBufOff != 0) && (len > 0))
68 len--;
74 while (len > xBuf.length)
79 len -= xBuf.length;
86 while (len > 0)
91 len--;
  /external/qemu/
cpu-common.h 50 int len, int is_write);
52 uint8_t *buf, int len)
54 cpu_physical_memory_rw(addr, buf, len, 0);
57 const uint8_t *buf, int len)
59 cpu_physical_memory_rw(addr, (uint8_t *)buf, len, 1);
64 void cpu_physical_memory_unmap(void *buffer, target_phys_addr_t len,
81 const uint8_t *buf, int len);
bt-host.c 45 int len; member in struct:bt_host_hci_s
49 int type, const uint8_t *data, int len)
59 iv[1].iov_len = len;
69 static void bt_host_cmd(struct HCIInfo *hci, const uint8_t *data, int len)
71 bt_host_send(hci, HCI_COMMAND_PKT, data, len);
74 static void bt_host_acl(struct HCIInfo *hci, const uint8_t *data, int len)
76 bt_host_send(hci, HCI_ACLDATA_PKT, data, len);
79 static void bt_host_sco(struct HCIInfo *hci, const uint8_t *data, int len)
81 bt_host_send(hci, HCI_SCODATA_PKT, data, len);
100 s->len = read(s->fd, s->hdr, sizeof(s->hdr))
    [all...]
bt-vhci.c 35 int len; member in struct:bt_vhci_s
47 s->len = read(s->fd, s->hdr, sizeof(s->hdr));
49 if (s->len < 0) {
55 while (s->len --)
58 if (s->len < 3)
61 pktlen = MIN(pkt[2] + 3, s->len);
63 s->len -= pktlen;
68 if (s->len < 4)
71 pktlen = MIN(((pkt[3] << 8) | pkt[2]) + 4, s->len);
73 s->len -= pktlen
    [all...]
  /external/tcpdump/
print-ip6opts.c 74 ip6_sopt_print(const u_char *bp, int len)
79 for (i = 0; i < len; i += optlen) {
83 if (i + 1 < len)
88 if (i + optlen > len)
96 if (len - i < IP6OPT_MINLEN) {
103 if (len - i < IP6SOPT_UI_MINLEN) {
110 if (len - i < IP6SOPT_ALTCOA_MINLEN) {
117 if (len - i < IP6SOPT_AUTH_MINLEN) {
124 if (len - i < IP6OPT_MINLEN) {
128 printf(", sopt_type 0x%02x: len=%d", bp[i], bp[i + 1])
    [all...]
print-ip6.c 54 u_int len; local
74 len = payload_len + sizeof(struct ip6_hdr);
75 if (length < len)
77 len - length);
106 ipend = bp + len;
115 len -= advance;
161 sctp_print(cp, (const u_char *)ip6, len);
164 dccp_print(cp, (const u_char *)ip6, len);
167 tcp_print(cp, len, (const u_char *)ip6, fragmented);
170 udp_print(cp, len, (const u_char *)ip6, fragmented)
    [all...]
print-bootp.c 366 register u_int len; local
400 len = 0;
404 len = *bp++;
407 printf("\n\t %s Option %u, length %u%s", cp, tag, len,
408 len > 0 ? ": " : "");
420 if (!TTEST2(*bp, len)) {
421 printf("[|rfc1048 %u]", len);
425 if (tag == TAG_DHCP_MESSAGE && len == 1) {
433 while (len-- > 0) {
448 while (len > 1)
    [all...]
  /external/qemu/hw/
usb.c 50 if (p->len != 8)
108 int len = s->setup_len - s->setup_index; local
109 if (len > p->len)
110 len = p->len;
111 memcpy(p->data, s->data_buf + s->setup_index, len);
112 s->setup_index += len;
115 return len;
143 int len = s->setup_len - s->setup_index local
208 int len, i; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/tls/
asn1.c 23 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr)
30 end = buf + len;
88 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid,
98 if (asn1_get_next(buf, len, &hdr) < 0 || hdr.length == 0)
121 if (oid->len >= ASN1_MAX_OID_LEN) {
125 if (oid->len == 0) {
135 oid->len = 2;
137 oid->oid[oid->len++] = val;
144 void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len)
150 if (len == 0
    [all...]
  /external/dropbear/
circbuffer.c 102 unsigned char* cbuf_readptr(circbuffer *cbuf, unsigned int len) {
103 if (len > cbuf_readlen(cbuf)) {
110 unsigned char* cbuf_writeptr(circbuffer *cbuf, unsigned int len) {
112 if (len > cbuf_writelen(cbuf)) {
119 void cbuf_incrwrite(circbuffer *cbuf, unsigned int len) {
120 if (len > cbuf_writelen(cbuf)) {
124 cbuf->used += len;
126 cbuf->writepos = (cbuf->writepos + len) % cbuf->size;
130 void cbuf_incrread(circbuffer *cbuf, unsigned int len) {
131 if (len > cbuf_readlen(cbuf))
    [all...]
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
PublicClassLoader.java 37 long len = file.length(); local
38 byte raw[] = new byte[(int)len];
41 if (r != len)
42 throw new IOException( "Can't read all, "+r+" != "+len );
64 int len; local
66 len = is.read(buf);
67 clazz = defineClass(name, buf, 0, len);
81 public Class<?> defineClassTest(byte[] b, int off, int len) {
82 return defineClass(b, off, len);
  /external/bluetooth/bluez/common/
textfile.c 103 static inline char *find_key(char *map, size_t size, const char *key, size_t len, int icase)
108 while (ptrlen > len + 1) {
109 int cmp = (icase) ? strncasecmp(ptr, key, len) : strncmp(ptr, key, len);
115 *(ptr + len) == ' ')
168 int fd, len, err = 0; local
201 len = strlen(key);
202 off = find_key(map, size, key, len, icase);
220 if (value && ((ssize_t) strlen(value) == end - off - len - 1) &&
221 !strncmp(off + len + 1, value, end - off - len - 1)
290 off_t size; size_t len; local
385 off_t size; size_t len; local
    [all...]
  /external/dropbear/libtomcrypt/src/pk/asn1/der/ia5/
der_decode_ia5_string.c 32 unsigned long x, y, len; local
59 len = 0;
62 len = (len << 8) | in[x++];
65 len = in[x++] & 0x7F;
69 if (len > *outlen) {
70 *outlen = len;
74 if (len + x > inlen) {
79 for (y = 0; y < len; y++) {
  /external/dropbear/libtomcrypt/src/pk/asn1/der/printable_string/
der_decode_printable_string.c 32 unsigned long x, y, len; local
59 len = 0;
62 len = (len << 8) | in[x++];
65 len = in[x++] & 0x7F;
69 if (len > *outlen) {
70 *outlen = len;
74 if (len + x > inlen) {
79 for (y = 0; y < len; y++) {
  /external/elfutils/libebl/
eblsectionname.c 24 ebl_section_name (ebl, section, xsection, buf, len, scnnames, shnum)
29 size_t len;
34 buf, len) : NULL;
57 snprintf (buf, len, "%d", idx);
65 snprintf (buf, len, "%s: %d", "XINDEX", xsection);
67 snprintf (buf, len, "LOOS+%x", section - SHN_LOOS);
70 snprintf (buf, len, "LOPROC+%x", section - SHN_LOPROC);
72 snprintf (buf, len, "LORESERVE+%x", section - SHN_LORESERVE);
74 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), section);
  /external/webkit/WebCore/platform/text/qt/
TextBoundariesQt.cpp 43 int findNextWordFromIndex(UChar const* buffer, int len, int position, bool forward)
45 QString str(reinterpret_cast<QChar const*>(buffer), len); local
47 iterator.setPosition(position >= len ? len - 1 : position);
55 return len;
67 void findWordBoundary(UChar const* buffer, int len, int position, int* start, int* end)
69 QString str(reinterpret_cast<QChar const*>(buffer), len); local
73 *end = position == len ? len : iterator.toNextBoundary();
  /external/wpa_supplicant_6/wpa_supplicant/src/drivers/
driver_ndis_.c 43 * data (variable len, optional)
48 u8 *buf, size_t len)
54 wpa_hexdump(MSG_MSGDUMP, "NDIS: received event data", buf, len);
55 if (len < sizeof(int))
61 if (buf + len - pos > 2) {
64 if (data_len > (size_t) (buf + len - pos)) {
96 DWORD len; local
99 if (ReadFile(drv->events_pipe, buf, sizeof(buf), &len, NULL))
100 wpa_driver_ndis_event_process(drv, buf, len);
  /external/ipsec-tools/src/libipsec/
pfkey.c 385 int len; local
416 len = sizeof(struct sadb_msg)
425 len += sizeof(struct sadb_spirange);
428 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
432 ep = ((caddr_t)(void *)newmsg) + len;
435 (u_int)len, satype, seq, getpid());
488 len = pfkey_send(so, newmsg, len);
491 if (len < 0)
495 return len;
509 int len; local
530 int len; local
552 int len; local
576 int len; local
658 int len; local
676 int len, algno; local
822 int len; local
841 int len; local
866 int len; local
890 int len; local
918 int len; local
944 int len; local
972 int len; local
998 int len; local
1025 int len; local
1044 int len; local
1067 int len; local
1093 int len; local
1111 int len; local
1137 int len; local
1219 int len; local
1496 int len; local
1581 int len; local
1649 int len; local
1739 int len; local
1844 int len, reallen; local
2171 u_int len; local
2204 u_int len; local
2240 u_int len; local
2272 u_int len; local
2303 u_int len; local
2350 u_int len; local
2376 u_int len; local
2400 u_int len; local
2426 u_int len; local
2454 u_int len; local
    [all...]
  /bionic/libc/kernel/arch-x86/asm/
cacheflush.h 27 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0)
31 #define copy_to_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len)
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/
PaddedBlockCipher.java 36 * doFinal with an input of len bytes.
38 * @param len the length of the input.
40 * with len bytes of input.
43 int len)
45 int total = len + bufOff;
63 * an input of len bytes.
65 * @param len the length of the input.
67 * with len bytes of input.
70 int len)
72 int total = len + bufOff
    [all...]
  /external/bluetooth/hcidump/parser/
cmtp.c 47 static void add_segment(uint8_t bid, struct frame *frm, int len)
74 data = malloc(msg->data_len + len);
81 memcpy(data + msg->data_len, frm->ptr, len);
84 msg->data_len += len;
86 msg->len = msg->data_len;
97 int i, len = 0, pos = -1; local
120 len += table[pos].msg[i].data_len;
122 if (!len) {
163 uint16_t len; local
165 while (frm->len > 0)
    [all...]

Completed in 88 milliseconds

<<11121314151617181920>>