Home
last modified time | relevance | path

Searched refs:index (Results 1876 - 1900 of 11655) sorted by relevance

1...<<71727374757677787980>>...467

/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dutils.cpp86 LOG(INFO) << "input index: " << inputIndexes[i]; in FilterDynamicInputs()
133 for (int32_t index = 0; index < interpreter->outputs().size(); ++index) { in PrintResult()
134 int32_t output_index = interpreter->outputs()[index]; in PrintResult()
145 PrintData<float>(interpreter->typed_output_tensor<float>(index), outputTensorSize, DATA_PRINT_NUM); in PrintResult()
148 PrintData<int32_t>(interpreter->typed_output_tensor<int32_t>(index), outputTensorSize, DATA_PRINT_NUM); in PrintResult()
151 PrintData<uint8_t>(interpreter->typed_output_tensor<uint8_t>(index), outputTensorSize, DATA_PRINT_NUM); in PrintResult()
154 PrintData<int8_t>(interpreter->typed_output_tensor<int8_t>(index), outputTensorSize, DATA_PRINT_NUM); in PrintResult()
209 const int32_t index in AnalysisResults() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_time_component.cpp91 amPmColumn->SetCurrentIndex(0); // AM's index in HandleHourColumnBuilding()
93 amPmColumn->SetCurrentIndex(1); // PM's index in HandleHourColumnBuilding()
117 void PickerTimeComponent::OnDataLinking(const std::string& tag, bool isAdd, uint32_t index, in OnDataLinking() argument
125 HandleHour24Change(isAdd, index, resultTags); in OnDataLinking()
127 HandleHour12Change(isAdd, index, resultTags); in OnDataLinking()
131 void PickerTimeComponent::HandleHour24Change(bool isAdd, uint32_t index, std::vector<std::string>& resultTags) in HandleHour24Change() argument
133 if (isAdd && index == 0) { in HandleHour24Change()
137 if (!isAdd && index == 23) { // hour end with 23 which is the last hour in HandleHour24Change()
143 void PickerTimeComponent::HandleHour12Change(bool isAdd, uint32_t index, std::vector<std::string>& resultTags) in HandleHour12Change() argument
151 if (amPm->GetCurrentIndex() == 0 && isAdd && index in HandleHour12Change()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_navigation_utils.cpp26 for (uint32_t index = 0; index < length; index++) { in ParseBarItems()
27 auto item = panda::ArrayRef::GetValueAt(vm, array, index); in ParseBarItems()
116 for (uint32_t index = 0; index < length; index++) { in ParseAndSendFunctionParam()
117 auto item = panda::ArrayRef::GetValueAt(vm, array, index); in ParseAndSendFunctionParam()
125 auto jsItem = jsArray->GetValueAt(index); in ParseAndSendFunctionParam()
129 symbolSendFunc(nativeNode, reinterpret_cast<void*>(&iconSymbol), index); in ParseAndSendFunctionParam()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.h89 void AddChildByIndex(int32_t index, const RefPtr<RenderNode>& renderNode);
90 void RemoveChildByIndex(int32_t index) in RemoveChildByIndex() argument
92 auto item = items_.find(index); in RemoveChildByIndex()
100 void OnDataSourceUpdated(int32_t index);
116 void ScrollToIndex(int32_t index);
120 double CalculateScrollLength(int32_t index);
159 bool CheckGridPlaced(int32_t index, int32_t row, int32_t col, int32_t& rowSpan, int32_t& colSpan) override;
176 double BuildLazyGridLayout(int32_t index, double sizeNeed);
183 int32_t index, int32_t& itemMain, int32_t& itemCross, int32_t& itemMainSpan, int32_t& itemCrossSpan);
186 void DeleteItems(int32_t index, boo
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Drender_water_flow.h93 void AddChildByIndex(size_t index, const RefPtr<RenderNode>& renderNode);
94 inline void RemoveChildByIndex(size_t index)
96 auto item = items_.find(index);
102 void ClearLayout(size_t index, bool clearAll = false);
103 void ClearItems(size_t index = 0);
104 void OnDataSourceUpdated(size_t index);
114 void ScrollToIndex(int32_t index);
202 void ClearFlowMatrix(size_t index, bool clearAll = false);
203 void ClearItemsByCrossIndex(size_t index, bool clearAll = false);
219 void DeleteItems(size_t index);
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Devent_listener.h278 void EventExcute(const int16_t index, jerry_value_t bindScrollFunc) const;
282 void OnScrollStart(int16_t index, UIView *view) override
284 EventExcute(index, bindScrollStartFunc_);
286 void OnItemSelected(int16_t index, UIView *view) override
288 EventExcute(index, bindScrollSelectedFunc_);
304 void OnScrollEnd(int16_t index, UIView* view) override
306 EventExcute(index, bindScrollEndFunc_);
316 void OnScrollTop(int16_t index, UIView* view) override
318 EventExcute(index, bindScrollTopFunc_);
328 void OnScrollBottom(int16_t index, UIVie
[all...]
H A Dlist_adapter.cpp102 for (int16_t index = 0; index < size; ++index) { in GenerateListItems()
103 JSValue descriptorOrElement = JSArray::Get(descriptors, index); in GenerateListItems()
189 UIView *ListAdapter::GetView(UIView *inView, int16_t index) in GetView() argument
199 if (index < 0) { in GetView()
202 // 1. get UIView according to index which will show in list. in GetView()
203 int16_t listItemsIndex = CalculateItemIndex(index); in GetView()
216 JSValue element = GetElement(listItemsIndex, index, isFor); in GetView()
236 JSValue ListAdapter::GetElement(int16_t listItemsIndex, int16_t index, boo argument
[all...]
/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_test_threadsafe_napi.cpp82 for (int index = ARRAY_LENGTH - 1; index > -1 && !queueWasClosing; index--) { in DataSourceThread()
83 auto status = napi_call_threadsafe_function(tsfun, &transmitData[index], tsFnInfo->blockOnFull); in DataSourceThread()
88 index++; in DataSourceThread()
102 HILOG_INFO("%{public}s,called napi_call_threadsafe_function index = %{public}d, status =%{public}s", in DataSourceThread()
103 __func__, index, statusStr.c_str()); in DataSourceThread()
236 for (size_t index = 0; index < ARRAY_LENGTH; index in ThreadSafeInit()
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/enum_napi/
H A Djs_enum.cpp259 for (size_t index = 0; index < vecSize; ++index) { in JsEnumIntInit()
260 napi_create_int32(env, enumItemVec[index].enumInt, &value[index]); in JsEnumIntInit()
265 for (size_t index = 0; index < vecSize; ++index) { in JsEnumIntInit()
266 property[index] = napi_property_descriptor DECLARE_NAPI_STATIC_PROPERTY( in JsEnumIntInit()
267 enumItemVec[index] in JsEnumIntInit()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/
H A Dvenc_sample.h69 void OnNeedInputData(uint32_t index, std::shared_ptr<AVMemoryMock> data) override;
70 void OnNewOutputData(uint32_t index, std::shared_ptr<AVMemoryMock> data, OH_AVCodecBufferAttr attr) override;
82 void OnNeedInputData(uint32_t index, std::shared_ptr<AVBufferMock> data) override;
83 void OnNewOutputData(uint32_t index, std::shared_ptr<AVBufferMock> data) override;
93 void OnInputParameterAvailable(uint32_t index, std::shared_ptr<FormatMock> parameter) override;
103 void OnInputParameterWithAttrAvailable(uint32_t index, std::shared_ptr<FormatMock> attribute,
132 int32_t PushInputData(uint32_t index, OH_AVCodecBufferAttr &attr);
133 int32_t FreeOutputData(uint32_t index);
134 int32_t PushInputBuffer(uint32_t index);
135 int32_t PushInputParameter(uint32_t index);
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Drelational_result_set_impl.cpp28 inline bool RelationalResultSetImpl::IsValid(int64_t index) const in IsValid()
30 return !isClosed_ && cacheDataSet_.empty() && index >= 0 && index < dataSet_.GetSize(); in IsValid()
76 int64_t index = position; in MoveToPosition() local
77 if (IsValid(index)) { in MoveToPosition()
78 index_ = index; in MoveToPosition()
81 if (index < 0) { in MoveToPosition()
83 } else if (index >= dataSet_.GetSize()) { in MoveToPosition()
149 ResultSet::ColumnType GetColType(int index, const ColumnTypePair *colMap, int32_t len) in GetColType() argument
155 if (colMap[mid].index_ < index) { in GetColType()
[all...]
/foundation/distributedhardware/distributed_screen/services/screendemo/
H A Ddecoder_demo.cpp243 uint32_t index = signal_->inQueue_.front(); in InputFunc() local
265 ret = vdec_->QueueInputBuffer(index, info, AVCODEC_BUFFER_FLAG_CODEC_DATA); in InputFunc()
268 ret = vdec_->QueueInputBuffer(index, info, AVCODEC_BUFFER_FLAG_NONE); in InputFunc()
300 uint32_t index = signal_->outQueue_.front(); in OutputFunc() local
301 if (vdec_->ReleaseOutputBuffer(index, true) != 0) { in OutputFunc()
320 void VDecDemoCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<Media::AVSharedMemory> buffer) in OnInputBufferAvailable() argument
322 cout << "OnInputBufferAvailable received, index:" << index << endl; in OnInputBufferAvailable()
324 signal_->inQueue_.push(index); in OnInputBufferAvailable()
329 void VDecDemoCallback::OnOutputBufferAvailable(uint32_t index, AVCodecBufferInf argument
[all...]
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/big_data_statistics/
H A Dgallery_download_file_stat.cpp98 uint32_t index = 0; in GetRangeIndex() local
99 for (; index < rangeVector.size(); index++) { in GetRangeIndex()
100 if (value <= rangeVector[index] * DOWNLOAD_FILE_BYTE_SIZE) { in GetRangeIndex()
104 return index; in GetRangeIndex()
131 uint32_t index = GetRangeIndex(size, rangeVector); in UpdateDownloadSizeStat() local
132 if (index >= stat_.imageSize.size()) { in UpdateDownloadSizeStat()
135 stat_.imageSize[index]++; in UpdateDownloadSizeStat()
138 uint32_t index = GetRangeIndex(size, rangeVector); in UpdateDownloadSizeStat() local
139 if (index > in UpdateDownloadSizeStat()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dimm5.c95 int index = avpkt->data[10]; in imm5_decode_frame() local
101 } else if (index == 17) { in imm5_decode_frame()
102 index = 4; in imm5_decode_frame()
103 } else if (index == 18) { in imm5_decode_frame()
104 index = 5; in imm5_decode_frame()
107 if (index >= 1 && index <= 12) { in imm5_decode_frame()
112 index -= 1; in imm5_decode_frame()
113 off = offset = IMM5_units[index].len; in imm5_decode_frame()
123 memcpy(avpkt->data, IMM5_units[index] in imm5_decode_frame()
[all...]
/third_party/ffmpeg/libavformat/
H A Dsrtp.c112 static void create_iv(uint8_t *iv, const uint8_t *salt, uint64_t index, in create_iv() argument
119 AV_WB64(indexbuf, index); in create_iv()
120 for (i = 0; i < 8; i++) // index << 16 in create_iv()
132 uint64_t index; in ff_srtp_decrypt() local
172 index = seq + (((uint64_t)v) << 16); in ff_srtp_decrypt()
196 index = srtcp_index & 0x7fffffff; in ff_srtp_decrypt()
231 create_iv(iv, rtcp ? s->rtcp_salt : s->rtp_salt, index, ssrc); in ff_srtp_decrypt()
242 uint64_t index; in ff_srtp_encrypt() local
254 padding += 4; // For the RTCP index in ff_srtp_encrypt()
264 index in ff_srtp_encrypt()
[all...]
/third_party/icu/icu4c/source/common/
H A Dutrie.h51 * Trie constants, defining shift widths, index array lengths, etc.
54 /** Shift size for shifting right the input index. 1..9 */
60 /** Mask for getting the lower bits from the input index. */
64 * Lead surrogate code points' index displacement in the index array.
70 * Shift size for shifting left the index array values.
71 * Increases possible data size with 16-bit index values at the cost
81 /** Number of bits of a trail surrogate that are used in index table lookups. */
85 * Number of index (stage 1) entries per lead surrogate.
86 * Same as number of index entrie
153 const uint16_t *index; global() member
559 int32_t index[UTRIE_MAX_INDEX_LENGTH+UTRIE_SURROGATE_BLOCK_COUNT]; global() member
[all...]
/third_party/lzma/CPP/7zip/UI/Common/
H A DLoadCodecs.h396 int GetCodec_LibIndex(UInt32 index) const;
397 bool GetCodec_DecoderIsAssigned(UInt32 index) const;
398 bool GetCodec_EncoderIsAssigned(UInt32 index) const;
399 bool GetCodec_IsFilter(UInt32 index, bool &isAssigned) const;
400 UInt32 GetCodec_NumStreams(UInt32 index);
401 HRESULT GetCodec_Id(UInt32 index, UInt64 &id);
402 AString GetCodec_Name(UInt32 index);
404 int GetHasherLibIndex(UInt32 index);
405 UInt64 GetHasherId(UInt32 index);
406 AString GetHasherName(UInt32 index);
[all...]
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-property-hashmap.c53 #define ECMA_PROPERTY_HASHMAP_GET_BIT(byte_p, index) \
54 ((byte_p)[(index) >> 3] & (1 << ((index) & 0x7)))
59 #define ECMA_PROPERTY_HASHMAP_CLEAR_BIT(byte_p, index) \
60 ((byte_p)[(index) >> 3] = (uint8_t) ((byte_p)[(index) >> 3] & ~(1 << ((index) & 0x7))))
65 #define ECMA_PROPERTY_HASHMAP_SET_BIT(byte_p, index) \
66 ((byte_p)[(index) >> 3] = (uint8_t) ((byte_p)[(index) >>
[all...]
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_ext_pixelformat.c329 uint index; member
342 uint index; in score_pixelformats() local
358 for (index = 0; index < count; index++) { in score_pixelformats()
361 if (!stw_query_attrib(hdc, index + 1, 0, attribute, &actual_value)) in score_pixelformats()
370 scores[index].points = 0; in score_pixelformats()
380 scores[index].points = 0; in score_pixelformats()
382 scores[index].points -= (actual_value - expected_value) in score_pixelformats()
414 scores[i].index in wglChoosePixelFormatARB()
[all...]
/third_party/node/deps/v8/tools/
H A Deval_gc_nvp.py37 index = int(log(value, 2))
38 index -= self.start
39 if index < 0:
40 index = 0
41 return index
57 index = self.bucket_trait.value_to_bucket(key)
58 if index not in self.histogram:
59 self.histogram[index] = 0
60 self.histogram[index] += 1
114 index
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dutrie.h51 * Trie constants, defining shift widths, index array lengths, etc.
54 /** Shift size for shifting right the input index. 1..9 */
60 /** Mask for getting the lower bits from the input index. */
64 * Lead surrogate code points' index displacement in the index array.
70 * Shift size for shifting left the index array values.
71 * Increases possible data size with 16-bit index values at the cost
81 /** Number of bits of a trail surrogate that are used in index table lookups. */
85 * Number of index (stage 1) entries per lead surrogate.
86 * Same as number of index entrie
153 const uint16_t *index; global() member
559 int32_t index[UTRIE_MAX_INDEX_LENGTH+UTRIE_SURROGATE_BLOCK_COUNT]; global() member
[all...]
/third_party/node/deps/v8/src/heap/cppgc/
H A Dpage-memory.h102 const PageMemory GetPageMemory(size_t index) const { in GetPageMemory()
103 DCHECK_LT(index, kNumPageRegions); in GetPageMemory()
105 MemoryRegion(reserved_region().base() + kPageSize * index, kPageSize), in GetPageMemory()
107 reserved_region().base() + kPageSize * index + kGuardPageSize, in GetPageMemory()
124 void ChangeUsed(size_t index, bool value) { in ChangeUsed() argument
125 DCHECK_LT(index, kNumPageRegions); in ChangeUsed()
126 DCHECK_EQ(value, !page_memories_in_use_[index]); in ChangeUsed()
127 page_memories_in_use_[index] = value; in ChangeUsed()
250 size_t index = GetIndex(address); in Lookup() local
251 if (!page_memories_in_use_[index]) retur in Lookup()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_vs_draw.c60 /* The index of the last generic output, after which we insert a new
89 unsigned name, unsigned index, unsigned interp, in emit_output()
100 decl.Semantic.Index = index; in emit_output()
109 unsigned name, unsigned index, unsigned interp) in insert_output_before()
120 emit_output(ctx, name, index, interp, in insert_output_before()
128 unsigned name, unsigned index, unsigned interp) in insert_output_after()
139 emit_output(ctx, name, index, interp, in insert_output_after()
335 unsigned index = info.output_semantic_index[i]; in r300_draw_init_vertex_shader() local
339 assert(index < 2); in r300_draw_init_vertex_shader()
340 transform.color_used[index] in r300_draw_init_vertex_shader()
88 emit_output(struct tgsi_transform_context *ctx, unsigned name, unsigned index, unsigned interp, unsigned reg) emit_output() argument
107 insert_output_before(struct tgsi_transform_context *ctx, struct tgsi_full_declaration *before, unsigned name, unsigned index, unsigned interp) insert_output_before() argument
126 insert_output_after(struct tgsi_transform_context *ctx, struct tgsi_full_declaration *after, unsigned name, unsigned index, unsigned interp) insert_output_after() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DAtomicCounterBufferTest.cpp446 // bug in index translation. http://anglebug.com/3783
468 int index = 2;
469 f0(ac[index]);
556 for (uint32_t index = 0; index < kAtomicCounterCount; ++index)
558 bufferData[index] = index;
579 for (uint32_t index = 0; index < kAtomicCounterCoun
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dutrie.h51 * Trie constants, defining shift widths, index array lengths, etc.
54 /** Shift size for shifting right the input index. 1..9 */
60 /** Mask for getting the lower bits from the input index. */
64 * Lead surrogate code points' index displacement in the index array.
70 * Shift size for shifting left the index array values.
71 * Increases possible data size with 16-bit index values at the cost
81 /** Number of bits of a trail surrogate that are used in index table lookups. */
85 * Number of index (stage 1) entries per lead surrogate.
86 * Same as number of index entrie
153 const uint16_t *index; global() member
559 int32_t index[UTRIE_MAX_INDEX_LENGTH+UTRIE_SURROGATE_BLOCK_COUNT]; global() member
[all...]

Completed in 17 milliseconds

1...<<71727374757677787980>>...467