/external/icu4c/test/intltest/ |
convtest.h | 38 const uint8_t *bytes; member in struct:ConversionCase
|
/external/ipsec-tools/ |
main.c | 64 unsigned char bytes[2]; local 65 if (recv(control, &bytes[0], 1, 0) != 1 || 66 recv(control, &bytes[1], 1, 0) != 1) { 70 int length = bytes[0] << 8 | bytes[1];
|
/external/iptables/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; \
|
/external/kernel-headers/original/linux/netfilter/ |
xt_sctp.h | 39 #define bytes(type) (sizeof(type) * 8) macro 43 chunkmap[type / bytes(u_int32_t)] |= \ 44 1 << (type % bytes(u_int32_t)); \ 49 chunkmap[type / bytes(u_int32_t)] &= \ 50 ~(1 << (type % bytes(u_int32_t))); \ 55 (chunkmap[type / bytes (u_int32_t)] & \ 56 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ipt_sctp.h | 37 #define bytes(type) (sizeof(type) * 8) macro 41 chunkmap[type / bytes(u_int32_t)] |= \ 42 1 << (type % bytes(u_int32_t)); \ 47 chunkmap[type / bytes(u_int32_t)] &= \ 48 ~(1 << (type % bytes(u_int32_t))); \ 53 (chunkmap[type / bytes (u_int32_t)] & \ 54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/external/llvm/lib/Target/ARM/Disassembler/ |
ARMDisassembler.cpp | 398 uint8_t bytes[4]; local 400 // We want to read exactly 4 bytes of data. 401 if (Region.readBytes(Address, 4, (uint8_t*)bytes, NULL) == -1) 405 insn = (bytes[3] << 24) | 406 (bytes[2] << 16) | 407 (bytes[1] << 8) | 408 (bytes[0] << 0); 460 // Read 2 bytes of data first. 461 uint8_t bytes[2]; local 462 if (Region.readBytes(Address, 2, (uint8_t*)bytes, NULL) == -1 [all...] |
/external/mesa3d/src/glsl/ |
glsl_compiler.cpp | 91 ssize_t bytes = read(fd, text + total_read, local 93 if (bytes < 0) { 99 if (bytes == 0) { 103 total_read += 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:__anon9334 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/quake/quake/src/WinQuake/ |
snd_sun.cpp | 183 int bytes, b; local 194 bytes = (paintedtime - wbufp) * bsize; 196 if (!bytes) 199 if (bytes > sizeof(writebuf)) { 200 bytes = sizeof(writebuf); 201 stop = wbufp + bytes/bsize; 207 for (b = bytes; b; b--) { 214 if (write(audio_fd, writebuf, bytes) < bytes)
|
/external/skia/gpu/src/ |
GrTextureCache.cpp | 180 GrPrintf("--- add texture to cache %p, count=%d bytes= %d %d\n", 275 static bool both_zero_or_nonzero(int count, size_t bytes) { 276 return (count == 0 && bytes == 0) || (count > 0 && bytes > 0); 292 size_t bytes = 0; local 297 bytes += entry->texture()->sizeInBytes(); 301 GrAssert(bytes == fEntryBytes - fClientDetachedBytes);
|
/external/skia/src/core/ |
SkWriter32.cpp | 163 size_t bytes = stream->read(scratch, n); local 164 this->writePad(scratch, bytes); 165 remaining -= bytes; 166 if (bytes != n) { 193 // we need to read at least 1-4 bytes 205 // skip what we've read, and 0..3 pad bytes 238 // we may have left 0,1,2,3 bytes uninitialized, since we reserved align4 239 // number of bytes. That's ok, since the reader will know to skip those
|
/external/skia/src/gpu/ |
SkGrFontScaler.cpp | 118 static void bits_to_bytes(const uint8_t bits[], uint8_t bytes[], int count) { 122 *bytes++ = (mask & (1 << i)) ? 0xFF : 0; 145 // expand bits to bytes 147 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 149 bits_to_bytes(bits, bytes, width); 151 bytes += dstRB;
|
/external/webkit/Source/WebCore/html/canvas/ |
DataView.cpp | 36 char bytes[sizeof(T)]; member in union:__anon13109::Value 130 memcpy(value.bytes, static_cast<const char*>(m_baseAddress) + byteOffset, sizeof(T)); 131 flipBytesIfNeeded(value.bytes, sizeof(T), littleEndian); 146 flipBytesIfNeeded(tempValue.bytes, sizeof(T), littleEndian); 147 memcpy(static_cast<char*>(m_baseAddress) + byteOffset, tempValue.bytes, sizeof(T));
|
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_backing_store.h | 83 const size_t bytes; /**< bytes used in pixels. keep member in struct:_Ewk_Tile
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
TextCheckerClientEnchant.cpp | 107 gint bytes = static_cast<gint>(g_utf8_offset_to_pointer(utf8Text.get(), end) - cstart); local 108 GOwnPtr<gchar> word(g_new0(gchar, bytes + 1));
|
/frameworks/base/core/java/android/util/ |
Log.java | 277 int bytes = println_native(LOG_ID_MAIN, ASSERT, tag, msg + '\n' + getStackTraceString(tr)); local 279 return bytes; 329 * @return The number of bytes written.
|
/libcore/luni/src/main/java/java/security/ |
SecureRandom.java | 45 * A seed is an array of bytes used to bootstrap random number generation. 265 * Generates and stores random bytes in the given {@code byte[]} for each 268 * @param bytes 269 * the {@code byte[]} to be filled with random bytes. 272 public synchronized void nextBytes(byte[] bytes) { 273 secureRandomSpi.engineNextBytes(bytes); 294 int bytes = (numBits+7)/8; local 295 byte[] next = new byte[bytes]; 299 for (int i = 0; i < bytes; i++) { 302 ret = ret >>> (bytes*8 - numBits) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeValue.java | 44 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...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 36 #define bytes(type) (sizeof(type) * 8) macro 40 chunkmap[type / bytes(u_int32_t)] |= \ 41 1 << (type % bytes(u_int32_t)); \ 46 chunkmap[type / bytes(u_int32_t)] &= \ 47 ~(1 << (type % bytes(u_int32_t))); \ 52 (chunkmap[type / bytes (u_int32_t)] & \ 53 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|