Home
last modified time | relevance | path

Searched refs:len_ (Results 1 – 25 of 43) sorted by relevance

12

/third_party/spirv-tools/tools/sva/src/
Dlexer.js23 this.len_ = input.length;
41 if (this.cur_pos_ >= this.len_)
80 if (this.len_ <= this.cur_pos_ + (str.length - 1))
114 while (this.cur_pos_ < this.len_ &&
134 while (this.cur_pos_ < this.len_ && !this.is("\n"))
147 if (this.cur_pos_ >= this.len_)
152 while (end < this.len_ && this.isNum(this.input_[end]))
156 if (end >= this.len_ || this.input_[end] !== ".")
160 while (end < this.len_ && this.isNum(this.input_[end]))
181 if (this.cur_pos_ >= this.len_)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dlexer.js23 this.len_ = input.length;
41 if (this.cur_pos_ >= this.len_)
80 if (this.len_ <= this.cur_pos_ + (str.length - 1))
114 while (this.cur_pos_ < this.len_ &&
134 while (this.cur_pos_ < this.len_ && !this.is("\n"))
147 if (this.cur_pos_ >= this.len_)
152 while (end < this.len_ && this.isNum(this.input_[end]))
156 if (end >= this.len_ || this.input_[end] !== ".")
160 while (end < this.len_ && this.isNum(this.input_[end]))
181 if (this.cur_pos_ >= this.len_)
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/
Dlexer.js23 this.len_ = input.length;
41 if (this.cur_pos_ >= this.len_)
80 if (this.len_ <= this.cur_pos_ + (str.length - 1))
114 while (this.cur_pos_ < this.len_ &&
134 while (this.cur_pos_ < this.len_ && !this.is("\n"))
147 if (this.cur_pos_ >= this.len_)
152 while (end < this.len_ && this.isNum(this.input_[end]))
156 if (end >= this.len_ || this.input_[end] !== ".")
160 while (end < this.len_ && this.isNum(this.input_[end]))
181 if (this.cur_pos_ >= this.len_)
[all …]
/third_party/ninja/src/
Dstring_piece.h28 StringPiece() : str_(NULL), len_(0) {} in StringPiece()
31 StringPiece(const std::string& str) : str_(str.data()), len_(str.size()) {} in StringPiece()
32 StringPiece(const char* str) : str_(str), len_(strlen(str)) {} in StringPiece()
34 StringPiece(const char* str, size_t len) : str_(str), len_(len) {} in StringPiece()
37 return len_ == other.len_ && memcmp(str_, other.str_, len_) == 0;
47 return len_ ? std::string(str_, len_) : std::string(); in AsString()
55 return str_ + len_; in end()
63 return len_; in size()
67 size_t len_; member
Dhash_map.h66 return MurmurHash2(key.str_, key.len_);
79 return MurmurHash2(key.str_, key.len_);
82 int cmp = memcmp(a.str_, b.str_, min(a.len_, b.len_));
88 return a.len_ < b.len_;
102 return MurmurHash2(key.str_, key.len_);
Dstring_piece_util.cc51 cap += list[i].len_; in JoinStringPiece()
60 ret.append(list[i].str_, list[i].len_); in JoinStringPiece()
67 if (a.len_ != b.len_) { in EqualsCaseInsensitiveASCII()
71 for (size_t i = 0; i < a.len_; ++i) { in EqualsCaseInsensitiveASCII()
Dedit_distance.cc38 int m = s1.len_; in EditDistance()
39 int n = s2.len_; in EditDistance()
/third_party/node/deps/v8/src/bigint/
Dbigint.h60 Digits(digit_t* mem, int len) : digits_(mem), len_(len) { in Digits()
69 len_(std::max(0, std::min(src.len_ - offset, len))) { in Digits()
74 BIGINT_H_DCHECK(i >= 0 && i <= len_);
75 return Digits(digits_ + i, len_ - i);
80 BIGINT_H_DCHECK(i >= 0 && i < len_);
85 BIGINT_H_DCHECK(len_ > 0); in msd()
86 return read_4byte_aligned(len_ - 1); in msd()
90 return digits_ == other.digits_ && len_ == other.len_;
95 while (len_ > 0 && msd() == 0) len_--; in Normalize()
99 BIGINT_H_DCHECK(len_ > 0 && msd() == 0); in TrimOne()
[all …]
Ddiv-helpers.h40 : Digits(original.digits_, original.len_) {
46 len_++;
55 digit_t* digits = new digit_t[len_];
59 RWDigits rw_view(digits_, len_);
66 RWDigits rw_view(digits_, len_); in Reset()
/third_party/node/deps/v8/src/runtime/
Druntime-array.cc250 Handle<Object> len_; in RUNTIME_FUNCTION() local
252 isolate, len_, in RUNTIME_FUNCTION()
256 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, len_, in RUNTIME_FUNCTION()
257 Object::ToLength(isolate, len_)); in RUNTIME_FUNCTION()
258 len = static_cast<int64_t>(len_->Number()); in RUNTIME_FUNCTION()
259 DCHECK_EQ(len, len_->Number()); in RUNTIME_FUNCTION()
351 Handle<Object> len_; in RUNTIME_FUNCTION() local
353 isolate, len_, in RUNTIME_FUNCTION()
357 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, len_, in RUNTIME_FUNCTION()
358 Object::ToLength(isolate, len_)); in RUNTIME_FUNCTION()
[all …]
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafblue.hin34 FT_UInt len_; \
39 len_ = 1; \
44 len_ = 2; \
49 len_ = 3; \
53 for ( ; len_ > 0; len_-- ) \
Dafblue.h37 FT_UInt len_; \
42 len_ = 1; \
47 len_ = 2; \
52 len_ = 3; \
56 for ( ; len_ > 0; len_-- ) \
/third_party/node/src/crypto/
Dcrypto_bio.cc346 if (current->read_pos_ + avail == current->len_) { in IndexOf()
365 CHECK_LE(write_head_->write_pos_, write_head_->len_); in Write()
366 size_t avail = write_head_->len_ - write_head_->write_pos_; in Write()
381 CHECK_LE(write_head_->write_pos_, write_head_->len_); in Write()
385 CHECK_EQ(write_head_->write_pos_, write_head_->len_); in Write()
401 size_t available = write_head_->len_ - write_head_->write_pos_; in PeekWritable()
412 CHECK_LE(write_head_->write_pos_, write_head_->len_); in Commit()
417 if (write_head_->write_pos_ == write_head_->len_) { in Commit()
432 (w->write_pos_ == w->len_ && in TryAllocateForWrite()
Dcrypto_bio.h155 len_(len), in Buffer()
165 const int64_t len = static_cast<int64_t>(len_); in ~Buffer()
173 size_t len_; variable
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/
Dpush.h206 #define RS_STRUCT_MEMBER_FARRAY(type_, len_, name_) type_ name_[len_]; argument
237 #define RS_STRUCT_MEMBER_FARRAY(type_, len_, name_) type_ name_[len_]; argument
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dlexer.cc58 len_(static_cast<uint32_t>(content->data.size())), in Lexer()
116 return pos_ >= len_; in is_eof()
136 if (pos >= len_) in matches()
234 while (end < len_ && is_digit(content_->data[end])) { in try_float()
240 if (end < len_ && matches(end, ".")) { in try_float()
245 while (end < len_ && is_digit(content_->data[end])) { in try_float()
256 if (end < len_ && (matches(end, "e") || matches(end, "E"))) { in try_float()
258 if (end < len_ && (matches(end, "+") || matches(end, "-"))) { in try_float()
262 while (end < len_ && isdigit(content_->data[end])) { in try_float()
276 if (end < len_ && matches(end, "f")) { in try_float()
[all …]
/third_party/skia/third_party/externals/libwebp/src/utils/
Dbit_reader_utils.c148 br->len_ = length; in VP8LInitBitReader()
170 br->len_ = len; in VP8LBitReaderSetBuffer()
172 br->eos_ = (br->pos_ > br->len_) || VP8LIsEndOfStream(br); in VP8LBitReaderSetBuffer()
182 while (br->bit_pos_ >= 8 && br->pos_ < br->len_) { in ShiftBytes()
196 if (br->pos_ + sizeof(br->val_) < br->len_) { in VP8LDoFillBitWindow()
Dbit_reader_utils.h143 size_t len_; // buffer length member
171 assert(br->pos_ <= br->len_); in VP8LIsEndOfStream()
172 return br->eos_ || ((br->pos_ == br->len_) && (br->bit_pos_ > VP8L_LBITS)); in VP8LIsEndOfStream()
/third_party/skia/third_party/externals/piex/src/binary_parse/
Drange_checked_byte_ptr.cc44 const size_t len_; member in piex::binary_parse::__anon9a5ddf7d0111::MemoryPagedByteArray
49 : buffer_(buffer), len_(len) {} in MemoryPagedByteArray()
51 size_t MemoryPagedByteArray::length() const { return len_; } in length()
53 size_t MemoryPagedByteArray::pageSize() const { return len_; } in pageSize()
60 *end = buffer_ + len_; in getPage()
/third_party/node/deps/v8/src/codegen/ia32/
Dassembler-ia32-inl.h286 DCHECK_EQ(len_, 1); in set_sib()
291 len_ = 2; in set_sib()
295 DCHECK(len_ == 1 || len_ == 2); in set_disp8()
296 *reinterpret_cast<int8_t*>(&buf_[len_++]) = disp; in set_disp8()
/third_party/skia/third_party/externals/freetype/src/gxvalid/
Dgxvmod.c77 FT_ULong len_ ## _sfnt = 0
85 &_sfnt, &len_ ## _sfnt ); \
95 ft_validator_init( &valid, _sfnt, _sfnt + len_ ## _sfnt, \
/third_party/bounds_checking_function/src/
Dsecurecutil.h210 size_t len_ = 0; \
211 while (len_ < (maxLen) && *strEnd_ != L'\0') { \
212 ++len_; \
215 *(outLen) = len_; \
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dspan.h189 : ptr_(array), len_(length) {} in Span()
261 constexpr size_type size() const noexcept { return len_; } in size()
372 len_ -= n; in remove_prefix()
380 len_ -= n; in remove_suffix()
448 size_type len_; variable
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-common.hh300 byte_str_t sub_str (unsigned int offset, unsigned int len_) const in sub_str()
301 { return byte_str_t (hb_ubytes_t::sub_array (offset, len_)); } in sub_str()
343 byte_str_t sub_str (unsigned int offset_, unsigned int len_) const in sub_str()
344 { return str.sub_str (offset_, len_); } in sub_str()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-array-gen.h51 TNode<UintPtrT> len() { return len_; } in len()
114 TNode<UintPtrT> len_; variable

12