HomeSort by relevance Sort by last modified time
    Searched full:bytes (Results 101 - 125 of 5664) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/base/cmds/keystore/
keystore_get.h 38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or
42 uint8_t bytes[2] = {length >> 8, length}; local
54 if (send(sock, &code, 1, 0) == 1 && send(sock, bytes, 2, 0) == 2 &&
57 recv(sock, &bytes[0], 1, 0) == 1 && recv(sock, &bytes[1], 1, 0) == 1) {
59 length = bytes[0] << 8 | bytes[1];
  /hardware/broadcom/wlan/bcm4329/src/include/
sdioh.h 110 /* SD_SysAddr: Offset 0x0000, Size 4 bytes */
112 /* SD_BlockSize: Offset 0x004, Size 2 bytes */
118 /* SD_BlockCount: Offset 0x006, size 2 bytes */
120 /* SD_Arg0: Offset 0x008, size = 4 bytes */
121 /* SD_TransferMode Offset 0x00C, size = 2 bytes */
133 /* SD_Command: Offset 0x00E, size = 2 bytes */
159 /* SD_BufferDataPort0 : Offset 0x020, size = 2 or 4 bytes */
160 /* SD_BufferDataPort1 : Offset 0x022, size = 2 bytes */
161 /* SD_PresentState : Offset 0x024, size = 4 bytes */
191 /* SD_HostCntrl: Offset 0x028, size = 1 bytes */
    [all...]
  /packages/apps/CertInstaller/src/com/android/certinstaller/
Util.java 47 static <T> T fromBytes(byte[] bytes) {
48 if (bytes == null) return null;
51 new ObjectInputStream(new ByteArrayInputStream(bytes));
59 static String toMd5(byte[] bytes) {
63 algorithm.update(bytes);
72 private static String toHexString(byte[] bytes, String separator) {
74 for (byte b : bytes) {
  /external/svox/pico/lib/
picoklex.h 70 /* nr of bytes used for pos and index, needs to fit in uint32, ie. max 4 */
72 /* nr of bytes used for index, needs to fit in uint32, ie. max 4 */
74 /* max len (in bytes) of ind, (PICOKLEX_MAX_NRRES * PICOKLEX_POSIND_SIZE) */
80 POS1-byte, IND1-bytes, POS2-byte, IND2-bytes, etc.
82 the IND-bytes are the byte position(s) in the lexblocks part of the
91 picoos_uint8 posindlen; /* number of posind bytes */
106 PICOKLEX_IND_SIZE bytes are used for the index, these ind bytes are
114 /** lookup lex entry by index ind; ind is a sequence of bytes wit
    [all...]
  /external/webkit/WebCore/platform/text/
TextCodecUserDefined.cpp 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, bool, bool, bool&)
58 signed char c = bytes[i];
68 char* bytes = result.data(); local
76 bytes[resultLength++] = signedByte;
82 bytes = result.data();
83 memcpy(bytes + resultLength, replacement, replacementLength);
88 return CString(bytes, resultLength);
93 char* bytes; local
94 CString string = CString::newUninitialized(length, bytes);
100 bytes[i] = c
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
BaseDumper.java 38 private final byte[] bytes; field in class:BaseDumper
40 /** whether or not to include the raw bytes (in a column on the left) */
58 /** number of bytes per line in hex dumps */
76 * @param bytes {@code non-null;} bytes of the (alleged) class file
82 public BaseDumper(byte[] bytes, PrintStream out,
84 this.bytes = bytes;
126 public void parsed(ByteArray bytes, int offset, int len, String human) {
127 offset = bytes.underlyingOffset(offset, getBytes())
    [all...]
  /external/skia/include/core/
SkChunkAlloc.h 44 void* alloc(size_t bytes, AllocFailType);
45 void* allocThrow(size_t bytes) {
46 return this->alloc(bytes, kThrow_AllocFailType);
50 success, the number of bytes freed is returned, or 0 if the block could
66 Block* newBlock(size_t bytes, AllocFailType ftype);
  /frameworks/base/tests/CoreTests/android/core/
Sha1Test.java 56 private static String encodeHex(byte[] bytes) {
57 StringBuffer hex = new StringBuffer(bytes.length * 2);
59 for (int i = 0; i < bytes.length; i++) {
60 if (((int) bytes[i] & 0xff) < 0x10) {
63 hex.append(Integer.toString((int) bytes[i] & 0xff, 16));
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
DERBitString.java 64 * return the correct number of bytes for a bit string defined in
69 int bytes = 4; local
76 bytes--;
79 byte[] result = new byte[bytes];
80 for (int i = 0; i < bytes; i++)
103 byte[] bytes = ((ASN1OctetString)obj).getOctets();
104 int padBits = bytes[0];
105 byte[] data = new byte[bytes.length - 1];
107 System.arraycopy(bytes, 1, data, 0, bytes.length - 1)
216 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local
    [all...]
  /external/srec/shared/include/
CircularBuffer.h 75 * @param capacity the capacity in number of bytes of the data buffer.
87 * Returns the current size (number of bytes) in the buffer.
114 * Reads requested number of bytes from the circular buffer.
117 * @param data Pointer to where to store read bytes.
118 * @param bufSize The number of bytes to read from the circular buffer.
120 * @return the number of bytes that were read. A negative value indicates an
127 * Skips requested number of bytes from the circular buffer.
130 * @param bufSize The number of bytes to skip from the circular buffer.
132 * @return the number of bytes that were skipped. A negative value indicates an
139 * Writes requested number of bytes from the circular buffer
    [all...]
  /external/webkit/WebKit/mac/Misc/
WebNSDataExtras.m 115 const UInt8 *bytes = [self bytes];
119 const char *p = (const char *)bytes;
175 const char *bytes = [self bytes];
177 const char *p = bytes;
201 p = bytes;
231 if ((length >= VCARD_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCARD", VCARD_HEADER_LENGTH) == 0) {
234 if ((length >= VCAL_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCALENDAR", VCAL_HEADER_LENGTH) == 0) {
241 char c = bytes[i]
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/io/
InputStreamTest.java 168 assertEquals("Test 1: Incorrect count of bytes read.",
174 assertTrue("Test 1: Wrong bytes read.", equal);
176 // Test 2: Test that the correct number of bytes read is returned
177 // if the source has less bytes available than fit in the buffer.
180 assertEquals("Test 2: Incorrect count of bytes read.",
186 assertTrue("Test 2: Wrong bytes read.", equal);
266 assertEquals("Test 1: Incorrect count of bytes read.",
272 assertTrue("Test 1: Wrong bytes read.", equal);
275 assertEquals("Test 2: Incorrect count of bytes read.",
281 assertTrue("Test 2: Wrong bytes read.", equal)
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/input/
NullInputStream.java 34 * large numbers of bytes - significantly speeding up
52 * protected void processBytes(byte[] bytes, int offset, int length) {
54 * bytes[i] = ... // set array value here
119 * Return the number of bytes that can be read.
121 * @return The number of bytes that can be read.
149 * @param readlimit The number of bytes before this marked position
192 * Read some bytes into the specified array.
194 * @param bytes The byte array to read into
195 * @return The number of bytes read or <code>-1</code>
202 public int read(byte[] bytes) throws IOException {
    [all...]
TeeInputStream.java 24 * InputStream proxy that transparently writes a copy of all bytes read
27 * bytes from the input stream being skipped or duplicated in the output
40 * The output stream that will receive a copy of all bytes read from the
53 * and copies all read bytes to the given {@link OutputStream}. The given
57 * @param branch output stream that will receive a copy of all bytes read
65 * and copies all read bytes to the given {@link OutputStream}. The given
70 * @param branch output stream that will receive a copy of all bytes read
114 * Reads bytes from the proxied input stream and writes the read bytes
119 * @param end maximum number of bytes to read
    [all...]
  /bootable/recovery/minzip/
Bits.h 4 * Some handy functions for manipulating bits and bytes.
23 * Get 2 big-endian bytes.
36 * Get 4 big-endian bytes.
51 * Get 8 big-endian bytes.
70 * Get 2 little-endian bytes.
83 * Get 4 little-endian bytes.
98 * Get 8 little-endian bytes.
125 * Grab 2 big-endian bytes and advance the data pointer.
138 * Grab 4 big-endian bytes and advance the data pointer.
153 * Get 8 big-endian bytes
    [all...]
  /cts/tools/dx-tests/src/dxconvext/
ClassFileAssembler.java 57 // 2. modify some bytes to damage the structure of the .class file in a
60 // Uncomment the original bytes, and write "MOD:" meaning a modified
65 // file, parses them as hex values and writes the bytes to the class file
126 * @param bytes non-null; the bytes of the file
128 private void calcSignature(byte[] bytes) {
137 md.update(bytes, 32, bytes.length - 32);
140 int amt = md.digest(bytes, 12, 20);
143 " bytes");
    [all...]
  /dalvik/vm/
Bits.h 17 * Some handy functions for manipulating bits and bytes.
39 * Get 2 big-endian bytes.
47 * Get 4 big-endian bytes.
55 * Get 8 big-endian bytes.
74 * Get 2 little-endian bytes.
82 * Get 4 little-endian bytes.
97 * Get 8 little-endian bytes.
123 * Grab 2 big-endian bytes and advance the data pointer.
134 * Grab 4 big-endian bytes and advance the data pointer.
151 * Get 8 big-endian bytes and advance the data pointer
    [all...]
  /dalvik/libcore/nio/src/main/java/java/nio/channels/
GatheringByteChannel.java 30 * Writes bytes from all the given buffers to a channel.
35 * the buffers containing bytes to be written.
36 * @return the number of bytes actually written.
59 * Attempts to write all <code>remaining()</code> bytes from {@code length}
61 * of bytes actually written is returned.
67 * the array of byte buffers that is the source for bytes written
70 * the index of the first buffer in {@code buffers }to get bytes
73 * the number of buffers to get bytes from.
74 * @return the number of bytes actually written.
ScatteringByteChannel.java 30 * Reads bytes from this channel into the specified array of buffers.
35 * the array of byte buffers to store the bytes being read.
36 * @return the number of bytes actually read.
55 * Attempts to read all {@code remaining()} bytes from {@code length} byte
57 * bytes actually read is returned.
63 * the array of byte buffers into which the bytes will be copied.
65 * the index of the first buffer to store bytes in.
67 * the maximum number of buffers to store bytes in.
68 * @return the number of bytes actually read.
  /external/opencore/codecs_v2/video/avc_h264/enc/src/
sad_inline.h 50 x7 = x7 ^ src1; /* only odd bytes need to add carry */
114 x5 = x5 + x10; /* accumulate low bytes */
116 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
117 x5 = x5 + x11; /* accumulate low bytes */
119 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
133 x5 = x5 + x10; /* accumulate low bytes */
135 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
136 x5 = x5 + x11; /* accumulate low bytes */
138 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
141 x10 = x5 - (x4 << 8); /* extract low bytes */
    [all...]
  /external/opencore/codecs_v2/video/m4v_h263/enc/src/
sad_inline.h 55 x7 = x7 ^ src1; /* only odd bytes need to add carry */
119 x5 = x5 + x10; /* accumulate low bytes */
121 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
122 x5 = x5 + x11; /* accumulate low bytes */
124 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
138 x5 = x5 + x10; /* accumulate low bytes */
140 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
141 x5 = x5 + x11; /* accumulate low bytes */
143 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
146 x10 = x5 - (x4 << 8); /* extract low bytes */
    [all...]
  /external/openssl/crypto/rand/
rand_egd.c 66 * RAND_query_egd_bytes(path, buf, bytes)
67 * will actually query "bytes" bytes of entropy form the egd-socket located
70 * The number of bytes is not limited by the maximum chunk size of EGD,
71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks
72 * of entropy bytes are requested. The connection is left open until the
76 * num the number of bytes read from the EGD socket. This number is either
77 * the number of bytes requested or smaller, if the EGD pool is
82 * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have the
    [all...]
  /external/qemu/audio/
noaudio.c 47 int64_t bytes; local
56 bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec;
57 bytes = audio_MIN (bytes, INT_MAX);
58 samples = bytes >> hw->info.shift;
112 int64_t bytes = (ticks * hw->info.bytes_per_second) / ticks_per_sec; local
115 bytes = audio_MIN (bytes, INT_MAX);
116 samples = bytes >> hw->info.shift;
  /dalvik/libcore/luni/src/main/java/java/io/
ByteArrayInputStream.java 31 * The {@code byte} array containing the bytes to stream over.
47 * The total number of bytes initially available in the byte array
68 * number of bytes available set to {@code offset} + {@code length}.
75 * the number of bytes available for streaming.
88 * Returns the number of remaining bytes.
150 * Reads at most {@code len} bytes from this stream and stores
152 * implementation reads bytes from the source byte array.
155 * the byte array in which to store the bytes read.
157 * the initial position in {@code b} to store the bytes read from
160 * the maximum number of bytes to store in {@code b}
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/ataricommon/
SDL_ataric2p_s.h 39 Uint32 srcpitch, /* Length of one source line in bytes */
40 Uint32 dstpitch /* Length of one destination line in bytes */
53 Uint32 srcpitch, /* Length of one source line in bytes */
54 Uint32 dstpitch /* Length of one destination line in bytes */
67 Uint32 srcpitch, /* Length of one source line in bytes */
68 Uint32 dstpitch /* Length of one destination line in bytes */

Completed in 153 milliseconds

1 2 3 45 6 7 8 91011>>