Home
last modified time | relevance | path

Searched refs:index (Results 351 - 375 of 10594) sorted by relevance

1...<<11121314151617181920>>...424

/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_element.cpp34 int32_t index = renderIndexer->GetFocusIndex(); in OnKeyEvent() local
40 index -= 1; in OnKeyEvent()
41 if (index < 0) { in OnKeyEvent()
46 auto indexerItem = renderIndexer->GetSpecificItem(index); in OnKeyEvent()
52 renderIndexer->MoveSectionWithIndexer(index); in OnKeyEvent()
53 renderIndexer->SetFocusIndex(index); in OnKeyEvent()
61 index += 1; in OnKeyEvent()
63 auto indexerItem = renderIndexer->GetSpecificItem(index); in OnKeyEvent()
68 renderIndexer->SetFocusIndex(index); in OnKeyEvent()
71 renderIndexer->MoveSectionWithIndexer(index); in OnKeyEvent()
[all...]
/third_party/icu/icu4c/source/common/unicode/
H A Dparsepos.h42 * you can use the same <code>ParsePosition</code>, since the index parameter
55 * Default constructor, the index starts with 0 as default.
60 index(0), in ParsePosition()
65 * Create a new ParsePosition with the given initial index.
71 index(newIndex), in ParsePosition()
82 index(copy.index), in ParsePosition()
127 * is the index of the character at which parsing will begin; on output, it
128 * is the index of the character following the last character parsed.
129 * @return the current index
178 int32_t index; global() member in ParsePosition
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Drandom.js31 let index = 0;
34 if (index < count) {
35 result[index] = item;
37 const randIndex = randInt(0, index);
43 index++;
46 if (index < count) {
48 result.length = index;
75 const index = Math.floor(p * (high * factor + low));
76 if (index < low) {
77 // If the index i
[all...]
/third_party/node/deps/icu-small/source/common/unicode/
H A Dparsepos.h42 * you can use the same <code>ParsePosition</code>, since the index parameter
55 * Default constructor, the index starts with 0 as default.
60 index(0), in ParsePosition()
65 * Create a new ParsePosition with the given initial index.
71 index(newIndex), in ParsePosition()
82 index(copy.index), in ParsePosition()
127 * is the index of the character at which parsing will begin; on output, it
128 * is the index of the character following the last character parsed.
129 * @return the current index
178 int32_t index; global() member in ParsePosition
[all...]
/third_party/skia/src/core/
H A DSkPtrRecorder.cpp33 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair)); in find() local
34 if (index < 0) { in find()
37 return fList[index].fIndex; in find()
49 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair)); in add() local
50 if (index < 0) { in add()
51 index = ~index; // turn it back into an index for insertion in add()
54 *fList.insert(index) = pair; in add()
57 return fList[index] in add()
68 int index = p[i].fIndex - 1; copyToArray() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DTransformFeedback.cpp34 Buffer* TransformFeedback::getBuffer(GLuint index) const in getBuffer()
36 return mBuffer[index].get(); in getBuffer()
39 GLuint TransformFeedback::getBufferName(GLuint index) const in getBufferName()
41 return mBuffer[index].get().name(); in getBufferName()
44 int TransformFeedback::getOffset(GLuint index) const in getOffset()
46 return mBuffer[index].getOffset(); in getOffset()
49 int TransformFeedback::getSize(GLuint index) const in getSize()
51 return mBuffer[index].getSize(); in getSize()
99 void TransformFeedback::setBuffer(GLuint index, Buffer* buffer) in setBuffer() argument
101 mBuffer[index] in setBuffer()
104 setBuffer(GLuint index, Buffer* buffer, GLintptr offset, GLsizeiptr size) setBuffer() argument
[all...]
/third_party/skia/src/pathops/
H A DSkPathOpsRect.cpp24 for (int index = 0; index < roots; ++index) { in setBounds()
25 double t = startT + (endT - startT) * tValues[index]; in setBounds()
41 for (int index = 0; index < roots; ++index) { in setBounds()
42 double t = startT + (endT - startT) * tValues[index]; in setBounds()
58 for (int index = 0; index < root in setBounds()
[all...]
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A Dparsepos.h42 * you can use the same <code>ParsePosition</code>, since the index parameter
55 * Default constructor, the index starts with 0 as default.
60 index(0), in ParsePosition()
65 * Create a new ParsePosition with the given initial index.
71 index(newIndex), in ParsePosition()
82 index(copy.index), in ParsePosition()
127 * is the index of the character at which parsing will begin; on output, it
128 * is the index of the character following the last character parsed.
129 * @return the current index
178 int32_t index; global() member in ParsePosition
[all...]
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_running_processes_info_module_test/
H A Dapp_running_processes_info_module_test.cpp72 void CheckLaunchApplication(const sptr<MockApplicationProxy>& mockApplication, const unsigned long index, in CheckLaunchApplication() argument
79 std::string applicationName(GetTestAppName(index)); in CheckLaunchApplication()
82 std::string processInfoName(GetTestAppName(index)); in CheckLaunchApplication()
102 const std::shared_ptr<AbilityInfo> abilityInfo, const std::shared_ptr<AppRunningRecord> record, const int index, in CheckAppRunningRecording()
114 std::string processName = GetTestAppName(index); in CheckAppRunningRecording()
190 unsigned long index = 0L; in HWTEST_F() local
193 abilityInfo->name = GetTestAbilityName(index); in HWTEST_F()
196 appInfo->name = GetTestAppName(index); in HWTEST_F()
198 std::string processName = GetTestAppName(index); in HWTEST_F()
211 CheckAppRunningRecording(appInfo, abilityInfo, record, index, resul in HWTEST_F()
101 CheckAppRunningRecording(const std::shared_ptr<ApplicationInfo> appInfo, const std::shared_ptr<AbilityInfo> abilityInfo, const std::shared_ptr<AppRunningRecord> record, const int index, RecordQueryResult& result) const CheckAppRunningRecording() argument
255 unsigned long index = 0L; HWTEST_F() local
322 unsigned long index = 0L; HWTEST_F() local
407 unsigned long index = 0L; HWTEST_F() local
470 unsigned long index = 0L; HWTEST_F() local
537 unsigned long index = 0L; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_for_each_builder.h74 std::pair<std::string, RefPtr<UINode>> GetChildByIndex(int32_t index, bool needBuild, bool isCache = false);
83 bool OnDataAdded(size_t index);
85 bool OnDataBulkAdded(size_t index, size_t count);
87 RefPtr<UINode> OnDataDeleted(size_t index);
89 std::list<std::pair<std::string, RefPtr<UINode>>>& OnDataBulkDeleted(size_t index, size_t count);
91 bool OnDataChanged(size_t index);
93 std::list<std::pair<std::string, RefPtr<UINode>>>& OnDataBulkChanged(size_t index, size_t count);
106 OperationInfo& info, LazyForEachChild& child, int32_t index, int32_t changedIndex);
113 bool ValidateIndex(int32_t index, const std::string& type);
125 std::map<int32_t, LazyForEachChild>::iterator FindItem(int32_t index,
137 InvalidIndexOfChangedData(size_t index) InvalidIndexOfChangedData() argument
256 CacheItem(int32_t index, std::unordered_map<std::string, LazyForEachCacheChild>& cache, const std::optional<LayoutConstraintF>& itemConstraint, int64_t deadline, bool& isTimeout) CacheItem() argument
313 PreBuildByIndex(int32_t index, std::unordered_map<std::string, LazyForEachCacheChild>& cache, int64_t deadline, const std::optional<LayoutConstraintF>& itemConstraint, bool canRunLongPredictTask) PreBuildByIndex() argument
[all...]
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_key.c33 int32_t index; member
67 AUTH_LOGI(AUTH_FSM, "session key num reach max, remove the oldest, index=%{public}d, type=%{public}u", in RemoveOldKey()
68 oldKey->index, oldKey->type); in RemoveOldKey()
181 AuthLinkType GetSessionKeyTypeByIndex(const SessionKeyList *list, int32_t index) in GetSessionKeyTypeByIndex() argument
187 if (item->index == index) { in GetSessionKeyTypeByIndex()
227 AUTH_LOGI(AUTH_FSM, "latestUseTime=%{public}" PRIu64 ", type=%{public}d, index=%{public}d, time=%{public}" PRIu64 in GetLatestAvailableSessionKeyTime()
228 ", all type=%{public}u", latestKey->lastUseTime, type, latestKey->index, latestTime, latestKey->type); in GetLatestAvailableSessionKeyTime()
232 int32_t SetSessionKeyAvailable(SessionKeyList *list, int32_t index) in SetSessionKeyAvailable() argument
237 if (item->index ! in SetSessionKeyAvailable()
250 AddSessionKey(SessionKeyList *list, int32_t index, const SessionKey *key, AuthLinkType type, bool isOldKey) AddSessionKey() argument
280 GetLatestSessionKey(const SessionKeyList *list, AuthLinkType type, int32_t *index, SessionKey *key) GetLatestSessionKey() argument
322 SetSessionKeyAuthLinkType(const SessionKeyList *list, int32_t index, AuthLinkType type) SetSessionKeyAuthLinkType() argument
345 GetSessionKeyByIndex(const SessionKeyList *list, int32_t index, AuthLinkType type, SessionKey *key) GetSessionKeyByIndex() argument
371 RemoveSessionkeyByIndex(SessionKeyList *list, int32_t index, AuthLinkType type) RemoveSessionkeyByIndex() argument
426 int32_t index = 0; EncryptData() local
461 int32_t index = (int32_t)SoftBusLtoHl(*(uint32_t *)inDataInfo->inData); DecryptData() local
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_statement.cpp177 int RdStatement::InnerBindBlobTypeArgs(const ValueObject &arg, uint32_t index) const in InnerBindBlobTypeArgs()
184 ret = RdUtils::RdSqlBindBlob(stmtHandle_, index, static_cast<const void *>(blob.data()), blob.size(), in InnerBindBlobTypeArgs()
191 ret = RdUtils::RdSqlBindInt64(stmtHandle_, index, boolVal ? 1 : 0); in InnerBindBlobTypeArgs()
198 ret = RdUtils::RdSqlBindBlob(stmtHandle_, index, static_cast<const void *>(rawData.data()), in InnerBindBlobTypeArgs()
206 ret = RdUtils::RdSqlBindBlob(stmtHandle_, index, static_cast<const void *>(rawData.data()), in InnerBindBlobTypeArgs()
213 ret = RdUtils::RdSqlBindFloatVector(stmtHandle_, index, in InnerBindBlobTypeArgs()
220 ret = RdUtils::RdSqlBindText(stmtHandle_, index, str.c_str(), str.length(), nullptr); in InnerBindBlobTypeArgs()
227 int RdStatement::IsValid(int index) const in IsValid()
233 if (index < 0 || index > in IsValid()
259 uint32_t index = 1; Bind() local
[all...]
H A Dsqlite_statement.cpp161 int index = 1; in BindArgs() local
163 auto action = ACTIONS[arg.get().value.index()]; in BindArgs()
165 LOG_ERROR("not support the type %{public}zu", arg.get().value.index()); in BindArgs()
168 auto errCode = action(stmt_, index, arg.get().value); in BindArgs()
173 index++; in BindArgs()
179 int SqliteStatement::IsValid(int index) const in IsValid()
186 if (index >= columnCount_ || index < 0) { in IsValid()
187 LOG_ERROR("index (%{public}d) is out of range [0, %{public}d]", index, columnCount in IsValid()
536 GetValueFromBlob(int32_t index, int32_t type) const GetValueFromBlob() argument
603 BindNil(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindNil() argument
608 BindInteger(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindInteger() argument
617 BindDouble(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindDouble() argument
626 BindText(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindText() argument
635 BindBool(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindBool() argument
644 BindBlob(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindBlob() argument
657 BindAsset(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindAsset() argument
667 BindAssets(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindAssets() argument
677 BindFloats(sqlite3_stmt *stat, int index, const ValueObject::Type &object) BindFloats() argument
687 BindBigInt(sqlite3_stmt *stat, int index, const ValueObject::Type &arg) BindBigInt() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibopenjpegdec.c196 int index; in libopenjpeg_guess_pix_fmt() local
219 for (index = 0; index < possible_fmts_nb; ++index) in libopenjpeg_guess_pix_fmt()
220 if (libopenjpeg_matches_pix_fmt(image, possible_fmts[index])) { in libopenjpeg_guess_pix_fmt()
221 return possible_fmts[index]; in libopenjpeg_guess_pix_fmt()
244 int index, x, y, c; in libopenjpeg_copy_to_packed8() local
246 index = y * picture->width; in libopenjpeg_copy_to_packed8()
248 for (x = 0; x < picture->width; x++, index++) in libopenjpeg_copy_to_packed8()
250 *img_ptr++ = 0x80 * image->comps[c].sgnd + image->comps[c].data[index]; in libopenjpeg_copy_to_packed8()
257 int index, x, y, c; libopenjpeg_copy_to_packed16() local
275 int index, x, y; libopenjpeg_copyto8() local
294 int index, x, y; libopenjpeg_copyto16() local
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DRepeatedField.cs364 /// <param name="arrayIndex">The first index of the array to copy to.</param>
377 int index = IndexOf(item); in Remove()
378 if (index == -1) in Remove()
382 Array.Copy(array, index + 1, array, index, count - index - 1); in Remove()
553 /// Returns the index of the given item within the collection, or -1 if the item is not
557 /// <returns>The zero-based index of the item, or -1 if it is not found.</returns>
573 /// Inserts the given item at the specified index.
575 /// <param name="index">Th
577 Insert(int index, T item) Insert() argument
594 RemoveAt(int index) RemoveAt() argument
648 ICollection.CopyTo(Array array, int index) ICollection.CopyTo() argument
683 IList.Insert(int index, object value) IList.Insert() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_layout_algorithm.cpp176 for (int32_t index = 0; index < childCount_ && childCount_ > TWO; index++) { in MeasureFixedMode()
177 if (tabBarPattern->GetTabBarStyle(index) == TabBarStyle::BOTTOMTABBATSTYLE && in MeasureFixedMode()
178 tabBarPattern->GetBottomTabBarStyle(index).symmetricExtensible) { in MeasureFixedMode()
186 for (int32_t index = 0; index < childCount_; index++) { in MeasureFixedMode()
187 MeasureItem(layoutWrapper, childLayoutConstraint, index); in MeasureFixedMode()
188 visibleItemPosition_[index] in MeasureFixedMode()
214 UpdateMaxLines(LayoutWrapper* layoutWrapper, int32_t index) UpdateMaxLines() argument
528 MeasureItem(LayoutWrapper* layoutWrapper, LayoutConstraintF& childLayoutConstraint, int32_t index) MeasureItem() argument
580 SetTabBarMargin(RefPtr<LayoutWrapper> layoutWrapper, int32_t index) SetTabBarMargin() argument
[all...]
/third_party/jerryscript/jerry-ext/module/
H A Dmodule.c239 size_t index; in jerryx_module_resolve_local() local
272 for (index = 0; index < resolver_count; index++) in jerryx_module_resolve_local()
274 get_canonical_name_p = (resolvers_p[index] == NULL ? NULL : resolvers_p[index]->get_canonical_name_p); in jerryx_module_resolve_local()
275 canonical_names[index] = ((get_canonical_name_p == NULL) ? jerry_acquire_value (name) in jerryx_module_resolve_local()
278 if (jerryx_module_check_cache (instances, canonical_names[index], result)) in jerryx_module_resolve_local()
283 jerry_delete_property (instances, canonical_names[index]); in jerryx_module_resolve_local()
298 for (index in jerryx_module_resolve_local()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_memcpy.c49 nir_ssa_def *index) in memcpy_load_deref_elem()
53 index = nir_i2i(b, index, nir_dest_bit_size(parent->dest)); in memcpy_load_deref_elem()
55 deref = nir_build_deref_ptr_as_array(b, parent, index); in memcpy_load_deref_elem()
62 uint64_t index) in memcpy_load_deref_elem_imm()
64 nir_ssa_def *idx = nir_imm_intN_t(b, index, parent->dest.ssa.bit_size); in memcpy_load_deref_elem_imm()
70 nir_ssa_def *index, nir_ssa_def *value) in memcpy_store_deref_elem()
74 index = nir_i2i(b, index, nir_dest_bit_size(parent->dest)); in memcpy_store_deref_elem()
76 deref = nir_build_deref_ptr_as_array(b, parent, index); in memcpy_store_deref_elem()
48 memcpy_load_deref_elem(nir_builder *b, nir_deref_instr *parent, nir_ssa_def *index) memcpy_load_deref_elem() argument
61 memcpy_load_deref_elem_imm(nir_builder *b, nir_deref_instr *parent, uint64_t index) memcpy_load_deref_elem_imm() argument
69 memcpy_store_deref_elem(nir_builder *b, nir_deref_instr *parent, nir_ssa_def *index, nir_ssa_def *value) memcpy_store_deref_elem() argument
81 memcpy_store_deref_elem_imm(nir_builder *b, nir_deref_instr *parent, uint64_t index, nir_ssa_def *value) memcpy_store_deref_elem_imm() argument
132 uint64_t index = offset / copy_size; lower_memcpy_impl() local
158 nir_ssa_def *index = nir_load_var(&b, i); lower_memcpy_impl() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Darbprogram.c294 GLuint index, unsigned count, GLfloat **param) in get_local_param_pointer()
296 if (unlikely(index + count > prog->arb.MaxLocalParams)) { in get_local_param_pointer()
321 if (index + count > prog->arb.MaxLocalParams) { in get_local_param_pointer()
322 _mesa_error(ctx, GL_INVALID_VALUE, "%s(index)", func); in get_local_param_pointer()
327 *param = prog->arb.LocalParams[index]; in get_local_param_pointer()
334 GLenum target, GLuint index, GLfloat **param) in get_env_param_pointer()
338 if (index >= ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxEnvParams) { in get_env_param_pointer()
339 _mesa_error(ctx, GL_INVALID_VALUE, "%s(index)", func); in get_env_param_pointer()
342 *param = ctx->FragmentProgram.Parameters[index]; in get_env_param_pointer()
347 if (index > in get_env_param_pointer()
292 get_local_param_pointer(struct gl_context *ctx, const char *func, struct gl_program* prog, GLenum target, GLuint index, unsigned count, GLfloat **param) get_local_param_pointer() argument
333 get_env_param_pointer(struct gl_context *ctx, const char *func, GLenum target, GLuint index, GLfloat **param) get_env_param_pointer() argument
502 _mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) _mesa_ProgramEnvParameter4dARB() argument
515 _mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) _mesa_ProgramEnvParameter4dvARB() argument
529 _mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) _mesa_ProgramEnvParameter4fARB() argument
551 _mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) _mesa_ProgramEnvParameter4fvARB() argument
568 _mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params) _mesa_ProgramEnvParameters4fvEXT() argument
606 _mesa_GetProgramEnvParameterdvARB(GLenum target, GLuint index, GLdouble *params) _mesa_GetProgramEnvParameterdvARB() argument
620 _mesa_GetProgramEnvParameterfvARB(GLenum target, GLuint index, GLfloat *params) _mesa_GetProgramEnvParameterfvARB() argument
635 _mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) _mesa_ProgramLocalParameter4fARB() argument
655 _mesa_NamedProgramLocalParameter4fEXT(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) _mesa_NamedProgramLocalParameter4fEXT() argument
681 _mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) _mesa_ProgramLocalParameter4fvARB() argument
690 _mesa_NamedProgramLocalParameter4fvEXT(GLuint program, GLenum target, GLuint index, const GLfloat *params) _mesa_NamedProgramLocalParameter4fvEXT() argument
699 program_local_parameters4fv(struct gl_program* prog, GLuint index, GLsizei count, const GLfloat *params, const char* caller) program_local_parameters4fv() argument
717 _mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params) _mesa_ProgramLocalParameters4fvEXT() argument
732 _mesa_NamedProgramLocalParameters4fvEXT(GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params) _mesa_NamedProgramLocalParameters4fvEXT() argument
748 _mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) _mesa_ProgramLocalParameter4dARB() argument
758 _mesa_NamedProgramLocalParameter4dEXT(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) _mesa_NamedProgramLocalParameter4dEXT() argument
768 _mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) _mesa_ProgramLocalParameter4dvARB() argument
778 _mesa_NamedProgramLocalParameter4dvEXT(GLuint program, GLenum target, GLuint index, const GLdouble *params) _mesa_NamedProgramLocalParameter4dvEXT() argument
788 _mesa_GetProgramLocalParameterfvARB(GLenum target, GLuint index, GLfloat *params) _mesa_GetProgramLocalParameterfvARB() argument
806 _mesa_GetNamedProgramLocalParameterfvEXT(GLuint program, GLenum target, GLuint index, GLfloat *params) _mesa_GetNamedProgramLocalParameterfvEXT() argument
825 _mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index, GLdouble *params) _mesa_GetProgramLocalParameterdvARB() argument
843 _mesa_GetNamedProgramLocalParameterdvEXT(GLuint program, GLenum target, GLuint index, GLdouble *params) _mesa_GetNamedProgramLocalParameterdvEXT() argument
[all...]
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcamera_manager_impl.cpp146 for (size_t index = 0; index < cameraSize; index++) {
148 const string cameraId = foldStatusInfo.supportedCameras[index]->GetID();
160 auto itr = g_FwkCameraPositionToNdk_.find(foldStatusInfo.supportedCameras[index]->GetPosition());
169 static_cast<Camera_Type>(foldStatusInfo.supportedCameras[index]->GetCameraType());
171 static_cast<Camera_Connection>(foldStatusInfo.supportedCameras[index]->GetConnectionType());
172 supportedCameras[index] = cameraDevice;
242 for (size_t index = 0; index < cameraSiz in GetSupportedCameras()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtypeGuardNarrowsIndexedAccessOfKnownProperty3.js5 const index = 1;
7 if (foo !== undefined && foo[index] !== undefined && foo[index] >= 0) {
8 foo[index] // number
15 var index = 1; variable
16 if (foo !== undefined && foo[index] !== undefined && foo[index] >= 0) {
17 foo[index]; // number
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnode_animate.cpp226 int32_t OH_ArkUI_KeyframeAnimateOption_SetDuration(ArkUI_KeyframeAnimateOption* option, int32_t value, int32_t index) in OH_ArkUI_KeyframeAnimateOption_SetDuration() argument
228 if (option == nullptr || index < 0 || index >= static_cast<int32_t>(option->keyframes.size())) { in OH_ArkUI_KeyframeAnimateOption_SetDuration()
234 option->keyframes[index].duration = value; in OH_ArkUI_KeyframeAnimateOption_SetDuration()
239 ArkUI_KeyframeAnimateOption* option, ArkUI_CurveHandle value, int32_t index) in OH_ArkUI_KeyframeAnimateOption_SetCurve()
241 if (option == nullptr || index < 0 || index >= static_cast<int32_t>(option->keyframes.size())) { in OH_ArkUI_KeyframeAnimateOption_SetCurve()
245 option->keyframes[index].curve = nullptr; in OH_ArkUI_KeyframeAnimateOption_SetCurve()
252 option->keyframes[index].curve = value; in OH_ArkUI_KeyframeAnimateOption_SetCurve()
257 ArkUI_KeyframeAnimateOption* option, void* userData, void (*event)(void* userData), int32_t index) in OH_ArkUI_KeyframeAnimateOption_RegisterOnEventCallback()
238 OH_ArkUI_KeyframeAnimateOption_SetCurve( ArkUI_KeyframeAnimateOption* option, ArkUI_CurveHandle value, int32_t index) OH_ArkUI_KeyframeAnimateOption_SetCurve() argument
256 OH_ArkUI_KeyframeAnimateOption_RegisterOnEventCallback( ArkUI_KeyframeAnimateOption* option, void* userData, void (*event)(void* userData), int32_t index) OH_ArkUI_KeyframeAnimateOption_RegisterOnEventCallback() argument
279 OH_ArkUI_KeyframeAnimateOption_GetDuration(ArkUI_KeyframeAnimateOption* option, int32_t index) OH_ArkUI_KeyframeAnimateOption_GetDuration() argument
287 OH_ArkUI_KeyframeAnimateOption_GetCurve(ArkUI_KeyframeAnimateOption* option, int32_t index) OH_ArkUI_KeyframeAnimateOption_GetCurve() argument
428 OH_ArkUI_AnimatorOption_SetKeyframe(ArkUI_AnimatorOption* option, float time, float value, int32_t index) OH_ArkUI_AnimatorOption_SetKeyframe() argument
442 OH_ArkUI_AnimatorOption_SetKeyframeCurve(ArkUI_AnimatorOption* option, ArkUI_CurveHandle value, int32_t index) OH_ArkUI_AnimatorOption_SetKeyframeCurve() argument
533 OH_ArkUI_AnimatorOption_GetKeyframeTime(ArkUI_AnimatorOption* option, int32_t index) OH_ArkUI_AnimatorOption_GetKeyframeTime() argument
541 OH_ArkUI_AnimatorOption_GetKeyframeValue(ArkUI_AnimatorOption* option, int32_t index) OH_ArkUI_AnimatorOption_GetKeyframeValue() argument
549 OH_ArkUI_AnimatorOption_GetKeyframeCurve(ArkUI_AnimatorOption* option, int32_t index) OH_ArkUI_AnimatorOption_GetKeyframeCurve() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_rect.h359 for (int index = 0; index < 4; index++) { in operator -()
360 rrect.radius_[index] = radius_[index] - other.radius_[index]; in operator -()
371 for (int index = 0; index < 4; index++) { in operator +()
372 rrect.radius_[index] in operator +()
[all...]
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dconvert_utils.cpp360 for (uint32_t index = 0; index < numOfModule; ++index) { in GetJsonModuleInfos()
368 moduleInfos[index].moduleName) == nullptr || in GetJsonModuleInfos()
370 moduleInfos[index].moduleType) == nullptr || in GetJsonModuleInfos()
372 moduleInfos[index].isDeliveryInstall) == nullptr) { in GetJsonModuleInfos()
379 if ((moduleInfos[index].name != nullptr && cJSON_AddStringToObject(moduleInfosItem, in GetJsonModuleInfos()
380 MODULEINFO_JSON_KEY_NAME, moduleInfos[index].name) == nullptr) || in GetJsonModuleInfos()
381 (moduleInfos[index].description != nullptr && cJSON_AddStringToObject(moduleInfosItem, in GetJsonModuleInfos()
382 ABILITYINFO_JSON_KEY_DESCRIPTION, moduleInfos[index] in GetJsonModuleInfos()
408 ConvertModuleInfoMetaDataToJson(const ModuleInfo *moduleInfos, uint32_t index, cJSON *item) ConvertModuleInfoMetaDataToJson() argument
432 ConvertModuleInfoDeviceTypeToJson(const ModuleInfo *moduleInfos, uint32_t index, cJSON *item) ConvertModuleInfoDeviceTypeToJson() argument
457 GetJsonModuleInfoMetaData(const ModuleInfo *moduleInfos, uint32_t index) GetJsonModuleInfoMetaData() argument
490 GetJsonModuleInfoDeviceType(const ModuleInfo *moduleInfos, uint32_t index) GetJsonModuleInfoDeviceType() argument
666 uint32_t index = 0; ConvertJsonToMetaData() local
702 uint32_t index = 0; ConvertJsonToDeviceType() local
734 uint32_t index = 0; ConvertJsonToModuleInfos() local
840 uint32_t index = 0; ConvertJsonToAbilityInfos() local
[all...]
/foundation/multimedia/av_codec/services/engine/codec/audio/
H A Daudio_codec_worker.cpp77 bool AudioCodecWorker::PushInputData(const uint32_t &index) in PushInputData() argument
79 AVCODEC_LOGD_LIMIT(LOGD_FREQUENCY, "%{public}s Worker PushInputData enter,index:%{public}u", name_.data(), index); in PushInputData()
97 inBufIndexQue_.push(index); in PushInputData()
244 std::shared_ptr<AudioBufferInfo> AudioCodecWorker::GetOutputBufferInfo(const uint32_t &index) const noexcept
246 return outputBuffer_->getMemory(index);
249 std::shared_ptr<AudioBufferInfo> AudioCodecWorker::GetInputBufferInfo(const uint32_t &index) const noexcept
251 return inputBuffer_->getMemory(index);
264 uint32_t index; in ProduceInputBuffer() local
267 index in ProduceInputBuffer()
303 ReleaseOutputBuffer(const uint32_t &index, const int32_t &ret) ReleaseOutputBuffer() argument
309 SetFirstAndEosStatus(std::shared_ptr<AudioBufferInfo> &outBuffer, bool isEos, uint32_t index) SetFirstAndEosStatus() argument
341 uint32_t index; ConsumerOutputBuffer() local
[all...]

Completed in 17 milliseconds

1...<<11121314151617181920>>...424