Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java46 bytes_=trieBytes; in BytesTrie()
98 state.bytes=bytes_; in saveState()
116 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { in resetToState()
201 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
240 if(inByte==(bytes_[pos++]&0xff)) { in next()
244 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in next()
289 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? in next()
297 if(inByte!=bytes_[pos]) { in next()
305 int node=bytes_[pos++]&0xff; in next()
325 if(inByte!=bytes_[pos]) { in next()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java46 bytes_=trieBytes; in BytesTrie()
94 state.bytes=bytes_; in saveState()
111 if(bytes_==state.bytes && bytes_!=null && root_==state.root) { in resetToState()
188 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
225 if(inByte==(bytes_[pos++]&0xff)) { in next()
229 return (length<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in next()
273 return (length<0 && (node=(bytes_[pos]&0xff))>=kMinValueLead) ? in next()
281 if(inByte!=bytes_[pos]) { in next()
289 int node=bytes_[pos++]&0xff; in next()
309 if(inByte!=bytes_[pos]) { in next()
[all …]
/external/protobuf/js/binary/
Ddecoder.js228 this.bytes_ = null;
319 return jspb.BinaryDecoder.alloc(this.bytes_,
328 this.bytes_ = null;
341 return this.bytes_;
354 this.bytes_ = jspb.utils.byteSourceToUint8Array(data);
357 goog.isDef(opt_length) ? this.start_ + opt_length : this.bytes_.length;
466 temp = this.bytes_[this.cursor_++];
476 temp = this.bytes_[this.cursor_++];
487 temp = this.bytes_[this.cursor_++];
506 while (this.bytes_[this.cursor_] & 0x80) {
[all …]
/external/icu/icu4c/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 …]
/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/libchrome/mojo/public/cpp/base/
Dbig_buffer.cc67 return bytes_.data(); in data()
81 return bytes_.size(); in size()
109 bytes_ = bytes; in BigBufferView()
117 DCHECK(bytes_.empty()); in SetBytes()
120 bytes_ = bytes; in SetBytes()
125 DCHECK(bytes_.empty()); in SetSharedMemory()
133 return bytes_; in data()
147 std::copy(view.bytes_.begin(), view.bytes_.end(), in ToBigBuffer()
148 std::back_inserter(buffer.bytes_)); in ToBigBuffer()
Dbig_buffer.h107 return bytes_; in COMPONENT_EXPORT()
119 std::vector<uint8_t> bytes_; in COMPONENT_EXPORT() local
161 return bytes_; in COMPONENT_EXPORT()
171 base::span<const uint8_t> bytes_; in COMPONENT_EXPORT() local
/external/flatbuffers/js/
Dflatbuffers.js825 this.bytes_ = bytes;
855 return this.bytes_;
882 return this.bytes_.length;
898 return this.bytes_[offset];
914 return this.bytes_[offset] | this.bytes_[offset + 1] << 8;
922 …return this.bytes_[offset] | this.bytes_[offset + 1] << 8 | this.bytes_[offset + 2] << 16 | this.b…
973 this.bytes_[offset] = /** @type {number} */(value);
981 this.bytes_[offset] = value;
989 this.bytes_[offset] = value;
990 this.bytes_[offset + 1] = value >> 8;
[all …]
/external/image_io/includes/image_io/jpeg/
Djpeg_segment_info.h39 type_ == rhs.type_ && bytes_ == rhs.bytes_;
63 const std::vector<Byte>& GetBytes() const { return bytes_; } in GetBytes()
66 std::vector<Byte>* GetMutableBytes() { return &bytes_; } in GetMutableBytes()
79 std::vector<Byte> bytes_; variable
/external/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()
/external/tensorflow/tensorflow/core/common_runtime/
Dpending_counts.h82 : num_bytes_(layout.next_offset_), bytes_(new char[num_bytes_]) {} in PendingCounts()
87 : num_bytes_(other.num_bytes_), bytes_(new char[num_bytes_]) { in PendingCounts()
88 CHECK_EQ(uintptr_t(bytes_) % alignof(LargeCounts), 0); in PendingCounts()
89 memcpy(bytes_, other.bytes_, other.num_bytes_); in PendingCounts()
92 ~PendingCounts() { delete[] bytes_; } in ~PendingCounts()
294 return reinterpret_cast<LargeCounts*>(bytes_ + h.byte_offset_); in Large()
299 return reinterpret_cast<PackedCounts*>(bytes_ + h.byte_offset_); in Packed()
303 char* bytes_; // Array of num_bytes_ bytes variable
/external/v8/src/
Dsource-position-table.cc148 EncodeEntry(bytes_, tmp); in AddEntry()
157 if (bytes_.empty()) return isolate->factory()->empty_byte_array(); in ToSourcePositionTable()
161 static_cast<int>(bytes_.size()), TENURED); in ToSourcePositionTable()
162 MemCopy(table->GetDataStartAddress(), bytes_.data(), bytes_.size()); in ToSourcePositionTable()
176 if (bytes_.empty()) return OwnedVector<byte>(); in ToSourcePositionTableVector()
179 OwnedVector<byte> table = OwnedVector<byte>::Of(bytes_); in ToSourcePositionTableVector()
Dsource-position-table.h53 std::vector<byte> bytes_; variable
/external/epid-sdk/epid/common-testhelper/
Dprng-testhelper.h93 : bytes_((uint8_t const*)bytes, (uint8_t const*)bytes + length) {} in StaticPrng()
107 random_data[i] = myprng->bytes_[i % myprng->bytes_.size()]; in Generate()
113 std::vector<uint8_t> bytes_;
/external/v8/src/wasm/
Dstreaming-decoder.h93 bytes_(new uint8_t[length_]), in SectionBuffer()
95 bytes_[0] = id; in SectionBuffer()
96 memcpy(bytes_.get() + 1, &length_bytes.first(), length_bytes.length()); in SectionBuffer()
100 return static_cast<SectionCode>(bytes_[0]); in section_code()
104 uint8_t* bytes() const { return bytes_.get(); } in bytes()
116 std::unique_ptr<uint8_t[]> bytes_; variable
/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/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr_test.cc82 : TensorBuffer(nullptr), bytes_(bytes) { in TestTensorBuffer()
83 live_tensor_bytes += bytes_; in TestTensorBuffer()
85 ~TestTensorBuffer() override { live_tensor_bytes -= bytes_; } in ~TestTensorBuffer()
87 size_t size() const override { return bytes_; } in size()
94 size_t bytes_; member in tensorflow::TestTensorBuffer
/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/tensorflow/tensorflow/stream_executor/
Dkernel_spec.h264 const char *bytes() const { return bytes_; } in bytes()
267 const char *bytes_;
/external/python/cpython3/Lib/
Duuid.py60 bytes_ = bytes # The built-in bytes type variable
170 assert isinstance(bytes, bytes_), repr(bytes)
658 return UUID(bytes=bytes_(_buffer.raw)).node
/external/icu/icu4c/source/test/intltest/
Duobjtest.cpp514 char bytes_[sizeof(UnicodeString)]; in testUMemory() member
516 char *bytes = stackMemory.bytes_; in testUMemory()

12