/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/ |
DESParameters.java | 18 * DES Key length in bytes. 89 * @param bytes the byte array to set the parity on. 92 byte[] bytes) 94 for (int i = 0; i < bytes.length; i++) 96 int b = bytes[i]; 97 bytes[i] = (byte)((b & 0xfe) |
|
/external/chromium/net/base/ |
telnet_server.h | 22 virtual void SendInternal(const char* bytes, int len);
|
/external/chromium/net/tools/flip_server/ |
simple_buffer.cc | 84 // appends up-to-'size' bytes to the simplebuffer. 85 int SimpleBuffer::Write(const char* bytes, int size) { 90 memcpy(storage_ + write_idx_, bytes, size); 117 // returns the number of bytes read into 'bytes' 118 int SimpleBuffer::Read(char* bytes, int size) { 125 memcpy(bytes, read_ptr, read_size); 148 // Can reclaim space from already read bytes by shifting 154 // what we need is to have at least size bytes available for writing. 155 // This implies that the buffer needs to be at least size bytes [all...] |
/external/chromium/third_party/icu/source/tools/makeconv/ |
makeconv.h | 48 const uint8_t *bytes, int32_t length);
|
/external/icu4c/tools/makeconv/ |
makeconv.h | 49 const uint8_t *bytes, int32_t length);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
MultipartEntity.java | 110 byte[] bytes = new byte[rand.nextInt(11) + 30]; // a random size from 30 to 40 111 for (int i = 0; i < bytes.length; i++) { 112 bytes[i] = MULTIPART_CHARS[rand.nextInt(MULTIPART_CHARS.length)]; 114 return bytes;
|
/frameworks/base/core/jni/ |
android_ddm_DdmHandleNativeHeap.cpp | 90 LOGD("**** read %d bytes from '%s'", (int) header.mapSize, path); 98 jbyte* bytes = NULL; local 105 bytes = env->GetByteArrayElements(array, NULL); 106 ptr = bytes; 120 env->ReleaseByteArrayElements(array, bytes, 0);
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
FilePathToURI.java | 94 // get UTF-8 bytes for the remaining sub-string 95 byte[] bytes = null; 98 bytes = path.substring(i).getBytes("UTF-8"); 103 len = bytes.length; 107 b = bytes[i];
|
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
FilePathToURI.java | 94 // get UTF-8 bytes for the remaining sub-string 95 byte[] bytes = null; 98 bytes = path.substring(i).getBytes("UTF-8"); 103 len = bytes.length; 107 b = bytes[i];
|
/cts/tools/dx-tests/src/dxconvext/ |
ClassFileParser.java | 79 byte[] bytes = FileUtils.readFile(inFile); 91 ClassFileParser.this.processFileBytes(w, cfName, bytes); 100 * @param allbytes the bytes of this java src file 126 * @param bytes non-null; the source that is being parsed 127 * @param offset offset into <code>bytes</code> for the start of 132 public void startParsingMember(ByteArray bytes, int offset, 134 // ByteArray ba = bytes.slice(offset, bytes.size()); 136 + offset + ", len:" + (bytes.size() - offset) 145 * @param bytes non-null; the source that was parse [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
IOHandler.java | 104 private void writeChunks(OutputStream outputStream, byte[] bytes, int length) 109 // outputStream.write(bytes,0,length); 113 outputStream.write(bytes, p, chunk); 150 * Send an array of bytes. 160 int contactPort, String transport, byte[] bytes, boolean retry, 165 int length = bytes.length; 207 writeChunks(outputStream, bytes, length); 213 writeChunks(outputStream, bytes, length); 281 writeChunks(outputStream, bytes, length); 287 writeChunks(outputStream, bytes, length) [all...] |
/external/skia/src/images/ |
SkJpegUtility.cpp | 49 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local 52 if (bytes == 0) { 56 src->current_offset += bytes; 58 src->bytes_in_buffer = bytes; 68 long bytes = (long)src->fStream->skip(bytesToSkip); local 69 if (bytes <= 0 || bytes > bytesToSkip) { 70 // SkDebugf("xxxxxxxxxxxxxx failure to skip request %d returned %d\n", bytesToSkip, bytes); 74 src->current_offset += bytes; 75 bytesToSkip -= bytes; [all...] |
/libcore/luni/src/main/native/ |
java_nio_charset_Charsets.cpp | 32 * We could avoid this by keeping the UTF-8 bytes on the native heap until we're done and only 109 ScopedByteArrayRO bytes(env, javaBytes); 110 if (bytes.get() == NULL) { 118 const jbyte* src = &bytes[offset]; 128 ScopedByteArrayRO bytes(env, javaBytes); 129 if (bytes.get() == NULL) { 137 const jbyte* src = &bytes[offset]; 145 * Translates the given characters to US-ASCII or ISO-8859-1 bytes, using the fact that 156 ScopedByteArrayRW bytes(env, javaBytes); 157 if (bytes.get() == NULL) [all...] |
/bionic/libc/arch-x86/string/ |
ssse3-memcmp3.S | 1634 je L(8bytes) 1636 je L(9bytes) 1638 je L(10bytes) 1640 je L(11bytes) 1642 je L(12bytes) 1644 je L(13bytes) 1646 je L(14bytes) 1647 jmp L(15bytes) 1654 je L(16bytes) 1656 je L(17bytes) [all...] |
swab.S | 26 jz L2 # while swaping alternate bytes. 36 jz L4 # while swapping alternate bytes.
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
AESEngine.java | 229 /* multiply four bytes in GF(2^8) by 'x' {02} in parallel */ 421 byte[] bytes, 426 C0 = (bytes[index++] & 0xff); 427 C0 |= (bytes[index++] & 0xff) << 8; 428 C0 |= (bytes[index++] & 0xff) << 16; 429 C0 |= bytes[index++] << 24; 431 C1 = (bytes[index++] & 0xff); 432 C1 |= (bytes[index++] & 0xff) << 8; 433 C1 |= (bytes[index++] & 0xff) << 16; 434 C1 |= bytes[index++] << 24 [all...] |
/external/libffi/src/powerpc/ |
ffi_darwin.c | 85 const unsigned bytes = ecif->cif->bytes; local 89 unsigned *const stacktop = stack + (bytes / sizeof(unsigned)); 111 FFI_ASSERT((bytes & 0xF) == 0); 193 /* Structures that match the basic modes (QI 1 byte, HI 2 bytes, 194 SI 4 bytes) are aligned as if they were those modes. 277 unsigned bytes; local 282 /* All the machine-independent calculation of cif->bytes will be wrong. 296 bytes = (6 + ASM_NEEDS_REGISTERS) * sizeof(long); 300 - Structures of size <= 4 bytes also returned in gpr3 [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
DexFile.java | 605 * @param bytes {@code non-null;} the bytes of the file 607 private static void calcSignature(byte[] bytes) { 616 md.update(bytes, 32, bytes.length - 32); 619 int amt = md.digest(bytes, 12, 20); 622 " bytes"); 633 * @param bytes {@code non-null;} the bytes of the file 635 private static void calcChecksum(byte[] bytes) { [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/openssl/ |
PEMWriter.java | 64 private void writeHexEncoded(byte[] bytes) 67 bytes = Hex.encode(bytes); 69 for (int i = 0; i != bytes.length; i++) 71 this.write((char)bytes[i]); 75 private void writeEncoded(byte[] bytes) 80 bytes = Base64.encode(bytes); 82 for (int i = 0; i < bytes.length; i += buf.length) 88 if ((i + index) >= bytes.length [all...] |
/external/guava/src/com/google/common/primitives/ |
Longs.java | 48 * The number of bytes required to represent a primitive {@code long} 51 public static final int BYTES = Long.SIZE / Byte.SIZE; 262 * stored in the first 8 bytes of {@code bytes}; equivalent to {@code 263 * ByteBuffer.wrap(bytes).getLong()}. For example, the input byte array 272 * @throws IllegalArgumentException if {@code bytes} has fewer than 8 276 public static long fromByteArray(byte[] bytes) { 277 checkArgument(bytes.length >= BYTES, 278 "array too small: %s < %s", bytes.length, BYTES) [all...] |
/build/tools/ |
dump-package-stats | 45 These fields are presented as <uncompressed bytes>/<compressed bytes>:
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
CalibrateVolumeActivity.java | 190 int bytes; local 197 bytes = mRecord.read(mBuffer, 0, maxBytes); 198 if (bytes < 0) { 199 if (bytes == AudioRecord.ERROR_INVALID_OPERATION) { 201 } else if (bytes == AudioRecord.ERROR_BAD_VALUE) { 208 if (bytes >= 2) { 209 // Note: this won't work well if bytes is small (we should check) 210 short[] samples = Utils.byteToShortArray(mBuffer, 0, bytes); 223 Log.i(TAG, "RMS: " + rms + ", bytes: " + bytes [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
SsaDumper.java | 55 * @param bytes {@code non-null;} bytes of the original class file 61 public static void dump(byte[] bytes, PrintStream out, 63 SsaDumper sd = new SsaDumper(bytes, out, filePath, args); 70 * @param bytes {@code non-null;} bytes of the original class file 76 private SsaDumper(byte[] bytes, PrintStream out, String filePath, 78 super(bytes, out, filePath, true, args); 83 public void endParsingMember(ByteArray bytes, int offset, String name, 178 setAt(bytes, 0) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERSet.java | 96 byte[] bytes = bOut.toByteArray(); 98 out.writeEncoded(SET | CONSTRUCTED, bytes);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/ |
X509Principal.java | 44 byte[] bytes) 47 super(readSequence(new ASN1InputStream(bytes)));
|