/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_cloud.cpp | 272 int32_t index = 0; in PostEvent() local 274 DataBucket& ext = extend[index++]; in PostEvent() 284 if (value.index() != TYPE_INDEX<DistributedData::Asset> && value.index() != TYPE_INDEX<DistributedData::Assets>) { in PostEvent() 288 if (value.index() == TYPE_INDEX<DistributedData::Asset>) { in PostEvent() 293 if (value.index() == TYPE_INDEX<DistributedData::Assets>) { in PostEvent()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/ |
H A D | distributed_camera_source_service.cpp | 338 void DistributedCameraSourceService::CamDevInsert(DCameraIndex& index, std::shared_ptr<DCameraSourceDev>& camDev) in CamDevInsert() argument 341 camerasMap_.emplace(index, camDev); in CamDevInsert() 344 std::shared_ptr<DCameraSourceDev> DistributedCameraSourceService::GetCamDevByIndex(DCameraIndex& index) in GetCamDevByIndex() argument 347 auto iter = camerasMap_.find(index); in GetCamDevByIndex() 354 void DistributedCameraSourceService::CamDevErase(DCameraIndex& index) in CamDevErase() argument 357 camerasMap_.erase(index); in CamDevErase()
|
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinkprocessor/src/ |
H A D | image_sink_decoder_test.cpp | 374 uint32_t index = 0; in HWTEST_F() local 379 imageDecoder_->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F() 391 uint32_t index = 0; in HWTEST_F() local 398 imageDecoder_->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F() 528 uint32_t index = 0; in HWTEST_F() local 529 imageDecoder_->availableInputIndexsQueue_.push(index); in HWTEST_F()
|
/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | utils_directory.cpp | 184 string::size_type index = 0; in ForceCreateDirectory() local 187 index = path.find('/', index + 1); in ForceCreateDirectory() 188 if (index == string::npos) { in ForceCreateDirectory() 191 subPath = path.substr(0, index); in ForceCreateDirectory() 201 } while (index != string::npos); in ForceCreateDirectory()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/ |
H A D | render_context.cpp | 457 int index = 0; in DamageFrame() local 459 eglRect[index * 4] = rect.left_; // 4 is size of RectI. in DamageFrame() 460 eglRect[index * 4 + 1] = rect.top_; // 4 is size of RectI. in DamageFrame() 461 eglRect[index * 4 + 2] = rect.width_; // 4 is size of RectI, 2 is the index of the width_ subscript. in DamageFrame() 462 eglRect[index * 4 + 3] = rect.height_; // 4 is size of RectI, 3 is the index of the height_ subscript. in DamageFrame() 463 index++; in DamageFrame()
|
/test/ostest/wukong/test_flow/src/ |
H A D | special_test_flow.cpp | 223 uint32_t index = util->FindElement(bundleList, lastBundleName); in ProtectRightAbility() local 224 if (index == INVALIDVALUE) { in ProtectRightAbility() 229 result = AppManager::GetInstance()->StartAbilityByBundleInfo(abilityList[index], bundleList[index]); in ProtectRightAbility() 231 INFO_LOG_STR("Bundle Name: (%s) startup successful", bundleList[index].c_str()); in ProtectRightAbility() 234 INFO_LOG_STR("Bundle Name: (%s) startup failed", bundleList[index].c_str()); in ProtectRightAbility()
|
/test/testfwk/arkxtest/uitest/test/ |
H A D | extension_test.cpp | 313 for (size_t index = 0; index < sizeof(PARAM_SUITE) / sizeof(PARAM_SUITE[0]); index++) { in TEST_F() 314 auto &suite = PARAM_SUITE[index]; in TEST_F() 317 ASSERT_EQ(suite.expSuccess, ret == RETCODE_SUCCESS) << "Unexpected ret code at index " << index; in TEST_F() 321 ASSERT_TRUE(checkOutMsg) << "Unexpected output message at index " << index << ": " << outMsg; in TEST_F()
|
/test/xts/acts/graphic/nativevsync/entry/src/main/cpp/ |
H A D | nativevsync.cpp | 251 for (uint32_t index = 0; index < myArray.size(); index++) { in OHNativeVSyncCreateDifLenth() 252 unsigned int len = strlen(myArray[index].c_str()); in OHNativeVSyncCreateDifLenth() 255 nativeVSync = OH_NativeVSync_Create(myArray[index].c_str(), len); in OHNativeVSyncCreateDifLenth() 257 napi_create_int32(env, FAIL+index, &result); in OHNativeVSyncCreateDifLenth()
|
/third_party/ffmpeg/libavcodec/ |
H A D | asvdec.c | 83 unsigned int index; in asv2_get_vlc2() local 89 index = SHOW_UBITS_LE(re, gb, bits); in asv2_get_vlc2() 90 code = table[index].sym; in asv2_get_vlc2() 91 n = table[index].len; in asv2_get_vlc2() 309 int index = ff_asv_scantab[i]; in decode_init() local 311 a->intra_matrix[i] = 64 * scale * ff_mpeg1_default_intra_matrix[index] / in decode_init()
|
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg_hw.c | 77 int index, index_limit = 1000; in hw_device_default_name() local 82 for (index = 0; index < index_limit; index++) { in hw_device_default_name() 83 snprintf(name, index_pos + 4, "%s%d", type_name, index); in hw_device_default_name() 87 if (index >= index_limit) { in hw_device_default_name()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_uspp.c | 206 int index = block + block * stride + y * stride; in filter() local 208 memcpy(p->src[i] + index, src[i] + y * src_stride[i], w ); in filter() 210 p->src[i][index - x - 1] = p->src[i][index + x ]; in filter() 211 p->src[i][index + w + x ] = p->src[i][index + w - x - 1]; in filter()
|
/third_party/backends/backend/genesys/ |
H A D | register.h | 420 int index = find_reg_index(address); in get_value() local 421 if (index >= 0) { in get_value() 422 return registers_[index].value; in get_value() 429 int index = find_reg_index(address); in set_value() local 430 if (index >= 0) { in set_value() 431 registers_[index].value = value; in set_value()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | PatternStringUtils.java | 496 for (int index = 0; index < length; index++) { in patternInfoToStringBuilder() 498 if (prependSign && index == 0) { in patternInfoToStringBuilder() 501 candidate = patternInfo.charAt(flags, index - 1); in patternInfoToStringBuilder() 503 candidate = patternInfo.charAt(flags, index); in patternInfoToStringBuilder()
|
/third_party/icu/icu4c/source/common/ |
H A D | ubidiimp.h | 126 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index); 128 #define GET_PARALEVEL(ubidi, index) \ 129 ((UBiDiLevel)(!(ubidi)->defaultParaLevel || (index)<(ubidi)->paras[0].limit ? \ 130 (ubidi)->paraLevel : ubidi_getParaLevelAtIndex((ubidi), (index)))) 171 uint16_t start; /* index of first opening entry for this run */ 172 uint16_t limit; /* index after last opening entry for this run */ 185 int32_t isoRunLast; /* index of last used entry */ 187 + 1 for index 0, + 1 for before the first isolated sequence */ 209 #define MAKE_INDEX_ODD_PAIR(index, level) ((index)|((int32_ [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/ |
H A D | TestUCharacterIterator.java | 100 errln("Iterator failed determining begin and end index"); in TestIteration() 106 int index = iterator2.getIndex(); in TestIteration() 108 if (index != ITERATION_SUPPLEMENTARY_INDEX) { in TestIteration() 125 int index = iterator2.getIndex(); in TestIteration() 127 if (index != ITERATION_SUPPLEMENTARY_INDEX) { in TestIteration() 229 public UCharIterator(int[] src, int len, int index){ in UCharIterator() argument 233 i=index; in UCharIterator() 387 errln("error: index mismatch in Normalizer iteration at " in previousNext() 388 +history+ " : "+ "Normalizer index " +iter.getIndex() in previousNext() 433 errln("error: index mismatc in TestUCharacterIteratorWrapper() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
H A D | TestUCharacterIterator.java | 97 errln("Iterator failed determining begin and end index"); in TestIteration() 103 int index = iterator2.getIndex(); in TestIteration() 105 if (index != ITERATION_SUPPLEMENTARY_INDEX) { in TestIteration() 122 int index = iterator2.getIndex(); in TestIteration() 124 if (index != ITERATION_SUPPLEMENTARY_INDEX) { in TestIteration() 226 public UCharIterator(int[] src, int len, int index){ in UCharIterator() argument 230 i=index; in UCharIterator() 384 errln("error: index mismatch in Normalizer iteration at " in previousNext() 385 +history+ " : "+ "Normalizer index " +iter.getIndex() in previousNext() 430 errln("error: index mismatc in TestUCharacterIteratorWrapper() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | PatternStringUtils.java | 479 for (int index = 0; index < length; index++) { in patternInfoToStringBuilder() 481 if (prependSign && index == 0) { in patternInfoToStringBuilder() 484 candidate = patternInfo.charAt(flags, index - 1); in patternInfoToStringBuilder() 486 candidate = patternInfo.charAt(flags, index); in patternInfoToStringBuilder()
|
/third_party/libuv/src/win/ |
H A D | poll.c | 240 int index, i; in uv__fast_poll_get_peer_socket() local 243 index = -1; in uv__fast_poll_get_peer_socket() 248 index = i; in uv__fast_poll_get_peer_socket() 253 if (index < 0) { in uv__fast_poll_get_peer_socket() 259 peer_socket = loop->poll_peer_sockets[index]; in uv__fast_poll_get_peer_socket() 262 loop->poll_peer_sockets[index] = peer_socket; in uv__fast_poll_get_peer_socket()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_constant_folding.c | 140 if (!nir_src_is_const(p->arr.index)) in const_value_for_deref() 143 uint64_t idx = nir_src_as_uint(p->arr.index); in const_value_for_deref() 162 if (p->strct.index >= c->num_elements) in const_value_for_deref() 164 c = c->elements[p->strct.index]; in const_value_for_deref() 281 * have a second source with a shuffle index but that doesn't matter if in try_fold_intrinsic() 333 try_fold_tex_offset(nir_tex_instr *tex, unsigned *index, in try_fold_tex_offset() argument 343 *index += nir_src_as_uint(tex->src[src_idx].src); in try_fold_tex_offset()
|
/third_party/node/lib/ |
H A D | _http_agent.js | 357 const index = StringPrototypeIndexOf(hostHeader, ']'); 358 if (index === -1) { 362 servername = StringPrototypeSubstr(hostHeader, 1, index - 1); 437 const index = ArrayPrototypeIndexOf(sockets[name], s); 438 if (index !== -1) { 439 ArrayPrototypeSplice(sockets[name], index, 1);
|
/third_party/node/lib/internal/ |
H A D | async_hooks.js | 14 * Environment::AsyncHooks::fields_[]. Each index tracks the number of active 18 * Environment::AsyncHooks::async_id_fields_[]. Each index contains the ids for 117 const index = async_hook_fields[kStackLength] - 1; 118 execution_async_resources[index] = resource; 146 const index = async_hook_fields[kStackLength] - 1; 147 if (index === -1) return topLevelResource; 148 const resource = execution_async_resources[index] || 149 executionAsyncResource_(index);
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ubidiimp.h | 126 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index); 128 #define GET_PARALEVEL(ubidi, index) \ 129 ((UBiDiLevel)(!(ubidi)->defaultParaLevel || (index)<(ubidi)->paras[0].limit ? \ 130 (ubidi)->paraLevel : ubidi_getParaLevelAtIndex((ubidi), (index)))) 171 uint16_t start; /* index of first opening entry for this run */ 172 uint16_t limit; /* index after last opening entry for this run */ 185 int32_t isoRunLast; /* index of last used entry */ 187 + 1 for index 0, + 1 for before the first isolated sequence */ 209 #define MAKE_INDEX_ODD_PAIR(index, level) ((index)|((int32_ [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw.c | 138 /* Get index bounds for user buffers. */ in prepare_indexed_draw() 151 * increment for the index buffer refcount when adding it into in prepare_indexed_draw() 154 info->index.resource = in prepare_indexed_draw() 155 _mesa_get_bufferobj_reference(ctx, info->index.gl_bo); in prepare_indexed_draw() 158 info->index.resource = info->index.gl_bo->buffer; in prepare_indexed_draw() 164 if (unlikely(!info->index.resource)) in prepare_indexed_draw() 267 info.index.resource = bufobj->buffer; in st_indirect_draw_vbo()
|
/third_party/libevdev/doc/html/search/ |
H A D | search.js | 280 // set item with index id as the active item 546 // return the first item with index index or higher that is visible 547 this.NavNext = function(index) 552 var focusName = 'Item'+index; 563 index++; 568 this.NavPrev = function(index) 573 var focusName = 'Item'+index; 584 index--;
|
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | instructions-arm64.cc | 352 void NEONFormatDecoder::SetFormatMap(unsigned index, in SetFormatMap() argument 354 DCHECK_LT(index, arraysize(formats_)); in SetFormatMap() 356 formats_[index] = format; in SetFormatMap() 397 const char* NEONFormatDecoder::GetSubstitute(int index, SubstitutionMode mode) { in GetSubstitute() argument 399 return NEONFormatAsString(GetNEONFormat(formats_[index])); in GetSubstitute() 402 return NEONFormatAsPlaceholder(GetNEONFormat(formats_[index])); in GetSubstitute()
|