Home
last modified time | relevance | path

Searched refs:index (Results 2126 - 2150 of 22913) sorted by relevance

1...<<81828384858687888990>>...917

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRuleBasedTransliterator.java81 Position index, boolean incremental) { in handleTransliterate()
108 int loopLimit = (index.limit - index.start) << 4; in handleTransliterate()
113 while (index.start < index.limit && in handleTransliterate()
115 data.ruleSet.transliterate(text, index, incremental)) { in handleTransliterate()
138 * a stand-in: it is an index for a secondary lookup in
80 handleTransliterate(Replaceable text, Position index, boolean incremental) handleTransliterate() argument
/third_party/mesa3d/src/compiler/nir/
H A Dnir_worklist.h51 u_worklist_push_head(w, block, index)
54 u_worklist_peek_head(w, nir_block, index)
57 u_worklist_pop_head(w, nir_block, index)
60 u_worklist_push_tail(w, block, index)
63 u_worklist_peek_tail(w, nir_block, index)
66 u_worklist_pop_tail(w, nir_block, index)
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_cs.h117 int index; in radeon_bo_is_referenced_by_cs_for_write() local
122 index = radeon_lookup_buffer(cs->csc, bo); in radeon_bo_is_referenced_by_cs_for_write()
123 if (index == -1) in radeon_bo_is_referenced_by_cs_for_write()
127 index = cs->csc->slab_buffers[index].u.slab.real_idx; in radeon_bo_is_referenced_by_cs_for_write()
129 return cs->csc->relocs[index].write_domain != 0; in radeon_bo_is_referenced_by_cs_for_write()
/third_party/node/deps/npm/node_modules/spdx-expression-parse/
H A Dparse.js9 var index = 0
12 return index < tokens.length
16 return hasMore() ? tokens[index] : null
23 index++
49 var begin = index
65 index = begin
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
H A DDemoTextBox.java37 int index = 0; in draw()
43 g.drawChars(chars, index, breakPos[i] - index, x, y); in draw()
44 index = breakPos[i]; in draw()
48 g.drawChars(chars, index, chars.length - index, x, y); in draw()
/third_party/node/deps/v8/src/runtime/
H A Druntime-futex.cc27 size_t index = NumberToSize(args[1]); in RUNTIME_FUNCTION() local
30 CHECK_LT(index, sta->length()); in RUNTIME_FUNCTION()
34 size_t addr = (index << 2) + sta->byte_offset(); in RUNTIME_FUNCTION()
48 size_t index = NumberToSize(args[1]); in RUNTIME_FUNCTION() local
51 CHECK_LT(index, sta->length()); in RUNTIME_FUNCTION()
55 size_t addr = (index << 2) + sta->byte_offset(); in RUNTIME_FUNCTION()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_index_modify.c43 in_map = info->index.user; in util_shorten_ubyte_elts_to_userptr()
45 in_map = pipe_buffer_map(context, info->index.resource, in util_shorten_ubyte_elts_to_userptr()
77 in_map = info->index.user; in util_rebuild_ushort_elts_to_userptr()
79 in_map = pipe_buffer_map(context, info->index.resource, in util_rebuild_ushort_elts_to_userptr()
111 in_map = info->index.user; in util_rebuild_uint_elts_to_userptr()
113 in_map = pipe_buffer_map(context, info->index.resource, in util_rebuild_uint_elts_to_userptr()
/third_party/libphonenumber/java/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
H A DDefaultMapStorage.java39 public int getPrefix(int index) { in getPrefix() argument
40 return phoneNumberPrefixes[index]; in getPrefix()
44 public String getDescription(int index) { in getDescription() argument
45 return descriptions[index]; in getDescription()
53 int index = 0; in readFromSortedMap()
55 phoneNumberPrefixes[index++] = prefix; in readFromSortedMap()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/
H A DHeaderTable.java22 public int getField(int index) { in getField() argument
23 return data.readUShort(base + index * FIELD_SIZE); in getField()
60 protected int setField(int index, int value) { in setField() argument
61 return map.put(index, value); in setField()
64 protected int getField(int index) { in getField() argument
65 return map.get(index); in getField()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dfuzzer_pass_replace_params_with_struct.cpp56 [this, &params](uint32_t index) { in Apply()
59 params[index]->type_id()); in Apply()
85 for (auto index : parameter_index) { in Apply()
86 component_type_ids.push_back(params[index]->type_id()); in Apply()
93 for (auto index : parameter_index) { in Apply()
94 parameter_id.push_back(params[index]->result_id()); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dfuzzer_pass_replace_params_with_struct.cpp56 [this, &params](uint32_t index) { in Apply()
59 params[index]->type_id()); in Apply()
85 for (auto index : parameter_index) { in Apply()
86 component_type_ids.push_back(params[index]->type_id()); in Apply()
93 for (auto index : parameter_index) { in Apply()
94 parameter_id.push_back(params[index]->result_id()); in Apply()
/third_party/rust/crates/memchr/src/memchr/
H A Diter.rs5 // update haystack and position and produce the index
13 $search_result.map(move |index| {
15 $self_.haystack = $self_.haystack.split_at(index + 1).1;
16 let found_position = $self_.position + index;
25 $search_result.map(move |index| {
27 $self_.haystack = $self_.haystack.split_at(index).0;
28 $self_.position + index
38 // The index
77 // The index
125 // The index
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_replace.cc51 size_t index = subs.size(); in ApplySubstitutions() local
52 while (--index && subs[index - 1].OccursBefore(subs[index])) { in ApplySubstitutions()
53 std::swap(subs[index], subs[index - 1]); in ApplySubstitutions()
/third_party/skia/fuzz/oss_fuzz/
H A DFuzzSKSL2Pipeline.cpp41 String sampleShader(int index, String coords) override { in FuzzSKSL2Pipeline()
42 return "child_" + SkSL::to_string(index) + ".eval(" + coords + ")"; in FuzzSKSL2Pipeline()
45 String sampleColorFilter(int index, String color) override { in FuzzSKSL2Pipeline()
46 return "child_" + SkSL::to_string(index) + ".eval(" + color + ")"; in FuzzSKSL2Pipeline()
49 String sampleBlender(int index, String src, String dst) override { in FuzzSKSL2Pipeline()
50 return "child_" + SkSL::to_string(index) + ".eval(" + src + ", " + dst + ")"; in FuzzSKSL2Pipeline()
/third_party/skia/include/core/
H A DSkDataTable.h32 * Return the size of the index'th entry in the table. The caller must
33 * ensure that index is valid for this table.
35 size_t atSize(int index) const;
38 * Return a pointer to the data of the index'th entry in the table.
39 * The caller must ensure that index is valid for this table.
42 * will be the same value that atSize(index) would return.
44 const void* at(int index, size_t* size = nullptr) const;
47 const T* atT(int index, size_t* size = nullptr) const { in atT() argument
48 return reinterpret_cast<const T*>(this->at(index, size)); in atT()
52 * Returns the index't
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_pass_replace_params_with_struct.cpp56 [this, &params](uint32_t index) { in Apply()
59 params[index]->type_id()); in Apply()
85 for (auto index : parameter_index) { in Apply()
86 component_type_ids.push_back(params[index]->type_id()); in Apply()
93 for (auto index : parameter_index) { in Apply()
94 parameter_id.push_back(params[index]->result_id()); in Apply()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DOutputASM.cpp534 callMain->dst.index = 0; // main() in output()
664 // so declare them but don't assign a register index yet (one will be assigned when referenced in reachable code). in visitSymbol()
711 return false; // Don't traverse, the register index is determined statically in visitBinary()
851 for(int index = 1; index < left->totalRegisterCount(); index++) in visitBinary()
854 emit(sw::Shader::OPCODE_EQ, &equal, 0, left, index, right, index); in visitBinary()
864 for(int index = 1; index < lef in visitBinary()
2186 emitCmp(sw::Shader::Control cmpOp, TIntermTyped *dst, TIntermNode *left, TIntermNode *right, int index) emitCmp() argument
2216 int index = registers / type.elementRegisterCount(); componentCount() local
2268 int index = registers / type.elementRegisterCount(); registerSize() local
2329 getArgumentInfo(TIntermTyped *arg, int index) getArgumentInfo() argument
2383 source(sw::Shader::SourceParameter &parameter, TIntermNode *argument, int index) source() argument
2500 destination(sw::Shader::DestinationParameter &parameter, TIntermTyped *arg, int index) destination() argument
2523 swizzleElement(int swizzle, int index) swizzleElement() argument
2764 int index = right->getAsConstantUnion()->getIConst(0); lvalue() local
2791 int index = sequence[i]->getAsConstantUnion()->getIConst(0); lvalue() local
2974 writeMask(TIntermTyped *destination, int index) writeMask() argument
3104 int index = allocate(temporaries, temporary); temporaryRegister() local
3316 int index = isBlockMember ? lookup(uniforms, parentBlock) : lookup(uniforms, uniform); uniformRegister() local
3352 int index = lookup(attributes, attribute); attributeRegister() local
3432 int index = right->getAsConstantUnion() ? right->getAsConstantUnion()->getIConst(0) : 0; samplerRegister() local
3479 int index = lookup(samplers, sampler); samplerRegister() local
3607 int index = lookup(list, variable); allocate() local
3655 int index = lookup(list, variable); free() local
[all...]
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dbtree.c137 nilfs_btree_node_get_key(const struct nilfs_btree_node *node, int index) in nilfs_btree_node_get_key() argument
139 return le64_to_cpu(*(nilfs_btree_node_dkeys(node) + index)); in nilfs_btree_node_get_key()
143 nilfs_btree_node_set_key(struct nilfs_btree_node *node, int index, __u64 key) in nilfs_btree_node_set_key() argument
145 *(nilfs_btree_node_dkeys(node) + index) = cpu_to_le64(key); in nilfs_btree_node_set_key()
149 nilfs_btree_node_get_ptr(const struct nilfs_btree_node *node, int index, in nilfs_btree_node_get_ptr() argument
152 return le64_to_cpu(*(nilfs_btree_node_dptrs(node, ncmax) + index)); in nilfs_btree_node_get_ptr()
156 nilfs_btree_node_set_ptr(struct nilfs_btree_node *node, int index, __u64 ptr, in nilfs_btree_node_set_ptr() argument
159 *(nilfs_btree_node_dptrs(node, ncmax) + index) = cpu_to_le64(ptr); in nilfs_btree_node_set_ptr()
239 static void nilfs_btree_node_insert(struct nilfs_btree_node *node, int index, in nilfs_btree_node_insert() argument
249 if (index < nchildre in nilfs_btree_node_insert()
262 nilfs_btree_node_delete(struct nilfs_btree_node *node, int index, __u64 *keyp, __u64 *ptrp, int ncmax) nilfs_btree_node_delete() argument
295 int index, low, high, s; nilfs_btree_node_lookup() local
466 int index; /* current index on the parent node */ global() member
554 int level, index, found, ncmax, ret; nilfs_btree_do_lookup() local
614 int index, level, ncmax, ret; nilfs_btree_do_lookup_last() local
663 int index, next_adj, level; nilfs_btree_get_next_key() local
712 int ret, cnt, index, maxlevel, ncmax; nilfs_btree_lookup_contig() local
2158 pgoff_t index = 0; nilfs_btree_lookup_dirty_buffers() local
[all...]
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dbtree.c137 nilfs_btree_node_get_key(const struct nilfs_btree_node *node, int index) in nilfs_btree_node_get_key() argument
139 return le64_to_cpu(*(nilfs_btree_node_dkeys(node) + index)); in nilfs_btree_node_get_key()
143 nilfs_btree_node_set_key(struct nilfs_btree_node *node, int index, __u64 key) in nilfs_btree_node_set_key() argument
145 *(nilfs_btree_node_dkeys(node) + index) = cpu_to_le64(key); in nilfs_btree_node_set_key()
149 nilfs_btree_node_get_ptr(const struct nilfs_btree_node *node, int index, in nilfs_btree_node_get_ptr() argument
152 return le64_to_cpu(*(nilfs_btree_node_dptrs(node, ncmax) + index)); in nilfs_btree_node_get_ptr()
156 nilfs_btree_node_set_ptr(struct nilfs_btree_node *node, int index, __u64 ptr, in nilfs_btree_node_set_ptr() argument
159 *(nilfs_btree_node_dptrs(node, ncmax) + index) = cpu_to_le64(ptr); in nilfs_btree_node_set_ptr()
239 static void nilfs_btree_node_insert(struct nilfs_btree_node *node, int index, in nilfs_btree_node_insert() argument
249 if (index < nchildre in nilfs_btree_node_insert()
262 nilfs_btree_node_delete(struct nilfs_btree_node *node, int index, __u64 *keyp, __u64 *ptrp, int ncmax) nilfs_btree_node_delete() argument
295 int index, low, high, s; nilfs_btree_node_lookup() local
466 int index; /* current index on the parent node */ global() member
554 int level, index, found, ncmax, ret; nilfs_btree_do_lookup() local
614 int index, level, ncmax, ret; nilfs_btree_do_lookup_last() local
663 int index, next_adj, level; nilfs_btree_get_next_key() local
712 int ret, cnt, index, maxlevel, ncmax; nilfs_btree_lookup_contig() local
2155 pgoff_t index = 0; nilfs_btree_lookup_dirty_buffers() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/
H A Doption_view.cpp28 RefPtr<FrameNode> Create(int32_t index) in Create() argument
32 auto node = FrameNode::CreateFrameNode(V2::OPTION_ETS_TAG, Id, AceType::MakeRefPtr<OptionPattern>(index)); in Create()
205 void OptionView::CreateOption(bool optionsHasIcon, std::vector<OptionParam>& params, int32_t index, in CreateOption() argument
211 auto iconNode = CreateSymbol(params[index].symbol, row, nullptr, params[index].symbolUserDefinedIdealFontSize); in CreateOption()
214 auto textNode = CreateText(params[index].value, row); in CreateOption()
218 pattern->SetBlockClick(params[index].disableSystemClick); in CreateOption()
222 eventHub->SetMenuOnClick(params[index].action); in CreateOption()
245 RefPtr<FrameNode> OptionView::CreateMenuOption(bool optionsHasIcon, std::vector<OptionParam>& params, int32_t index) in CreateMenuOption() argument
247 auto option = Create(index); in CreateMenuOption()
265 CreateMenuOption(bool optionsHasIcon, const OptionValueInfo& value, const std::function<void()>& onClickFunc, int32_t index, const std::string& icon) CreateMenuOption() argument
286 CreateSelectOption(const SelectParam& param, int32_t index) CreateSelectOption() argument
[all...]
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_circle_drawing_manager.cpp360 for (int32_t index = static_cast<int32_t>(color.size() - 1); index >= 0; index--) { in ParseStringToInteger()
361 if (color[index] >= CHAR_0 && color[index] <= CHAR_9) { in ParseStringToInteger()
362 val += base * static_cast<int32_t>(color[index] - CHAR_0); in ParseStringToInteger()
365 if (color[index] == CHAR_A) { in ParseStringToInteger()
366 val += base * static_cast<int32_t>(color[index] - CHAR_A + DECIMAL); in ParseStringToInteger()
369 if (color[index] == CHAR_B) { in ParseStringToInteger()
370 val += base * static_cast<int32_t>(color[index] in ParseStringToInteger()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Dany.h343 AnyReturnValue GetDataAt(size_t index, const TypeId& id, void* data, size_t size) const override
345 if (IsValidItemArgs(id, data, size) && index < GetSize()) {
346 *static_cast<ItemType*>(data) = value_[index];
351 AnyReturnValue SetDataAt(size_t index, const TypeId& id, const void* data, size_t size) override
353 if (IsValidItemArgs(id, data, size) && index < GetSize()) {
354 value_[index] = *static_cast<const ItemType*>(data);
359 AnyReturnValue SetAnyAt(IArrayAny::IndexType index, const IAny& value) override
363 return SetDataAt(index, ITEM_TYPE_ID, &v, ITEM_SIZE);
367 AnyReturnValue GetAnyAt(IArrayAny::IndexType index, IAny& value) const override
370 if (GetDataAt(index, ITEM_TYPE_I
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_hdr_test.cpp146 uint32_t index = 0; in HWTEST_F() local
150 std::unique_ptr<PixelMap> pixelMap = imageSource->CreatePixelMap(index, optsPixel, errorCode); in HWTEST_F()
173 uint32_t index = 0; in HWTEST_F() local
177 std::unique_ptr<PixelMap> pixelMap = imageSource->CreatePixelMap(index, optsPixel, errorCode); in HWTEST_F()
200 uint32_t index = 0; in HWTEST_F() local
204 std::unique_ptr<PixelMap> pixelMap = imageSource->CreatePixelMap(index, optsPixel, errorCode); in HWTEST_F()
227 uint32_t index = 0; in HWTEST_F() local
231 std::unique_ptr<PixelMap> pixelMap = imageSource->CreatePixelMap(index, optsPixel, errorCode); in HWTEST_F()
258 uint32_t index = 0; in HWTEST_F() local
262 std::unique_ptr<PixelMap> pixelMap = imageSource->CreatePixelMap(index, optsPixe in HWTEST_F()
289 uint32_t index = 0; HWTEST_F() local
316 uint32_t index = 0; HWTEST_F() local
343 uint32_t index = 0; HWTEST_F() local
420 uint32_t index = 0; HWTEST_F() local
[all...]
/foundation/multimedia/av_codec/test/nativedemo/video_demo/
H A Davcodec_video_decoder_inner_demo.cpp256 void VDecInnerDemo::HandleInputEOS(const uint32_t &index) in HandleInputEOS() argument
264 (void)videoDec_->QueueInputBuffer(index, attr, flag); in HandleInputEOS()
268 int32_t VDecInnerDemo::HandleNormalInput(const uint32_t &index, const int64_t &pts, const size_t &size) in HandleNormalInput() argument
276 auto result = videoDec_->QueueInputBuffer(index, attr, flag); in HandleNormalInput()
329 uint32_t index = signal_->inQueue_.front(); in InputFunc() local
335 std::cout << "buffer is null:" << index << std::endl; in InputFunc()
344 HandleInputEOS(index); in InputFunc()
353 auto result = HandleNormalInput(index, pkt_->pts, pkt_->size); in InputFunc()
376 uint32_t index = signal_->outQueue_.front(); in OutputFunc() local
387 cout << "OutputFunc write file,buffer index" << inde in OutputFunc()
421 OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) OnInputBufferAvailable() argument
430 OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) OnOutputBufferAvailable() argument
[all...]
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecoderconfigure_fuzzer/
H A Dvideodec_sample.cpp105 void VdecInputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) in VdecInputDataReady() argument
112 signal->inIdxQueue_.push(index); in VdecInputDataReady()
117 void VdecOutputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr, in VdecOutputDataReady() argument
125 signal->outIdxQueue_.push(index); in VdecOutputDataReady()
130 OH_VideoDecoder_RenderOutputData(codec, index); in VdecOutputDataReady()
132 OH_VideoDecoder_FreeOutputData(codec, index); in VdecOutputDataReady()
330 int32_t VDecFuzzSample::ReadData(uint32_t index, OH_AVMemory *buffer) in ReadData() argument
340 SetEOS(index); in ReadData()
345 return SendData(bufferSize, index, buffer); in ReadData()
348 uint32_t VDecFuzzSample::SendData(uint32_t bufferSize, uint32_t index, OH_AVMemor argument
400 uint32_t index = signal_->inIdxQueue_.front(); InputFuncAVCC() local
416 uint32_t index; InputFuncFUZZ() local
447 SetEOS(uint32_t index) SetEOS() argument
[all...]

Completed in 18 milliseconds

1...<<81828384858687888990>>...917