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

<<31323334353637383940>>

  /external/ipsec-tools/src/racoon/
isakmp_unity.c 127 int len; local
135 if ((len = read(fd, buf, MAXMOTD)) == -1) {
143 buf[len] = '\0';
270 size_t len; local
276 len = sizeof(struct unity_network) * count;
277 if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
284 new->lorv = htons(len);
364 int len; local
367 len = 0;
373 len += strlen(tmp1)
    [all...]
  /external/openssl/crypto/asn1/
a_utf8.c 76 int UTF8_getc(const unsigned char *str, int len, unsigned long *val)
81 if(len <= 0) return 0;
89 if(len < 2) return -1;
96 if(len < 3) return -1;
105 if(len < 4) return -1;
116 if(len < 5) return -1;
129 if(len < 6) return -1;
149 * 'str' where 'str' is a buffer containing 'len' characters. Returns
150 * the number of characters written or -1 if 'len' is too small. 'str' can
155 int UTF8_putc(unsigned char *str, int len, unsigned long value
    [all...]
  /external/openssl/crypto/x509/
x509_att.c 158 const unsigned char *bytes, int len)
162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len);
171 const unsigned char *bytes, int len)
175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len);
184 const unsigned char *bytes, int len)
188 attr = X509_ATTRIBUTE_create_by_txt(NULL, attrname, type, bytes, len);
212 int atrtype, const void *data, int len)
223 ret=X509_ATTRIBUTE_create_by_OBJ(attr,obj,atrtype,data,len);
229 const ASN1_OBJECT *obj, int atrtype, const void *data, int len)
246 if (!X509_ATTRIBUTE_set1_data(ret,atrtype,data,len))
    [all...]
  /external/qemu/distrib/zlib-1.2.3/
gzio.c 293 uInt len; local
299 len = s->stream.avail_in;
300 if (len < 2) {
301 if (len) s->inbuf[0] = s->stream.next_in[0];
303 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
304 if (len == 0 && ferror(s->file)) s->z_err = Z_ERRNO;
305 s->stream.avail_in += len;
331 for (len = 0; len < 6; len++) (void)get_byte(s)
607 int len; local
645 int len; local
709 uInt len; local
    [all...]
  /external/wpa_supplicant/
l2_packet_pcap.c 42 const u8 *buf, size_t len);
84 const u8 *buf, size_t len)
94 ret = pcap_sendpacket(l2->pcap, buf, len);
96 ret = eth_send(l2->eth, buf, len);
99 size_t mlen = sizeof(*eth) + len;
107 os_memcpy(eth + 1, buf, len);
131 size_t len; local
141 len = hdr.caplen;
144 len = hdr.caplen - sizeof(*ethhdr);
146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
158 size_t len; local
    [all...]
sha1.c 29 * @len: Lengths of the data blocks
33 const u8 *addr[], const size_t *len, u8 *mac)
76 _len[i + 1] = len[i];
131 size_t len[4]; local
134 len[0] = label_len;
136 len[1] = 1;
138 len[2] = data_len;
140 len[3] = 1;
146 hmac_sha1_vector(key, key_len, 4, addr, len,
150 hmac_sha1_vector(key, key_len, 4, addr, len,
183 size_t len[5]; local
309 size_t len[2]; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
l2_packet_pcap.c 42 const u8 *buf, size_t len);
84 const u8 *buf, size_t len)
94 ret = pcap_sendpacket(l2->pcap, buf, len);
96 ret = eth_send(l2->eth, buf, len);
99 size_t mlen = sizeof(*eth) + len;
107 os_memcpy(eth + 1, buf, len);
131 size_t len; local
141 len = hdr.caplen;
144 len = hdr.caplen - sizeof(*ethhdr);
146 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len);
158 size_t len; local
    [all...]
  /external/zlib/
gzio.c 293 uInt len; local
299 len = s->stream.avail_in;
300 if (len < 2) {
301 if (len) s->inbuf[0] = s->stream.next_in[0];
303 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
304 if (len == 0 && ferror(s->file)) s->z_err = Z_ERRNO;
305 s->stream.avail_in += len;
331 for (len = 0; len < 6; len++) (void)get_byte(s)
607 int len; local
645 int len; local
709 uInt len; local
    [all...]
  /hardware/broadcom/wlan/bcm4329/src/include/
linux_osl.h 203 #define bcopy(src, dst, len) memcpy((dst), (src), (len))
204 #define bcmp(b1, b2, len) memcmp((b1), (b2), (len))
205 #define bzero(b, len) memset((b), '\0', (len))
231 #define BZERO_SM(r, len) memset((r), '\0', (len))
234 #define PKTGET(osh, len, send) osl_pktget((osh), (len))
    [all...]
  /ndk/build/platforms/android-3/arch-arm/usr/include/linux/
rtnetlink.h 119 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len))
122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
123 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
240 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1)
    [all...]
  /ndk/build/platforms/android-4/arch-arm/usr/include/linux/
rtnetlink.h 119 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len))
122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
123 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
240 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1)
    [all...]
  /ndk/build/platforms/android-5/arch-arm/usr/include/linux/
