Home
last modified time | relevance | path

Searched refs:len_ (Results 1 - 25 of 38) sorted by relevance

12

/third_party/ninja/src/
H A 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; in operator ==()
47 return len_ ? std::string(str_, len_) : std::string(); in AsString()
55 return str_ + len_; in end()
67 size_t len_; global() member
[all...]
H A 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()
H A Dedit_distance.cc38 int m = s1.len_; in EditDistance()
39 int n = s2.len_; in EditDistance()
H A Dhash_map.h65 return MurmurHash2(key.str_, key.len_); in operator ()()
H A Deval_env.cc115 parsed_.back().first.append(text.str_, text.len_); in AddText()
H A Dmissing_deps.cc55 CanonicalizePath(const_cast<char*>(i->str_), &i->len_, &slash_bits); in ProcessDepfileDeps()
/third_party/node/deps/v8/src/bigint/
H A 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_); in operator +()
75 return Digits(digits_ + i, len_ - i); in operator +()
80 BIGINT_H_DCHECK(i >= 0 && i < len_); in operator []()
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_; in operator ==()
109 int len_; global() member in v8::bigint::Digits
[all...]
H A Ddiv-helpers.h40 : Digits(original.digits_, original.len_) { in ShiftedDigits()
46 len_++; in ShiftedDigits()
55 digit_t* digits = new digit_t[len_]; in ShiftedDigits()
59 RWDigits rw_view(digits_, len_); in ShiftedDigits()
66 RWDigits rw_view(digits_, len_); in Reset()
/third_party/node/deps/v8/src/runtime/
H A 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/
H A Dafblue.h37 FT_UInt len_; \
42 len_ = 1; \
47 len_ = 2; \
52 len_ = 3; \
56 for ( ; len_ > 0; len_-- ) \
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/
H A Dpush.h206 #define RS_STRUCT_MEMBER_FARRAY(type_, len_, name_) type_ name_[len_];
237 #define RS_STRUCT_MEMBER_FARRAY(type_, len_, name_) type_ name_[len_];
/third_party/node/src/crypto/
H A 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()
H A Dcrypto_bio.h155 len_(len), in Buffer()
165 const int64_t len = static_cast<int64_t>(len_); in ~Buffer()
173 size_t len_; member in node::crypto::NodeBIO::Buffer
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A 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_ in try_float()
[all...]
H A Dlexer.h95 uint32_t len_ = 0; member in tint::reader::wgsl::Lexer
/third_party/skia/third_party/externals/libwebp/src/utils/
H A 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()
H A Dbit_reader_utils.c148 br->len_ = length; in VP8LInitBitReader()
170 br->len_ = len; in VP8LBitReaderSetBuffer()
171 // pos_ > len_ should be considered a param error. 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()
/third_party/node/deps/v8/src/codegen/ia32/
H A 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/piex/src/binary_parse/
H A Drange_checked_byte_ptr.cc44 const size_t len_; member in piex::binary_parse::__anon21691::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/bounds_checking_function/src/
H A Dsecurecutil.h210 size_t len_ = 0; \
211 while (len_ < (maxLen) && *strEnd_ != L'\0') { \
212 ++len_; \
215 *(outLen) = len_; \
/third_party/skia/third_party/externals/freetype/src/gxvalid/
H A Dgxvmod.c77 FT_ULong len_ ## _sfnt = 0
85 &_sfnt, &len_ ## _sfnt ); \
95 ft_validator_init( &valid, _sfnt, _sfnt + len_ ## _sfnt, \
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Dspan.h189 : ptr_(array), len_(length) {} in len_() function in absl::Span
261 constexpr size_type size() const noexcept { return len_; }
372 len_ -= n;
380 len_ -= n;
448 size_type len_; member in absl::Span
/third_party/skia/third_party/externals/harfbuzz/src/
H A 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/
H A Dbuiltins-array-gen.h51 TNode<UintPtrT> len() { return len_; } in len()
114 TNode<UintPtrT> len_; member in v8::internal::ArrayBuiltinsAssembler
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_info.cc600 size = std::min(size, len_);
602 len_ -= nread;
606 offset = std::min(offset, len_);
608 if (rc == 0) len_ -= offset;
619 : fp_(std::move(fp)), len_(len) {} in FileZoneInfoSource()
623 std::size_t len_; member in absl::time_internal::cctz::__anon19469::FileZoneInfoSource

Completed in 24 milliseconds

12