HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 176 - 200 of 4116) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
ByteStringTest.java 90 byte[] bytes = getTestBytes();
91 ByteString substring = ByteString.copyFrom(bytes).substring(500);
93 isArrayRange(substring.toByteArray(), bytes, 500, bytes.length - 500));
97 byte[] bytes = getTestBytes();
98 ByteString byteString = ByteString.copyFrom(bytes, 500, 200);
99 assertTrue("copyFrom sub-range must contain the expected bytes",
100 isArrayRange(byteString.toByteArray(), bytes, 500, 200));
104 byte[] bytes = getTestBytes();
105 ByteString byteString = ByteString.copyFrom(bytes);
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/utils/
pycrypto_aes.py 19 key = bytes(key)
20 IV = bytes(IV)
24 plaintext = bytes(plaintext)
28 ciphertext = bytes(ciphertext)
pycrypto_tripledes.py 19 key = bytes(key)
20 IV = bytes(IV)
24 plaintext = bytes(plaintext)
28 ciphertext = bytes(ciphertext)
  /external/emma/core/java12/com/vladium/emma/rt/
IClassLoadHook.java 26 // * returns false, the current loader will load the class bytes itself and
62 * class definition in 'bytes' ('out' could be backed by the same array as
63 * 'bytes')
68 byte [] bytes, int length,
  /external/valgrind/main/memcheck/tests/
malloc1_ks_none.stderr.exp 3 Address 0x........ is 1 bytes inside a block of size 10 free'd
8 Address 0x........ is 1 bytes before a block of size 10 alloc'd
  /libcore/benchmarks/src/benchmarks/regression/
ChecksumBenchmark.java 27 byte[] bytes = new byte[10000];
30 adler.update(bytes);
40 byte[] bytes = new byte[10000];
43 crc.update(bytes);
  /libcore/luni/src/main/java/java/security/
