/third_party/node/deps/openssl/openssl/crypto/ |
H A D | LPdir_win.c | 100 size_t index = 0, len_0 = dirlen + 1; in LP_find_file() local 140 for (index = 0; index < len_0; index++) in LP_find_file() 141 wdir[index] = (TCHAR)directory[index]; in LP_find_file() 182 size_t index, len_0 = 0; in LP_find_file() local 193 for (index = 0; index < len_0; index in LP_find_file() [all...] |
/third_party/openssl/crypto/ |
H A D | LPdir_win.c | 100 size_t index = 0, len_0 = dirlen + 1; in LP_find_file() local 140 for (index = 0; index < len_0; index++) in LP_find_file() 141 wdir[index] = (TCHAR)directory[index]; in LP_find_file() 182 size_t index, len_0 = 0; in LP_find_file() local 193 for (index = 0; index < len_0; index in LP_find_file() [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | UnmodifiableLazyStringList.java | 57 public String get(int index) { in get() argument 58 return list.get(index); in get() 62 public Object getRaw(int index) { in getRaw() argument 63 return list.getRaw(index); in getRaw() 72 public ByteString getByteString(int index) { in getByteString() argument 73 return list.getByteString(index); in getByteString() 82 public void set(int index, ByteString element) { in set() argument 92 public byte[] getByteArray(int index) { in getByteArray() argument 93 return list.getByteArray(index); in getByteArray() 102 public void set(int index, byt argument 112 listIterator(final int index) listIterator() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | render_list.cpp | 232 double RenderList::GetStickyMainSize(int32_t index) in GetStickyMainSize() argument 236 if (item.first > index) { in GetStickyMainSize() 238 } else if (item.first == index) { in GetStickyMainSize() 247 double RenderList::CalculateItemPosition(int32_t index, ScrollType type) in CalculateItemPosition() argument 251 if (index >= GetCurrentMaxIndex()) { in CalculateItemPosition() 252 layoutManager_->LayoutToItem(index); in CalculateItemPosition() 257 CalculateStickyItem(Offset(0.0, -GetItemPosition(index))); in CalculateItemPosition() 259 sticky = GetStickyMainSize(index); in CalculateItemPosition() 262 return std::max(GetItemPosition(index) - sticky, 0.0); in CalculateItemPosition() 315 void RenderList::AddListItem(int32_t index, cons argument 372 FindChildByIndex(int32_t index) FindChildByIndex() argument 382 GetChildByIndex(int32_t index) GetChildByIndex() argument 413 GetItemByIndex(int32_t index) GetItemByIndex() argument 424 int32_t index = -1; GetIndexByPosition() local 511 RequestMoreItems(int32_t index, int32_t count) RequestMoreItems() argument 535 int32_t index = GetIndexByPosition(listPosition); CalculateStickyItem() local 590 CalculateStickyItemOffset(int32_t index, double position) CalculateStickyItemOffset() argument 706 SetGroupState(int32_t index, bool expand) SetGroupState() argument [all...] |
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_pack_header.py | 382 index = (start + field.start) // 32 383 if not index in dwords: 384 dwords[index] = self.DWord() 390 dwords[index].fields.append(clone) 393 # assert dwords[index].address == None 394 dwords[index].address = clone 400 while index < (start + field.end) // 32: 401 if index + 1 in dwords and not dwords[index] == dwords[index [all...] |
/third_party/python/Lib/ |
H A D | ntpath.py | 190 index = normp.find(sep, start) 191 if index == -1: 193 index2 = normp.find(sep, index + 1) 216 # set i to index beyond p's last slash 408 index = 0 410 while index < pathlen: 411 c = path[index:index+1] 413 path = path[index + 1:] 416 index [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tab_bar_pattern_test_ng.cpp | 381 int32_t index = 0; in HWTEST_F() local 382 tabBarPattern_->UpdateTextColorAndFontWeight(index); in HWTEST_F() 383 tabBarPattern_->UpdateImageColor(index); in HWTEST_F() 394 index = 0; in HWTEST_F() 395 tabBarPattern_->UpdateTextColorAndFontWeight(index); in HWTEST_F() 396 tabBarPattern_->UpdateImageColor(index); in HWTEST_F() 431 int32_t index = 0; in HWTEST_F() local 432 tabBarPattern_->UpdateTextColorAndFontWeight(index); in HWTEST_F() 454 int32_t index = 0; in HWTEST_F() local 455 tabBarPattern_->UpdateTextColorAndFontWeight(index); in HWTEST_F() 502 int32_t index = 0; HWTEST_F() local 525 int32_t index = 0; HWTEST_F() local 573 int32_t index = 0; HWTEST_F() local 596 int32_t index = 0; HWTEST_F() local 642 int32_t index = 0; HWTEST_F() local 665 int32_t index = 0; HWTEST_F() local 701 int32_t index = 0; HWTEST_F() local 736 int32_t index = 0; HWTEST_F() local 771 int32_t index = 0; HWTEST_F() local 929 int32_t index = 0; HWTEST_F() local 965 int32_t index = 0; HWTEST_F() local 1000 int32_t index = 0; HWTEST_F() local 1035 int32_t index = 0; HWTEST_F() local 1069 int32_t index = 0; HWTEST_F() local 1104 int32_t index = 0; HWTEST_F() local 1138 int32_t index = 0; HWTEST_F() local 1172 int32_t index = 0; HWTEST_F() local [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | memblockq.c | 111 while (PA_UNLIKELY(bq->current_read->index > bq->read_index)) in fix_current_read() 119 while (PA_LIKELY(bq->current_read != NULL) && PA_UNLIKELY(bq->current_read->index + (int64_t) bq->current_read->chunk.length <= bq->read_index)) in fix_current_read() 139 while (PA_UNLIKELY(bq->current_write->index + (int64_t) bq->current_write->chunk.length <= bq->write_index)) in fix_current_write() 147 while (PA_LIKELY(bq->current_write != NULL) && PA_UNLIKELY(bq->current_write->index > bq->write_index)) in fix_current_write() 169 end = bq->blocks_tail ? bq->blocks_tail->index + (int64_t) bq->blocks_tail->chunk.length : bq->write_index; in can_push() 218 pa_assert(uchunk->index + uchunk->length <= pa_memblock_get_length(uchunk->memblock)); in pa_memblockq_push() 221 pa_assert(uchunk->index % bq->base == 0); in pa_memblockq_push() 236 while (bq->write_index + (int64_t) chunk.length > q->index) in pa_memblockq_push() 251 if (bq->write_index >= q->index + (int64_t) q->chunk.length) in pa_memblockq_push() 254 else if (bq->write_index + (int64_t) chunk.length <= q->index) { in pa_memblockq_push() [all...] |
/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | data_resource.cpp | 93 uint32_t index = static_cast<uint32_t>(type);
in GetString() local 94 return GetString(index);
in GetString() 97 char *DataResource::GetString(uint32_t index) const
in GetString() 99 if (index >= DataResourceType::RESOURCE_TYPE_END) {
in GetString() 102 uint32_t targetType = loaded[index];
in GetString() 108 return BinarySearchString(resourceIndex, resourceCount, index, resource, resourceCount);
in GetString() 111 return BinarySearchString(fallbackResourceIndex, fallbackResourceCount, index,
in GetString() 115 return BinarySearchString(defaultResourceIndex, defaultResourceCount, index,
in GetString() 225 bool DataResource::IsTypeNeeded(int32_t index, uint32_t count)
in IsTypeNeeded() argument 227 if ((index < in IsTypeNeeded() 305 uint32_t index = ConvertUChar(reinterpret_cast<unsigned char*>(configs + i * GLOBAL_RESOURCE_CONFIG_SIZE)); GetFinalCount() local 326 uint32_t **index = nullptr; GetStringFromStringPool() local 392 uint32_t index = ConvertUChar(reinterpret_cast<unsigned char*>(configs + i * GLOBAL_RESOURCE_CONFIG_SIZE)); Retrieve() local 424 ApplyForResource(uint32_t **index, char ***wanted, uint32_t totalCount) ApplyForResource() argument 520 uint32_t index = static_cast<uint32_t>(type); GetString() local [all...] |
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_AUDOUT.c | 67 //CU_ASSERT_EQUAL(audioout.index, ?); in test_VIDIOC_G_AUDOUT() 84 audioout2.index = audioout.index; in test_VIDIOC_G_AUDOUT() 92 dprintf("\taudioout = {.index=%u, .name=\"%s\", " in test_VIDIOC_G_AUDOUT() 95 audioout.index, in test_VIDIOC_G_AUDOUT() 122 /* check whether the "index" field is ignored by VIDIOC_G_AUDOUT */ in test_VIDIOC_G_AUDOUT_ignore_index() 132 audioout2.index = U32_MAX; in test_VIDIOC_G_AUDOUT_ignore_index() 193 __u32 index; in test_VIDIOC_S_AUDOUT() local 223 index = 0; in test_VIDIOC_S_AUDOUT() 226 audioout_enum.index in test_VIDIOC_S_AUDOUT() [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-module-builder.h | 178 void EmitGetLocal(uint32_t index); 179 void EmitSetLocal(uint32_t index); 180 void EmitTeeLocal(uint32_t index); 191 void EmitDirectCallIndex(uint32_t index); 267 uint32_t index; member 268 Entry(Kind kind, uint32_t index) : kind(kind), index(index) {} in Entry() 269 Entry() : kind(kRefNullEntry), index(0) {} in Entry() 284 // index o 384 GetTableType(uint32_t index) GetTableType() argument 386 IsSignature(uint32_t index) IsSignature() argument 390 GetSignature(uint32_t index) GetSignature() argument 395 IsStructType(uint32_t index) IsStructType() argument 398 GetStructType(uint32_t index) GetStructType() argument 402 IsArrayType(uint32_t index) IsArrayType() argument 405 GetArrayType(uint32_t index) GetArrayType() argument 409 GetFunction(uint32_t index) GetFunction() argument 418 GetExceptionType(int index) GetExceptionType() argument 439 int index; // Can be negative for re-exported imports. global() member [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | PixelProgram.cpp | 270 for(int index = 0; index < MAX_COLOR_BUFFERS; index++) in blendColor() 272 if(!state.colorWriteActive(index)) in blendColor() 277 auto format = state.colorFormat[index]; in blendColor() 301 Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[index])); in blendColor() 303 Vector4f colorf = alphaBlend(index, buffer, c[index], x); in blendColor() 310 writeColor(index, buffe in blendColor() [all...] |
/third_party/skia/tests/ |
H A D | PathOpsCubicIntersectionTest.cpp | 22 for (size_t index = kFirstCubicIntersectionTest; index < tests_count; ++index) { in standardTestCases() 23 int iIndex = static_cast<int>(index); in standardTestCases() 24 const CubicPts& cubic1 = tests[index][0]; in standardTestCases() 25 const CubicPts& cubic2 = tests[index][1]; in standardTestCases() 66 __FUNCTION__, (int)index, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in standardTestCases() 412 for (int index = 1; index <= gDumpTSectNum; ++index) { in oneOff() 449 testsOneOff(skiatest::Reporter* reporter, int index) testsOneOff() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucol_swp.cpp | 371 int32_t index; // one of the indexes[] slots in swapFormatVersion4() local 372 int32_t offset; // byte offset for the index part in swapFormatVersion4() 373 // int32_t length; // number of bytes in the index part in swapFormatVersion4() 375 index = IX_REORDER_CODES_OFFSET; in swapFormatVersion4() 376 offset = indexes[index]; in swapFormatVersion4() 377 length = indexes[index + 1] - offset; in swapFormatVersion4() 384 index = IX_TRIE_OFFSET; in swapFormatVersion4() 385 offset = indexes[index]; in swapFormatVersion4() 386 length = indexes[index + 1] - offset; in swapFormatVersion4() 391 index in swapFormatVersion4() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucol_swp.cpp | 371 int32_t index; // one of the indexes[] slots in swapFormatVersion4() local 372 int32_t offset; // byte offset for the index part in swapFormatVersion4() 373 // int32_t length; // number of bytes in the index part in swapFormatVersion4() 375 index = IX_REORDER_CODES_OFFSET; in swapFormatVersion4() 376 offset = indexes[index]; in swapFormatVersion4() 377 length = indexes[index + 1] - offset; in swapFormatVersion4() 384 index = IX_TRIE_OFFSET; in swapFormatVersion4() 385 offset = indexes[index]; in swapFormatVersion4() 386 length = indexes[index + 1] - offset; in swapFormatVersion4() 391 index in swapFormatVersion4() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucol_swp.cpp | 371 int32_t index; // one of the indexes[] slots in swapFormatVersion4() local 372 int32_t offset; // byte offset for the index part in swapFormatVersion4() 373 // int32_t length; // number of bytes in the index part in swapFormatVersion4() 375 index = IX_REORDER_CODES_OFFSET; in swapFormatVersion4() 376 offset = indexes[index]; in swapFormatVersion4() 377 length = indexes[index + 1] - offset; in swapFormatVersion4() 384 index = IX_TRIE_OFFSET; in swapFormatVersion4() 385 offset = indexes[index]; in swapFormatVersion4() 386 length = indexes[index + 1] - offset; in swapFormatVersion4() 391 index in swapFormatVersion4() [all...] |
/base/security/device_auth/services/legacy/group_manager/src/broadcast_manager/ |
H A D | broadcast_manager.c | 42 uint32_t index; in PostOnGroupCreated() local 45 FOR_EACH_HC_VECTOR(g_listenerEntryVec, index, entry) { in PostOnGroupCreated() 60 uint32_t index; in PostOnGroupDeleted() local 63 FOR_EACH_HC_VECTOR(g_listenerEntryVec, index, entry) { in PostOnGroupDeleted() 78 uint32_t index; in PostOnDeviceBound() local 81 FOR_EACH_HC_VECTOR(g_listenerEntryVec, index, entry) { in PostOnDeviceBound() 96 uint32_t index; in PostOnDeviceUnBound() local 99 FOR_EACH_HC_VECTOR(g_listenerEntryVec, index, entry) { in PostOnDeviceUnBound() 114 uint32_t index; in PostOnDeviceNotTrusted() local 117 FOR_EACH_HC_VECTOR(g_listenerEntryVec, index, entr in PostOnDeviceNotTrusted() 132 uint32_t index; PostOnLastGroupDeleted() local 146 uint32_t index; PostOnTrustedDeviceNumChanged() local 160 uint32_t index; UpdateListenerIfExist() local 253 uint32_t index; DestroyBroadcastManager() local 290 uint32_t index; RemoveListener() local [all...] |
/base/startup/init/test/moduletest/ |
H A D | param_test_cmds.c | 97 size_t index = (size_t)context; in HandleParamChange2() local 98 printf("[%zu] Receive parameter commit %lld change %s %s \n", index, commit, key, value); in HandleParamChange2() 101 if ((index == 4) && !addWatcher) { // 4 when context == 4 add in HandleParamChange2() 102 index = 5; // 5 add context in HandleParamChange2() 103 ret = SystemWatchParameter(key, HandleParamChange2, (void *)index); in HandleParamChange2() 105 printf("Add watcher %s fail %zu \n", key, index); in HandleParamChange2() 110 if (index == 2) { // 2 when context == 2 delete 3 in HandleParamChange2() 111 index = 3; // 3 delete context in HandleParamChange2() 112 RemoveParameterWatcher(key, HandleParamChange2, (void *)index); in HandleParamChange2() 114 printf("Remove watcher fail %zu \n", index); in HandleParamChange2() 138 size_t index = (size_t)context; HandleParamChange1() local 182 static size_t index = 0; StartWatcher() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_adaptive/ |
H A D | grid_adaptive_layout_algorithm.cpp | 93 for (int32_t index = 0; index < displayCount_; ++index) { in Measure() 94 auto childWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in Measure() 113 for (int32_t index = 0; index < total; ++index) { in Layout() 114 if (index < displayCount_) { in Layout() 115 auto childWrapper = layoutWrapper->GetOrCreateChildByIndex(index); in Layout() 119 auto childOffset = CalculateChildOffset(index, layoutWrappe in Layout() 158 CalculateChildOffset(int32_t index, LayoutWrapper* layoutWrapper) CalculateChildOffset() argument [all...] |
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_info_creator.cpp | 48 size_t index = std::string(info->codePath).find_last_of(PATH_SEPARATOR); in SaveBundleInfo() local 49 if (index == std::string::npos) { in SaveBundleInfo() 55 installDirPath = std::string(info->codePath).substr(0, index); in SaveBundleInfo() 56 index = std::string(info->dataPath).find_last_of(PATH_SEPARATOR); in SaveBundleInfo() 57 if (index == std::string::npos) { in SaveBundleInfo() 63 dataDirPath = std::string(info->dataPath).substr(0, index); in SaveBundleInfo() 241 BundleInfo *bundleInfo, uint32_t index) in SetAbilityInfo() 247 AbilityInfo *abilityInfo = bundleInfo->abilityInfos + index; in SetAbilityInfo() 252 if (bundleProfile.abilityInfos[index].iconPath != nullptr && in SetAbilityInfo() 253 !BundleUtil::StartWith(bundleProfile.abilityInfos[index] in SetAbilityInfo() 240 SetAbilityInfo(const BundleProfile &bundleProfile, const std::string &codePath, BundleInfo *bundleInfo, uint32_t index) SetAbilityInfo() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/ |
H A D | rs_base_node_cmd_test.cpp | 48 int32_t index = 1; in HWTEST_F() local 49 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 53 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 57 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 61 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 76 int32_t index = 1; in HWTEST_F() local 77 BaseNodeCommandHelper::MoveChild(context, nodeId, childNodeId, index); in HWTEST_F() 81 BaseNodeCommandHelper::MoveChild(context, nodeId, childNodeId, index); in HWTEST_F() 85 BaseNodeCommandHelper::MoveChild(context, nodeId, childNodeId, index); in HWTEST_F() 89 BaseNodeCommandHelper::MoveChild(context, nodeId, childNodeId, index); in HWTEST_F() 133 int32_t index = static_cast<int32_t>(0); HWTEST_F() local 147 int32_t index = static_cast<int32_t>(1); HWTEST_F() local 163 int32_t index = static_cast<int32_t>(1); HWTEST_F() local 287 int32_t index = 1; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/ |
H A D | rs_base_node_command_test.cpp | 58 int32_t index = static_cast<int32_t>(0); in HWTEST_F() local 59 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 72 int32_t index = static_cast<int32_t>(1); in HWTEST_F() local 73 BaseNodeCommandHelper::MoveChild(context, nodeId, childNodeId, index); in HWTEST_F() 88 int32_t index = static_cast<int32_t>(1); in HWTEST_F() local 89 BaseNodeCommandHelper::AddCrossParentChild(context, nodeId, childNodeId, index); in HWTEST_F() 159 int32_t index = 1; in HWTEST_F() local 160 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 164 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 168 BaseNodeCommandHelper::AddChild(context, nodeId, childNodeId, index); in HWTEST_F() 187 int32_t index = 1; HWTEST_F() local 242 int32_t index = 1; HWTEST_F() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUResourceBundleImpl.java | 144 public String getString(int index) { in getString() argument 145 int res = value.getContainerResource(wholeBundle.reader, index); in getString() 153 return super.getString(index); in getString() 155 protected int getContainerResource(int index) { in getContainerResource() argument 156 return value.getContainerResource(wholeBundle.reader, index); in getContainerResource() 158 protected UResourceBundle createBundleObject(int index, String resKey, HashMap<String, String> aliasesVisited, in createBundleObject() argument 160 int item = getContainerResource(index); in createBundleObject() 204 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet() argument 206 return createBundleObject(index, Integer.toString(index), aliasesVisite in handleGet() 218 getKey(int index) getKey() argument 241 handleGet(int index, HashMap<String, String> aliasesVisited, UResourceBundle requested) handleGet() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICUResourceBundleImpl.java | 145 public String getString(int index) { in getString() argument 146 int res = value.getContainerResource(wholeBundle.reader, index); in getString() 154 return super.getString(index); in getString() 156 protected int getContainerResource(int index) { in getContainerResource() argument 157 return value.getContainerResource(wholeBundle.reader, index); in getContainerResource() 159 protected UResourceBundle createBundleObject(int index, String resKey, HashMap<String, String> aliasesVisited, in createBundleObject() argument 161 int item = getContainerResource(index); in createBundleObject() 205 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet() argument 207 return createBundleObject(index, Integer.toString(index), aliasesVisite in handleGet() 219 getKey(int index) getKey() argument 242 handleGet(int index, HashMap<String, String> aliasesVisited, UResourceBundle requested) handleGet() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_dec_references_mgr.cpp | 63 if(remappedIdx != m_invalidIndex) { // If it already has a remapped index in use, reuse that allocation in get_current_frame_decode_output_texture() 149 if(remappedIdx != m_invalidIndex) { // If it already has a remapped index in use, reuse that allocation in get_reference_only_output() 255 // Check if the index is already mapped. in find_remapped_index() 268 uint16_t index, // in in update_entry() 278 if (index != m_invalidIndex) { in update_entry() 279 remappedIndex = find_remapped_index(index); in update_entry() 300 d3d12_video_decoder_references_manager::store_future_reference(uint16_t index, in store_future_reference() argument 305 // Check if the index was in use. in store_future_reference() 306 uint16_t remappedIndex = find_remapped_index(index); in store_future_reference() 309 // The current output index wa in store_future_reference() 267 update_entry( uint16_t index, ID3D12Resource *&pOutputReference, uint32_t & OutputSubresource, bool &outNeedsTransitionToDecodeRead ) update_entry() argument 339 mark_reference_in_use(uint16_t index) mark_reference_in_use() argument [all...] |