Home
last modified time | relevance | path

Searched refs:bytes_ (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java44 bytes_=trieBytes; in BytesTrie()
96 state.bytes=bytes_; in saveState()
114 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { in resetToState()
199 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
238 if(inByte==(bytes_[pos++]&0xff)) { in next()
242 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in next()
287 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? in next()
295 if(inByte!=bytes_[pos]) { in next()
303 int node=bytes_[pos++]&0xff; in next()
323 if(inByte!=bytes_[pos]) { in next()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java44 bytes_=trieBytes; in BytesTrie()
91 state.bytes=bytes_; in saveState()
108 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { in resetToState()
184 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
221 if(inByte==(bytes_[pos++]&0xff)) { in next()
225 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in next()
269 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? in next()
277 if(inByte!=bytes_[pos]) { in next()
285 int node=bytes_[pos++]&0xff; in next()
305 if(inByte!=bytes_[pos]) { in next()
[all …]
/external/icu/icu4c/source/common/unicode/
Dbytestrie.h65 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie()
66 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
81 : ownedArray_(NULL), bytes_(other.bytes_), in BytesTrie()
90 pos_=bytes_; in reset()
123 state.bytes=bytes_; in saveState()
140 if(bytes_==state.bytes && bytes_!=NULL) { in resetToState()
168 return nextImpl(bytes_, inByte); in first()
321 const uint8_t *bytes_; variable
353 bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie()
354 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
[all …]
/external/webrtc/webrtc/base/
Dbytebuffer.cc55 bytes_ = new char[size_]; in Construct()
59 memcpy(bytes_, bytes, end_); in Construct()
66 delete[] bytes_; in ~ByteBuffer()
134 val->append(bytes_ + start_, len); in ReadString()
144 memcpy(val, bytes_ + start_, len); in ReadBytes()
190 char* start = bytes_ + end_; in ReserveWriteBuffer()
199 memmove(bytes_, bytes_ + start_, len); in Resize()
204 memcpy(new_bytes, bytes_ + start_, len); in Resize()
205 delete [] bytes_; in Resize()
206 bytes_ = new_bytes; in Resize()
[all …]
Dbytebuffer.h43 const char* Data() const { return bytes_ + start_; } in Data()
108 char* bytes_; variable
Dbitbuffer.cc77 : bytes_(bytes), byte_count_(byte_count), byte_offset_(), bit_offset_() { in BitBuffer()
114 const uint8_t* bytes = bytes_ + byte_offset_; in PeekBits()
Dbitbuffer.h80 const uint8_t* const bytes_;
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dcookies.py21 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 …]
Drequest.py30 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)
1140 parts = [bytes_('%s %s %s' % (self.method, url, self.http_version))]
[all …]
Ddec.py10 bytes_,
137 resp = bytes_(resp, req.charset)
Dresponse.py24 bytes_,
782 value = bytes_(value, 'utf-8')
1071 body = bytes_("Requested range not satisfiable: %s" % req.range)
1250 script_name = bytes_(environ.get('SCRIPT_NAME', '/'), 'latin-1')
1251 path_info = bytes_(environ.get('PATH_INFO', ''), 'latin-1')
Dcompat.py29 def bytes_(s, encoding='latin-1', errors='strict'): function
/external/icu/icu4c/source/common/
Dbytestrieiterator.cpp25 : bytes_(static_cast<const uint8_t *>(trieBytes)), in Iterator()
26 pos_(bytes_), initialPos_(bytes_), in Iterator()
47 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
113 pos=bytes_+stack_->elementAti(stackSize-2); in next()
184 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); in branchNext()
197 stack_->addElement((int32_t)(pos-bytes_), errorCode); in branchNext()
/external/webrtc/webrtc/p2p/base/
Dstun.cc694 : StunAttribute(type, 0), bytes_(NULL) { in StunByteStringAttribute()
699 : StunAttribute(type, 0), bytes_(NULL) { in StunByteStringAttribute()
706 : StunAttribute(type, 0), bytes_(NULL) { in StunByteStringAttribute()
711 : StunAttribute(type, length), bytes_(NULL) { in StunByteStringAttribute()
715 delete [] bytes_; in ~StunByteStringAttribute()
729 ASSERT(bytes_ != NULL); in GetByte()
731 return static_cast<uint8_t>(bytes_[index]); in GetByte()
735 ASSERT(bytes_ != NULL); in SetByte()
737 bytes_[index] = value; in SetByte()
741 bytes_ = new char[length()]; in Read()
[all …]
Dstun.h395 const char* bytes() const { return bytes_; } in bytes()
396 std::string GetString() const { return std::string(bytes_, length()); } in GetString()
410 char* bytes_; variable
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender.cc92 : bytes_(0), in PacketQueue()
111 bytes_ += packet.bytes; in Push()
124 bytes_ -= packet.bytes; in FinalizePop()
136 uint64_t SizeInBytes() const { return bytes_; } in SizeInBytes()
192 uint64_t bytes_; member in webrtc::paced_sender::PacketQueue
/external/icu/icu4c/source/test/intltest/
Duobjtest.cpp508 char bytes_[sizeof(UnicodeString)]; in testUMemory() member
510 char *bytes = stackMemory.bytes_; in testUMemory()
/external/chromium-trace/catapult/third_party/Paste/paste/
Dfixture.py1648 bytes_ = self.bytes
1649 if s not in bytes_:
1651 print(bytes_)
1652 assert s in bytes_
/external/v8/src/heap/
Dspaces.h2233 NumberAndSizeInfo() : number_(0), bytes_(0) {} in NumberAndSizeInfo()
2238 int bytes() const { return bytes_; } in bytes()
2239 void increment_bytes(int size) { bytes_ += size; } in increment_bytes()
2243 bytes_ = 0; in clear()
2248 int bytes_; variable