/external/chromium/third_party/icu/source/tools/makeconv/ |
genmbcs.c | 73 const uint8_t *bytes, int32_t length, 79 const uint8_t *bytes, int32_t length); 83 const uint8_t *bytes, int32_t length, 89 const uint8_t *bytes, int32_t length, 111 printBytes(char *buffer, const uint8_t *bytes, int32_t length) { 114 *s++=hexDigit((uint8_t)(*bytes>>4)); 115 *s++=hexDigit((uint8_t)(*bytes&0xf)); 116 ++bytes; 222 /* allocate 1M * maxCharLength bytes for at most 1M mappings */ 367 const uint8_t *bytes, int32_t length [all...] |
/external/icu4c/tools/makeconv/ |
genmbcs.c | 73 const uint8_t *bytes, int32_t length, 79 const uint8_t *bytes, int32_t length); 83 const uint8_t *bytes, int32_t length, 89 const uint8_t *bytes, int32_t length, 111 printBytes(char *buffer, const uint8_t *bytes, int32_t length) { 114 *s++=hexDigit((uint8_t)(*bytes>>4)); 115 *s++=hexDigit((uint8_t)(*bytes&0xf)); 116 ++bytes; 222 /* allocate 1M * maxCharLength bytes for at most 1M mappings */ 367 const uint8_t *bytes, int32_t length [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/ |
LoopbackExperiment.java | 161 Log.i(TAG, "Recording " + totalBytes + " bytes"); 163 int bytes; local 165 bytes = mRecord.read(mBuffer, position, totalBytes - position); 166 if (bytes < 0) { 167 if (bytes == AudioRecord.ERROR_INVALID_OPERATION) { 169 } else if (bytes == AudioRecord.ERROR_BAD_VALUE) { 176 position += bytes;
|
/dalvik/tools/ |
gclog.py | 54 # [11- 0] Bytes freed 81 # [11- 0] Bytes allocated 86 bytes = unfloat12(value & 0xfff) 88 return ( freed, footprint, allowed, objs, bytes ) 104 # [11- 0] Bytes allocated 109 bytes = unfloat12(value & 0xfff) 111 return ( soft_limit, actual, allowed, objs, bytes ) 125 # [11- 0] External bytes allocated 129 bytes = unfloat12(value & 0xfff) 131 return ( footprint, total, limit, bytes ) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
AuthorityKeyIdentifier.java | 111 byte[] bytes = spki.getPublicKeyData().getBytes(); 112 digest.update(bytes, 0, bytes.length); 129 byte[] bytes = spki.getPublicKeyData().getBytes(); 130 digest.update(bytes, 0, bytes.length);
|
SubjectKeyIdentifier.java | 132 byte[] bytes = spki.getPublicKeyData().getBytes(); 133 digest.update(bytes, 0, bytes.length);
|
/external/jpeg/ |
jmemmac.c | 158 long bytes = byte_count; local 164 retVal = FSRead ( info->temp_file, &bytes, 166 if ( retVal != noErr || bytes != byte_count ) 176 long bytes = byte_count; local 182 retVal = FSWrite ( info->temp_file, &bytes, 184 if ( retVal != noErr || bytes != byte_count ) 279 * Note that FreeMem returns the total number of free bytes;
|
/external/openssl/crypto/evp/ |
evp_pkey.c | 219 const unsigned char *bytes, int len) 222 type, bytes, len)) return 1; 228 const unsigned char *bytes, int len) 231 type, bytes, len)) return 1; 237 const unsigned char *bytes, int len) 240 type, bytes, len)) return 1;
|
/external/skia/src/animator/ |
SkBase64.cpp | 53 unsigned char bytes[4]; local 64 bytes[byte] = decoded; 87 int one = (uint8_t) (bytes[0] << 2); 88 two = bytes[1]; 91 three = bytes[2]; 94 three |= bytes[3];
|
/external/v8/src/ |
string-stream.h | 38 // Allocate a number of bytes. 39 virtual char* allocate(unsigned bytes) = 0; 40 // Allocate a larger number of bytes and copy the old buffer to the new one. 41 // bytes is an input and output parameter passing the old size of the buffer 44 virtual char* grow(unsigned* bytes) = 0; 52 char* allocate(unsigned bytes); 53 char* grow(unsigned* bytes); 65 char* allocate(unsigned bytes) { return space_; } 66 char* grow(unsigned* bytes);
|
/libcore/luni/src/main/java/java/security/ |
SecureRandom.java | 42 * A seed is an array of bytes used to bootstrap random number generation. 283 * Generates and stores random bytes in the given {@code byte[]} for each 286 * @param bytes 287 * the {@code byte[]} to be filled with random bytes. 290 public synchronized void nextBytes(byte[] bytes) { 291 secureRandomSpi.engineNextBytes(bytes); 312 int bytes = (numBits+7)/8; local 313 byte[] next = new byte[bytes]; 317 for (int i = 0; i < bytes; i++) { 320 ret = ret >>> (bytes*8 - numBits) [all...] |
/sdk/emulator/qtools/ |
read_trace.cpp | 115 int bytes; local 123 bytes = 2; 136 bytes = 4; 148 bytes = 4; 154 addr += bytes; 155 offset += bytes;
|
/external/blktrace/btt/ |
trace_issue.c | 36 update_d_histo(d_iop->t.bytes); 48 d_iop->bytes_left -= q_iop->t.bytes; 65 if (d_iop->t.bytes == 0)
|
trace_im.c | 75 if (s_iop->t.bytes == 0) 84 if (g_iop->t.bytes == 0) 93 if (i_iop->t.bytes == 0) 102 if (m_iop->t.bytes == 0)
|
/external/chromium/net/base/ |
io_buffer.h | 86 void DidConsume(int bytes) { SetOffset(used_ + bytes); } 88 // Returns the number of unconsumed bytes. 91 // Returns the number of consumed bytes. 94 // Seeks to an arbitrary point in the buffer. The notion of bytes consumed 96 void SetOffset(int bytes);
|
/external/emma/core/java12/com/vladium/emma/rt/ |
InstrClassLoader.java | 184 byte [] bytes; 192 // used cached class def bytes, no need to repeat disk I/O: 213 bytes = entry.m_bytes; 214 length = bytes.length; 216 if ((m_hook != null) && m_hook.processClassDef (name, bytes, length, baos)) // note: this can overwrite 'bytes' 219 bytes = baos.getByteArray (); 222 if (trace1) m_log.trace1 ("findClass", "defining [cached] instrumented [" + name + "] {" + length + " bytes }"); 226 if (trace1) m_log.trace1 ("findClass", "defining [cached] [" + name + "] {" + length + " bytes }"); 229 return defineClass (name, bytes, length, classURL) [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
InnerClassesAttribute_info.java | 142 final UDataInputStream bytes) 147 final int class_count = bytes.readU2 (); 152 classes.add (new InnerClass_info (bytes));
|
LineNumberTableAttribute_info.java | 165 final UDataInputStream bytes) 170 final int lines_count = bytes.readU2 (); 175 m_lines.add (new LineNumber_info (bytes));
|
/external/webkit/WebCore/platform/graphics/android/ |
FontCacheAndroid.cpp | 66 size_t bytes = SkUTF16_ToUTF8(uni, utf16.length(), NULL); local 67 char* utf8 = (char*)sk_malloc_throw(bytes + 1); 70 utf8[bytes] = 0;
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.java | 49 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 50 out = new ObjectOutputStream(bytes); 62 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CredentialHelper.java | 82 byte[] bytes = bundle.getByteArray(key); 83 Log.d(TAG, " " + key + ": " + ((bytes == null) ? -1 : bytes.length)); 84 mBundle.put(key, bytes); 112 byte[] bytes = savedStates.getByteArray(Credentials.USER_PRIVATE_KEY); 113 if (bytes != null) setPrivateKey(bytes); 124 private void parseCert(byte[] bytes) { 125 if (bytes == null) return; 132 new ByteArrayInputStream(bytes)); [all...] |
/packages/apps/Email/tests/src/com/android/exchange/utility/ |
SimpleIcsWriterTests.java | 67 * @return a String of {@code length} bytes in UTF-8. 80 final byte[] bytes = ics.getBytes(); 82 // Verify that no lines are longer than 75 bytes. 84 for (byte b : bytes) { 99 final String actual = Utility.fromUtf8(bytes);
|
/cts/tools/dex-tools/src/dex/reader/ |
DexBuffer.java | 44 byte[] bytes = bos.toByteArray(); 45 initialize(ByteBuffer.wrap(bytes)); 53 public DexBuffer(byte[] bytes) { 54 initialize(ByteBuffer.wrap(bytes));
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
AttributeListParser.java | 57 * @param offset offset in {@code bytes} to the start of the list 126 ByteArray bytes = cf.getBytes(); local 129 observer.parsed(bytes, offset, 2, 136 observer.parsed(bytes, at, 0, 149 observer.parsed(bytes, at, 0,
|
/external/bluetooth/glib/tests/ |
slice-concurrent.c | 52 int bytes = rand() % MAX_BLOCK_SIZE + 1; local 53 char *mem = g_slice_alloc (bytes); 55 for (f = 0; f < bytes; f++) 62 tdata[t].bytes_to_free[tdata[t].n_to_free] = bytes;
|