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

1 2 3 45 6 7 8 91011>>

  /external/strace/
sock.c 60 unsigned char *bytes; local
174 bytes = (unsigned char *) &ifr.ifr_hwaddr.sa_data;
176 bytes[0], bytes[1], bytes[2],
177 bytes[3], bytes[4], bytes[5]);
  /frameworks/av/drm/common/
ReadWriteUtils.cpp 46 char* bytes = new char[length]; local
47 if (length == read(fd, (void*) bytes, length)) {
48 string.append(bytes, length);
50 delete[] bytes;
  /frameworks/base/core/java/com/android/internal/http/multipart/
ByteArrayPartSource.java 50 private byte[] bytes; field in class:ByteArrayPartSource
55 * @param fileName the name of the file these bytes represent
56 * @param bytes the content of this part
58 public ByteArrayPartSource(String fileName, byte[] bytes) {
61 this.bytes = bytes;
69 return bytes.length;
83 return new ByteArrayInputStream(bytes);
  /frameworks/base/media/mca/filterfw/jni/
jni_vertex_frame.cpp 76 jbyte* bytes = env->GetByteArrayElements(data, NULL); local
77 if (bytes) {
78 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset),
80 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT);
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
UnsafeByteSequence.java 31 private byte[] bytes; field in class:UnsafeByteSequence
35 this.bytes = new byte[initialCapacity];
51 if (count + length >= bytes.length) {
53 System.arraycopy(bytes, 0, newBytes, 0, count);
54 bytes = newBytes;
56 System.arraycopy(buffer, offset, bytes, count, length);
61 if (count == bytes.length) {
63 System.arraycopy(bytes, 0, newBytes, 0, count);
64 bytes = newBytes;
66 bytes[count++] = (byte) b
    [all...]
  /frameworks/opt/net/voip/src/jni/rtp/
GsmCodec.cpp 62 unsigned char *bytes = (unsigned char *)payload; local
65 gsm_decode(mDecode, bytes, &samples[n]) == 0) {
68 bytes += 33;
  /libcore/luni/src/main/java/libcore/icu/
CollationKeyICU.java 22 private final byte[] bytes; field in class:CollationKeyICU
29 CollationKeyICU(String source, byte[] bytes) {
31 this.bytes = bytes;
35 // Get the bytes from the other collation key.
38 rhsBytes = ((CollationKeyICU) other).bytes;
43 if (bytes == null || bytes.length == 0) {
54 int count = Math.min(bytes.length, rhsBytes.length);
56 int s = bytes[i] & 0xff
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BitString.java 38 public final byte[] bytes; field in class:BitString
44 * @param bytes array of bytes that represents bit string,
49 public BitString(byte[] bytes, int unusedBits) {
55 if (bytes.length == 0 && unusedBits != 0) {
59 this.bytes = bytes;
69 bytes = new byte[size];
78 return (bytes[index] & SET_MASK[offset]) != 0;
85 bytes[index] |= SET_MASK[offset]
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Streams.java 57 * Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
64 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throws
65 * EOFException if insufficient bytes are available.
105 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
109 bytes.write(buffer, 0, count);
111 return bytes.toByteArray();
138 * Skip <b>at most</b> {@code byteCount} bytes from {@code in} by calling read
139 * repeatedly until either the stream is exhausted or we read fewer bytes than
176 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
DataOutputStreamTest.java 26 private ByteArrayOutputStream bytes = new ByteArrayOutputStream(); field in class:DataOutputStreamTest
27 private DataOutputStream os = new DataOutputStream(bytes);
32 assertEquals("[01, 00]", toHexString(bytes.toByteArray()));
42 assertEquals("[ff, 00, 01, 81, 34]", toHexString(bytes.toByteArray()));
48 assertEquals("[30, 34, 31]", toHexString(bytes.toByteArray()));
55 assertEquals("[00, 30, 12, 34]", toHexString(bytes.toByteArray()));
61 assertEquals("[00, 30, 12, 34, 00, 31]", toHexString(bytes.toByteArray()));
66 assertEquals("[01, 23, 45, 67, 89, ab, cd, ef]", toHexString(bytes.toByteArray()));
71 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray()));
76 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray()))
    [all...]
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
ShareMockupAction.java 54 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local
55 mockup.compress(Bitmap.CompressFormat.PNG, 100, bytes);
61 fo.write(bytes.toByteArray());
  /bionic/libc/upstream-netbsd/lib/libc/isc/
ev_streams.c 49 static void consume(evStream *str, size_t bytes);
233 consume(evStream *str, size_t bytes) {
234 while (bytes > 0U) {
235 if (bytes < (size_t)str->iovCur->iov_len) {
236 str->iovCur->iov_len -= bytes;
238 ((u_char *)str->iovCur->iov_base + bytes);
239 str->ioDone += bytes;
240 bytes = 0;
242 bytes -= str->iovCur->iov_len;
268 /* Dribble out some bytes on the stream. (Called by evDispatch().) *
272 int bytes; local
295 int bytes; local
    [all...]
  /bionic/linker/
linker_allocator.cpp 25 uint8_t bytes[PAGE_SIZE-sizeof(LinkerAllocatorPage*)]; member in struct:LinkerAllocatorPage
71 ssize_t offset = reinterpret_cast<uint8_t*>(block) - page->bytes;
106 FreeBlockInfo* first_block = reinterpret_cast<FreeBlockInfo*>(page->bytes);
  /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);
188 " or %s -s <bytes>\n"
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERInteger.java 14 byte[] bytes; field in class:DERInteger
79 bytes = BigInteger.valueOf(value).toByteArray();
88 bytes = value.toByteArray();
95 byte[] bytes)
97 this.bytes = bytes;
102 return new BigInteger(bytes);
111 return new BigInteger(1, bytes);
121 return 1 + StreamUtil.calculateBodyLength(bytes.length) + bytes.length
    [all...]
  /external/chromium_org/android_webview/native/
input_stream_impl.cc 34 // Maximum number of bytes to be read in a single read.
61 int bytes = Java_InputStreamUtil_available(env, jobject_.obj()); local
62 if (bytes == kExceptionThrownStatusCode)
64 *bytes_available = bytes;
70 int bytes = Java_InputStreamUtil_skip(env, jobject_.obj(), n); local
71 if (bytes < 0)
73 if (bytes > n)
75 *bytes_skipped = bytes;
  /external/chromium_org/base/metrics/
bucket_ranges.cc 13 // Static table of checksums for all possible 8 bit bytes.
76 unsigned char bytes[sizeof(HistogramBase::Sample)]; member in union:base::__anon7003
80 sum = kCrcTable[(sum & 0xff) ^ converter.bytes[i]] ^ (sum >> 8);
84 // and we don't care about edge cases since we have an even number of bytes.
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPathByteStream.h 32 unsigned char bytes[sizeof(DataType)]; member in union:blink::ByteType
  /external/chromium_org/third_party/leveldatabase/src/util/
bloom.cc 36 // Compute bloom filter size (in both bits and bytes)
43 size_t bytes = (bits + 7) / 8; local
44 bits = bytes * 8;
47 dst->resize(init_size + bytes, 0);
  /external/chromium_org/third_party/libwebp/webp/
mux_types.h 59 const uint8_t* bytes; member in struct:WebPData
74 free((void*)webp_data->bytes);
84 if (src->bytes != NULL && src->size != 0) {
85 dst->bytes = (uint8_t*)malloc(src->size);
86 if (dst->bytes == NULL) return 0;
87 memcpy((void*)dst->bytes, src->bytes, src->size);
  /external/chromium_org/third_party/skia/src/core/
SkChecksum.h 60 * @param size Size of the data block in bytes. Must be a multiple of 4.
64 static uint32_t Murmur3(const uint32_t* data, size_t bytes, uint32_t seed=0) {
70 SkASSERTF(SkIsAlign4(bytes), "Expected 4-byte multiple, got %zu", bytes); local
71 const size_t words = bytes/4;
86 hash ^= bytes;
100 * @param size Size of the data block in bytes. Must be a multiple of 4.
  /external/chromium_org/third_party/skia/src/images/
SkJpegUtility.cpp 53 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local
56 if (bytes == 0) {
61 src->current_offset += bytes;
64 src->bytes_in_buffer = bytes;
74 size_t bytes = src->fStream->skip(bytesToSkip); local
75 if (bytes <= 0 || bytes > bytesToSkip) {
76 // SkDebugf("xxxxxxxxxxxxxx failure to skip request %d returned %d\n", bytesToSkip, bytes);
81 src->current_offset += bytes;
83 bytesToSkip -= bytes;
    [all...]
  /external/chromium_org/third_party/skia/src/utils/
SkBase64.cpp 45 unsigned char bytes[4]; local
56 bytes[byte] = decoded;
80 int one = (uint8_t) (bytes[0] << 2);
81 two = bytes[1];
84 three = bytes[2];
87 three |= bytes[3];
  /external/dhcpcd/
bpf.c 167 ssize_t bytes; local
180 bytes = read(fd, iface->buffer, iface->buffer_size);
181 if (bytes == -1)
183 else if ((size_t)bytes < sizeof(packet))
185 iface->buffer_len = bytes;
188 bytes = -1;
197 bytes = packet.bh_caplen - ETHER_HDR_LEN;
198 if (bytes > len)
199 bytes = len;
200 memcpy(data, payload, bytes);
    [all...]
  /external/elfutils/0.153/libdw/
dwarf_nextcu.c 95 const unsigned char *bytes = data + off; local
118 4. A 1-byte unsigned integer representing the size in bytes of
122 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes);
147 length = read_8ubyte_unaligned_inc (dwarf, bytes);
150 uint_fast16_t version = read_2ubyte_unaligned_inc (dwarf, bytes);
155 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size,
160 uint8_t address_size = *bytes++;
164 uint64_t type_sig8 = read_8ubyte_unaligned_inc (dwarf, bytes);
167 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size,
172 if (unlikely (type_offset < (size_t) (bytes - (data + off)))
    [all...]

Completed in 1329 milliseconds

1 2 3 45 6 7 8 91011>>