/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline_node/ |
H A D | encode_data_process_test.cpp | 384 uint32_t index = 0; in HWTEST_F() local 388 rc = testEncodeDataProcess_->GetEncoderOutputBuffer(index, info, flag, buffer); in HWTEST_F() 407 uint32_t index = time; in HWTEST_F() local 411 int32_t rc = testEncodeDataProcess_->GetEncoderOutputBuffer(index, info, flag, buffer); in HWTEST_F() 463 uint32_t index = 0; in HWTEST_F() local 467 testEncodeDataProcess_->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F() 469 testEncodeDataProcess_->OnInputBufferAvailable(index, buffer); in HWTEST_F() 472 testEncodeDataProcess_->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F()
|
/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()
|
/third_party/mesa3d/src/util/indices/ |
H A D | u_primconvert.c | 30 * hardware. It handles binding new index buffer state, and restoring 147 src = info->has_user_indices ? info->index.user : NULL; in primconvert_init_draw() 149 /* Map the index range we're interested in (not the whole buffer) */ in primconvert_init_draw() 150 src = pipe_buffer_map_range(pc->pipe, info->index.resource, in primconvert_init_draw() 172 /* step 2: get a translator function which does nothing but handle any index size conversions in primconvert_init_draw() 217 /* (step 5: allocate gpu memory sized for the FINAL index count) */ in primconvert_init_draw() 219 &ib_offset, &new_info->index.resource, &dst); in primconvert_init_draw() 228 * loop over all the direct draws in order to rewrite them into a single index buffer in primconvert_init_draw() 232 /* step 6a: get the index count for this draw, once converted */ in primconvert_init_draw() 234 /* step 6b: handle index siz in primconvert_init_draw() [all...] |
/third_party/python/Tools/scripts/ |
H A D | summarize_stats.py | 74 _, index = key[:-1].split("[") 75 index = int(index) 76 failure_kinds[index] = family_stats[key] 77 failures = [(value, index) for (index, value) in enumerate(failure_kinds)] 80 for value, index in failures: 83 rows.append((kind_to_text(index, defines, name), value, f"{100*value/total_failures:0.1f}%"))
|