Home
last modified time | relevance | path

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

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DBytesTrie.java46 bytes_=trieBytes; in BytesTrie()
58 bytes_ = other.bytes_; in BytesTrie()
137 state.bytes=bytes_; in saveState()
156 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { in resetToState()
233 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
270 if(inByte==(bytes_[pos++]&0xff)) { in next()
274 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in next()
318 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? in next()
326 if(inByte!=bytes_[pos]) { in next()
334 int node=bytes_[pos++]&0xff; in next()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java46 bytes_=trieBytes; in BytesTrie()
60 bytes_ = other.bytes_; in BytesTrie()
145 state.bytes=bytes_; in saveState()
165 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { in resetToState()
250 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
289 if(inByte==(bytes_[pos++]&0xff)) { in next()
293 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in next()
338 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? in next()
346 if(inByte!=bytes_[pos]) { in next()
354 int node=bytes_[pos++]&0xff; in next()
[all …]
/third_party/flatbuffers/ts/
Dbyte-buffer.ts13 constructor(private bytes_: Uint8Array) { } property in ByteBuffer
30 return this.bytes_;
51 return this.bytes_.length;
59 return this.bytes_[offset];
67 return this.bytes_[offset] | this.bytes_[offset + 1] << 8;
71 …return this.bytes_[offset] | this.bytes_[offset + 1] << 8 | this.bytes_[offset + 2] << 16 | this.b…
98 this.bytes_[offset] = value;
102 this.bytes_[offset] = value;
106 this.bytes_[offset] = value;
107 this.bytes_[offset + 1] = value >> 8;
[all …]
/third_party/protobuf/js/binary/
Ddecoder.js70 this.bytes_ = null;
147 return jspb.BinaryDecoder.alloc(this.bytes_,
156 this.bytes_ = null;
169 return this.bytes_;
182 this.bytes_ = jspb.utils.byteSourceToUint8Array(data);
185 this.bytes_.length;
297 temp = this.bytes_[this.cursor_++];
303 temp = this.bytes_[this.cursor_++];
311 temp = this.bytes_[this.cursor_++];
363 var bytes = this.bytes_;
[all …]
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/
Dbyte_stream_wrappers.h25 : bytes_(bytes), size_(size) {} in ByteBufferStreamReader()
33 return bytes_[location_++]; in ReadByte()
43 std::memcpy(buffer, &bytes_[location_], length); in ReadBytes()
58 const uint8_t* bytes_;
72 : bytes_(buffer) { in ByteBufferStreamWriter()
77 void WriteByte(uint8_t byte) { bytes_->push_back(byte); } in WriteByte()
83 bytes_->insert(bytes_->end(), bytes, bytes + length); in WriteBytes()
90 uint8_t mod = bytes_->size() % alignment; in WriteAlignment()
100 std::vector<uint8_t>* bytes_;
/third_party/node/deps/icu-small/source/common/unicode/
Dbytestrie.h72 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie()
73 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
88 : ownedArray_(NULL), bytes_(other.bytes_), in BytesTrie()
97 pos_=bytes_; in reset()
112 (uint64_t)(pos_ - bytes_); in getState64()
131 pos_ = bytes_ + (state & kState64PosMask); in resetToState64()
163 state.bytes=bytes_; in saveState()
180 if(bytes_==state.bytes && bytes_!=NULL) { in resetToState()
208 return nextImpl(bytes_, inByte); in first()
361 const uint8_t *bytes_; variable
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dbytestrie.h72 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie()
73 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
88 : ownedArray_(NULL), bytes_(other.bytes_), in BytesTrie()
97 pos_=bytes_; in reset()
112 (uint64_t)(pos_ - bytes_); in getState64()
131 pos_ = bytes_ + (state & kState64PosMask); in resetToState64()
163 state.bytes=bytes_; in saveState()
180 if(bytes_==state.bytes && bytes_!=NULL) { in resetToState()
208 return nextImpl(bytes_, inByte); in first()
361 const uint8_t *bytes_; variable
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dbytestrie.h72 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie()
73 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
88 : ownedArray_(NULL), bytes_(other.bytes_), in BytesTrie()
97 pos_=bytes_; in reset()
112 (uint64_t)(pos_ - bytes_); in getState64()
131 pos_ = bytes_ + (state & kState64PosMask); in resetToState64()
163 state.bytes=bytes_; in saveState()
180 if(bytes_==state.bytes && bytes_!=NULL) { in resetToState()
208 return nextImpl(bytes_, inByte); in first()
361 const uint8_t *bytes_; variable
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dbytestrie.h67 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie()
68 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
83 : ownedArray_(NULL), bytes_(other.bytes_), in BytesTrie()
92 pos_=bytes_; in reset()
125 state.bytes=bytes_; in saveState()
142 if(bytes_==state.bytes && bytes_!=NULL) { in resetToState()
170 return nextImpl(bytes_, inByte); in first()
323 const uint8_t *bytes_; variable
354 bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie()
355 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie()
[all …]
/third_party/protobuf/js/experimental/runtime/
Dbytestring.js23 this.bytes_ = bytes;
147 if (this.bytes_ != null && this.bytes_.byteLength == 0) {
161 if (this.bytes_) {
162 return this.bytes_;
164 return this.bytes_ = base64.decodeStringToUint8Array(
174 this.base64_ = base64.encodeByteArray(this.bytes_);
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dbytestrieiterator.cpp27 : bytes_(static_cast<const uint8_t *>(trieBytes)), in Iterator()
28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
115 pos=bytes_+stack_->elementAti(stackSize-2); in next()
189 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); in branchNext()
202 stack_->addElement((int32_t)(pos-bytes_), errorCode); in branchNext()
/third_party/skia/third_party/externals/icu/source/common/
Dbytestrieiterator.cpp27 : bytes_(static_cast<const uint8_t *>(trieBytes)), in Iterator()
28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
115 pos=bytes_+stack_->elementAti(stackSize-2); in next()
189 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); in branchNext()
202 stack_->addElement((int32_t)(pos-bytes_), errorCode); in branchNext()
/third_party/node/deps/icu-small/source/common/
Dbytestrieiterator.cpp27 : bytes_(static_cast<const uint8_t *>(trieBytes)), in Iterator()
28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
115 pos=bytes_+stack_->elementAti(stackSize-2); in next()
189 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); in branchNext()
202 stack_->addElement((int32_t)(pos-bytes_), errorCode); in branchNext()
/third_party/icu/icu4c/source/common/
Dbytestrieiterator.cpp27 : bytes_(static_cast<const uint8_t *>(trieBytes)), in Iterator()
28 pos_(bytes_), initialPos_(bytes_), in Iterator()
49 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), in Iterator()
115 pos=bytes_+stack_->elementAti(stackSize-2); in next()
189 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); in branchNext()
202 stack_->addElement((int32_t)(pos-bytes_), errorCode); in branchNext()
/third_party/boost/libs/beast/test/bench/wsload/
Dwsload.cpp75 std::size_t bytes_ = 0; member in report
83 bytes_ += bytes; in insert()
90 return bytes_; in bytes()
119 std::size_t bytes_ = 0; member in connection
146 rep_.insert(count_, bytes_); in ~connection()
225 bytes_ += buffer_.size(); in on_read()
/third_party/protobuf/js/experimental/runtime/kernel/
Dtextencoding_test.js66 this.bytes_ = bytes;
71 expect(decode(new DataView(this.bytes_))).toEqual(this.stringValue_);
72 expect(encode(this.stringValue_)).toEqual(new Uint8Array(this.bytes_));
/third_party/boost/boost/asio/detail/impl/
Dbuffer_sequence_adapter.ipp43 bytes_ = const_cast<byte*>(static_cast<const byte*>(b.data()));
50 bytes_ = static_cast<byte*>(b.data());
61 *value = bytes_;
86 byte* bytes_;
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dbuffer_sequence_adapter.ipp43 bytes_ = const_cast<byte*>(static_cast<const byte*>(b.data()));
50 bytes_ = static_cast<byte*>(b.data());
61 *value = bytes_;
86 byte* bytes_;
/third_party/node/tools/inspector_protocol/lib/
Dbase_string_adapter_cc.template195 Binary::Binary() : bytes_(new base::RefCountedBytes) {}
196 Binary::Binary(const Binary& binary) : bytes_(binary.bytes_) {}
197 Binary::Binary(scoped_refptr<base::RefCountedMemory> bytes) : bytes_(bytes) {}
203 base::StringPiece(reinterpret_cast<const char*>(bytes_->front()),
204 bytes_->size()),
Dbase_string_adapter_h.template120 const uint8_t* data() const { return bytes_->front(); }
121 size_t size() const { return bytes_->size(); }
122 scoped_refptr<base::RefCountedMemory> bytes() const { return bytes_; }
134 scoped_refptr<base::RefCountedMemory> bytes_;
/third_party/cef/libcef_dll/wrapper/
Dcef_byte_read_handler.cc14 : bytes_(bytes), size_(size), offset_(0), source_(source) {} in CefByteReadHandler()
20 memcpy(ptr, bytes_ + offset_, ret * size); in Read()
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc636 CBORTokenizer::CBORTokenizer(span<uint8_t> bytes) : bytes_(bytes) { in CBORTokenizer()
684 bytes_.subspan(status_.pos + 1)); in GetDouble()
691 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetString8()
697 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetString16WireRep()
703 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetBinary()
709 return bytes_.subspan(status_.pos + kEncodedEnvelopeHeaderSize, length); in GetEnvelopeContents()
747 if (status_.pos >= bytes_.size()) { in ReadNextToken()
751 const size_t remaining_bytes = bytes_.size() - status_.pos; in ReadNextToken()
752 switch (bytes_[status_.pos]) { in ReadNextToken()
773 bytes_.subspan(status_.pos + 1), &token_start_type_, in ReadNextToken()
[all …]
/third_party/cef/include/wrapper/
Dcef_byte_read_handler.h70 const unsigned char* bytes_;
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh505 SimpleGlyph (const GlyphHeader &header_, hb_bytes_t bytes_) : in SimpleGlyph()
506 header (header_), bytes (bytes_) {} in SimpleGlyph()
676 CompositeGlyph (const GlyphHeader &header_, hb_bytes_t bytes_) : in CompositeGlyph()
677 header (header_), bytes (bytes_) {} in CompositeGlyph()
884 Glyph (hb_bytes_t bytes_ = hb_bytes_t (), in Glyph()
885 hb_codepoint_t gid_ = (hb_codepoint_t) -1) : bytes (bytes_), gid (gid_), in Glyph()
/third_party/harfbuzz/src/
Dhb-ot-glyf-table.hh475 SimpleGlyph (const GlyphHeader &header_, hb_bytes_t bytes_) : in SimpleGlyph()
476 header (header_), bytes (bytes_) {} in SimpleGlyph()
635 CompositeGlyph (const GlyphHeader &header_, hb_bytes_t bytes_) : in CompositeGlyph()
636 header (header_), bytes (bytes_) {} in CompositeGlyph()
828 Glyph (hb_bytes_t bytes_ = hb_bytes_t (), in Glyph()
829 hb_codepoint_t gid_ = (hb_codepoint_t) -1) : bytes (bytes_), gid (gid_), in Glyph()

12