/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BytesTrie.java | 46 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/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | BytesTrie.java | 46 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/protobuf/js/binary/ |
D | decoder.js | 70 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/skia/third_party/externals/icu/source/common/unicode/ |
D | bytestrie.h | 72 : 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/ |
D | bytestrie.h | 72 : 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/node/deps/icu-small/source/common/unicode/ |
D | bytestrie.h | 72 : ownedArray_(nullptr), bytes_(static_cast<const uint8_t *>(trieBytes)), in BytesTrie() 73 pos_(bytes_), remainingMatchLength_(-1) {} in BytesTrie() 88 : ownedArray_(nullptr), 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_!=nullptr) { in resetToState() 208 return nextImpl(bytes_, inByte); in first() 361 const uint8_t *bytes_; variable [all …]
|
/third_party/vk-gl-cts/external/amber/src/src/ |
D | buffer.cc | 86 buffer->bytes_ = bytes_; in CopyTo() 99 for (uint32_t i = 0; i < bytes_.size(); ++i) { in IsEqual() 100 if (bytes_[i] != buffer->bytes_[i]) { in IsEqual() 103 first_different_left = bytes_[i]; in IsEqual() 104 first_different_right = buffer->bytes_[i]; in IsEqual() 306 bytes_.resize(GetSizeInBytes()); in SetDataWithOffset() 315 memset(bytes_.data() + offset, 0, new_space); in SetDataWithOffset() 320 uint8_t* ptr = bytes_.data() + offset; in SetDataWithOffset() 395 bytes_.resize(element_count * format_->SizeInBytes()); in SetSizeInElements() 401 bytes_.resize(size_in_bytes); in SetSizeInBytes() [all …]
|
D | buffer.h | 222 std::vector<uint8_t>* ValuePtr() { return &bytes_; } in ValuePtr() 224 const std::vector<uint8_t>* ValuePtr() const { return &bytes_; } in ValuePtr() 229 return reinterpret_cast<const T*>(bytes_.data()); in GetValues() 274 std::vector<uint8_t> bytes_; variable
|
/third_party/protobuf/js/experimental/runtime/ |
D | bytestring.js | 23 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/node/deps/icu-small/source/common/ |
D | bytestrieiterator.cpp | 27 : 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/ |
D | bytestrieiterator.cpp | 27 : 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/ |
D | bytestrieiterator.cpp | 27 : 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/v8/third_party/inspector_protocol/crdtp/ |
D | serializable.cc | 24 : bytes_(std::move(bytes)) {} in PreSerialized() 27 out->insert(out->end(), bytes_.begin(), bytes_.end()); in AppendSerialized() 31 std::vector<uint8_t> bytes_; member in v8_crdtp::__anond71025430111::PreSerialized
|
D | cbor.cc | 493 CBORTokenizer::CBORTokenizer(span<uint8_t> bytes) : bytes_(bytes) { in CBORTokenizer() 542 bytes_.subspan(status_.pos + 1)); in GetDouble() 549 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetString8() 555 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetString16WireRep() 561 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetBinary() 567 return bytes_.subspan(status_.pos, length + kEncodedEnvelopeHeaderSize); in GetEnvelope() 573 return bytes_.subspan(status_.pos + kEncodedEnvelopeHeaderSize, length); in GetEnvelopeContents() 611 if (status_.pos >= bytes_.size()) { in ReadNextToken() 615 const size_t remaining_bytes = bytes_.size() - status_.pos; in ReadNextToken() 616 switch (bytes_[status_.pos]) { in ReadNextToken() [all …]
|
D | protocol_core.cc | 176 : bytes_(bytes) { in ContainerSerializer() 177 envelope_.EncodeStart(bytes_); in ContainerSerializer() 178 bytes_->push_back(tag); in ContainerSerializer() 182 bytes_->push_back(cbor::EncodeStop()); in EncodeStop() 183 envelope_.EncodeStop(bytes_); in EncodeStop()
|
/third_party/node/deps/v8/src/heap/ |
D | array-buffer-sweeper.cc | 31 DCHECK_GE(bytes_ + accounting_length, bytes_); in Append() 32 bytes_ += accounting_length; in Append() 49 bytes_ += list->ApproximateBytes(); in Append() 74 DCHECK_IMPLIES(!head_, bytes_ == 0); in IsEmpty() 246 DCHECK_GE(young_.bytes_, bytes); in Detach() 247 young_.bytes_ -= bytes; in Detach() 249 DCHECK_GE(old_.bytes_, bytes); in Detach() 250 old_.bytes_ -= bytes; in Detach()
|
D | array-buffer-sweeper.h | 25 size_t ApproximateBytes() const { return bytes_; } in ApproximateBytes() 39 size_t bytes_ = 0; member
|
/third_party/node/deps/v8/src/codegen/ |
D | source-position-table.cc | 147 bytes_(zone), in SourcePositionTableBuilder() 166 EncodeEntry(&bytes_, tmp); in AddEntry() 176 if (bytes_.empty()) return isolate->factory()->empty_byte_array(); in ToSourcePositionTable() 180 static_cast<int>(bytes_.size()), AllocationType::kOld); in ToSourcePositionTable() 181 MemCopy(table->GetDataStartAddress(), bytes_.data(), bytes_.size()); in ToSourcePositionTable() 205 if (bytes_.empty()) return base::OwnedVector<byte>(); in ToSourcePositionTableVector() 208 base::OwnedVector<byte> table = base::OwnedVector<byte>::Of(bytes_); in ToSourcePositionTableVector()
|
/third_party/mesa3d/src/amd/vulkan/radix_sort/common/ |
D | macros.h | 102 #define ALIGN_MACRO(bytes_) __declspec(align(bytes_)) // only accepts integer as arg argument 105 #define ALIGN_MACRO(bytes_) alignas(bytes_) argument
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | textencoding_test.js | 66 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/node/deps/v8/src/inspector/ |
D | string-util.h | 49 const uint8_t* data() const { return bytes_->data(); } in data() 50 size_t size() const { return bytes_->size(); } in size() 58 std::shared_ptr<std::vector<uint8_t>> bytes_; 61 : bytes_(bytes) {} in Binary()
|
/third_party/node/tools/inspector_protocol/lib/ |
D | base_string_adapter_cc.template | 195 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()),
|
D | base_string_adapter_h.template | 120 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/node/deps/v8/src/baseline/ |
D | baseline-compiler.h | 39 base::VLQEncodeUnsigned(&bytes_, static_cast<uint32_t>(pc_diff)); in AddPosition() 46 void Reserve(size_t size) { bytes_.reserve(size); } in Reserve() 50 std::vector<byte> bytes_; variable
|
/third_party/node/deps/v8/src/wasm/ |
D | streaming-decoder.cc | 62 bytes_(base::OwnedVector<uint8_t>::NewForOverwrite( in SectionBuffer() 65 bytes_.start()[0] = id; in SectionBuffer() 66 memcpy(bytes_.start() + 1, &length_bytes.first(), length_bytes.length()); in SectionBuffer() 70 return static_cast<SectionCode>(bytes_.start()[0]); in section_code() 83 base::Vector<uint8_t> bytes() const { return bytes_.as_vector(); } in bytes() 85 size_t length() const { return bytes_.size(); } in length() 90 const base::OwnedVector<uint8_t> bytes_; member in v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer
|