/third_party/node/deps/v8/src/heap/ |
H A D | marking.cc | 14 uint32_t start_index, uint32_t end_index) { in AllBitsSetInRange() 15 if (start_index >= end_index) return false; in AllBitsSetInRange() 16 end_index--; in AllBitsSetInRange() 21 unsigned int end_cell_index = end_index >> Bitmap::kBitsPerCellLog2; in AllBitsSetInRange() 22 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); in AllBitsSetInRange() 43 uint32_t start_index, uint32_t end_index) { in AllBitsClearInRange() 44 if (start_index >= end_index) return true; in AllBitsClearInRange() 45 end_index--; in AllBitsClearInRange() 50 unsigned int end_cell_index = end_index >> Bitmap::kBitsPerCellLog2; in AllBitsClearInRange() 51 MarkBit::CellType end_index_mask = 1u << Bitmap::IndexInCell(end_index); in AllBitsClearInRange() 13 AllBitsSetInRange( uint32_t start_index, uint32_t end_index) AllBitsSetInRange() argument 42 AllBitsClearInRange( uint32_t start_index, uint32_t end_index) AllBitsClearInRange() argument [all...] |
H A D | marking.h | 158 // Sets all bits in the range [start_index, end_index). If the access is 161 void SetRange(uint32_t start_index, uint32_t end_index); 163 // Clears all bits in the range [start_index, end_index). If the access is 166 void ClearRange(uint32_t start_index, uint32_t end_index); 171 // Returns true if all bits in the range [start_index, end_index) are set. 172 bool AllBitsSetInRange(uint32_t start_index, uint32_t end_index); 174 // Returns true if all bits in the range [start_index, end_index) are cleared. 175 bool AllBitsClearInRange(uint32_t start_index, uint32_t end_index); 272 uint32_t end_index) { in SetRange() 273 if (start_index >= end_index) retur in SetRange() 271 SetRange(uint32_t start_index, uint32_t end_index) SetRange() argument 302 ClearRange(uint32_t start_index, uint32_t end_index) ClearRange() argument [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-segments.cc | 82 int32_t end_index = break_iterator->following(n); in Containing() local 88 *(segments->unicode_string().raw()), start_index, end_index); in Containing() 110 int32_t start_index, int32_t end_index) { in CreateSegmentDataObject() 117 DCHECK_LE(end_index, string.length()); in CreateSegmentDataObject() 119 DCHECK_LT(start_index, end_index); in CreateSegmentDataObject() 129 isolate, segment, Intl::ToString(isolate, string, start_index, end_index), in CreateSegmentDataObject() 107 CreateSegmentDataObject( Isolate* isolate, JSSegmenter::Granularity granularity, icu::BreakIterator* break_iterator, const icu::UnicodeString& string, int32_t start_index, int32_t end_index) CreateSegmentDataObject() argument
|
H A D | js-segment-iterator.cc | 79 int32_t end_index = icu_break_iterator->next(); in Next() local 82 if (end_index == icu::BreakIterator::DONE) { in Next() 101 start_index, end_index), in Next()
|
H A D | js-segments.h | 46 int32_t start_index, int32_t end_index);
|
/third_party/gn/src/base/strings/ |
H A D | string_split.cc | 133 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT() 134 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT() 135 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT() 136 Piece term = end_index == Piece::npos in SplitStringUsingSubstrT() 138 : input.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-generator-gen.cc | 255 auto end_index = IntPtrAdd(formal_parameter_count, register_count); in TF_BUILTIN() local 256 CSA_CHECK(this, UintPtrLessThan(end_index, parameters_and_registers_length)); in TF_BUILTIN() 258 formal_parameter_count, end_index, in TF_BUILTIN() 290 auto end_index = IntPtrAdd(formal_parameter_count, register_count); in TF_BUILTIN() local 293 CSA_CHECK(this, UintPtrLessThan(end_index, parameters_and_registers_length)); in TF_BUILTIN() 296 formal_parameter_count, end_index, in TF_BUILTIN()
|
H A D | builtins-array.cc | 214 Handle<Object> value, double start_index, double end_index) { in TryFastArrayFill() 217 if (end_index > kMaxUInt32) return Just(false); in TryFastArrayFill() 238 DCHECK_LE(end_index, kMaxUInt32); in TryFastArrayFill() 242 CHECK(DoubleToUint32IfEqualToSelf(end_index, &end)); in TryFastArrayFill() 284 double end_index; in BUILTIN() local 286 isolate, end_index, GetRelativeIndex(isolate, length, end, length)); in BUILTIN() 288 if (start_index >= end_index) return *receiver; in BUILTIN() 292 DCHECK_LE(start_index, end_index); in BUILTIN() 293 DCHECK_LE(end_index, length); in BUILTIN() 301 end_index)); in BUILTIN() 212 TryFastArrayFill( Isolate* isolate, BuiltinArguments* args, Handle<JSReceiver> receiver, Handle<Object> value, double start_index, double end_index) TryFastArrayFill() argument [all...] |
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-compiler.cc | 964 uint32_t end_index, base::uc32 min_char, in EmitUseLookupTable() 974 for (uint32_t i = start_index; i <= end_index; i++) { in EmitUseLookupTable() 998 for (uint32_t i = start_index; i < end_index; i++) { in EmitUseLookupTable() 1018 uint32_t start_index, uint32_t end_index, uint32_t cut_index, in CutOutRange() 1033 for (uint32_t j = cut_index + 1; j < end_index; j++) { in CutOutRange() 1041 uint32_t end_index, uint32_t* new_start_index, in SplitSearchSpace() 1047 base::uc32 last = ranges->at(end_index) - 1; in SplitSearchSpace() 1051 while (*new_start_index < end_index) { in SplitSearchSpace() 1066 uint32_t binary_chop_index = (end_index + start_index) / 2; in SplitSearchSpace() 1072 end_index in SplitSearchSpace() 962 EmitUseLookupTable(RegExpMacroAssembler* masm, ZoneList<base::uc32>* ranges, uint32_t start_index, uint32_t end_index, base::uc32 min_char, Label* fall_through, Label* even_label, Label* odd_label) EmitUseLookupTable() argument 1017 CutOutRange(RegExpMacroAssembler* masm, ZoneList<base::uc32>* ranges, uint32_t start_index, uint32_t end_index, uint32_t cut_index, Label* even_label, Label* odd_label) CutOutRange() argument 1040 SplitSearchSpace(ZoneList<base::uc32>* ranges, uint32_t start_index, uint32_t end_index, uint32_t* new_start_index, uint32_t* new_end_index, base::uc32* border) SplitSearchSpace() argument 1106 GenerateBranches(RegExpMacroAssembler* masm, ZoneList<base::uc32>* ranges, uint32_t start_index, uint32_t end_index, base::uc32 min_char, base::uc32 max_char, Label* fall_through, Label* even_label, Label* odd_label) GenerateBranches() argument 1300 int end_index = range_boundaries->length() - 1; EmitCharClass() local [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | repeated_composite_container.cc | 159 Py_ssize_t end_index = index; in Insert() local 160 if (end_index < 0) end_index += length; in Insert() 161 if (end_index < 0) end_index = 0; in Insert() 162 for (Py_ssize_t i = length; i > end_index; i --) { in Insert()
|
/third_party/ffmpeg/libavformat/ |
H A D | ifv.c | 60 uint32_t end_index, i; in read_index() local 64 end_index = ifv->total_vframes; in read_index() 67 end_index = ifv->total_aframes; in read_index() 71 for (i = start_index; i < end_index; i++) { in read_index()
|
/third_party/libsnd/ |
H A D | make_lite.py | 156 end_index = string.find (source_code, end_comment) 157 if start_index < 0 or end_index < start_index: 159 end_index += len (end_comment) 160 source_code = source_code [:start_index-1] + source_code [end_index:] ;
|
/third_party/gn/src/base/json/ |
H A D | json_parser.cc | 620 int end_index = start_index; in ConsumeNumber() local 629 end_index = index_; in ConsumeNumber() 638 end_index = index_; in ConsumeNumber() 652 end_index = index_; in ConsumeNumber() 674 std::string_view num_string(num_start, end_index - start_index); in ConsumeNumber()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
H A D | readable_font_data.h | 210 int32_t end_index, 245 int32_t end_index,
|
H A D | readable_font_data.cc | 229 int32_t end_index, in SearchUShort() 244 int32_t location_end = ReadUShort(end_index + location * end_offset); in SearchUShort() 284 int32_t end_index, in SearchULong() 300 int32_t location_end = ReadULongAsInt(end_index + location * end_offset); in SearchULong() 227 SearchUShort(int32_t start_index, int32_t start_offset, int32_t end_index, int32_t end_offset, int32_t length, int32_t key) SearchUShort() argument 282 SearchULong(int32_t start_index, int32_t start_offset, int32_t end_index, int32_t end_offset, int32_t length, int32_t key) SearchULong() argument
|
/third_party/rust/crates/codespan/codespan-reporting/src/ |
H A D | files.rs | 207 let end_index = std::cmp::min(byte_index, std::cmp::min(line_range.end, source.len())); in column_index() 209 (line_range.start..end_index) in column_index()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumbermatcher.cc | 760 size_t end_index = rfc3966_format.find(';'); in GetNationalNumberGroups() local 761 if (end_index == string::npos) { in GetNationalNumberGroups() 762 end_index = rfc3966_format.length(); in GetNationalNumberGroups() 767 end_index - start_index), in GetNationalNumberGroups()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.cc | 198 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local 201 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing() 202 if (end_index == string::npos) { in SplitStringToIteratorUsing() 207 std::string(full.substr(begin_index, (end_index - begin_index))); in SplitStringToIteratorUsing() 208 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing() 233 string::size_type begin_index, end_index; in SplitStringToIteratorAllowEmpty() local 237 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty() 238 if (end_index == string::npos) { in SplitStringToIteratorAllowEmpty() 243 std::string(full.substr(begin_index, (end_index - begin_index))); in SplitStringToIteratorAllowEmpty() 244 begin_index = end_index in SplitStringToIteratorAllowEmpty() [all...] |
/third_party/jinja2/ |
H A D | utils.py | 305 end_index = tail.index(end_char) + len(end_char) 307 middle += tail[:end_index] 308 tail = tail[end_index:]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-layout-gsub-table.hh | 1291 unsigned int start_index = 0, end_index = 0; 1299 1, &end_index)) 1301 c->buffer->unsafe_to_break_from_outbuffer (start_index, end_index); 1679 static inline typename hb_closure_context_t::return_t closure_glyphs_recurse_func (hb_closure_context_t *c, unsigned lookup_index, hb_set_t *covered_seq_indices, unsigned seq_index, unsigned end_index); 1681 static inline hb_closure_context_t::return_t dispatch_closure_recurse_func (hb_closure_context_t *c, unsigned lookup_index, hb_set_t *covered_seq_indices, unsigned seq_index, unsigned end_index) 1686 hb_closure_context_t::return_t ret = closure_glyphs_recurse_func (c, lookup_index, covered_seq_indices, seq_index, end_index); 1759 /*static*/ typename hb_closure_context_t::return_t SubstLookup::closure_glyphs_recurse_func (hb_closure_context_t *c, unsigned lookup_index, hb_set_t *covered_seq_indices, unsigned seq_index, unsigned end_index) 1763 hb_set_add_range (covered_seq_indices, seq_index, end_index);
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
H A D | small_vector.h | 263 size_t end_index = last - large_data_->data(); in erase() local 265 large_data_->begin() + end_index); in erase()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | small_vector.h | 263 size_t end_index = last - large_data_->data(); in erase() local 265 large_data_->begin() + end_index); in erase()
|
/third_party/spirv-tools/source/util/ |
H A D | small_vector.h | 273 size_t end_index = last - large_data_->data(); in erase() local 275 large_data_->begin() + end_index); in erase()
|
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-param-util.h | 276 int end_index = 0; in CalculateEndIndex() local 277 for (T i = begin; i < end; i = static_cast<T>(i + step)) end_index++; in CalculateEndIndex() 278 return end_index; in CalculateEndIndex()
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-param-util.h | 267 int end_index = 0; in CalculateEndIndex() local 269 end_index++; in CalculateEndIndex() 270 return end_index; in CalculateEndIndex()
|