HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 301 - 325 of 1073) sorted by null

<<11121314151617181920>>

  /external/wpa_supplicant_6/wpa_supplicant/
ctrl_iface_named_pipe.c 95 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes,
102 static VOID WINAPI global_iface_read_completed(DWORD err, DWORD bytes,
260 static VOID WINAPI ctrl_iface_write_completed(DWORD err, DWORD bytes,
265 "err=%d bytes=%d", dst, (int) err, (int) bytes);
352 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes,
357 "bytes=%d", dst, (int) err, (int) bytes);
358 if (err == 0 && bytes > 0)
359 wpa_supplicant_ctrl_iface_rx(dst, bytes);
367 DWORD bytes; local
784 DWORD bytes; local
    [all...]
  /external/chromium/net/proxy/
proxy_script_fetcher.cc 27 // The maximum size (in bytes) allowed for a PAC script. Responses exceeding
48 // Convert |bytes| (which is encoded by |charset|) in place to UTF8.
50 void ConvertResponseToUTF8(const std::string& charset, std::string* bytes) {
65 base::CodepageToWide(*bytes, codepage,
69 *bytes = WideToUTF8(tmp_wide);
86 virtual int Fetch(const GURL& url, std::string* bytes,
102 // Read more bytes from the response.
143 // Holds the bytes read so far. Will not exceed |max_response_bytes|. This
168 std::string* bytes,
174 DCHECK(bytes);
    [all...]
  /external/libvpx/vp8/encoder/x86/
preproc_mmx.c 30 void (*temp_filter)(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int bytes, int strength);
39 * int bytes : Number of bytes to filter.
56 int bytes,
91 while (byte < bytes);
159 while (byte < bytes);
173 * int bytes : Number of bytes to filter.
190 int bytes,
225 while (byte < bytes);
    [all...]
  /frameworks/base/services/audioflinger/
AudioHardwareStub.cpp 128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes)
131 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate());
132 return bytes;
174 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes)
177 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate());
178 memset(buffer, 0, bytes);
179 return bytes;
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
AbstractSessionContext.java 179 * Converts the given session to bytes.
181 * @return session data as bytes or null if the session can't be converted
223 * Creates a session from the given bytes.
301 private final byte[] bytes; field in class:ByteArray
303 ByteArray(byte[] bytes) {
304 this.bytes = bytes;
309 return Arrays.hashCode(bytes);
316 return Arrays.equals(bytes, other.bytes);
    [all...]
  /libcore/luni/src/test/java/tests/api/java/io/
PipedInputStreamTest.java 30 public byte bytes[]; field in class:PipedInputStreamTest.PWriter
34 pos.write(bytes);
40 System.out.println("Could not write bytes");
46 bytes = new byte[nbytes];
47 for (int i = 0; i < bytes.length; i++) {
48 bytes[i] = (byte) (System.currentTimeMillis() % 9);
121 assertTrue("Available returned incorrect number of bytes: "
161 assertEquals("Non-conected pipe returned non-zero available bytes", 0,
171 assertEquals("Available returned incorrect number of bytes", 1000, pis
189 assertEquals("Available returned incorrect number of bytes", 1000, pi
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
Channels.java 60 * @return an InputStream that takes bytes from the given byte channel.
80 * @return an OutputStream that puts bytes onto the given byte channel.
97 * @return a byte channel that reads bytes from the input stream.
115 * @return a byte channel that writes bytes to the output stream.
122 * Returns a reader that decodes bytes from a channel.
140 * Returns a reader that decodes bytes from a channel. This method creates a
158 * {@code encoder} and sends the bytes to the specified channel.
177 * {@code encoder} and sends the bytes to the specified channel. This method
196 static ByteBuffer wrapByteBuffer(byte[] bytes, int offset, int length) {
197 ByteBuffer buffer = ByteBuffer.wrap(bytes);
415 ByteBuffer bytes; field in class:Channels.ByteChannelReader
    [all...]
  /bootable/recovery/applypatch/
main.c 38 size_t bytes = strtol(argv[2], &endptr, 10); local
39 if (bytes == 0 && endptr == argv[2]) {
43 return CacheSizeCheck(bytes);
169 " or %s -s <bytes>\n"
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DERUTCTime.java 92 byte[] bytes)
97 char[] dateC = new char[bytes.length];
101 dateC[i] = (char)(bytes[i] & 0xff);
  /external/protobuf/java/src/main/java/com/google/protobuf/
CodedInputStream.java 202 // Fast path: We already have the bytes in a contiguous buffer, so
263 /** Read a {@code bytes} field value from the stream. */
267 // Fast path: We already have the bytes in a contiguous buffer, so
353 * read any bytes after the end of the varint. If you simply wrapped the
453 * thus always taking 10 bytes on the wire.)
467 * thus always taking 10 bytes on the wire.)
487 * The total number of bytes read before the current buffer. The total
488 * bytes read up to the current position can be computed as
579 * <p>Note that {@code pushLimit()} does NOT affect how many bytes the
628 * Returns the number of bytes to be read before the current limit
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/micro/
CodedInputStreamMicro.java 199 // Fast path: We already have the bytes in a contiguous buffer, so
237 /** Read a {@code bytes} field value from the stream. */
241 // Fast path: We already have the bytes in a contiguous buffer, so
327 * read any bytes after the end of the varint. If you simply wrapped the
409 * thus always taking 10 bytes on the wire.)
423 * thus always taking 10 bytes on the wire.)
443 * The total number of bytes read before the current buffer. The total
444 * bytes read up to the current position can be computed as
572 * Returns the number of bytes to be read before the current limit.
594 * Called with {@code this.buffer} is empty to read more bytes from th
    [all...]
  /frameworks/base/core/java/android/content/pm/
Signature.java 113 byte[] bytes = new byte[mSignature.length];
114 System.arraycopy(mSignature, 0, bytes, 0, mSignature.length);
115 return bytes;
  /libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/
FileURLConnection.java 89 * Returns the length of the file in bytes.
149 ByteArrayOutputStream bytes = new java.io.ByteArrayOutputStream(); local
150 PrintStream out = new PrintStream(bytes);
160 return new ByteArrayInputStream(bytes.toByteArray());
  /libcore/luni/src/test/java/libcore/java/text/
OldAttributedCharacterIteratorAttributeTest.java 160 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
161 out = new ObjectOutputStream(bytes);
169 in = new ObjectInputStream(new ByteArrayInputStream(bytes
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
GeneralName.java 137 * component is doubled (to 8 and 32 bytes respectively).
223 * name is an array of bytes such as:
229 * component is doubled (to 8 and 32 bytes respectively).
278 * [7] iPAddress - array of bytes such as:
284 * component is doubled (to 8 and 32 bytes respectively).
583 byte[] bytes = dns.toLowerCase().getBytes(Charsets.UTF_8);
586 for (int i=0; i<bytes.length; i++) {
587 byte ch = bytes[i];
589 if ((bytes.length > 2) && (ch == '*') && (bytes[1] == '.'))
    [all...]
  /bionic/libc/bionic/
dlmalloc.h 70 Returns a pointer to a newly allocated chunk of at least n bytes, or
75 size is 16 bytes on most 32bit systems, and 32 bytes on 64bit
95 Returns a pointer to n_elements * element_size bytes, with all locations
103 as does chunk p up to the minimum of (n, p's size) bytes, or null
115 if n is for fewer bytes than already held by p, the newly unused
127 Returns a pointer to a newly allocated chunk of n bytes, aligned
171 Returns the number of bytes obtained from the system. The total
172 number of bytes allocated by malloc, realloc etc., is less than this
182 Returns the number of bytes that the heap is allowed to obtai
    [all...]
  /external/blktrace/
blktrace.h 23 #define t_sec(t) ((t)->bytes >> 9)
24 #define t_kb(t) ((t)->bytes >> 10)
113 t->bytes = be32_to_cpu(t->bytes);
  /external/chromium/net/base/
file_stream.h 61 // Returns the number of bytes available to read from the current stream
66 // buf_len bytes will be copied into buf. (In other words, partial reads are
67 // allowed.) Returns the number of bytes copied, 0 if at end-of-file, or an
86 // Performs the same as Read, but ensures that exactly buf_len bytes
88 // end-of-file or fatal error. Returns the number of bytes copied into buf,
89 // 0 if at end-of-file and no bytes have been read into buf yet,
94 // buf_len bytes will be written from buf. (In other words, partial writes are
95 // allowed.) Returns the number of bytes written, or an error code if the
114 // Truncates the file to be |bytes| length. This is only valid for writable
115 // files. After truncation the file stream is positioned at |bytes|. The ne
    [all...]
  /external/chromium/third_party/icu/source/common/
ucnv_cnv.c 48 const char *bytes, int32_t length,
56 /* write bytes */
59 *t++=*bytes++;
65 *t++=*bytes++;
79 *t++=(uint8_t)*bytes++;
  /external/dhcpcd/
lpf.c 157 ssize_t bytes; local
164 bytes = read(fd, data, len);
165 if (bytes == -1)
167 return bytes;
  /external/icu4c/common/
ucnv_cnv.c 48 const char *bytes, int32_t length,
56 /* write bytes */
59 *t++=*bytes++;
65 *t++=*bytes++;
79 *t++=(uint8_t)*bytes++;
  /external/libffi/src/alpha/
ffi.c 50 /* Adjust cif->bytes to represent a minimum 6 words for the temporary
52 if (cif->bytes < 6*FFI_SIZEOF_ARG)
53 cif->bytes = 6*FFI_SIZEOF_ARG;
92 argp = stack = alloca(cif->bytes + 4*FFI_SIZEOF_ARG);
168 ffi_call_osf(stack, cif->bytes, cif->flags, rvalue, fn);
  /external/libffi/src/powerpc/
ffi.c 68 | Return address from ffi_call_SYSV 4bytes | higher addresses
92 const unsigned bytes = ecif->cif->bytes; local
144 stacktop.c = (char *) stack + bytes;
156 FFI_ASSERT ((bytes & 0xF) == 0);
380 | Ret addr from ffi_call_LINUX64 8bytes | higher addresses
382 | CR save area 8bytes |
412 const unsigned long bytes = ecif->cif->bytes; local
455 stacktop.c = (char *) stack + bytes;
594 unsigned bytes; local
    [all...]
  /external/qemu/audio/
wavcapture.c 7 int bytes; member in struct:__anon5934
36 uint32_t datalen = wav->bytes;
59 wav->bytes += size;
74 monitor_printf(cur_mon, "Capturing audio(%d,%d,%d) to %s: %d bytes\n",
76 path ? path : "<not available>", wav->bytes);
  /external/qemu/block/
cloop.c 107 uint32_t bytes = s->offsets[block_num+1]-s->offsets[block_num]; local
110 ret = read(s->fd, s->compressed_block, bytes);
111 if (ret != bytes)
115 s->zstream.avail_in = bytes;

Completed in 744 milliseconds

<<11121314151617181920>>