/external/tremolo/Tremolo/ |
misc.c | 58 long bytes; member in struct:__anon15269 64 static void *_insert(void *ptr,long bytes,char *file,long line){ 68 ((head *)ptr)->bytes=bytes-HEAD_ALIGN; 113 file_bytes[i]+=bytes-HEAD_ALIGN; 122 file_bytes[i]-(bytes-HEAD_ALIGN)); 132 global_bytes+(bytes-HEAD_ALIGN)); 137 global_bytes+=(bytes-HEAD_ALIGN); 152 long bytes =((head *)ptr)->bytes; local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
Sha1Test.java | 56 private static String encodeHex(byte[] bytes) { 57 StringBuffer hex = new StringBuffer(bytes.length * 2); 59 for (int i = 0; i < bytes.length; i++) { 60 if (((int) bytes[i] & 0xff) < 0x10) { 63 hex.append(Integer.toString((int) bytes[i] & 0xff, 16));
|
/sdk/emulator/opengl/host/tools/emugen/ |
VarType.h | 23 VarConverter(size_t bytes) : m_bytes(bytes) {} 24 size_t bytes() const { return m_bytes; } function in class:VarConverter 67 size_t bytes() const { return m_converter->bytes(); } function in class:VarType
|
/external/valgrind/main/memcheck/tests/amd64/ |
sh-mem-vec256-plo-yes.stderr.exp | 30 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 37 Address 0x........ is 1 bytes before a block of size 80,000 alloc'd 49 Address 0x........ is 79,969 bytes inside a block of size 80,000 alloc'd 56 Address 0x........ is 79,993 bytes inside a block of size 80,000 alloc'd 62 ------ PL Aligned case with 0 leading acc+def bytes ------ 71 ------ PL Aligned case with 1 leading acc+def bytes ------ 80 ------ PL Aligned case with 2 leading acc+def bytes ------ 89 ------ PL Aligned case with 3 leading acc+def bytes ------ 98 ------ PL Aligned case with 4 leading acc+def bytes ------ 107 ------ PL Aligned case with 5 leading acc+def bytes ----- [all...] |
/bionic/libc/arch-x86_64/string/ |
sse4-memcmp-slm.S | 753 jnc L(16bytes) 758 jnc L(16bytes) 763 jnc L(16bytes) 767 jmp L(16bytes) 772 jmp L(16bytes) 776 jmp L(16bytes) 780 jmp L(16bytes) 784 jmp L(16bytes) 788 jmp L(16bytes) 792 jmp L(16bytes) [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
ordinal.h | 32 // An Ordinal<T> is internally represented as an array of bytes, so it 77 // Creates an Ordinal from the given string of bytes. The Ordinal 79 explicit Ordinal(const std::string& bytes); 127 // Returns the string of bytes representing the Ordinal. It is 157 static bool IsValidOrdinalBytes(const std::string& bytes); 159 // Returns the length that bytes.substr(0, length) would be with 162 const std::string& bytes, 167 static uint8 GetDigit(const std::string& bytes, size_t i); 170 static int GetDigitValue(const std::string& bytes, size_t i); 172 // Adds the given value to |bytes| at position i, carrying whe [all...] |
/external/qemu/util/ |
iov.c | 30 size_t offset, const void *buf, size_t bytes) 34 for (i = 0, done = 0; (offset || done < bytes) && i < iov_cnt; i++) { 36 size_t len = MIN(iov[i].iov_len - offset, bytes - done); 49 size_t offset, void *buf, size_t bytes) 53 for (i = 0, done = 0; (offset || done < bytes) && i < iov_cnt; i++) { 55 size_t len = MIN(iov[i].iov_len - offset, bytes - done); 68 size_t offset, int fillc, size_t bytes) 72 for (i = 0, done = 0; (offset || done < bytes) && i < iov_cnt; i++) { 74 size_t len = MIN(iov[i].iov_len - offset, bytes - done); 144 size_t offset, size_t bytes, [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 336 byte[] bytes = encode(text, charset); 339 encoding = determineEncoding(bytes, usage); 343 return encodeB(prefix, text, usedCharacters, charset, bytes); 346 return encodeQ(prefix, text, usage, usedCharacters, charset, bytes); 354 * @param bytes 358 public static String encodeB(byte[] bytes) { 362 final int end = bytes.length; 364 int data = (bytes[idx] & 0xff) << 16 | (bytes[idx + 1] & 0xff) << 8 365 | bytes[idx + 2] & 0xff [all...] |
/external/chromium_org/remoting/base/ |
compound_buffer.cc | 93 void CompoundBuffer::CropFront(int bytes) { 96 if (total_bytes_ <= bytes) { 101 total_bytes_ -= bytes; 102 while (!chunks_.empty() && chunks_.front().size <= bytes) { 103 bytes -= chunks_.front().size; 106 if (!chunks_.empty() && bytes > 0) { 107 chunks_.front().start += bytes; 108 chunks_.front().size -= bytes; 110 bytes = 0; 112 DCHECK_EQ(bytes, 0) [all...] |
/external/llvm/utils/ |
codegen-diff | 13 my ($addr, $bytes, $instr) = ($1, $2, $4); 15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 33 my ($addr, $bytes, $instr) = ($1, $3, $2); 34 $bytes =~ s/0x//g; 35 $bytes =~ s/\s+/ /g; # regularize whitespace 36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespac [all...] |
/art/compiler/utils/ |
arena_allocator.h | 74 void RecordAlloc(size_t bytes, ArenaAllocKind kind) { UNUSED(bytes); UNUSED(kind); } 90 void RecordAlloc(size_t bytes, ArenaAllocKind kind); 98 size_t alloc_stats_[kNumArenaAllocKinds]; // Bytes used by various allocation kinds. 168 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { 170 return AllocValgrind(bytes, kind); 172 bytes = RoundUp(bytes, 8); 173 if (UNLIKELY(ptr_ + bytes > end_)) { 175 ObtainNewArenaForAllocation(bytes); variable [all...] |
/external/chromium_org/components/rappor/ |
bloom_filter.cc | 32 // Note that the "bytes" are uint8_t, so they are always 8-bits. 39 void BloomFilter::SetBytesForTesting(const ByteVector& bytes) { 40 DCHECK_EQ(bytes_.size(), bytes.size()); 42 bytes_[i] = bytes[i];
|
/external/chromium_org/content/child/npapi/ |
plugin_stream_win.cc | 26 DWORD bytes; local 28 if (!WriteFile(temp_file_handle_, buf, length, &bytes, 0)) 31 return static_cast<size_t>(bytes);
|
/external/chromium_org/net/base/ |
bandwidth_metrics.h | 47 // tracker.RecordSample(bytes); 103 // Add a sample of the number of bytes read from the network into the tracker. 104 void RecordBytes(int bytes) { 106 bytes_since_last_start_ += static_cast<int64>(bytes); 114 int64 bytes_since_last_start_; // Bytes tracked during this "session". 128 void RecordBytes(int bytes);
|
test_data_stream.cc | 13 // Fill |buffer| with |length| bytes of data from the stream. 59 void TestDataStream::Consume(int bytes) { 60 bytes_remaining_ -= bytes; 62 buffer_ptr_ += bytes;
|
/external/chromium_org/printing/ |
image_mac.cc | 24 size_t bytes = row_length_ * size_.height(); local 25 DCHECK(bytes); 27 data_.resize(bytes);
|
/external/chromium_org/third_party/WebKit/Source/modules/beacon/ |
NavigatorBeacon.cpp | 102 int bytes = 0; local 103 bool result = BeaconLoader::sendBeacon(m_navigator.frame(), maxAllowance(), url, data, bytes); 104 return beaconResult(context, result, bytes); 118 int bytes = 0; local 119 bool result = BeaconLoader::sendBeacon(m_navigator.frame(), maxAllowance(), url, data, bytes); 120 return beaconResult(context, result, bytes); 134 int bytes = 0; local 135 bool result = BeaconLoader::sendBeacon(m_navigator.frame(), maxAllowance(), url, data, bytes); 136 return beaconResult(context, result, bytes); 150 int bytes = 0 local [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_reader.h | 28 // of bytes dropped due to the corruption. 29 virtual void Corruption(size_t bytes, const Status& status) = 0; 95 // Reports dropped bytes to the reporter. 96 // buffer_ must be updated to remove the dropped bytes prior to invocation. 97 void ReportCorruption(size_t bytes, const char* reason); 98 void ReportDrop(size_t bytes, const Status& reason);
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
asn1parser.py | 12 def __init__(self, bytes): 13 p = Parser(bytes) 33 return p.bytes[markIndex : p.index]
|
codec.py | 10 self.bytes = bytearray(0) 13 self.bytes += bytearray(length) 14 newIndex = len(self.bytes) - 1 16 self.bytes[newIndex] = x & 0xFF 30 def __init__(self, bytes): 31 self.bytes = bytes 35 if self.index + length > len(self.bytes): 40 x |= self.bytes[self.index] 45 bytes = self.bytes[self.index : self.index+lengthBytes [all...] |
pycrypto_rc4.py | 19 key = bytes(key) 23 plaintext = bytes(plaintext) 27 ciphertext = bytes(ciphertext)
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
LineNumber_info.java | 87 LineNumber_info (final UDataInputStream bytes) throws IOException 89 m_start_pc = bytes.readU2 (); 90 m_line_number = bytes.readU2 ();
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
ByteArrayPool.java | 39 Log.d(TAG, "Created temp bytes"); 45 public boolean releaseBytes(byte[] bytes) { 46 if (bytes.length != TEMP_BYTES_SIZE) { 54 tempQueue.offer(bytes);
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
Platform.java | 39 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 41 ObjectOutputStream out = new ObjectOutputStream(bytes); 44 new ByteArrayInputStream(bytes.toByteArray()));
|
/external/lldb/source/Core/ |
InputReader.cpp | 107 InputReader::HandleRawBytes (const char *bytes, size_t bytes_len) 113 end_token = ::strstr (bytes, m_end_token.c_str()); 114 if (end_token >= bytes + bytes_len) 118 const char *p = bytes; 119 const char *end = bytes + bytes_len; 142 // Return how many bytes were handled. 143 return p - bytes; 191 return word_start - bytes + bytes_handled; 194 return p - bytes; 203 const char *line_start = bytes; [all...] |