SecureRandomSpi.java 43 * Generates and stores random bytes in the given {@code byte[]} for each
46 * @param bytes
47 * the {@code byte[]} to be filled with random bytes.
49 protected abstract void engineNextBytes(byte[] bytes);
52 * Generates and returns the specified number of seed bytes, computed using
56 * the number of seed bytes.
57 * @return the seed bytes
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Fingerprint.java 43 // 16 bytes for 128-bit fingerprint
61 // md5 digest bytes.
67 public Fingerprint(byte[] bytes) {
68 if ((bytes == null) || (bytes.length != FINGERPRINT_BYTE_LENGTH)) {
71 mMd5Digest = bytes;
87 byte[] bytes = new byte[8192];
90 int n = in.read(bytes);
111 // decode the hex bytes of the fingerprint portion
112 byte[] bytes = new byte[FINGERPRINT_BYTE_LENGTH]
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
AttributeFactory.java 56 * Parses and makes an attribute based on the bytes at the
64 * @param offset offset into {@code dcf}'s {@code bytes}
82 ByteArray bytes = cf.getBytes(); local
84 int nameIdx = bytes.getUnsignedShort(offset);
85 int length = bytes.getInt(offset + 2);
90 observer.parsed(bytes, offset, 2,
92 observer.parsed(bytes, offset + 2, 4,
115 * @param offset offset into {@code bytes} to start parsing at; this
124 ByteArray bytes = cf.getBytes(); local
126 Attribute result = new RawAttribute(name, bytes, offset, length, pool)
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_stream_hixie75.py 48 for length, bytes in ((0, '\x00'), (0x7f, '\x7f'), (0x80, '\x81\x00'),
50 test_stream = StreamHixie75(_create_request_hixie75(bytes))
  /external/chromium_org/base/memory/
discardable_memory_manager.h 84 // The maximum number of bytes of memory that may be allocated before we force
86 void SetMemoryLimit(size_t bytes);
88 // The number of bytes of memory that may be allocated but unused for the hard
90 void SetSoftMemoryLimit(size_t bytes);
93 void SetBytesToKeepUnderModeratePressure(size_t bytes);
105 void Register(Allocation* allocation, size_t bytes);
136 explicit AllocationInfo(size_t bytes) : bytes(bytes), purgable(false) {}
138 const size_t bytes; member in struct:base::internal::DiscardableMemoryManager::AllocationInfo
    [all...]
  /external/chromium_org/chrome/test/chromedriver/
util.h 30 bool Base64Decode(const std::string& base64, std::string* bytes);
32 // Unzips the sole file contained in the given zip data |bytes| into
39 const std::string& bytes,
  /external/chromium_org/components/rappor/
rappor_metric.h 41 const ByteVector& bytes() const { return bloom_filter_.bytes(); } function in class:rappor::RapporMetric
  /external/chromium_org/net/base/
bandwidth_metrics.cc 32 void ScopedBandwidthMetrics::RecordBytes(int bytes) {
33 g_bandwidth_metrics.Get().RecordBytes(bytes);
upload_element.h 30 const char* bytes() const { return bytes_start_ ? bytes_start_ : &buf_[0]; } function in class:net::UploadElement
40 void SetToBytes(const char* bytes, int bytes_len) {
42 buf_.assign(bytes, bytes + bytes_len);
48 void SetToSharedBytes(const char* bytes, int bytes_len) {
50 bytes_start_ = bytes;
91 memcmp(a.bytes(), b.bytes(), b.bytes_length()) == 0;
  /external/chromium_org/third_party/openmax_dl/dl/sp/src/test/
aligned_ptr.c 16 struct AlignedPtr* AllocAlignedPointer(int alignment, int bytes) {
21 aligned_ptr->raw_pointer_ = malloc(bytes + alignment);
  /external/chromium_org/third_party/smhasher/src/
Random.h 72 void rand_p ( void * blob, int bytes )
76 while(bytes >= 4)
80 bytes -= 4;
85 for(int i = 0; i < bytes; i++)
99 inline void rand_p ( void * blob, int bytes )
103 while(bytes >= 4)
106 bytes -= 4;
111 for(int i = 0; i < bytes; i++)
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
CONSTANT_Fieldref_info.java 63 protected CONSTANT_Fieldref_info (final UDataInputStream bytes) throws IOException
65 super (bytes);
CONSTANT_InterfaceMethodref_info.java 62 protected CONSTANT_InterfaceMethodref_info (final UDataInputStream bytes) throws IOException
64 super (bytes);
CONSTANT_Methodref_info.java 63 protected CONSTANT_Methodref_info (final UDataInputStream bytes) throws IOException
65 super (bytes);
  /external/llvm/lib/Target/MSP430/
MSP430MachineFunctionInfo.h 27 /// stack frame in bytes.
43 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
  /external/valgrind/main/drd/tests/
tc16_byterace.stderr.exp 4 Location 0x........ is 0 bytes inside bytes[4],
9 Location 0x........ is 0 bytes inside bytes[4],
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
memory_pool.c 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes)
73 if (bytes < POOL_LARGE_ALLOC) {
76 if (pool->head + bytes > pool->end)
79 assert(pool->head + bytes <= pool->end);
83 pool->head += bytes;
88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
BoundedByteString.java 56 * @param bytes array to wrap
57 * @param offset index to first byte to use in bytes
58 * @param length number of bytes to use from bytes
61 * bytes.length}.
63 BoundedByteString(byte[] bytes, int offset, int length) {
64 super(bytes);
71 if ((long) offset + length > bytes.length) {
102 return bytes[bytesOffset + index];
121 System.arraycopy(bytes, getOffsetIntoBytes() + sourceOffset, target
    [all...]
  /external/mesa3d/src/gallium/drivers/r300/compiler/
memory_pool.c 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes)
73 if (bytes < POOL_LARGE_ALLOC) {
76 if (pool->head + bytes > pool->end)
79 assert(pool->head + bytes <= pool->end);
83 pool->head += bytes;
88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));

Completed in 1870 milliseconds

1 2 3 4 5 6 78 91011>>