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

1 2 3 45 6 7 8 91011>>

  /external/valgrind/main/none/tests/s390x/
trot.stdout.exp 1 0 bytes translated
3 0 bytes translated
5 0 bytes translated
7 3 bytes translated
9 10 bytes translated
11 2 bytes translated
13 3 bytes translated
15 9 bytes translated
trto.stdout.exp 1 0 bytes translated
3 0 bytes translated
5 0 bytes translated
7 6 bytes translated
9 10 bytes translated
11 2 bytes translated
13 0 bytes translated
15 9 bytes translated
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Strings.java 10 public static String fromUTF8ByteArray(byte[] bytes)
15 while (i < bytes.length)
18 if ((bytes[i] & 0xf0) == 0xf0)
24 else if ((bytes[i] & 0xe0) == 0xe0)
28 else if ((bytes[i] & 0xc0) == 0xc0)
43 while (i < bytes.length)
47 if ((bytes[i] & 0xf0) == 0xf0)
49 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << 6) | (bytes[i+3] & 0x3F)
    [all...]
BigIntegers.java 23 byte[] bytes = value.toByteArray();
25 if (bytes[0] == 0)
27 byte[] tmp = new byte[bytes.length - 1];
29 System.arraycopy(bytes, 1, tmp, 0, tmp.length);
34 return bytes;
45 byte[] bytes = value.toByteArray();
46 if (bytes.length == length)
48 return bytes;
51 int start = bytes[0] == 0 ? 1 : 0;
52 int count = bytes.length - start
    [all...]
  /art/runtime/jdwp/
