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

1 2 3 4 5 6 7 891011>>

  /external/dhcpcd/
bpf.c 167 ssize_t bytes; local
177 bytes = read(fd, iface->buffer, iface->buffer_size);
178 if (bytes == -1)
180 else if ((size_t)bytes < sizeof(packet))
182 iface->buffer_len = bytes;
185 bytes = -1;
194 bytes = packet.bh_caplen - ETHER_HDR_LEN;
195 if (bytes > len)
196 bytes = len;
197 memcpy(data, payload, bytes);
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/attribute/
ExceptionsAttribute_info.java 113 final UDataInputStream bytes)
118 final int number_of_exceptions = bytes.readU2 ();
123 final int exception_index = bytes.readU2 ();
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
CONSTANT_NameAndType_info.java 93 protected CONSTANT_NameAndType_info (final UDataInputStream bytes) throws IOException
95 m_name_index = bytes.readU2 ();
96 m_descriptor_index = bytes.readU2 ();
  /external/icu4c/common/
bytestream.cpp 31 void CheckedArrayByteSink::Append(const char* bytes, int32_t n) {
40 if (n > 0 && bytes != (outbuf_ + size_)) {
41 uprv_memcpy(outbuf_ + size_, bytes, n);
  /external/icu4c/test/intltest/
testutil.cpp 54 UnicodeString TestUtility::hex(const uint8_t* bytes, int32_t len) {
57 buf.append(HEX[0x0F & (bytes[i] >> 4)]);
58 buf.append(HEX[0x0F & bytes[i]]);
  /external/libffi/src/cris/
ffi.c 161 unsigned bytes = 0; local
189 if (((*ptr)->alignment - 1) & bytes)
190 bytes = ALIGN (bytes, (*ptr)->alignment);
195 bytes += (*ptr)->size;
196 bytes += sizeof (void *);
201 bytes += 8;
203 bytes += 4;
207 bytes += STACK_ARG_SIZE ((*ptr)->size);
210 cif->bytes = bytes
    [all...]
  /external/openssl/crypto/rand/
rand.h 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st
110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
112 int RAND_egd_bytes(const char *path,int bytes);
  /external/openssl/include/openssl/
rand.h 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st
110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
112 int RAND_egd_bytes(const char *path,int bytes);
  /external/webkit/WebCore/platform/text/
CString.cpp 76 char* bytes = result.m_buffer->mutableData(); local
77 bytes[length] = '\0';
78 characterBuffer = bytes;
TextCodecLatin1.cpp 120 String TextCodecLatin1::decode(const char* bytes, size_t length, bool, bool, bool&)
128 unsigned char c = bytes[i];
138 unsigned char c = bytes[i];
148 char* bytes = result.data(); local
165 bytes = result.data();
166 memcpy(bytes + resultLength, replacement, replacementLength);
171 bytes[resultLength++] = b;
174 return CString(bytes, resultLength);
180 char* bytes; local
181 CString string = CString::newUninitialized(length, bytes);
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
BitwiseInputStream.java 96 int bytes = (bits >>> 3) + ((bits & 0x07) > 0 ? 1 : 0); // &7==%8 local
97 byte[] arr = new byte[bytes];
98 for (int i = 0; i < bytes; i++) {
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
RandomBitsSupplier.java 54 // chunks and not single bytes, the FileInputStream
118 * the method reads random bytes from the device. <BR>
124 byte[] bytes = new byte[numBytes];
132 bytesRead = bis.read(bytes, offset, numBytes-total);
155 return bytes;
175 * numBytes - length of bytes requested
SHA1PRNG_SecureRandomImpl.java 42 // constants to use in expressions operating on bytes in int and long variables:
43 // END_FLAGS - final bytes in words to append to message;
47 // LEFT - shifts to left for bytes
48 // MASK - mask to select counter's bytes after shift to right
61 // HASHBYTES_TO_USE defines # of bytes returned by "computeHash(byte[])"
63 // Note, that this implementation uses more bytes than it is defined
78 // MAX_BYTES - maximum # of seed bytes processing which doesn't require extra frame
107 // - 81 - # of seed bytes in current seed frame
111 // total length of seed bytes, including all processed
118 // - 21-36 - 16 word frame to store a copy of remaining bytes
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldNumberFormatFieldTest.java 45 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
46 ObjectOutputStream out = new ObjectOutputStream(bytes);
57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
  /libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
InflaterOutputStreamTest.java 259 byte[] bytes = { 0, 1, 2, 3 };
261 ios.write(bytes, 0, 4);
277 ios.write(bytes, 0, 4);
283 ios.write(bytes, -1, 4);
289 ios.write(bytes, -1, -4);
295 ios.write(bytes, 0, 400);
333 ios.write(bytes, -1, 4);
339 ios.write(bytes, 0, -4);
345 ios.write(bytes, 0, 100);
351 ios.write(bytes, -100, 100)
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
BERInputStream.java 40 * read a string of bytes representing an indefinite length object.
149 byte[] bytes = readIndefiniteLengthFully();
151 return new BERTaggedObject(false, tag & 0x1f, new DEROctetString(bytes));
202 byte[] bytes = new byte[length];
204 readFully(bytes);
206 return buildObject(tag, bytes);
  /external/emma/core/java12/com/vladium/jcd/parser/
ClassDefParser.java 36 public static ClassDef parseClass (final byte [] bytes)
39 if (bytes == null) throw new IllegalArgumentException ("null input: bytes");
41 classParser parser = new classParser (new UDataInputStream (new ByteArrayIStream (bytes)));
49 public static ClassDef parseClass (final byte [] bytes, final int length)
52 if (bytes == null) throw new IllegalArgumentException ("null input: bytes");
54 classParser parser = new classParser (new UDataInputStream (new ByteArrayIStream (bytes, length)));
63 public static ClassDef parseClass (final InputStream bytes)
66 if (bytes == null) throw new IllegalArgumentException ("null input: bytes")
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
IndexedPKIXParameters.java 41 final Map<Bytes, TrustAnchor> encodings
42 = new HashMap<Bytes, TrustAnchor>();
56 Bytes encoded = new Bytes(cert.getEncoded());
105 Bytes encoded = new Bytes(cert.getEncoded());
131 Bytes encoded = new Bytes(cert.getEncoded());
143 static class Bytes {
144 final byte[] bytes; field in class:IndexedPKIXParameters.Bytes
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetManager_AssetInputStreamTest.java 89 final byte[] bytes = CONTENT_STRING.getBytes();
91 assertEquals(bytes[i], mAssetInputStream.read());
96 assertEquals(bytes[i + readlimit], mAssetInputStream.read());
140 final byte[] bytes = CONTENT_STRING.getBytes();
145 assertEquals(bytes[i], mAssetInputStream.read());
156 assertEquals(bytes[i], data[i]);
161 assertEquals(bytes[i + dataLength], data[i]);
171 assertEquals(bytes[i], data[offset + i]);
178 assertEquals(bytes[i], data[offset + i]);
184 assertEquals(bytes[i + dataLength], data[offset + i])
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
DotDumper.java 44 private final byte[] bytes; field in class:DotDumper
50 static void dump(byte[] bytes, String filePath, Args args) {
51 new DotDumper(bytes, filePath, args).run();
54 DotDumper(byte[] bytes, String filePath, Args args) {
55 this.bytes = bytes;
63 ByteArray ba = new ByteArray(bytes);
93 public void parsed(ByteArray bytes, int offset, int len, String human) {
98 public void startParsingMember(ByteArray bytes, int offset, String name,
103 public void endParsingMember(ByteArray bytes, int offset, String name
    [all...]
  /external/chromium/third_party/icu/source/tools/toolutil/
ucm.h 41 * b if bLen<=4: up to 4 bytes
42 * else index to bLen bytes
44 * bLen number of words containing left-justified bytes
45 * bIsMultipleChars indicates that the bytes contain more than one sequence
54 uint8_t bytes[4]; member in union:UCMapping::__anon3265
74 uint8_t *bytes; member in struct:UCMTable
77 /* index map for mapping by bytes first */
114 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx)
128 /* @return -1 illegal bytes 0 suitable for base table 1 needs to go into extension table *
    [all...]
  /external/icu4c/tools/toolutil/
ucm.h 41 * b if bLen<=4: up to 4 bytes
42 * else index to bLen bytes
44 * bLen number of words containing left-justified bytes
45 * bIsMultipleChars indicates that the bytes contain more than one sequence
54 uint8_t bytes[4]; member in union:UCMapping::__anon4337
74 uint8_t *bytes; member in struct:UCMTable
77 /* index map for mapping by bytes first */
114 (((m)->bLen<=4) ? (m)->b.bytes : (t)->bytes+(m)->b.idx)
128 /* @return -1 illegal bytes 0 suitable for base table 1 needs to go into extension table *
    [all...]
  /external/tremolo/Tremolo/
framing.c 101 static ogg_buffer *_fetch_buffer(ogg_buffer_state *bs,long bytes){
111 if(ob->size<bytes){
112 ob->data=_ogg_realloc(ob->data,bytes);
113 ob->size=bytes;
118 ob->data=_ogg_malloc(bytes<16?16:bytes);
119 ob->size=bytes;
147 of at least [bytes] length */
148 static ogg_reference *ogg_buffer_alloc(ogg_buffer_state *bs,long bytes){
149 ogg_buffer *ob=_fetch_buffer(bs,bytes);
696 long bytes,ret=0; local
781 long bytes=next-now; local
787 long bytes=oy->fifo_tail->length; local
    [all...]
  /external/webkit/WebKit/mac/Plugins/
WebBasePluginPackage.mm 411 static inline void swapIntsInHeader(uint8_t* bytes, unsigned length)
414 *(uint32_t*)(bytes + i) = OSSwapInt32(*(uint32_t *)(bytes + i));
419 Vector<uint8_t, 512> bytes([data length]);
420 memcpy(bytes.data(), [data bytes], bytes.size());
426 if (bytes.size() >= sizeof(struct mach_header_64)) {
427 uint32_t magic = *reinterpret_cast<uint32_t*>(bytes.data());
431 struct mach_header* header = (struct mach_header*)bytes.data()
    [all...]
  /external/bison/lib/
bitset.c 36 /* Return number of bytes required to create a N_BIT bitset
37 of TYPE. The bitset may grow to require more bytes than this. */
41 size_t bytes; local
52 bytes = abitset_bytes (n_bits);
56 bytes = lbitset_bytes (n_bits);
60 bytes = ebitset_bytes (n_bits);
64 bytes = vbitset_bytes (n_bits);
68 return bytes;
136 size_t bytes; local
139 bytes = bitset_bytes (type, n_bits)
156 size_t bytes; local
    [all...]

Completed in 603 milliseconds

1 2 3 4 5 6 7 891011>>