/external/elfutils/lib/ |
sha1.c | 47 /* This array contains the bytes used to pad the buffer to the next 67 /* Put result from CTX in first 20 bytes following RESBUF. The result 86 /* Process the remaining bytes in the internal buffer and the usual 96 /* Take yet unprocessed bytes into account. */ 97 sha1_uint32 bytes = ctx->buflen; local 100 /* Now count remaining bytes. */ 101 ctx->total[0] += bytes; 102 if (ctx->total[0] < bytes) 105 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashCodesTest.java | 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above 30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes 46 // expectedHashCodes must contain at least one hash code with 4 bytes 49 if (expected.bytes.length == 4) { 56 // expectedHashCodes must contain at least one hash code with 8 bytes 59 if (expected.bytes.length == 8) { 68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes); 74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes())); 77 assertTrue(Arrays.equals(expected.bytes, bb)); 104 for (int bytes = 0; bytes < totalBytes; bytes++) 113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode [all...] |
/external/icu4c/io/ |
ufmt_cmn.c | 170 uint8_t bytes[sizeof(void*)]; member in union:__anon6957 214 result.bytes[resultIdx] = byte;
|
/external/icu4c/test/intltest/ |
convtest.h | 38 const uint8_t *bytes; member in struct:ConversionCase
|
/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/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:__anon10557 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/src/core/ |
SkWriter32.cpp | 170 size_t bytes = stream->read(scratch, n); local 171 this->writePad(scratch, bytes); 172 remaining -= bytes; 173 if (bytes != n) { 201 * Strings are stored as: length[4-bytes] + string_data + '\0' + pad_to_mul_4 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 247 const size_t lenBytes = 4; // we use 4 bytes to record the length
|
/external/skia/src/gpu/ |
GrResourceCache.cpp | 198 GrPrintf("--- add resource to cache %p, count=%d bytes= %d %d\n", 340 static bool both_zero_or_nonzero(int count, size_t bytes) { 341 return (count == 0 && bytes == 0) || (count > 0 && bytes > 0); 358 size_t bytes = 0; local 363 bytes += entry->resource()->sizeInBytes(); 370 GrAssert(bytes == fEntryBytes - fClientDetachedBytes);
|
SkGrFontScaler.cpp | 113 static void bits_to_bytes(const uint8_t bits[], uint8_t bytes[], int count) { 117 *bytes++ = (mask & (1 << i)) ? 0xFF : 0; 140 // expand bits to bytes 142 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 144 bits_to_bytes(bits, bytes, width); 146 bytes += dstRB;
|
/external/webkit/Source/WebCore/html/canvas/ |
DataView.cpp | 36 char bytes[sizeof(T)]; member in union:__anon14770::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.
|
/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/native/libs/utils/ |
BasicHashtable.cpp | 242 size_t bytes = count * mBucketSize; local 243 SharedBuffer* sb = SharedBuffer::alloc(bytes); 244 LOG_ALWAYS_FATAL_IF(!sb, "Could not allocate %u bytes for hashtable with %u buckets.", 245 uint32_t(bytes), uint32_t(count));
|
/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...] |