Searched refs:buf (Results 226 - 250 of 3827) sorted by relevance

1234567891011>>

/external/wpa_supplicant_8/src/drivers/
H A Ddriver_ndis_.c42 u8 *buf, size_t len)
48 wpa_hexdump(MSG_MSGDUMP, "NDIS: received event data", buf, len);
51 type = *((int *) buf);
52 pos = buf + sizeof(int);
55 if (buf + len - pos > 2) {
58 if (data_len > (size_t) (buf + len - pos)) {
89 u8 buf[512]; local
93 if (ReadFile(drv->events_pipe, buf, sizeof(buf), &len, NULL))
94 wpa_driver_ndis_event_process(drv, buf, le
41 wpa_driver_ndis_event_process(struct wpa_driver_ndis_data *drv, u8 *buf, size_t len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_ndis_.c42 u8 *buf, size_t len)
48 wpa_hexdump(MSG_MSGDUMP, "NDIS: received event data", buf, len);
51 type = *((int *) buf);
52 pos = buf + sizeof(int);
55 if (buf + len - pos > 2) {
58 if (data_len > (size_t) (buf + len - pos)) {
89 u8 buf[512]; local
93 if (ReadFile(drv->events_pipe, buf, sizeof(buf), &len, NULL))
94 wpa_driver_ndis_event_process(drv, buf, le
41 wpa_driver_ndis_event_process(struct wpa_driver_ndis_data *drv, u8 *buf, size_t len) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
H A DCipherOutputStream.java17 private byte[] buf; field in class:CipherOutputStream
29 this.buf = new byte[cipher.getBlockSize()];
58 int len = bufferedBlockCipher.processBytes(oneByte, 0, 1, buf, 0);
62 out.write(buf, 0, len);
108 byte[] buf = new byte[bufferedBlockCipher.getOutputSize(len)];
110 int outLen = bufferedBlockCipher.processBytes(b, off, len, buf, 0);
114 out.write(buf, 0, outLen);
119 byte[] buf = new byte[len];
121 streamCipher.processBytes(b, off, len, buf, 0);
123 out.write(buf,
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dvalgrind-low-arm.c180 void transfer_register (ThreadId tid, int abs_regno, void * buf, argument
193 case 0: VG_(transfer) (&arm->guest_R0, buf, dir, size, mod); break;
194 case 1: VG_(transfer) (&arm->guest_R1, buf, dir, size, mod); break;
195 case 2: VG_(transfer) (&arm->guest_R2, buf, dir, size, mod); break;
196 case 3: VG_(transfer) (&arm->guest_R3, buf, dir, size, mod); break;
197 case 4: VG_(transfer) (&arm->guest_R4, buf, dir, size, mod); break;
198 case 5: VG_(transfer) (&arm->guest_R5, buf, dir, size, mod); break;
199 case 6: VG_(transfer) (&arm->guest_R6, buf, dir, size, mod); break;
200 case 7: VG_(transfer) (&arm->guest_R7, buf, dir, size, mod); break;
201 case 8: VG_(transfer) (&arm->guest_R8, buf, di
[all...]
/external/tcpdump/
H A Dprint-icmp.c323 static char buf[64]; local
329 snprintf(buf, sizeof(buf), "%02u:%02u:%02u.%03u",hrs,min,sec,msec);
330 return buf;
348 char buf[MAXHOSTNAMELEN + 100]; local
353 str = buf;
361 (void)snprintf(buf, sizeof(buf), "echo %s, id %u, seq %u",
374 (void)snprintf(buf, sizeof(buf),
[all...]
/external/webp/src/dec/
H A Dbuffer.c46 const WebPYUVABuffer* const buf = &buffer->u.YUVA; local
47 const uint64_t y_size = (uint64_t)buf->y_stride * height;
48 const uint64_t u_size = (uint64_t)buf->u_stride * ((height + 1) / 2);
49 const uint64_t v_size = (uint64_t)buf->v_stride * ((height + 1) / 2);
50 const uint64_t a_size = (uint64_t)buf->a_stride * height;
51 ok &= (y_size <= buf->y_size);
52 ok &= (u_size <= buf->u_size);
53 ok &= (v_size <= buf->v_size);
54 ok &= (buf->y_stride >= width);
55 ok &= (buf
66 const WebPRGBABuffer* const buf = &buffer->u.RGBA; local
111 WebPYUVABuffer* const buf = &buffer->u.YUVA; local
127 WebPRGBABuffer* const buf = &buffer->u.RGBA; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DDistributionPointName.java109 StringBuffer buf = new StringBuffer();
110 buf.append("DistributionPointName: [");
111 buf.append(sep);
114 appendObject(buf, sep, "fullName", name.toString());
118 appendObject(buf, sep, "nameRelativeToCRLIssuer", name.toString());
120 buf.append("]");
121 buf.append(sep);
122 return buf.toString();
125 private void appendObject(StringBuffer buf, String sep, String name, String value) argument
129 buf
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DVDMXParser.cpp123 Buffer buf(vdmx, vdmxLength);
128 if (!buf.skip(4) || !buf.readU16(&numRatios))
137 buf.offset() + 4 /* sizeof struct ratio */ * numRatios;
145 if (!buf.skip(1)
146 || !buf.readU8(&xRatio)
147 || !buf.readU8(&yRatio1)
148 || !buf.readU8(&yRatio2))
163 buf.setOffset(offsetTableOffset + sizeof(uint16_t) * desiredRatio);
167 if (!buf
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
H A DTeeInputStream.java19 public int read(byte[] buf) argument
22 return read(buf, 0, buf.length);
25 public int read(byte[] buf, int off, int len) argument
28 int i = input.read(buf, off, len);
32 output.write(buf, off, i);
H A DTeeOutputStream.java18 public void write(byte[] buf) argument
21 this.output1.write(buf);
22 this.output2.write(buf);
25 public void write(byte[] buf, int off, int len) argument
28 this.output1.write(buf, off, len);
29 this.output2.write(buf, off, len);
/external/chromium/sdch/open-vcdiff/src/
H A Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
16 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
17 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
18 #define DO8(buf,i) DO4(buf,
[all...]
/external/dropbear/
H A Ddss.h47 void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data,
50 int buf_dss_verify(buffer* buf, dss_key *key, const unsigned char* data,
53 int buf_get_dss_pub_key(buffer* buf, dss_key *key);
54 int buf_get_dss_priv_key(buffer* buf, dss_key *key);
55 void buf_put_dss_pub_key(buffer* buf, dss_key *key);
56 void buf_put_dss_priv_key(buffer* buf, dss_key *key);
H A Dsignkey.h47 int buf_get_pub_key(buffer *buf, sign_key *key, int *type);
48 int buf_get_priv_key(buffer* buf, sign_key *key, int *type);
49 void buf_put_pub_key(buffer* buf, sign_key *key, int type);
50 void buf_put_priv_key(buffer* buf, sign_key *key, int type);
52 void buf_put_sign(buffer* buf, sign_key *key, int type,
55 int buf_verify(buffer * buf, sign_key *key, const unsigned char *data,
/external/jmdns/src/javax/jmdns/impl/
H A DNetworkTopologyEventImpl.java62 StringBuilder buf = new StringBuilder();
63 buf.append("[" + this.getClass().getSimpleName() + "@" + System.identityHashCode(this) + " ");
64 buf.append("\n\tinetAddress: '");
65 buf.append(this.getInetAddress());
66 buf.append("']");
67 // buf.append("' source: ");
68 // buf.append("\n\t" + source + "");
69 // buf.append("\n]");
70 return buf.toString();
/external/libselinux/src/
H A Dpolicyvers.c17 char buf[20]; local
33 memset(buf, 0, sizeof buf);
34 ret = read(fd, buf, sizeof buf - 1);
39 if (sscanf(buf, "%u", &vers) != 1)
/external/openssl/crypto/asn1/
H A Dt_pkey.c66 unsigned char *buf, int off)
90 buf[0]=0;
94 n=BN_bn2bin(num,&buf[1]);
96 if (buf[1] & 0x80)
98 else buf++;
108 if (BIO_printf(bp,"%02x%s",buf[i],((i+1) == n)?"":":")
65 ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, unsigned char *buf, int off) argument
/external/qemu/distrib/zlib-1.2.3/
H A Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
16 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
17 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
18 #define DO8(buf,i) DO4(buf,
[all...]
/external/webkit/Source/JavaScriptCore/qt/api/
H A Dqscriptconverter_p.h79 QVarLengthArray<char, 25> buf;
91 buf.resize(-decpt + 2 + sign);
92 qMemSet(buf.data(), '0', -decpt + 2 + sign);
94 buf[0] = '-';
95 buf[sign + 1] = '.';
96 buf.append(result, resultLen);
99 buf.append('-');
100 int length = buf.size() - sign + resultLen;
104 buf.append(result, resultLen);
105 buf
[all...]
/external/zlib/src/
H A Dadler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
19 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
20 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
21 #define DO8(buf,i) DO4(buf,
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Dwpa_debug.c111 static void _wpa_hexdump(int level, const char *title, const u8 *buf, argument
122 if (buf == NULL) {
126 fprintf(out_file, " %02x", buf[i]);
134 if (buf == NULL) {
138 printf(" %02x", buf[i]);
148 void wpa_hexdump(int level, const char *title, const u8 *buf, size_t len) argument
150 _wpa_hexdump(level, title, buf, len, 1);
154 void wpa_hexdump_key(int level, const char *title, const u8 *buf, size_t len) argument
156 _wpa_hexdump(level, title, buf, len, wpa_debug_show_keys);
160 static void _wpa_hexdump_ascii(int level, const char *title, const u8 *buf, argument
245 wpa_hexdump_ascii(int level, const char *title, const u8 *buf, size_t len) argument
251 wpa_hexdump_ascii_key(int level, const char *title, const u8 *buf, size_t len) argument
303 char *buf; local
326 char *buf; local
361 char *buf; local
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dmd5.h31 uint32 buf[4]; member in struct:MD5Context
37 void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len);
39 void MD5Transform(uint32 buf[4], uint32 const in[16]);
/external/clang/test/CodeGen/
H A Dglobalinit.c23 static char buf[10]; local
24 static char *bufptr = buf;
26 return c ? buf : bufptr;
/external/grub/stage2/
H A Dfilesys.h26 int ffs_read (char *buf, int len);
36 int ufs2_read (char *buf, int len);
46 int fat_read (char *buf, int len);
55 int ext2fs_read (char *buf, int len);
64 int minix_read (char *buf, int len);
73 int reiserfs_read (char *buf, int len);
83 int vstafs_read (char *buf, int len);
92 int jfs_read (char *buf, int len);
102 int xfs_read (char *buf, int len);
111 int tftp_read (char *buf, in
[all...]
/external/qemu/hw/
H A Dcdrom.c31 static void lba_to_msf(uint8_t *buf, int lba) argument
34 buf[0] = (lba / 75) / 60;
35 buf[1] = (lba / 75) % 60;
36 buf[2] = lba % 75;
41 int cdrom_read_toc(int nb_sectors, uint8_t *buf, int msf, int start_track) argument
48 q = buf + 2;
79 len = q - buf;
80 cpu_to_be16wu((uint16_t *)buf, len - 2);
85 int cdrom_read_toc_raw(int nb_sectors, uint8_t *buf, int msf, int session_num) argument
90 q = buf
[all...]
/external/valgrind/main/none/tests/
H A Dprocfs-cmdline-exe.c51 char buf[512]; local
55 if ((n = readlink(path, buf, sizeof(buf) - 1)) >= 0)
57 buf[n] = 0;
58 p = buf;
59 if (strncmp(buf, cwd, strlen(cwd)) == 0)
71 char buf[512]; local
75 if ((n = readlinkat(AT_FDCWD, path, buf, sizeof(buf) - 1)) >= 0)
77 buf[
[all...]

Completed in 399 milliseconds

1234567891011>>