Home
last modified time | relevance | path

Searched refs:index (Results 1551 - 1575 of 11953) sorted by relevance

1...<<61626364656667686970>>...479

/third_party/skia/third_party/externals/spirv-tools/source/reduce/
H A Doperand_to_undef_reduction_opportunity_finder.cpp40 // We iterate through the operands using an explicit index (rather in GetAvailableOpportunities()
41 // than using a lambda) so that we use said index in the construction in GetAvailableOpportunities()
43 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetAvailableOpportunities()
44 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities()
77 context, &inst, index)); in GetAvailableOpportunities()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
H A Doperand_to_undef_reduction_opportunity_finder.cpp40 // We iterate through the operands using an explicit index (rather in GetAvailableOpportunities()
41 // than using a lambda) so that we use said index in the construction in GetAvailableOpportunities()
43 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetAvailableOpportunities()
44 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities()
77 context, &inst, index)); in GetAvailableOpportunities()
/third_party/skia/tests/
H A DSkBase64Test.cpp15 for (int index = 0; index < 255; ++index) { in DEF_TEST()
16 all[index] = (signed char) (index + 1); in DEF_TEST()
H A DPathOpsTightBoundsTest.cpp15 for (int index = 0; index < 1000; ++index) { in testTightBoundsLines()
39 for (int index = 0; index < outerCount; ++index) { in DEF_TEST()
60 for (int index = 0; index < 100; ++index) { in testTightBoundsQuads()
114 for (int index in DEF_TEST()
[all...]
/third_party/spirv-tools/source/reduce/
H A Doperand_to_undef_reduction_opportunity_finder.cpp40 // We iterate through the operands using an explicit index (rather in GetAvailableOpportunities()
41 // than using a lambda) so that we use said index in the construction in GetAvailableOpportunities()
43 for (uint32_t index = 0; index < inst.NumOperands(); index++) { in GetAvailableOpportunities()
44 const auto& operand = inst.GetOperand(index); in GetAvailableOpportunities()
77 context, &inst, index)); in GetAvailableOpportunities()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_pattern.h109 void HandleColumnChange(const RefPtr<FrameNode>& tag, bool isAdd, uint32_t index, bool needNotify);
119 void HandleYearChange(bool isAdd, uint32_t index, std::vector<RefPtr<FrameNode>>& resultTags);
121 void HandleMonthChange(bool isAdd, uint32_t index, std::vector<RefPtr<FrameNode>>& resultTags);
123 void HandleLunarMonthChange(bool isAdd, uint32_t index);
125 void HandleLunarYearChange(bool isAdd, uint32_t index);
127 void HandleSolarYearChange(bool isAdd, uint32_t index);
134 void HandleSolarMonthChange(bool isAdd, uint32_t index);
136 void HandleDayChange(bool isAdd, uint32_t index, std::vector<RefPtr<FrameNode>>& resultTags);
138 void HandleReduceLunarDayChange(uint32_t index);
140 void HandleLunarDayChange(bool isAdd, uint32_t index);
291 GetOptionValue(RefPtr<FrameNode>& frameNode, uint32_t index) GetOptionValue() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dfetch_result.cpp227 unique_ptr<T> FetchResult<T>::GetObjectAtPosition(int32_t index) in GetObjectAtPosition() argument
235 if ((index < 0) || (index > (count - 1))) { in GetObjectAtPosition()
236 MEDIA_ERR_LOG("index not proper"); in GetObjectAtPosition()
240 if (resultset_->GoToRow(index) != 0) { in GetObjectAtPosition()
241 MEDIA_ERR_LOG("failed to go to row at index pos"); in GetObjectAtPosition()
312 int index; in GetRowValFromColumn() local
315 status = resultSet->GetColumnIndex(columnName, index); in GetRowValFromColumn()
317 status = resultset_->GetColumnIndex(columnName, index); in GetRowValFromColumn()
320 return ReturnDefaultOnError("failed to obtain the index", dataTyp in GetRowValFromColumn()
326 GetValByIndex(int32_t index, ResultSetDataType dataType, shared_ptr<NativeRdb::ResultSet> &resultSet) GetValByIndex() argument
427 int32_t index = -1; SetFileAsset() local
[all...]
/third_party/json/tests/src/
H A Dunit-json_pointer.cpp40 SECTION("array index error")
264 // assign to existing index
268 // assign to nonexisting index
272 // assign to nonexisting index (with gap)
278 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&);
280 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&);
282 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&);
284 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&);
293 "[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_error&);
295 "[json.exception.parse_error.109] parse error: array index 'on
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_lower_to_cssa.cpp56 uint32_t index = -1u; /* index into the vector of merge sets */ member
94 uint32_t index = ctx.merge_sets.size(); in collect_parallelcopies() local
124 ctx.merge_node_table[tmp.id()] = {op, index, preds[i]}; in collect_parallelcopies()
145 ctx.merge_node_table[def.tempId()] = {Operand(def.getTemp()), index, block.index}; in collect_parallelcopies()
186 assert(node_var.index != node_parent.index); in intersects()
254 if (node_var.index == ctx.merge_node_table[parent.id()].index) { in interference()
286 uint32_t index = def_node_it->second.index; try_merge_merge_set() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_paint_property.h87 auto index = std::to_string(i); variable
89 jsonDashArray->Put(index.c_str(), value);
136 for (size_t index = 0; index < gradientItem.GetColors().size(); ++index) { in ToJsonValueColors()
137 auto gradientColor = gradientItem.GetColors()[index]; in ToJsonValueColors()
141 gradientItemJsonArray->Put(std::to_string(index).c_str(), gradientColorJosn); in ToJsonValueColors()
196 for (size_t index = 0; index < gradientItem.GetColors().size(); ++index) { in ToJsonTrackShadow()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dobserver_handler.h49 int32_t index; member
60 int32_t index, napi_value param, std::string navDesId) in NavDestinationInfo()
62 index(index), param(param), navDestinationId(std::move(navDesId)) in NavDestinationInfo()
98 int32_t index; member
104 RouterPageInfoNG(napi_value context, int32_t index, std::string name, std::string path, RouterPageState state, in RouterPageInfoNG()
106 : context(context), index(index), name(std::move(name)), path(std::move(path)), state(state), in RouterPageInfoNG()
131 int32_t index = 0; member
135 TabContentInfo(std::string tabContentId, int32_t tabContentUniqueId, TabContentState state, int32_t index, in TabContentInfo()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_theme.h143 const std::string& GetLocationDescriptions(int32_t index) in GetLocationDescriptions() argument
145 if (index < 0 || index >= static_cast<int32_t>(locationDescriptions_.size())) { in GetLocationDescriptions()
148 return locationDescriptions_[index]; in GetLocationDescriptions()
151 const std::string& GetPasteDescriptions(int32_t index) in GetPasteDescriptions() argument
153 if (index < 0 || index >= static_cast<int32_t>(pasteDescriptions_.size())) { in GetPasteDescriptions()
156 return pasteDescriptions_[index]; in GetPasteDescriptions()
159 const std::string& GetSaveDescriptions(int32_t index) in GetSaveDescriptions() argument
161 if (index < in GetSaveDescriptions()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font_mgr.cpp93 char* OH_Drawing_FontMgrGetFamilyName(OH_Drawing_FontMgr* drawingFontMgr, int index) in OH_Drawing_FontMgrGetFamilyName() argument
96 if (fontMgr == nullptr || index < 0) { in OH_Drawing_FontMgrGetFamilyName()
100 fontMgr->GetFamilyName(index, strFamilyName); in OH_Drawing_FontMgrGetFamilyName()
117 OH_Drawing_FontStyleSet* OH_Drawing_FontMgrCreateFontStyleSet(OH_Drawing_FontMgr* drawingFontMgr, int index) in OH_Drawing_FontMgrCreateFontStyleSet() argument
120 if (fontMgr == nullptr || index < 0) { in OH_Drawing_FontMgrCreateFontStyleSet()
123 FontStyleSet* fontStyleSet = fontMgr->CreateStyleSet(index); in OH_Drawing_FontMgrCreateFontStyleSet()
202 OH_Drawing_Typeface* OH_Drawing_FontStyleSetCreateTypeface(OH_Drawing_FontStyleSet* fontStyleSet, int index) in OH_Drawing_FontStyleSetCreateTypeface() argument
204 if (fontStyleSet == nullptr || index < 0) { in OH_Drawing_FontStyleSetCreateTypeface()
208 auto drawingTypeface = converFontStyleSet->CreateTypeface(index); in OH_Drawing_FontStyleSetCreateTypeface()
218 OH_Drawing_FontStyleSet* fontStyleSet, int32_t index, cha in OH_Drawing_FontStyleSetGetStyle()
217 OH_Drawing_FontStyleSetGetStyle( OH_Drawing_FontStyleSet* fontStyleSet, int32_t index, char** styleName) OH_Drawing_FontStyleSetGetStyle() argument
[all...]
/foundation/multimedia/media_foundation/services/media_monitor/common/src/
H A Devent_bean.cpp85 for (int32_t index = 0; index < intMapSize; index++) { in ReadFromParcel()
94 for (int32_t index = 0; index < stringMapSize; index++) { in ReadFromParcel()
103 for (int32_t index = 0; index < uint64MapSize; index++) { in ReadFromParcel()
112 for (int32_t index in ReadFromParcel()
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/include/
H A DAudioEncoderDemoCommon.h48 extern void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData);
49 extern void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index,
95 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) override;
96 void OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag,
120 OH_AVErrCode NativePushInputData(OH_AVCodec* codec, uint32_t index, OH_AVCodecBufferAttr attr);
121 OH_AVErrCode NativeFreeOutputData(OH_AVCodec* codec, uint32_t index);
133 void HandleEOS(const uint32_t& index);
135 void NativePushInput(uint32_t index);
137 void NativeWriteOutput(std::ofstream& outputFile, uint32_t index,
171 int32_t InnerQueueInputBuffer(uint32_t index, AVCodecBufferInf
[all...]
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
H A Davcodec_audio_encoder_inner_demo.cpp160 uint32_t index = signal_->inQueue_.front(); in InputFunc() local
164 std::cout << "buffer is null:" << index << "\n"; in InputFunc() local
173 (void)audioEn_->QueueInputBuffer(index, attr, flag); in InputFunc()
179 auto result = audioEn_->QueueInputBuffer(index, attr, flag); in InputFunc()
201 uint32_t index = signal_->outQueue_.front(); in OutputFunc() local
211 if (audioEn_->ReleaseOutputBuffer(index) != AVCS_ERR_OK) { in OutputFunc()
235 void AEnDemoCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) in OnInputBufferAvailable() argument
237 cout << "OnInputBufferAvailable received, index:" << index << endl; in OnInputBufferAvailable()
239 signal_->inQueue_.push(index); in OnInputBufferAvailable()
244 OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) OnOutputBufferAvailable() argument
[all...]
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/source/
H A Dplayer_demux.cpp209 int index = 0; in GetFileInfo() local
214 if (programInfo->track[j].trackType == TRACK_TYPE_VIDEO && index < HI_DEMUXER_RESOLUTION_CNT) { in GetFileInfo()
215 fileInfo.stSteamResolution[index].s32VideoStreamIndex = programInfo->track[j].trackId; in GetFileInfo()
216 fileInfo.stSteamResolution[index].u32Width = programInfo->track[j].vidTrack.width; in GetFileInfo()
217 fileInfo.stSteamResolution[index].u32Height = programInfo->track[j].vidTrack.height; in GetFileInfo()
218 fileInfo.stSteamResolution[index].enVideoType = programInfo->track[j].vidTrack.format; in GetFileInfo()
219 index++; in GetFileInfo()
223 for (; index < HI_DEMUXER_RESOLUTION_CNT; index++) { in GetFileInfo()
224 fileInfo.stSteamResolution[index] in GetFileInfo()
[all...]
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screentranstestutils/src/
H A Dscreen_callback_test.cpp91 uint32_t index = 0; in HWTEST_F() local
98 encoderCallback->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F()
99 encoderCallback->OnInputBufferAvailable(index, buffer); in HWTEST_F()
124 uint32_t index = 0; in HWTEST_F() local
131 decoderCallback->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F()
132 decoderCallback->OnInputBufferAvailable(index, buffer); in HWTEST_F()
180 uint32_t index = 0; in HWTEST_F() local
184 encoderCallback->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F()
185 encoderCallback->OnInputBufferAvailable(index, buffer); in HWTEST_F()
205 uint32_t index in HWTEST_F() local
[all...]
/test/xts/acts/multimedia/av_codec/audio_encoder/include/
H A DAudioEncoderDemoCommon.h48 extern void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData);
49 extern void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index,
95 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) override;
96 void OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag,
120 OH_AVErrCode NativePushInputData(OH_AVCodec* codec, uint32_t index, OH_AVCodecBufferAttr attr);
121 OH_AVErrCode NativeFreeOutputData(OH_AVCodec* codec, uint32_t index);
133 void HandleEOS(const uint32_t& index);
135 void NativePushInput(uint32_t index);
137 void NativeWriteOutput(std::ofstream& outputFile, uint32_t index,
171 int32_t InnerQueueInputBuffer(uint32_t index, AVCodecBufferInf
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_QUERYMENU.c32 static void do_check_menu(__u32 id, __u32 index, in do_check_menu() argument
41 dprintf("\tmenu = {.id=%u, .index=%i, .name=\"%s\", " in do_check_menu()
43 menu->id, menu->index, menu->name, menu->reserved); in do_check_menu()
46 CU_ASSERT_EQUAL(menu->index, index); in do_check_menu()
60 menu2.index = index; in do_check_menu()
71 menu2.index = index; in do_check_menu()
86 menu.index in do_query_menu()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dgetstring.c188 _mesa_GetStringi(GLenum name, GLuint index) in _mesa_GetStringi() argument
199 if (index >= _mesa_get_extension_count(ctx)) { in _mesa_GetStringi()
200 _mesa_error(ctx, GL_INVALID_VALUE, "glGetStringi(index=%u)", index); in _mesa_GetStringi()
203 return _mesa_get_enabled_extension(ctx, index); in _mesa_GetStringi()
214 num = _mesa_get_shading_language_version(ctx, index, &version); in _mesa_GetStringi()
215 if (index >= num) { in _mesa_GetStringi()
217 "glGetStringi(GL_SHADING_LANGUAGE_VERSION, index=%d)", in _mesa_GetStringi()
218 index); in _mesa_GetStringi()
229 if (index > in _mesa_GetStringi()
357 _mesa_GetPointerIndexedvEXT( GLenum pname, GLuint index, GLvoid **params ) _mesa_GetPointerIndexedvEXT() argument
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-sharedarraybuffer.cc114 inline size_t GetAddress64(size_t index, size_t byte_offset) { in GetAddress64() argument
115 return (index << 3) + byte_offset; in GetAddress64()
118 inline size_t GetAddress32(size_t index, size_t byte_offset) { in GetAddress32() argument
119 return (index << 2) + byte_offset; in GetAddress32()
125 // Atomics.notify( typedArray, index, count )
129 Handle<Object> index = args.atOrUndefined(isolate, 2); in BUILTIN() local
137 // 2. Let i be ? ValidateAtomicAccess(typedArray, index). in BUILTIN()
138 Maybe<size_t> maybe_index = ValidateAtomicAccess(isolate, sta, index); in BUILTIN()
182 Handle<Object> array, Handle<Object> index, Handle<Object> value, in DoWait()
196 // 3. Let i be ? ValidateAtomicAccess(typedArray, index) in DoWait()
181 DoWait(Isolate* isolate, FutexEmulation::WaitMode mode, Handle<Object> array, Handle<Object> index, Handle<Object> value, Handle<Object> timeout) DoWait() argument
256 Handle<Object> index = args.atOrUndefined(isolate, 2); BUILTIN() local
267 Handle<Object> index = args.atOrUndefined(isolate, 2); BUILTIN() local
[all...]
/third_party/python/Lib/idlelib/
H A Dhyperparser.py26 def __init__(self, editwin, index):
27 "To initialize, analyze the surroundings of the given index."
34 def index2line(index):
35 return int(float(index))
36 lno = index2line(text.index(index))
44 # at end. We add a space so that index won't be at end
54 r = text.tag_prevrange("console", index)
61 # space so that index won't be at end of line, so that its
79 self.set_index(index)
[all...]
/third_party/skia/src/ports/
H A DSkFontMgr_preview.h57 int index, in SkTypeface_PreviewSystem()
66 , fIndex(index) in SkTypeface_PreviewSystem()
264 void getStyle(int index, SkFontStyle* style, SkString* name) override
266 if (index < 0 || fStyles.count() <= index) {
270 *style = fStyles[index]->fontStyle();
277 SkTypeface_PreviewSystem* createTypeface(int index) override
279 if (index < 0 || fStyles.count() <= index) {
282 return SkRef(fStyles[index]
56 SkTypeface_PreviewSystem(const SkString& pathName, int index, const SkFixed* axes, int axesCount, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName, const SkTArray<SkLanguage, true>& lang, FontVariant variantStyle) SkTypeface_PreviewSystem() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Duvectr32.cpp98 void UVector32::setElementAt(int32_t elem, int32_t index) { in setElementAt() argument
99 if (0 <= index && index < count) { in setElementAt()
100 elements[index] = elem; in setElementAt()
102 /* else index out of range */ in setElementAt()
105 void UVector32::insertElementAt(int32_t elem, int32_t index, UErrorCode &status) { in insertElementAt() argument
106 // must have 0 <= index <= count in insertElementAt()
107 if (0 <= index && index <= count && ensureCapacity(count + 1, status)) { in insertElementAt()
108 for (int32_t i=count; i>index; in insertElementAt()
159 removeElementAt(int32_t index) removeElementAt() argument
[all...]

Completed in 19 milliseconds

1...<<61626364656667686970>>...479