/external/skia/src/pipe/utils/ |
H A D | SamplePipeControllers.h | 22 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 40 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 61 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 75 PipeBlock(void* block, size_t bytes) { fBlock = block, fBytes = bytes; } argument 79 // Number of bytes that were written to fBlock.
|
/external/smali/util/src/main/java/org/jf/util/ |
H A D | Utf8Utils.java | 40 * @return non-null; the UTF-8 bytes for it 44 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 50 bytes[outAt] = (byte) c; 53 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); 54 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); 57 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); 58 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); 59 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80); 65 System.arraycopy(bytes, 0, result, 0, outAt); 78 * Converts an array of UTF-8 bytes int 85 utf8BytesToString(byte[] bytes, int start, int length) argument 178 utf8BytesWithUtf16LengthToString(@onnull byte[] bytes, int start, int utf16Length) argument 191 utf8BytesWithUtf16LengthToString(@onnull byte[] bytes, int start, int utf16Length, @Nullable int[] readLength) argument [all...] |
/external/tremolo/Tremolo/ |
H A D | misc.c | 58 long bytes; member in struct:__anon31578 64 static void *_insert(void *ptr,long bytes,char *file,long line){ argument 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 209 _VDBG_malloc(void *ptr,long bytes,char *file,long line) argument [all...] |
/external/valgrind/main/memcheck/tests/amd64/ |
H A D | 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...] |
/external/chromium_org/sync/internal_api/public/base/ |
H A D | 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| a 230 Ordinal(const std::string& bytes) argument 346 IsValidOrdinalBytes(const std::string& bytes) argument 372 GetLengthWithoutTrailingZeroDigits( const std::string& bytes, size_t length) argument 389 GetDigit(const std::string& bytes, size_t i) argument 394 GetDigitValue(const std::string& bytes, size_t i) argument 399 AddDigitValue(std::string* bytes, size_t i, int digit_value) argument 415 GetProperLength(const std::string& lower_bound, const std::string& bytes) argument [all...] |
/external/qemu/util/ |
H A D | 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, 29 iov_from_buf(const struct iovec *iov, unsigned int iov_cnt, size_t offset, const void *buf, size_t bytes) argument 48 iov_to_buf(const struct iovec *iov, const unsigned int iov_cnt, size_t offset, void *buf, size_t bytes) argument 67 iov_memset(const struct iovec *iov, const unsigned int iov_cnt, size_t offset, int fillc, size_t bytes) argument 143 iov_send_recv(int sockfd, struct iovec *iov, unsigned iov_cnt, size_t offset, size_t bytes, bool do_send) argument 236 iov_copy(struct iovec *dst_iov, unsigned int dst_iov_cnt, const struct iovec *iov, unsigned int iov_cnt, size_t offset, size_t bytes) argument 363 qemu_iovec_to_buf(QEMUIOVector *qiov, size_t offset, void *buf, size_t bytes) argument 369 qemu_iovec_from_buf(QEMUIOVector *qiov, size_t offset, const void *buf, size_t bytes) argument 375 qemu_iovec_memset(QEMUIOVector *qiov, size_t offset, int fillc, size_t bytes) argument 381 iov_discard_front(struct iovec **iov, unsigned int *iov_cnt, size_t bytes) argument 404 iov_discard_back(struct iovec *iov, unsigned int *iov_cnt, size_t bytes) argument [all...] |
/external/chromium_org/remoting/base/ |
H A D | compound_buffer.cc | 93 void CompoundBuffer::CropFront(int bytes) { argument 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, 115 CropBack(int bytes) argument [all...] |
/external/llvm/utils/ |
H A D | 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 [all...] |
/external/chromium_org/components/rappor/ |
H A D | bloom_filter.cc | 32 // Note that the "bytes" are uint8_t, so they are always 8-bits. 39 void BloomFilter::SetBytesForTesting(const ByteVector& bytes) { argument 40 DCHECK_EQ(bytes_.size(), bytes.size()); 42 bytes_[i] = bytes[i];
|
/external/chromium_org/content/child/npapi/ |
H A D | 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/ |
H A D | test_data_stream.cc | 13 // Fill |buffer| with |length| bytes of data from the stream. 59 void TestDataStream::Consume(int bytes) { argument 60 bytes_remaining_ -= bytes; 62 buffer_ptr_ += bytes;
|
/external/chromium_org/printing/ |
H A D | 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/ |
H A D | 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 local [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | 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/ |
H A D | asn1parser.py | 12 def __init__(self, bytes): 13 p = Parser(bytes) 33 return p.bytes[markIndex : p.index]
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | LineNumber_info.java | 87 LineNumber_info (final UDataInputStream bytes) throws IOException argument 89 m_start_pc = bytes.readU2 (); 90 m_line_number = bytes.readU2 ();
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
H A D | ByteArrayPool.java | 39 Log.d(TAG, "Created temp bytes"); 45 public boolean releaseBytes(byte[] bytes) { argument 46 if (bytes.length != TEMP_BYTES_SIZE) { 54 tempQueue.offer(bytes);
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
H A D | Platform.java | 39 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); 41 ObjectOutputStream out = new ObjectOutputStream(bytes); 44 new ByteArrayInputStream(bytes.toByteArray()));
|
/external/lldb/source/Core/ |
H A D | InputReader.cpp | 107 InputReader::HandleRawBytes (const char *bytes, size_t bytes_len) argument 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...] |
/external/openssl/crypto/cms/ |
H A D | cms_att.c | 98 const void *bytes, int len) 101 type, bytes, len)) return 1; 107 const void *bytes, int len) 110 type, bytes, len)) return 1; 116 const void *bytes, int len) 119 type, bytes, len)) return 1; 164 const void *bytes, int len) 167 type, bytes, len)) return 1; 173 const void *bytes, int len) 176 type, bytes, le 96 CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *obj, int type, const void *bytes, int len) argument 105 CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument 114 CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si, const char *attrname, int type, const void *bytes, int len) argument 162 CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *obj, int type, const void *bytes, int len) argument 171 CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si, int nid, int type, const void *bytes, int len) argument 180 CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si, const char *attrname, int type, const void *bytes, int len) argument [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
H A D | BCodec.java | 81 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument 82 if (bytes == null) { 85 return Base64.encodeBase64(bytes); 88 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument 89 if (bytes == null) { 92 return Base64.decodeBase64(bytes);
|
/external/chromium_org/content/child/webcrypto/openssl/ |
H A D | util_openssl.cc | 78 iv.bytes(), 80 data.bytes(), 82 additional_data.bytes(), 93 iv.bytes(), 95 data.bytes(), 97 additional_data.bytes(),
|
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
H A D | low_latency_event_posix.cc | 82 size_t bytes = sizeof(buffer); local 86 bytes)); 87 if (bytes_written != static_cast<ssize_t>(bytes)) { 94 size_t bytes = sizeof(buffer); local 95 ssize_t bytes_read = HANDLE_EINTR(read(handles_[kReadHandle], buffer, bytes)); 100 } else if (bytes_read == static_cast<ssize_t>(bytes)) {
|
/external/chromium_org/v8/src/ |
H A D | snapshot-source-sink.cc | 44 int bytes = 1; 45 if (integer > 0xff) bytes = 2; 46 if (integer > 0xffff) bytes = 3; 47 integer |= bytes; 49 if (bytes > 1) Put(static_cast<int>((integer >> 8) & 0xff), "IntPart2"); 50 if (bytes > 2) Put(static_cast<int>((integer >> 16) & 0xff), "IntPart3");
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
H A D | Field_info.java | 75 final UDataInputStream bytes) 78 m_access_flags = bytes.readU2 (); 80 m_name_index = bytes.readU2 (); 81 m_descriptor_index = bytes.readU2 (); 84 final int attributes_count = bytes.readU2 (); 89 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes); 74 Field_info(final IConstantCollection constants, final UDataInputStream bytes) argument
|