/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_dma.c | 216 aligned to next 16 bytes. */ 267 int bytes, int alignment) 270 fprintf(stderr, "%s %d\n", __FUNCTION__, bytes); 281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size) 282 radeonRefillCurrentDmaRegion(rmesa, bytes); 288 /* Always align to at least 16 bytes */ 289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15; 454 GLuint bytes = vsize * nverts; local 460 ||rmesa->dma.current_vertexptr + bytes > first_elem(&rmesa->dma.reserved)->bo->size) { 465 radeonRefillCurrentDmaRegion(rmesa, bytes); [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texture.c | 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, local 75 swImg->Buffer = _mesa_align_malloc(bytes, 512); 181 * \param rowStrideOut returns row stride (in bytes)
|
/external/mtpd/ |
mtpd.c | 120 unsigned char bytes[2]; local 121 if (recv(control, &bytes[0], 1, 0) != 1 || 122 recv(control, &bytes[1], 1, 0) != 1) { 126 int length = bytes[0] << 8 | bytes[1];
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 42 * Immutable array of bytes. 48 private final byte[] bytes; field in class:ByteString 50 private ByteString(final byte[] bytes) { 51 this.bytes = bytes; 60 return bytes[index]; 64 * Gets the number of bytes. 67 return bytes.length; 74 return bytes.length == 0; 86 * Copies the given bytes into a {@code ByteString} [all...] |
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 193 int bytes = Read(junk, min(count - skipped, local 195 if (bytes <= 0) { 199 skipped += bytes; 259 << " Can't back up over more bytes than were returned by the last call" 275 // First skip any bytes left over from a previous BackUp(). 349 << " Can't back up over more bytes than were returned by the last call"
|
/external/qemu/audio/ |
noaudio.c | 47 int64_t bytes; local 51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); 52 bytes = audio_MIN (bytes, INT_MAX); 53 samples = bytes >> hw->info.shift; 107 int64_t bytes = local 111 bytes = audio_MIN (bytes, INT_MAX); 112 samples = bytes >> hw->info.shift;
|
wavcapture.c | 7 int bytes; member in struct:__anon33850 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/skia/gm/ |
gm_expectations.cpp | 229 const char *bytes = reinterpret_cast<const char *>(dataRef.get()->data()); local 232 if (!reader.parse(bytes, bytes+size, *jsonRoot)) {
|
/external/skia/src/gpu/ |
SkGrFontScaler.cpp | 173 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 174 expand_bits(bytes, bits, width, height, dstRB, srcRB);
|
/external/skia/src/pdf/ |
SkTSet.h | 155 /** Return the number of bytes in the set: count * sizeof(T). 157 size_t bytes() const { function in class:SkTSet 159 return fOrderedArray->bytes(); 292 SkAutoMalloc sortedArray(fOrderedArray->bytes());
|
/frameworks/base/core/jni/ |
android_hardware_UsbDeviceConnection.cpp | 98 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); local 99 if (bytes) { 100 memcpy(bytes, buffer, length); 101 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_gl_frame.cpp | 119 jbyte* bytes = env->GetByteArrayElements(data, NULL); local 120 if (bytes) { 121 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), length); 122 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT);
|
jni_native_frame.cpp | 60 jbyte* bytes = env->GetByteArrayElements(data, NULL); local 61 if (bytes) { 62 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 65 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT); 207 ALOGE("Unsupported bytes-per-pixel %d in setBitmap!", bytes_per_sample); 259 ALOGE("Unsupported bytes-per-pixel %d in getBitmap!", bytes_per_sample);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
DataUsageDetailView.java | 66 final long bytes; local 73 bytes = info.usageLevel; 79 bytes = info.limitLevel - info.usageLevel; 87 bytes = info.usageLevel - info.limitLevel; 98 usage.setText(formatBytes(bytes)); 114 private String formatBytes(long bytes) { 115 final long b = Math.abs(bytes); 128 return FORMAT.format(val * (bytes < 0 ? -1 : 1)) + " " + suffix;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ConsoleTest.java | 40 private static final byte[] bytes = "hello world\n".getBytes(); field in class:ConsoleTest 42 private InputStream in = new ByteArrayInputStream(bytes);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
AttributedCharacterIteratorAttributeTest.java | 75 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 76 out = new ObjectOutputStream(bytes); 93 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
DataFormatFieldTest.java | 178 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 179 out = new ObjectOutputStream(bytes); 193 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
/libcore/luni/src/main/java/java/security/ |
SecureRandom.java | 51 * A seed is an array of bytes used to bootstrap random number generation. 263 * Generates and stores random bytes in the given {@code byte[]} for each 266 * @param bytes 267 * the {@code byte[]} to be filled with random bytes. 270 public synchronized void nextBytes(byte[] bytes) { 271 secureRandomSpi.engineNextBytes(bytes); 292 int bytes = (numBits+7)/8; local 293 byte[] next = new byte[bytes]; 297 for (int i = 0; i < bytes; i++) { 300 ret = ret >>> (bytes*8 - numBits) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeValue.java | 52 public byte[] bytes; //FIXME remove??? bytes to be encoded field in class:AttributeValue
|
/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/test/java/libcore/java/util/ |
BitSetTest.java | 80 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { 81 for (int i = 0; i < 8 * bytes.length; ++i) { 82 assertEquals(bs.toString(), ((bytes[i / 8] & (1L << (i % 8))) != 0), bs.get(i)); 85 for (int i = 0; i < bytes.length; ++i) { 86 cardinality += Integer.bitCount(((int) bytes[i]) & 0xff); 94 assertEquals(roundUp(8 * bytes.length, 64), bs.size()); 102 private static void assertBitSet(byte[] bytes, String s) { 104 assertBitSet(BitSet.valueOf(bytes), bytes, s); local 106 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s) local 111 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/netfilter/ |
xt_sctp.h | 49 #define bytes(type) (sizeof(type) * 8) macro 51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 47 #define bytes(type) (sizeof(type) * 8) macro 49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|