/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/fact_manager/ |
H A D | data_synonym_and_id_equation_facts.cpp | 299 dd.index())); in ComputeConversionDataSynonymFacts() 362 dd1.index()); in ComputeCompositeDataSynonymFacts() 388 // then for each composite index i, we add a fact of the form: in ComputeCompositeDataSynonymFacts() 402 fuzzerutil::RepeatedFieldToVector(dd1.index()); in ComputeCompositeDataSynonymFacts() 405 fuzzerutil::RepeatedFieldToVector(dd2.index()); in ComputeCompositeDataSynonymFacts() 479 // the pair are synonymous at *some* index, but not at *all* indices. in ComputeClosureOfFacts() 487 // to record that they are synonymous at index 2. If we then find that in ComputeClosureOfFacts() 493 // boolean vector true at every index, we would add the fact: in ComputeClosureOfFacts() 549 if (dd1->index(dd1->index_size() - 1) != in ComputeClosureOfFacts() 550 dd2->index(dd in ComputeClosureOfFacts() [all...] |
/third_party/spirv-tools/source/fuzz/fact_manager/ |
H A D | data_synonym_and_id_equation_facts.cpp | 300 dd.index())); in ComputeConversionDataSynonymFacts() 363 dd1.index()); in ComputeCompositeDataSynonymFacts() 389 // then for each composite index i, we add a fact of the form: in ComputeCompositeDataSynonymFacts() 403 fuzzerutil::RepeatedFieldToVector(dd1.index()); in ComputeCompositeDataSynonymFacts() 406 fuzzerutil::RepeatedFieldToVector(dd2.index()); in ComputeCompositeDataSynonymFacts() 480 // the pair are synonymous at *some* index, but not at *all* indices. in ComputeClosureOfFacts() 488 // to record that they are synonymous at index 2. If we then find that in ComputeClosureOfFacts() 494 // boolean vector true at every index, we would add the fact: in ComputeClosureOfFacts() 550 if (dd1->index(dd1->index_size() - 1) != in ComputeClosureOfFacts() 551 dd2->index(dd in ComputeClosureOfFacts() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucptrie.cpp | 110 // Set the pointers to its index and data arrays. in ucptrie_openFromBinary() 112 trie->index = p16; in ucptrie_openFromBinary() 170 int32_t i3Block = trie->index[ in ucptrie_internalSmallIndex() 171 (int32_t)trie->index[i1] + ((c >> UCPTRIE_SHIFT_2) & UCPTRIE_INDEX_2_MASK)]; in ucptrie_internalSmallIndex() 176 dataBlock = trie->index[i3Block + i3]; in ucptrie_internalSmallIndex() 181 dataBlock = ((int32_t)trie->index[i3Block++] << (2 + (2 * i3))) & 0x30000; in ucptrie_internalSmallIndex() 182 dataBlock |= trie->index[i3Block + i3]; in ucptrie_internalSmallIndex() 278 const uint16_t *index = trie->index; in getRange() local 297 // Use the multi-stage index in getRange() [all...] |
H A D | usprep.cpp | 410 int32_t index = (int32_t)type; in usprep_openByType() local 411 if (index < 0 || index >= UPRV_LENGTHOF(PROFILE_NAMES)) { in usprep_openByType() 415 return usprep_open(NULL, PROFILE_NAMES[index], status); in usprep_openByType() 486 /* ascertain if the value is index or delta */ in getValues() 546 int32_t index, length; in usprep_map() local 549 index = value; in usprep_map() 550 if(index >= indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] && in usprep_map() 551 index < indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START]){ in usprep_map() 553 }else if(index > in usprep_map() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_pattern_test_ng.cpp | 939 std::string expectResult = "{\"value\":[\"111\",\"123\",\"134\"],\"index\":[0,1,2],\"status\":2}"; in HWTEST_F() 1053 uint32_t index = 0; in HWTEST_F() local 1070 index = textPickerColumnPattern_->GetCurrentIndex(); in HWTEST_F() 1071 EXPECT_EQ(index, 0); in HWTEST_F() 1091 uint32_t index = 0; in HWTEST_F() local 1108 index = textPickerColumnPattern_->GetCurrentIndex(); in HWTEST_F() 1109 EXPECT_EQ(index, 0); in HWTEST_F() 1129 uint32_t index = 0; in HWTEST_F() local 1146 index = textPickerColumnPattern_->GetCurrentIndex(); in HWTEST_F() 1147 EXPECT_EQ(index, in HWTEST_F() 1167 uint32_t index = 0; HWTEST_F() local 1205 uint32_t index = 0; HWTEST_F() local 1243 uint32_t index = 0; HWTEST_F() local 1281 uint32_t index = 0; HWTEST_F() local 1319 uint32_t index = 0; HWTEST_F() local 1357 uint32_t index = 0; HWTEST_F() local 1395 uint32_t index = 0; HWTEST_F() local 1433 uint32_t index = 0; HWTEST_F() local 1471 uint32_t index = 0; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_layout_algorithm.cpp | 68 for (int32_t index = 0; index < childCount; index++) { in Measure() 69 auto childWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in Measure() 170 for (int32_t index = 0; index < childCount; index++) { in GetMaxItemWidth() 171 auto childWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in GetMaxItemWidth()
|
/foundation/arkui/ace_engine/frameworks/core/components/video/resource/ |
H A D | resource.cpp | 147 size_t index = 0; in ParseMapFromString() local 149 while (index < totalLen) { in ParseMapFromString() 150 size_t end = param.find(PARAM_AND, index); in ParseMapFromString() 155 size_t mid = param.find(PARAM_EQUALS, index); in ParseMapFromString() 157 index = end + andLen; in ParseMapFromString() 160 std::string key = param.substr(index, mid - index); in ParseMapFromString() 163 index = end + andLen; in ParseMapFromString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_with_options_layout_algorithm.cpp | 71 AceLogTag::ACE_GRID, "item height of index %{public}d is less than zero", gridLayoutInfo_.endIndex_ + 1); in LargeItemLineHeight() 220 auto index = *iter; in GetCrossStartAndSpanWithUserFunction() local 221 if (index >= itemIndex) { in GetCrossStartAndSpanWithUserFunction() 225 if (index == lastIndex) { in GetCrossStartAndSpanWithUserFunction() 229 auto crossSpan = options.getSizeByIndex(index).GetCrossSize(gridLayoutInfo_.axis_); in GetCrossStartAndSpanWithUserFunction() 231 auto irregularStart = (sum + index - lastIndex - 1) % crossCount; in GetCrossStartAndSpanWithUserFunction() 236 sum += (index - lastIndex - 1); in GetCrossStartAndSpanWithUserFunction() 238 lastIndex = index; in GetCrossStartAndSpanWithUserFunction() 239 gridLayoutInfo_.irregularItemsPosition_.emplace(index, sum); in GetCrossStartAndSpanWithUserFunction()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/image_animator/ |
H A D | image_animator_pattern_test_ng.cpp | 156 for (int32_t index = 0; index < number; index++) { in CreateImageAnimator() 178 for (int32_t index = 0; index < number; index++) { in CreatePixelMapAnimator() 270 int32_t index = 5; in HWTEST_F() local 271 pattern_->SetShowingIndex(index); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | ui_extension_manager.cpp | 28 for (int32_t index = 0; index < UI_EXTENSION_ID_FIRST_MAX; index++) { in ApplyExtensionId() 29 if (!UIExtensionManager::UIExtensionIdUtility::idPool_.test(index)) { in ApplyExtensionId() 30 UIExtensionManager::UIExtensionIdUtility::idPool_.set(index, 1); in ApplyExtensionId() 31 return index + 1; in ApplyExtensionId() 165 int64_t index = elementId / extensionOffset; in UnWrapExtensionAbilityId() local 167 return std::pair<int64_t, int64_t>(index, abilityId); in UnWrapExtensionAbilityId()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_demuxer_plugin.h | 76 const uint64_t relativePresentationTimeUs, uint32_t &index) override; 78 const uint32_t index, uint64_t &relativePresentationTimeUs) override; 151 uint32_t trackIndex, int64_t absolutePTS, uint32_t index); 153 const AVStream* avStream, int64_t absolutePTS, uint32_t index); 155 const AVStream* avStream, int64_t absolutePTS, uint32_t index); 157 void IndexToRelativePTSProcess(int64_t pts, uint32_t index); 160 int64_t pts, int64_t absolutePTS, uint32_t index); 222 int index; member
|
/foundation/multimedia/av_codec/frameworks/native/avcodec/ |
H A D | avcodec_video_encoder_impl.cpp | 184 int32_t AVCodecVideoEncoderImpl::QueueInputBuffer(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag) in QueueInputBuffer() argument 189 return codecClient_->QueueInputBuffer(index, info, flag); in QueueInputBuffer() 192 int32_t AVCodecVideoEncoderImpl::QueueInputBuffer(uint32_t index) in QueueInputBuffer() argument 197 return codecClient_->QueueInputBuffer(index); in QueueInputBuffer() 200 int32_t AVCodecVideoEncoderImpl::QueueInputParameter(uint32_t index) in QueueInputParameter() argument 205 return codecClient_->QueueInputParameter(index); in QueueInputParameter() 216 int32_t AVCodecVideoEncoderImpl::ReleaseOutputBuffer(uint32_t index) in ReleaseOutputBuffer() argument 221 return codecClient_->ReleaseOutputBuffer(index); in ReleaseOutputBuffer()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_container.h | 55 size_t index; ///< IContainer index where the change happened member 65 size_t from; ///< IContainer index where the the object was moved from 66 size_t to; ///< IContainer index where the object was moved to 103 * @brief Returns the child at given index. 104 * @param index Index of the child to return. 105 * @return The child at given index or nullptr in case of invalid index. 107 virtual IObject::Ptr GetAt(SizeType index) const = 0; 147 * @brief Inserts a child object at given index 295 Insert(SizeType index, const T& object) Insert() argument [all...] |
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | decoder_surface_filter.h | 80 void DrainOutputBuffer(uint32_t index, std::shared_ptr<AVBuffer> &outputBuffer); 105 void ConsumeVideoFrame(uint32_t index, bool isRender, int64_t renderTimeNs = 0L); 117 int64_t CalculateNextRender(uint32_t index, std::shared_ptr<AVBuffer> &outputBuffer); 119 void RenderNextOutput(uint32_t index, std::shared_ptr<AVBuffer> &outputBuffer); 120 Status ReleaseOutputBuffer(int index, bool render, const std::shared_ptr<AVBuffer> &outBuffer, int64_t renderTime); 121 bool AcquireNextRenderBuffer(bool byIdx, uint32_t &index, std::shared_ptr<AVBuffer> &outBuffer); 122 bool DrainPreroll(uint32_t index, std::shared_ptr<AVBuffer> &outputBuffer); 123 bool DrainSeekClosest(uint32_t index, std::shared_ptr<AVBuffer> &outputBuffer);
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec_list.cpp | 220 for (size_t index = 0; index < hdiVideoCap.measuredFrameRate.size(); index += STEP_BUTT) { in GetMeasuredFrameRate() 221 if (hdiVideoCap.measuredFrameRate[index] <= 0) { in GetMeasuredFrameRate() 224 ImgSize imageSize(hdiVideoCap.measuredFrameRate[index + WIDTH], hdiVideoCap.measuredFrameRate[index + HEIGHT]); in GetMeasuredFrameRate() 225 Range range(hdiVideoCap.measuredFrameRate[index + MIN_RATE], hdiVideoCap.measuredFrameRate[index + MAX_RATE]); in GetMeasuredFrameRate()
|
/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | surface_decoder_unit_test.cpp | 195 uint32_t index = 1;
in HWTEST_F() local 199 surfaceDecoderAdapter_->OnInputBufferAvailable(index, buffer);
in HWTEST_F() 201 surfaceDecoderAdapter_->OnInputBufferAvailable(index, buffer);
in HWTEST_F() 206 surfaceDecoderAdapter_->OnInputBufferAvailable(index, buffer);
in HWTEST_F() 217 uint32_t index = 1;
in HWTEST_F() local 220 surfaceDecoderAdapter_->OnOutputBufferAvailable(index, buffer);
in HWTEST_F() 223 surfaceDecoderAdapter_->OnOutputBufferAvailable(index, buffer);
in HWTEST_F() 227 surfaceDecoderAdapter_->OnOutputBufferAvailable(index, buffer);
in HWTEST_F()
|
/foundation/multimedia/player_framework/services/engine/histreamer/player/ |
H A D | seek_agent.cpp | 118 for (uint32_t index = 0; index < trackInfo.size(); index++) {
in GetAllTrackInfo() 119 auto trackMeta = trackInfo[index];
in GetAllTrackInfo() 122 MEDIA_LOG_I("Find video trackId: " PUBLIC_LOG_U32 ", mimeType: " PUBLIC_LOG_S, index, mimeType.c_str());
in GetAllTrackInfo() 123 videoTrackId = index;
in GetAllTrackInfo() 127 MEDIA_LOG_I("Find audio trackId: " PUBLIC_LOG_U32 ", mimeType: " PUBLIC_LOG_S, index, mimeType.c_str());
in GetAllTrackInfo() 128 audioTrackIds.push_back(index);
in GetAllTrackInfo()
|
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/ |
H A D | fetch_module.cpp | 104 for (uint32_t index = 0; index < length; ++index) { in GetNameValue() 105 std::unique_ptr<JSIVal, decltype(&JSI::ReleaseValue)> key(JSI::GetPropertyByIndex(keys.get(), index), in GetNameValue() 175 auto index = url.find(HttpConstant::HTTP_URL_PARAM_SEPARATOR); in ParseExtraData() local 176 if (index != std::string::npos) { in ParseExtraData() 177 param = url.substr(index + 1); in ParseExtraData() 178 url.resize(index); in ParseExtraData()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/cloud/ |
H A D | asset_operation_utils.cpp | 47 if (TYPE_INDEX<Asset> == colData.index()) { in CalAssetOperation() 50 } else if (TYPE_INDEX<Assets> == colData.index()) { in CalAssetOperation() 97 if (item.second.index() == TYPE_INDEX<Asset>) { in FilterDeleteAsset() 105 if (item.second.index() != TYPE_INDEX<Assets>) { in FilterDeleteAsset() 195 if (TYPE_INDEX<Asset> == value.index()) { in GetAssets() 197 } else if (TYPE_INDEX<Assets> == value.index()) { in GetAssets() 231 if (TYPE_INDEX<Asset> == target.index()) { in MergeAssetsFlag() 233 } else if (TYPE_INDEX<Assets> == target.index()) { in MergeAssetsFlag()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributed_rdb_exception_test.cpp | 293 for (int index = 0; index < gtableNameList.size(); index++) {
in HWTEST_F() 294 if (index < 20) {
in HWTEST_F() 295 status = DistributedRdbTools::GetCreateDistributedTableStatus(delegateA, gtableNameList[index]);
in HWTEST_F() 297 } else if (index >= 20 && index < 32) {
in HWTEST_F() 298 status = DistributedRdbTools::GetCreateDistributedTableStatus(delegateB, gtableNameList[index]);
in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | cache_result_set.cpp | 143 int32_t index = 0; in GetRow() local 149 rowEntity.Put(columnName, index, std::move(object)); in GetRow() 150 index++; in GetRow() 175 auto index = colTypes_[columnIndex]; in GetColumnType() local 176 if (index < ValueObject::TYPE_NULL || index >= ValueObject::TYPE_MAX) { in GetColumnType() 179 columnType = COLUMNTYPES[index]; in GetColumnType() 310 int CacheResultSet::GetFloat32Array(int32_t index, ValueObject::FloatVector &vecs) in GetFloat32Array() argument
|
/foundation/distributedhardware/device_manager/services/service/src/relationshipsyncmgr/ |
H A D | relationship_sync_mgr.cpp | 290 for (uint32_t index = 0; index < len; index++) { in ToArrayJson() 291 cJSON_AddItemToArray(arrayObj, cJSON_CreateNumber(payload[index])); in ToArrayJson() 321 for (uint32_t index = 0; index < peerUdids.size(); index++) { in ToJson() 322 cJSON_AddItemToArray(udidArrayObj, cJSON_CreateString(peerUdids[index].c_str())); in ToJson()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | mpegvideo_msa.c | 197 int16_t *block, int32_t index, in ff_dct_unquantize_h263_intra_msa() 203 av_assert2(s->block_last_index[index] >= 0 || s->h263_aic); in ff_dct_unquantize_h263_intra_msa() 208 block[0] *= index < 4 ? s->y_dc_scale : s->c_dc_scale; in ff_dct_unquantize_h263_intra_msa() 216 nCoeffs = s->inter_scantable.raster_end[s->block_last_index[index]]; in ff_dct_unquantize_h263_intra_msa() 222 int16_t *block, int32_t index, in ff_dct_unquantize_h263_inter_msa() 228 av_assert2(s->block_last_index[index] >= 0); in ff_dct_unquantize_h263_inter_msa() 233 nCoeffs = s->inter_scantable.raster_end[s->block_last_index[index]]; in ff_dct_unquantize_h263_inter_msa() 239 int16_t *block, int32_t index, in ff_dct_unquantize_mpeg2_inter_msa() 196 ff_dct_unquantize_h263_intra_msa(MpegEncContext *s, int16_t *block, int32_t index, int32_t qscale) ff_dct_unquantize_h263_intra_msa() argument 221 ff_dct_unquantize_h263_inter_msa(MpegEncContext *s, int16_t *block, int32_t index, int32_t qscale) ff_dct_unquantize_h263_inter_msa() argument 238 ff_dct_unquantize_mpeg2_inter_msa(MpegEncContext *s, int16_t *block, int32_t index, int32_t qscale) ff_dct_unquantize_mpeg2_inter_msa() argument
|
/third_party/ffmpeg/libavformat/ |
H A D | rl2.c | 26 * @see http://wiki.multimedia.cx/index.php?title=RL2 197 /** build the sample index */ in rl2_read_header() 273 * @param stream_index index of the stream that should be seeked 283 int index = av_index_search_timestamp(st, timestamp, flags); in rl2_read_seek() local 284 if(index < 0) in rl2_read_seek() 287 rl2->index_pos[stream_index] = index; in rl2_read_seek() 288 timestamp = ffstream(st)->index_entries[index].timestamp; in rl2_read_seek() 292 index = av_index_search_timestamp(st2, in rl2_read_seek() 296 if(index < 0) in rl2_read_seek() 297 index in rl2_read_seek() [all...] |
/third_party/curl/lib/ |
H A D | headers.c | 42 size_t index, in copy_header_external() 51 h->index = index; in copy_header_external() 137 size_t index = 0; in curl_easy_nextheader() local 171 the index for the currently selected entry */ in curl_easy_nextheader() 179 index = amount - 1; in curl_easy_nextheader() 182 copy_header_external(hs, index, amount, pick, in curl_easy_nextheader() 369 size_t index, in curl_easy_header() 376 (void)index; in curl_easy_header() 41 copy_header_external(struct Curl_header_store *hs, size_t index, size_t amount, struct Curl_llist_element *e, struct curl_header *hout) copy_header_external() argument 367 curl_easy_header(CURL *easy, const char *name, size_t index, unsigned int origin, int request, struct curl_header **hout) curl_easy_header() argument
|