rtnetlink.h 119 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len))
122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
123 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
240 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1)
    [all...]
  /ndk/build/platforms/android-5/arch-x86/usr/include/linux/
rtnetlink.h 119 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len))
122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
123 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
240 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1)
    [all...]
  /ndk/build/platforms/android-8/arch-arm/usr/include/linux/
rtnetlink.h 119 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len))
122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
123 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
240 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1)
    [all...]
  /ndk/build/platforms/android-8/arch-x86/usr/include/linux/
rtnetlink.h 119 #define RTA_ALIGN(len) ( ((len)+RTA_ALIGNTO-1) & ~(RTA_ALIGNTO-1) )
120 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && (rta)->rta_len >= sizeof(struct rtattr) && (rta)->rta_len <= (len))
122 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
123 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
240 #define RTNH_ALIGN(len) ( ((len)+RTNH_ALIGNTO-1) & ~(RTNH_ALIGNTO-1)
    [all...]
  /system/bluetooth/brcm_patchram_plus/
brcm_patchram_plus.c 351 dump(unsigned char *out, int len)
355 for (i = 0; i < len; i++) {
370 int len = 3; local
373 while ((count = read(fd, &buffer[i], len)) < len) {
375 len -= count;
379 len = buffer[2];
381 while ((count = read(fd, &buffer[i], len)) < len) {
383 len -= count
430 int len; local
    [all...]
  /system/core/adb/
usb_windows.c 99 int usb_write(usb_handle* handle, const void* data, int len);
102 int usb_read(usb_handle *handle, void* data, int len);
257 int usb_write(usb_handle* handle, const void* data, int len) {
258 unsigned long time_out = 500 + len * 8;
262 D("usb_write %d\n", len);
267 (unsigned long)len,
274 D("usb_write got: %ld, expected: %d\n", written, len);
275 if (written == (unsigned long)len) {
276 if(handle->zero_mask && (len & handle->zero_mask) == 0) {
301 int usb_read(usb_handle *handle, void* data, int len) {
    [all...]
  /external/freetype/src/pshinter/
pshalgo.c 208 write->org_len = read->len;
347 FT_Pos len,
350 if ( len <= 64 )
351 len = 64;
354 FT_Pos delta = len - dim->stdw.widths[0].cur;
362 len = dim->stdw.widths[0].cur;
363 if ( len < 48 )
364 len = 48;
367 if ( len < 3 * 64 )
369 delta = ( len & 63 )
452 FT_Pos len = FT_MulFix( hint->org_len, scale ); local
    [all...]
  /bionic/libc/kernel/arch-arm/asm/
cacheflush.h 77 #define copy_to_user_page(vma, page, vaddr, dst, src, len) do { memcpy(dst, src, len); flush_ptrace_access(vma, page, vaddr, dst, len, 1); } while (0)
79 #define copy_from_user_page(vma, page, vaddr, dst, src, len) do { memcpy(dst, src, len); } while (0)
89 #define flush_icache_user_range(vma,page,addr,len) flush_dcache_page(page)
  /dalvik/dx/src/com/android/dx/util/
IndentingWriter.java 139 public void write(char[] cbuf, int off, int len) throws IOException {
141 while (len > 0) {
144 len--;
151 public void write(String str, int off, int len) throws IOException {
153 while (len > 0) {
156 len--;
  /dalvik/libcore/security/src/main/java/java/security/
DigestOutputStream.java 91 * Writes {@code len} bytes into the stream, starting from the specified
98 * @param len
104 public void write(byte[] b, int off, int len) throws IOException {
107 digest.update(b, off, len);
109 // write len bytes
110 out.write(b, off, len);
  /external/bluetooth/glib/tests/
timeloop-basic.c 34 read_all (int fd, char *buf, int len)
39 while (bytes_read < len)
41 count = read (fd, buf + bytes_read, len - bytes_read);
57 write_all (int fd, char *buf, int len)
62 while (bytes_written < len)
64 count = write (fd, buf + bytes_written, len - bytes_written);
timeloop-closure.c 35 read_all (GIOChannel *channel, char *buf, int len)
41 while (bytes_read < len)
43 err = g_io_channel_read (channel, buf + bytes_read, len - bytes_read, &count);
59 write_all (GIOChannel *channel, char *buf, int len)
65 while (bytes_written < len)
67 err = g_io_channel_write (channel, buf + bytes_written, len - bytes_written, &count);
timeloop.c 34 read_all (GIOChannel *channel, char *buf, int len)
40 while (bytes_read < len)
42 err = g_io_channel_read (channel, buf + bytes_read, len - bytes_read, &count);
58 write_all (GIOChannel *channel, char *buf, int len)
64 while (bytes_written < len)
66 err = g_io_channel_write (channel, buf + bytes_written, len - bytes_written, &count);
  /external/dropbear/libtomcrypt/src/modes/f8/
f8_encrypt.c 24 @param len Length of plaintext (octets)
28 int f8_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_F8 *f8)
63 while (len >= (unsigned long)f8->blocklen) {
73 len -= x;
80 while (len > 0) {
94 --len;

Completed in 538 milliseconds

<<31323334353637383940>>