/system/core/libmemunreachable/ |
LineBuffer.cpp | 31 if (bytes_ > 0) { 32 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_)); 37 bytes_ -= newline - *line + 1; 44 memmove(buffer_, buffer_ + start_, bytes_); 47 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); 49 if (bytes_ > 0) { 51 buffer_[bytes_] = '\0'; 53 *line_len = bytes_; 54 bytes_ = 0 [all...] |
LineBuffer.h | 33 size_t bytes_ = 0; member in class:LineBuffer
|
/system/extras/memory_replay/ |
LineBuffer.cpp | 28 if (bytes_ > 0) { 29 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_)); 34 bytes_ -= newline - *line + 1; 41 memmove(buffer_, buffer_ + start_, bytes_); 44 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); 46 if (bytes_ > 0) { 48 buffer_[bytes_] = '\0'; 50 *line_len = bytes_; 51 bytes_ = 0 [all...] |
LineBuffer.h | 33 size_t bytes_ = 0; member in class:LineBuffer
|
/system/update_engine/ |
fake_file_writer.h | 48 bytes_.insert(bytes_.end(), char_bytes, char_bytes + count); 60 return bytes_; 65 brillo::Blob bytes_; member in class:chromeos_update_engine::FakeFileWriter
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BytesTrie.java | 44 bytes_=trieBytes; 91 state.bytes=bytes_; 108 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { 184 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? 221 if(inByte==(bytes_[pos++]&0xff)) { 225 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? 269 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? 277 if(inByte!=bytes_[pos]) { 285 int node=bytes_[pos++]&0xff 1026 private byte[] bytes_; field in class:BytesTrie [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BytesTrie.java | 44 bytes_=trieBytes; 96 state.bytes=bytes_; 114 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { 199 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? 238 if(inByte==(bytes_[pos++]&0xff)) { 242 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? 287 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? 295 if(inByte!=bytes_[pos]) { 303 int node=bytes_[pos++]&0xff 1061 private byte[] bytes_; field in class:BytesTrie [all...] |
/external/icu/icu4c/source/common/unicode/ |
bytestrie.h | 65 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)), 66 pos_(bytes_), remainingMatchLength_(-1) {} 81 : ownedArray_(NULL), bytes_(other.bytes_), 90 pos_=bytes_; 123 state.bytes=bytes_; 140 if(bytes_==state.bytes && bytes_!=NULL) { 168 return nextImpl(bytes_, inByte); 321 const uint8_t *bytes_; member in class:BytesTrie::Iterator 507 const uint8_t *bytes_; member in class:BytesTrie [all...] |
/external/webrtc/webrtc/base/ |
bytebuffer.cc | 55 bytes_ = new char[size_]; 59 memcpy(bytes_, bytes, end_); 66 delete[] bytes_; 134 val->append(bytes_ + start_, len); 144 memcpy(val, bytes_ + start_, len); 190 char* start = bytes_ + end_; 199 memmove(bytes_, bytes_ + start_, len); 204 memcpy(new_bytes, bytes_ + start_, len); 205 delete [] bytes_; [all...] |
bytebuffer.h | 43 const char* Data() const { return bytes_ + start_; } 108 char* bytes_; member in class:rtc::ByteBuffer
|
bitbuffer.h | 80 const uint8_t* const bytes_; member in class:rtc::BitBuffer 81 // The total size of |bytes_|. 83 // The current offset, in bytes, from the start of |bytes_|.
|
bitbuffer.cc | 77 : bytes_(bytes), byte_count_(byte_count), byte_offset_(), bit_offset_() { 114 const uint8_t* bytes = bytes_ + byte_offset_;
|
/external/icu/icu4c/source/common/ |
bytestrieiterator.cpp | 25 : bytes_(static_cast<const uint8_t *>(trieBytes)), 26 pos_(bytes_), initialPos_(bytes_), 47 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), 113 pos=bytes_+stack_->elementAti(stackSize-2); 184 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); 197 stack_->addElement((int32_t)(pos-bytes_), errorCode);
|
/system/core/fastboot/ |
udp.cpp | 70 uint8_t id() const { return bytes_[kIndexId]; } 71 const uint8_t* bytes() const { return bytes_; } 79 uint8_t bytes_[kHeaderSize]; member in class:udp::Header 87 bytes_[kIndexId] = id; 88 bytes_[kIndexFlags] = flag; 89 bytes_[kIndexSeqH] = sequence >> 8; 90 bytes_[kIndexSeqL] = sequence; 96 return bytes_[kIndexSeqH] == response[kIndexSeqH] && 97 bytes_[kIndexSeqL] == response[kIndexSeqL] && 98 (bytes_[kIndexId] == response[kIndexId] || response[kIndexId] == kIdError) [all...] |
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
cookies.py | 21 bytes_, 59 bytes_name = bytes_(name, 'ascii') 63 bytes_val = _value_quote(bytes_(value, 'utf-8')) 97 bytes_cookie_name = bytes_(name, 'ascii') 222 return bytes_(v) 238 return bytes_(r % (weekdays[v[6]], months[v[1]]), 'ascii') 243 self.name = bytes_(name, encoding='ascii') 244 self.value = bytes_(value, encoding='ascii') 257 k = bytes_(k.lower(), 'ascii') 306 _rx_cookie = re.compile(bytes_(_re_cookie_str, 'ascii') [all...] |
request.py | 30 bytes_, 167 return bytes_(val, 'latin-1').decode(encoding) 186 self.environ[key] = bytes_(val, encoding).decode('latin-1') 188 self.environ[key] = bytes_(val, encoding) 223 r.body = bytes_(t.transcode_query(native_(r.body))) 469 bscript_name = bytes_(self.script_name, self.url_encoding) 477 bpath_info = bytes_(self.path_info, self.url_encoding) 485 bscript = bytes_(self.script_name, self.url_encoding) 486 bpath = bytes_(self.path_info, self.url_encoding) [all...] |
dec.py | 10 bytes_, 137 resp = bytes_(resp, req.charset)
|
compat.py | 29 def bytes_(s, encoding='latin-1', errors='strict'): function
|
response.py | 24 bytes_, 782 value = bytes_(value, 'utf-8') [all...] |
/external/webrtc/webrtc/p2p/base/ |
stun.cc | 694 : StunAttribute(type, 0), bytes_(NULL) { 699 : StunAttribute(type, 0), bytes_(NULL) { 706 : StunAttribute(type, 0), bytes_(NULL) { 711 : StunAttribute(type, length), bytes_(NULL) { 715 delete [] bytes_; 729 ASSERT(bytes_ != NULL); 731 return static_cast<uint8_t>(bytes_[index]); 735 ASSERT(bytes_ != NULL); 737 bytes_[index] = value; 741 bytes_ = new char[length()] [all...] |
stun.h | 395 const char* bytes() const { return bytes_; } 396 std::string GetString() const { return std::string(bytes_, length()); } 410 char* bytes_; member in class:cricket::StunByteStringAttribute
|
/external/webrtc/webrtc/modules/pacing/ |
paced_sender.cc | 92 : bytes_(0), 111 bytes_ += packet.bytes; 124 bytes_ -= packet.bytes; 136 uint64_t SizeInBytes() const { return bytes_; } 192 uint64_t bytes_; member in class:webrtc::paced_sender::PacketQueue
|
/external/icu/icu4c/source/test/intltest/ |
uobjtest.cpp | 508 char bytes_[sizeof(UnicodeString)]; member in union:__anon13074 510 char *bytes = stackMemory.bytes_;
|
/build/tools/ijar/ |
classfile.cc | 257 bytes_(bytes) {} 261 put_u4be(p, bytes_); 266 u4 bytes_; member in struct:devtools_ijar::Constant_IntegerOrFloat 278 put_u4be(p, bytes_); [all...] |
/external/chromium-trace/catapult/third_party/Paste/paste/ |
fixture.py | [all...] |