Home
last modified time | relevance | path

Searched refs:last_index (Results 1 – 25 of 49) sorted by relevance

12

/external/google-fruit/include/fruit/impl/util/
Dhash_codes.defn.h32 template <typename Tuple, int last_index>
35 template <int last_index>
36 struct HashTupleHelper<std::tuple<>, last_index> {
49 template <typename... Args, int last_index>
50 struct HashTupleHelper<std::tuple<Args...>, last_index> {
52 return combineHashes(hashTupleElement<std::tuple<Args...>, last_index - 1>(x),
53 HashTupleHelper<std::tuple<Args...>, last_index - 1>()(x));
/external/v8/src/regexp/
Dregexp-utils.cc63 return handle(JSRegExp::cast(*recv)->last_index(), isolate); in GetLastIndex()
163 Object* last_index = JSRegExp::cast(recv)->last_index(); in IsUnmodifiedRegExp() local
164 return last_index->IsSmi() && Smi::ToInt(last_index) >= 0; in IsUnmodifiedRegExp()
197 const uint64_t last_index = PositiveNumberToUint64(*last_index_obj); in SetAdvancedStringIndex() local
199 AdvanceStringIndex(string, last_index, unicode); in SetAdvancedStringIndex()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_queryobj.c191 for (i = 0; i < query->last_index; i++) { in brw_queryobj_get_results()
201 for (i = 0; i < query->last_index; i++) { in brw_queryobj_get_results()
306 query->last_index = -1; in brw_begin_query()
442 if (!query->bo || query->last_index * 2 + 1 >= 4096 / sizeof(uint64_t)) { in ensure_bo_has_space()
453 query->last_index = 0; in ensure_bo_has_space()
491 brw_write_depth_count(brw, query->bo, query->last_index * 2); in brw_emit_query_begin()
510 brw_write_depth_count(brw, query->bo, query->last_index * 2 + 1); in brw_emit_query_end()
513 query->last_index++; in brw_emit_query_end()
/external/libjpeg-turbo/simd/powerpc/
Djdsample-altivec.c46 last_index = in jsimd_h2v1_fancy_upsample_altivec() local
76 p_last0 = vec_perm(last0, this0, last_index); in jsimd_h2v1_fancy_upsample_altivec()
152 last_index = in jsimd_h2v2_fancy_upsample_altivec() local
196 p_lastcolsum_1h = vec_perm(thiscolsum_1l, thiscolsum_1h, last_index); in jsimd_h2v2_fancy_upsample_altivec()
205 p_lastcolsum1h = vec_perm(thiscolsum1l, thiscolsum1h, last_index); in jsimd_h2v2_fancy_upsample_altivec()
212 p_lastcolsum_1l = vec_perm(lastcolsum_1h, thiscolsum_1l, last_index); in jsimd_h2v2_fancy_upsample_altivec()
213 p_lastcolsum_1h = vec_perm(thiscolsum_1l, thiscolsum_1h, last_index); in jsimd_h2v2_fancy_upsample_altivec()
214 p_lastcolsum1l = vec_perm(lastcolsum1h, thiscolsum1l, last_index); in jsimd_h2v2_fancy_upsample_altivec()
215 p_lastcolsum1h = vec_perm(thiscolsum1l, thiscolsum1h, last_index); in jsimd_h2v2_fancy_upsample_altivec()
/external/vulkan-validation-layers/layers/
Dvk_layer_logging.h387 uint32_t last_index = label_size - 1; in debug_log_msg() local
389 … queue_labels[last_index - label].sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT; in debug_log_msg()
390 queue_labels[last_index - label].pNext = nullptr; in debug_log_msg()
391 … queue_labels[last_index - label].pLabelName = label_iter->second[label].name.c_str(); in debug_log_msg()
392 … queue_labels[last_index - label].color[0] = label_iter->second[label].color[0]; in debug_log_msg()
393 … queue_labels[last_index - label].color[1] = label_iter->second[label].color[1]; in debug_log_msg()
394 … queue_labels[last_index - label].color[2] = label_iter->second[label].color[2]; in debug_log_msg()
395 … queue_labels[last_index - label].color[3] = label_iter->second[label].color[3]; in debug_log_msg()
410 uint32_t last_index = label_size - 1; in debug_log_msg() local
412 … cmd_buf_labels[last_index - label].sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT; in debug_log_msg()
[all …]
/external/swiftshader/third_party/subzero/pydir/
Dutils.py39 last_index = len(path_list) - path_list[::-1].index(nacl)
40 return os.sep.join(path_list[:last_index])
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector.cc86 int last_index; in UpdateNodeDef() local
87 if (!::absl::SimpleAtoi(name_index[1], &last_index)) { in UpdateNodeDef()
93 node_def->add_input(strings::StrCat(node_name, ":", i + last_index)); in UpdateNodeDef()
/external/curl/lib/
Dhash.c323 int last_index = -1;
334 if(iter.slot_index != last_index) {
336 if(last_index >= 0) {
339 last_index = iter.slot_index;
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_literals.cpp74 int last_index = operand.offset + operand.num_words - 1; in LiteralsPass() local
75 const uint32_t upper_word = inst->word(last_index); in LiteralsPass()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_literals.cpp74 int last_index = operand.offset + operand.num_words - 1; in LiteralsPass() local
75 const uint32_t upper_word = inst->word(last_index); in LiteralsPass()
/external/bcc/examples/networking/http_filter/
Dhttp-parse-simple.c74 const int last_index = payload_offset + 7; in http_filter() local
75 for (i = payload_offset ; i < last_index ; i++) { in http_filter()
Dhttp-parse-complete.c103 const int last_index = payload_offset + 7; in http_filter() local
104 for (i = payload_offset ; i < last_index ; i++) { in http_filter()
/external/v8/src/builtins/
Dbuiltins-regexp-gen.cc305 Node* const string_data, Node* const offset, Node* const last_index, in GetStringPointers() argument
316 IntPtrAdd(offset, last_index), kind, INTPTR_PARAMETERS); in GetStringPointers()
326 TNode<Number> last_index, TNode<RegExpMatchInfo> match_info) { in RegExpExecInternal() argument
332 last_index, match_info)); in RegExpExecInternal()
357 CSA_ASSERT(this, IsNumberNormalized(last_index)); in RegExpExecInternal()
358 CSA_ASSERT(this, IsNumberPositive(last_index)); in RegExpExecInternal()
359 GotoIf(TaggedIsNotSmi(last_index), &if_failure); in RegExpExecInternal()
362 TNode<IntPtrT> int_last_index = SmiUntag(CAST(last_index)); in RegExpExecInternal()
627 last_index, match_info)); in RegExpExecInternal()
636 string, last_index, match_info)); in RegExpExecInternal()
[all …]
Dbuiltins-regexp-gen.h61 Node* const last_index, Node* const string_length,
69 TNode<Number> last_index,
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.cc279 int64 last_index = 0; in CompressRepeatedField() local
280 for (int64 i = num_proto_values - 2; i >= 0 && last_index == 0; --i) { in CompressRepeatedField()
283 last_index = i + 1; in CompressRepeatedField()
286 const int64 num_truncated_proto_values = last_index + 1; in CompressRepeatedField()
/external/tensorflow/tensorflow/contrib/nearest_neighbor/kernels/
Dhyperplane_lsh_probes.h200 int_fast32_t last_index = 0)
201 : table_(table), hash_mask_(hash_mask), last_index_(last_index) {} in table_()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc2431 int last_index = -1; in GenerateClear() local
2437 if (i / 8 != last_index / 8 || last_index < 0) { in GenerateClear()
2464 last_index = i; in GenerateClear()
2788 int last_index = -1; in GenerateMergeFrom() local
2796 if (i / 8 != last_index / 8 || last_index < 0) { in GenerateMergeFrom()
2797 if (last_index >= 0) { in GenerateMergeFrom()
2809 last_index = i; in GenerateMergeFrom()
2835 last_index >= 0) { in GenerateMergeFrom()
3570 int last_index = -1; in GenerateByteSize() local
3579 if (i / 8 != last_index / 8 || last_index < 0) { in GenerateByteSize()
[all …]
/external/v8/src/runtime/
Druntime-regexp.cc1315 uint32_t last_index = 0; in RegExpReplace() local
1317 Handle<Object> last_index_obj(regexp->last_index(), isolate); in RegExpReplace()
1321 last_index = PositiveNumberToUint32(*last_index_obj); in RegExpReplace()
1329 if (last_index <= static_cast<uint32_t>(string->length())) { in RegExpReplace()
1332 last_index, last_match_info), in RegExpReplace()
1445 uint32_t last_index = 0; in RUNTIME_FUNCTION() local
1447 Handle<Object> last_index_obj(regexp->last_index(), isolate); in RUNTIME_FUNCTION()
1450 last_index = PositiveNumberToUint32(*last_index_obj); in RUNTIME_FUNCTION()
1452 if (last_index > static_cast<uint32_t>(subject->length())) last_index = 0; in RUNTIME_FUNCTION()
1458 RegExpImpl::Exec(isolate, regexp, subject, last_index, last_match_info)); in RUNTIME_FUNCTION()
/external/yapf/yapf/yapflib/
Dreformatter.py240 last_index = -1
243 last_index = -2
247 not any(tok.is_comment for tok in uwline.tokens[:last_index]))
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp194 const int last_index = count - 1 - first_index; in init() local
225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp194 const int last_index = count - 1 - first_index; in init() local
225 const Sk4f clamp_color = pack_color(xformedColors.fColors[last_index], in init()
/external/perf_data_converter/src/quipper/
Dhuge_page_deducer.cc64 MMapRange(int first_index, int last_index) in MMapRange() argument
65 : first_(first_index), last_(last_index) {} in MMapRange()
/external/v8/src/objects/
Djs-regexp-inl.h24 ACCESSORS(JSRegExp, last_index, Object, kLastIndexOffset) in ACCESSORS()
Djs-regexp.h55 DECL_ACCESSORS(last_index, Object)
/external/harfbuzz_ng/src/
Dhb-uniscribe.cc654 unsigned int last_index = 0; in _hb_uniscribe_shape() local
659 if (event->index != last_index) in _hb_uniscribe_shape()
684 range->index_first = last_index; in _hb_uniscribe_shape()
687 last_index = event->index; in _hb_uniscribe_shape()

12