jdwp_bits.h 35 static inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) {
36 bytes.push_back(value);
39 static inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) {
40 bytes.push_back(static_cast<uint8_t>(value >> 8));
41 bytes.push_back(static_cast<uint8_t>(value));
44 static inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) {
45 bytes.push_back(static_cast<uint8_t>(value >> 24));
46 bytes.push_back(static_cast<uint8_t>(value >> 16));
47 bytes.push_back(static_cast<uint8_t>(value >> 8));
48 bytes.push_back(static_cast<uint8_t>(value))
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkChunkAlloc.cpp 72 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) {
73 size_t size = bytes;
94 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) {
95 fTotalUsed += bytes;
97 bytes = SkAlign4(bytes);
101 if (block == NULL || bytes > block->fFreeSize) {
102 block = this->newBlock(bytes, ftype);
110 SkASSERT(block && bytes <= block->fFreeSize);
113 block->fFreeSize -= bytes;
119 size_t bytes = 0; local
    [all...]
  /external/skia/src/core/
SkChunkAlloc.cpp 72 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) {
73 size_t size = bytes;
94 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) {
95 fTotalUsed += bytes;
97 bytes = SkAlign4(bytes);
101 if (block == NULL || bytes > block->fFreeSize) {
102 block = this->newBlock(bytes, ftype);
110 SkASSERT(block && bytes <= block->fFreeSize);
113 block->fFreeSize -= bytes;
119 size_t bytes = 0; local
    [all...]
  /system/core/toolbox/upstream-netbsd/lib/libc/gen/
humanize_number.c 47 humanize_number(char *buf, size_t len, int64_t bytes,
90 if (bytes < 0) {
93 if (-bytes < INT64_MAX / 100)
94 bytes *= -100;
96 bytes = -bytes;
103 if (bytes < INT64_MAX / 100)
104 bytes *= 100;
132 for (i = 0; bytes >= max - 50 && i < maxscale; i++)
133 bytes /= divisor
    [all...]
  /frameworks/rs/
rsFifoSocket.cpp 52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) {
53 if (bytes == 0) {
56 //ALOGE("writeAsync %p %i", data, bytes);
57 size_t ret = ::send(sv[0], data, bytes, 0);
58 rsAssert(ret == bytes);
59 if (ret != bytes) {
60 ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret);
76 size_t FifoSocket::read(void *data, size_t bytes) {
81 //ALOGE("read %p %i", data, bytes);
82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstUtf8.java 35 /** {@code non-null;} the UTF-8 value as bytes */
36 private final ByteArray bytes; field in class:CstUtf8
44 * @return {@code non-null;} the UTF-8 bytes for it
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
54 bytes[outAt] = (byte) c;
57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80)
    [all...]
  /dalvik/dx/src/com/android/dx/rop/cst/
CstString.java 36 /** {@code non-null;} the UTF-8 value as bytes */
37 private final ByteArray bytes; field in class:CstString
44 * @return {@code non-null;} the UTF-8 bytes for it
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
54 bytes[outAt] = (byte) c;
57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80)
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/rop/cst/
CstString.java 36 /** {@code non-null;} the UTF-8 value as bytes */
37 private final ByteArray bytes; field in class:CstString
44 * @return {@code non-null;} the UTF-8 bytes for it
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
54 bytes[outAt] = (byte) c;
57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80)
    [all...]
  /libcore/luni/src/main/java/java/io/
InputStreamReader.java 33 * of bytes read from the source stream and converts these into characters as
45 private final ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:InputStreamReader
62 * character converter that is used to decode bytes into characters is
90 bytes.limit(0);
107 bytes.limit(0);
125 bytes.limit(0);
151 * bytes, or null if this writer has been closed. Most callers should probably keep
164 * with the two higher-order bytes set to 0. Returns -1 if the end of the
166 * converting bytes in this reader's buffer or by first filling the buffer
189 * been reached. The bytes are either obtained from converting bytes in thi
    [all...]
  /bionic/tests/
wchar_test.cpp 31 char bytes[] = { 'h', 'e', 'l', 'l', 'o', '\0' }; local
32 EXPECT_EQ(0U, mbrlen(&bytes[0], 0, NULL));
33 EXPECT_EQ(1U, mbrlen(&bytes[0], 1, NULL));
35 EXPECT_EQ(1U, mbrlen(&bytes[4], 1, NULL));
36 EXPECT_EQ(0U, mbrlen(&bytes[5], 1, NULL));
46 char bytes[MB_LEN_MAX]; local
49 EXPECT_EQ(1, wctomb(bytes, L'\0'));
50 EXPECT_EQ(1U, wcrtomb(bytes, L'\0', NULL));
53 memset(bytes, 0, sizeof(bytes));
117 char bytes[BUFSIZ]; local
    [all...]
  /art/test/004-NativeAllocations/src/
Main.java 29 private int bytes; field in class:Main.NativeAllocation
31 NativeAllocation(int bytes) throws Exception {
32 this.bytes = bytes;
33 register_native_allocation.invoke(runtime, bytes);
35 nativeBytes += bytes;
44 nativeBytes -= bytes;
46 register_native_free.invoke(runtime, bytes);
  /dalvik/dx/src/com/android/dx/command/dump/
ClassDumper.java 32 * @param bytes {@code non-null;} bytes of the (alleged) class file
39 public static void dump(byte[] bytes, PrintStream out,
42 new ClassDumper(bytes, out, filePath, args);
50 private ClassDumper(byte[] bytes, PrintStream out,
52 super(bytes, out, filePath, args);
59 byte[] bytes = getBytes();
60 ByteArray ba = new ByteArray(bytes);
69 if (at != bytes.length) {
70 parsed(ba, at, bytes.length - at, "<extra data at end of file>")
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
PBEParametersGenerator.java 24 * @param password the password converted into bytes (see below).
108 byte[] bytes = new byte[password.length];
110 for (int i = 0; i != bytes.length; i++)
112 bytes[i] = (byte)password[i];
115 return bytes;
145 * PKCS12 (unicode, big endian, 2 zero pad bytes at the end).
155 // +1 for extra 2 pad bytes.
156 byte[] bytes = new byte[(password.length + 1) * 2];
160 bytes[i * 2] = (byte)(password[i] >>> 8);
161 bytes[i * 2 + 1] = (byte)password[i]
    [all...]
  /external/chromium_org/base/memory/
discardable_memory_manager.h 71 // The maximum number of bytes of memory that may be allocated before we force
73 void SetMemoryLimit(size_t bytes);
75 // The number of bytes of memory that may be allocated but unused for the hard
77 void SetSoftMemoryLimit(size_t bytes);
89 // limit for bytes to keep under moderate pressure.
90 void ReduceMemoryUsageUntilWithinLimit(size_t bytes);
93 void Register(Allocation* allocation, size_t bytes);
124 explicit AllocationInfo(size_t bytes) : bytes(bytes), purgable(false) {
126 const size_t bytes; member in struct:base::internal::DiscardableMemoryManager::AllocationInfo
    [all...]
  /external/chromium_org/components/rappor/
bloom_filter.h 19 // Constructs a BloomFilter using |bytes_size| bytes of Bloom filter bits,
32 const ByteVector& bytes() const { return bytes_; }; function in class:rappor::BloomFilter
34 // Sets bytes for testing purposes.
35 void SetBytesForTesting(const ByteVector& bytes);
  /external/chromium_org/net/tools/balsa/
buffer_interface.h 13 // Returns the bytes which can be read from the buffer. There is no
14 // guarantee that the bytes are contiguous.
24 // returns the number of bytes free in this buffer.
26 // number of bytes free.
42 // appends up-to-'size' bytes to the buffer.
44 // bytes - bytes which are read, and copied into the buffer.
45 // size - number of bytes which are read and copied.
47 virtual int Write(const char* bytes, int size) = 0;
57 // size - the amount of data (in bytes) that it is safe to write to ptr
    [all...]
  /external/chromium_org/skia/ext/
bitmap_platform_device.h 31 int64_t bytes = (int64_t)width * height * bytesPerPixel; local
32 return bytes > SKIA_EXT_RASTER_DEVICE_ALLOCATION_MAX;
  /external/chromium_org/third_party/leveldatabase/src/util/
arena.cc 24 char* Arena::AllocateFallback(size_t bytes) {
25 if (bytes > kBlockSize / 4) {
27 // to avoid wasting too much space in leftover bytes.
28 char* result = AllocateNewBlock(bytes);
37 alloc_ptr_ += bytes;
38 alloc_bytes_remaining_ -= bytes;
42 char* Arena::AllocateAligned(size_t bytes) {
47 size_t needed = bytes + slop;
55 result = AllocateFallback(bytes);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
radeon_llvm_emit.h 38 unsigned char ** bytes, unsigned * byte_count,
43 unsigned char ** bytes,
  /external/mesa3d/src/gallium/drivers/radeon/
radeon_llvm_emit.h 38 unsigned char ** bytes, unsigned * byte_count,
43 unsigned char ** bytes,
  /external/qemu/backends/
msmouse.c 38 unsigned char bytes[4] = { 0x40, 0x00, 0x00, 0x00 }; local
41 bytes[0] |= (MSMOUSE_HI2(dy) << 2) | MSMOUSE_HI2(dx);
42 bytes[1] |= MSMOUSE_LO6(dx);
43 bytes[2] |= MSMOUSE_LO6(dy);
46 bytes[0] |= (buttons_state & 0x01 ? 0x20 : 0x00);
47 bytes[0] |= (buttons_state & 0x02 ? 0x10 : 0x00);
48 bytes[3] |= (buttons_state & 0x04 ? 0x20 : 0x00);
53 qemu_chr_read(chr, bytes, 4);

Completed in 622 milliseconds

1 2 3 45 6 7 8 91011>>