/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 172 if ((node->index < loffset) || in opa_vnic_query_mac_tbl() 173 (node->index >= (loffset + lnum_entries))) in opa_vnic_query_mac_tbl() 176 /* populate entry in the tbl corresponding to the index */ in opa_vnic_query_mac_tbl() 177 entry = &tbl->tbl_entries[node->index - loffset]; in opa_vnic_query_mac_tbl() 247 node->index = loffset + i; in opa_vnic_update_mac_tbl() 264 if ((node->index >= loffset) && in opa_vnic_update_mac_tbl() 265 (node->index < (loffset + lnum_entries))) in opa_vnic_update_mac_tbl() 274 new_node->index = node->index; in opa_vnic_update_mac_tbl()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_skbedit.c | 134 u32 index; in tcf_skbedit_init() local 206 index = parm->index; in tcf_skbedit_init() 207 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init() 218 tcf_idr_cleanup(tn, index); in tcf_skbedit_init() 223 ret = tcf_idr_create(tn, index, est, a, in tcf_skbedit_init() 226 tcf_idr_cleanup(tn, index); in tcf_skbedit_init() 291 .index = d->tcf_index, in tcf_skbedit_dump()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_vmalloc.c | 448 int index, i, j; in test_func() local 465 index = random_array[i]; in test_func() 470 if (!((run_test_mask & (1 << index)) >> index)) in test_func() 475 if (!test_case_array[index].test_func()) in test_func() 476 t->data[index].test_passed++; in test_func() 478 t->data[index].test_failed++; in test_func() 487 t->data[index].time = delta; in test_func()
|
/test/testfwk/xdevice/src/xdevice/_core/environment/ |
H A D | manager_env.py | 81 def add_device(self, device, index=None): 83 if index: 84 current = index 170 index = self.get_config_device_index(device) 171 environment.add_device(device, index) 241 index = 1 244 return index 246 index += 1
|
/test/testfwk/arkxtest/uitest/core/ |
H A D | window_operator.cpp | 75 for (unsigned long index = 0; index < sizeof(OPERATIONS) / sizeof(Operational); index++) { in CheckOperational() 76 if (OPERATIONS[index].action == action && OPERATIONS[index].windowMode == mode) { in CheckOperational() 77 if (OPERATIONS[index].support) { in CheckOperational() 78 buttonId = OPERATIONS[index].buttonId; in CheckOperational() 81 out.exception_ = ApiCallErr(ERR_OPERATION_UNSUPPORTED, OPERATIONS[index].message); in CheckOperational()
|
/third_party/ffmpeg/libavcodec/ |
H A D | ansi.c | 44 #define DEFAULT_FG_COLOR 7 /**< CGA color index */ 50 /** map ansi color index to cga palette index */ 318 int index = s->args[i + 2]; in execute_code() local 319 s->fg = index < 16 ? ansi_to_cga[index] : index; in execute_code() 326 int index = s->args[i + 2]; in execute_code() local 327 s->bg = index < 16 ? ansi_to_cga[index] in execute_code() [all...] |
H A D | vlc.c | 61 int index = vlc->table_size; in alloc_table() local 76 return index; in alloc_table() 147 ff_dlog(NULL, "new table index=%d size=%d\n", table_index, table_size); in build_table() 183 int index, subtable_bits, j, k; in build_table() local 206 index = build_table(vlc, subtable_bits, k-i, codes+i, flags); in build_table() 207 if (index < 0) in build_table() 208 return index; in build_table() 211 table[j].sym = index; in build_table() 212 if (table[j].sym != index) { in build_table()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | UResourceBundle.java | 544 * Returns the string in a given resource at the specified index. 546 * @param index an index to the wanted string. 548 * @throws IndexOutOfBoundsException If the index value is out of bounds of accepted values. 552 public String getString(int index) { in getString() argument 553 ICUResourceBundle temp = (ICUResourceBundle)get(index); in getString() 561 * {@icu} Returns the resource in a given resource at the specified index. 563 * @param index an index to the wanted resource. 565 * @throws IndexOutOfBoundsException If the index valu 569 get(int index) get() argument 596 findTopLevel(int index) findTopLevel() argument 818 handleGet(int index, HashMap<String, String> aliasesVisited, UResourceBundle requested) handleGet() argument [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | restest.cpp | 208 void ResourceBundleTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ ) in runIndexedTest() argument 211 switch (index) { in runIndexedTest() 347 int32_t index; in testTag() local 470 index = count ? (randi(count * 3) - count) : (randi(200) - 100); in testTag() 473 UnicodeString t(arrayBundle.getStringEx(index, status)); in testTag() 474 expected_status = (index >= 0 && index < count) ? expected_resource_status : U_MISSING_RESOURCE_ERROR; in testTag() 481 expected_string += itoa(index,buf); in testTag()
|
/third_party/alsa-lib/include/ |
H A D | ump_msg.h | 82 uint8_t index; /** Control index (7bit) */ member 86 uint8_t index; /** Control index (7bit) */ 246 uint8_t index; /**< Control index (8bit) */ member 250 uint8_t index; /**< Control index (8bit) */ 297 uint8_t index; /**< Control index ( member 321 uint8_t index; /**< Control index (7bit) */ global() member [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
H A D | RBGroupPanel.java | 273 int index = jComboBoxGroup.getSelectedIndex(); in initComponents() 277 if (index < jComboBoxGroup.getItemCount()-1) in initComponents() 278 jComboBoxGroup.setSelectedIndex(index+1); in initComponents() 280 jComboBoxGroup.setSelectedIndex(index-1); in initComponents() 432 public Object getElementAt(int index) { in getElementAt() argument 433 return group.getBundleItem(index); in getElementAt() 456 public Object getElementAt(int index) { in getElementAt() argument 457 return bundle.getBundleGroup(index); in getElementAt()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | ConformanceTest.java | 462 int index = 0; in hexsplit() 464 while(index< len){ in hexsplit() 465 if(toHex.charAt(index)==' '){ in hexsplit() 466 index++; in hexsplit() 468 int spacePos = toHex.indexOf(' ', index); in hexsplit() 470 appendInt(buf,toHex.substring(index,len),s); in hexsplit() 473 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit() 475 index = spacePos+1; in hexsplit()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
H A D | BreakIteratorTest.java | 127 for (int index = -1; index < begin + 1; ++index) { in TestBug4153072() 129 iter.isBoundary(index); in TestBug4153072() 130 if (index < begin) in TestBug4153072() 131 errln("Didn't get exception with offset = " + index + in TestBug4153072() 132 " and begin index = " + begin); in TestBug4153072() 135 if (index >= begin) in TestBug4153072() 136 errln("Got exception with offset = " + index + in TestBug4153072() 137 " and begin index in TestBug4153072() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | ConformanceTest.java | 459 int index = 0; in hexsplit() 461 while(index< len){ in hexsplit() 462 if(toHex.charAt(index)==' '){ in hexsplit() 463 index++; in hexsplit() 465 int spacePos = toHex.indexOf(' ', index); in hexsplit() 467 appendInt(buf,toHex.substring(index,len),s); in hexsplit() 470 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit() 472 index = spacePos+1; in hexsplit()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | BreakIteratorTest.java | 124 for (int index = -1; index < begin + 1; ++index) { in TestBug4153072() 126 iter.isBoundary(index); in TestBug4153072() 127 if (index < begin) in TestBug4153072() 128 errln("Didn't get exception with offset = " + index + in TestBug4153072() 129 " and begin index = " + begin); in TestBug4153072() 132 if (index >= begin) in TestBug4153072() 133 errln("Got exception with offset = " + index + in TestBug4153072() 134 " and begin index in TestBug4153072() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | UResourceBundle.java | 521 * Returns the string in a given resource at the specified index. 523 * @param index an index to the wanted string. 525 * @throws IndexOutOfBoundsException If the index value is out of bounds of accepted values. 528 public String getString(int index) { in getString() argument 529 ICUResourceBundle temp = (ICUResourceBundle)get(index); in getString() 537 * <strong>[icu]</strong> Returns the resource in a given resource at the specified index. 539 * @param index an index to the wanted resource. 541 * @throws IndexOutOfBoundsException If the index valu 544 get(int index) get() argument 571 findTopLevel(int index) findTopLevel() argument 778 handleGet(int index, HashMap<String, String> aliasesVisited, UResourceBundle requested) handleGet() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | plurfmt.cpp | 306 int32_t index = part.getIndex(); in format() local 308 return appendTo.append(pattern, prevIndex, index - prevIndex); in format() 311 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 317 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 318 prevIndex = index; in format() 320 index = msgPattern.getPart(partIndex).getLimit(); in format() 321 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format() 322 prevIndex = index; in format()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_gather_xfb_info.c | 349 unsigned index = nir_intrinsic_component(intr) + i; in nir_gather_xfb_info_from_intrinsics() local 350 nir_io_xfb xfb = index < 2 ? nir_intrinsic_io_xfb(intr) : in nir_gather_xfb_info_from_intrinsics() 353 if (xfb.out[index % 2].num_components) { in nir_gather_xfb_info_from_intrinsics() 357 out.component_offset = index; in nir_gather_xfb_info_from_intrinsics() 359 BITFIELD_RANGE(index, xfb.out[index % 2].num_components); in nir_gather_xfb_info_from_intrinsics() 361 out.buffer = xfb.out[index % 2].buffer; in nir_gather_xfb_info_from_intrinsics() 362 out.offset = (uint32_t)xfb.out[index % 2].offset * 4; in nir_gather_xfb_info_from_intrinsics()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_virtualvalues.h | 108 virtual bool ready(int block, int index) const; 169 bool ready(int block, int index) const override; 179 int index() const {return m_index;} in index() function in r600::Register 285 bool ready(int block_id, int index) const; 364 bool ready_for_direct(int block, int index, int chan) const; 365 bool ready_for_indirect(int block, int index, int chan) const; 400 LocalArrayValue(PRegister reg, PVirtualValue index, LocalArray &array); 405 bool ready(int block, int index) const override;
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_pass.c | 113 color_attachment_mask |= (1 << pass->attachments[color_idx].index); in pvr_is_subpass_initops_flush_needed() 386 attachment->index = i; in pvr_CreateRenderPass2() 417 uint32_t index; in pvr_CreateRenderPass2() local 429 index = subpass->color_attachments[j]; in pvr_CreateRenderPass2() 430 subpass->sample_count = pass->attachments[index].sample_count; in pvr_CreateRenderPass2() 437 index = desc->pDepthStencilAttachment->attachment; in pvr_CreateRenderPass2() 438 subpass->sample_count = pass->attachments[index].sample_count; in pvr_CreateRenderPass2() 475 /* Reset the dependencies count so we can start from 0 and index into in pvr_CreateRenderPass2() 479 subpass->index = i; in pvr_CreateRenderPass2()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | plurfmt.cpp | 306 int32_t index = part.getIndex(); in format() local 308 return appendTo.append(pattern, prevIndex, index - prevIndex); in format() 311 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 317 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 318 prevIndex = index; in format() 320 index = msgPattern.getPart(partIndex).getLimit(); in format() 321 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format() 322 prevIndex = index; in format()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_push.c | 38 prim_restart_search_i08(uint8_t *elts, unsigned push, uint8_t index) in prim_restart_search_i08() argument 42 if (elts[i] == index) in prim_restart_search_i08() 48 prim_restart_search_i16(uint16_t *elts, unsigned push, uint16_t index) in prim_restart_search_i16() argument 52 if (elts[i] == index) in prim_restart_search_i16() 58 prim_restart_search_i32(uint32_t *elts, unsigned push, uint32_t index) in prim_restart_search_i32() argument 62 if (elts[i] == index) in prim_restart_search_i32() 287 nv04_resource(info->index.resource), 0, NOUVEAU_BO_RD); in nv50_push_vbo() 289 ctx.idxbuf = info->index.user; in nv50_push_vbo()
|
/third_party/ltp/testcases/lib/ |
H A D | tst_net_vars.c | 426 unsigned int index = strlen(net); in get_host_from_ip() local 430 if (index == strlen(ip)) in get_host_from_ip() 434 if (index > 0 && index < strlen(ip)) { in get_host_from_ip() 435 len = strlen(ip) - index - 1; in get_host_from_ip() 436 assert(ip[index] == ':' || ip[index] == '.'); in get_host_from_ip() 437 memmove(buf, buf + index + 1, len); in get_host_from_ip()
|
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | assembler-arm-inl.h | 340 for (int index = 0; index < T::kNumRegisters; index++) { in CanAcquireVfp() 341 T reg = T::from_code(index); in CanAcquireVfp() 354 for (int index = 0; index < T::kNumRegisters; index++) { in AcquireVfp() 355 T reg = T::from_code(index); in AcquireVfp()
|
/third_party/node/deps/v8/src/torque/ |
H A D | class-debug-reader-generator.cc | 37 ValueTypeFieldIterator(const Type* type, size_t index) in ValueTypeFieldIterator() argument 38 : type_(type), index_(index) {} in ValueTypeFieldIterator() 89 size_t index = 0; in end() local 92 index = (*struct_type)->fields().size(); in end() 101 index = bit_field_struct_type->fields().size(); in end() 103 return {type_, index}; in end() 272 if (field.index) { in GenerateFieldValueAccessor() 388 if (field.index) { in GenerateGetPropsChunkForField()
|