/kernel/linux/linux-6.6/sound/pci/asihpi/ |
H A D | hpicmn.c | 66 if (pao->index >= HPI_MAX_ADAPTERS) { in hpi_add_adapter() 71 if (adapters.adapter[pao->index].type) { in hpi_add_adapter() 76 "ASI%X duplicate index %d moved to %d\n", in hpi_add_adapter() 77 pao->type, pao->index, a); in hpi_add_adapter() 78 pao->index = a; in hpi_add_adapter() 87 adapters.adapter[pao->index] = *pao; in hpi_add_adapter() 88 hpios_dsplock_init(&adapters.adapter[pao->index]); in hpi_add_adapter() 104 if (adapters.adapter[pao->index].type) in hpi_delete_adapter() 106 memset(&adapters.adapter[pao->index], 0, sizeof(adapters.adapter[0])); in hpi_delete_adapter() 112 * hpi_adapter_obj with index wAdapterInde 155 u16 index = 0; subsys_get_adapter() local 467 unsigned int index = hpi_check_control_cache_single() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | vfio_ccw_ops.c | 237 unsigned int index = VFIO_CCW_OFFSET_TO_INDEX(*ppos); in vfio_ccw_mdev_read() local 239 if (index >= VFIO_CCW_NUM_REGIONS + private->num_regions) in vfio_ccw_mdev_read() 242 switch (index) { in vfio_ccw_mdev_read() 246 index -= VFIO_CCW_NUM_REGIONS; in vfio_ccw_mdev_read() 247 return private->region[index].ops->read(private, buf, count, in vfio_ccw_mdev_read() 289 unsigned int index = VFIO_CCW_OFFSET_TO_INDEX(*ppos); in vfio_ccw_mdev_write() local 291 if (index >= VFIO_CCW_NUM_REGIONS + private->num_regions) in vfio_ccw_mdev_write() 294 switch (index) { in vfio_ccw_mdev_write() 298 index -= VFIO_CCW_NUM_REGIONS; in vfio_ccw_mdev_write() 299 return private->region[index] in vfio_ccw_mdev_write() 396 vfio_ccw_mdev_set_irqs(struct vfio_ccw_private *private, uint32_t flags, uint32_t index, void __user *data) vfio_ccw_mdev_set_irqs() argument [all...] |
/kernel/linux/linux-6.6/lib/xz/ |
H A D | xz_dec_stream.c | 116 } index; member 284 s->index.size += in_used; in index_update() 307 switch (s->index.sequence) { in dec_index() 309 s->index.count = s->vli; in dec_index() 316 if (s->index.count != s->block.count) in dec_index() 319 s->index.sequence = SEQ_INDEX_UNPADDED; in dec_index() 323 s->index.hash.unpadded += s->vli; in dec_index() 324 s->index.sequence = SEQ_INDEX_UNCOMPRESSED; in dec_index() 328 s->index.hash.uncompressed += s->vli; in dec_index() 329 s->index in dec_index() [all...] |
/third_party/json/tests/src/ |
H A D | unit-json_pointer.cpp | 40 SECTION("array index error") 264 // assign to existing index 268 // assign to nonexisting index 272 // assign to nonexisting index (with gap) 278 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&); 280 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&); 282 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&); 284 "[json.exception.parse_error.106] parse error: array index '01' must not begin with '0'", json::parse_error&); 293 "[json.exception.parse_error.109] parse error: array index 'one' is not a number", json::parse_error&); 295 "[json.exception.parse_error.109] parse error: array index 'on [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_lower_to_cssa.cpp | 56 uint32_t index = -1u; /* index into the vector of merge sets */ member 94 uint32_t index = ctx.merge_sets.size(); in collect_parallelcopies() local 124 ctx.merge_node_table[tmp.id()] = {op, index, preds[i]}; in collect_parallelcopies() 145 ctx.merge_node_table[def.tempId()] = {Operand(def.getTemp()), index, block.index}; in collect_parallelcopies() 186 assert(node_var.index != node_parent.index); in intersects() 254 if (node_var.index == ctx.merge_node_table[parent.id()].index) { in interference() 286 uint32_t index = def_node_it->second.index; try_merge_merge_set() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_paint_property.h | 87 auto index = std::to_string(i); variable 89 jsonDashArray->Put(index.c_str(), value); 136 for (size_t index = 0; index < gradientItem.GetColors().size(); ++index) { in ToJsonValueColors() 137 auto gradientColor = gradientItem.GetColors()[index]; in ToJsonValueColors() 141 gradientItemJsonArray->Put(std::to_string(index).c_str(), gradientColorJosn); in ToJsonValueColors() 196 for (size_t index = 0; index < gradientItem.GetColors().size(); ++index) { in ToJsonTrackShadow() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | observer_handler.h | 49 int32_t index; member 60 int32_t index, napi_value param, std::string navDesId) in NavDestinationInfo() 62 index(index), param(param), navDestinationId(std::move(navDesId)) in NavDestinationInfo() 98 int32_t index; member 104 RouterPageInfoNG(napi_value context, int32_t index, std::string name, std::string path, RouterPageState state, in RouterPageInfoNG() 106 : context(context), index(index), name(std::move(name)), path(std::move(path)), state(state), in RouterPageInfoNG() 131 int32_t index = 0; member 135 TabContentInfo(std::string tabContentId, int32_t tabContentUniqueId, TabContentState state, int32_t index, in TabContentInfo() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
H A D | security_component_theme.h | 143 const std::string& GetLocationDescriptions(int32_t index) in GetLocationDescriptions() argument 145 if (index < 0 || index >= static_cast<int32_t>(locationDescriptions_.size())) { in GetLocationDescriptions() 148 return locationDescriptions_[index]; in GetLocationDescriptions() 151 const std::string& GetPasteDescriptions(int32_t index) in GetPasteDescriptions() argument 153 if (index < 0 || index >= static_cast<int32_t>(pasteDescriptions_.size())) { in GetPasteDescriptions() 156 return pasteDescriptions_[index]; in GetPasteDescriptions() 159 const std::string& GetSaveDescriptions(int32_t index) in GetSaveDescriptions() argument 161 if (index < in GetSaveDescriptions() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_font_mgr.cpp | 93 char* OH_Drawing_FontMgrGetFamilyName(OH_Drawing_FontMgr* drawingFontMgr, int index)
in OH_Drawing_FontMgrGetFamilyName() argument 96 if (fontMgr == nullptr || index < 0) {
in OH_Drawing_FontMgrGetFamilyName() 100 fontMgr->GetFamilyName(index, strFamilyName);
in OH_Drawing_FontMgrGetFamilyName() 117 OH_Drawing_FontStyleSet* OH_Drawing_FontMgrCreateFontStyleSet(OH_Drawing_FontMgr* drawingFontMgr, int index)
in OH_Drawing_FontMgrCreateFontStyleSet() argument 120 if (fontMgr == nullptr || index < 0) {
in OH_Drawing_FontMgrCreateFontStyleSet() 123 FontStyleSet* fontStyleSet = fontMgr->CreateStyleSet(index);
in OH_Drawing_FontMgrCreateFontStyleSet() 202 OH_Drawing_Typeface* OH_Drawing_FontStyleSetCreateTypeface(OH_Drawing_FontStyleSet* fontStyleSet, int index)
in OH_Drawing_FontStyleSetCreateTypeface() argument 204 if (fontStyleSet == nullptr || index < 0) {
in OH_Drawing_FontStyleSetCreateTypeface() 208 auto drawingTypeface = converFontStyleSet->CreateTypeface(index);
in OH_Drawing_FontStyleSetCreateTypeface() 218 OH_Drawing_FontStyleSet* fontStyleSet, int32_t index, cha in OH_Drawing_FontStyleSetGetStyle() 217 OH_Drawing_FontStyleSetGetStyle( OH_Drawing_FontStyleSet* fontStyleSet, int32_t index, char** styleName) OH_Drawing_FontStyleSetGetStyle() argument [all...] |
/foundation/multimedia/media_foundation/services/media_monitor/common/src/ |
H A D | event_bean.cpp | 85 for (int32_t index = 0; index < intMapSize; index++) { in ReadFromParcel() 94 for (int32_t index = 0; index < stringMapSize; index++) { in ReadFromParcel() 103 for (int32_t index = 0; index < uint64MapSize; index++) { in ReadFromParcel() 112 for (int32_t index in ReadFromParcel() [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/include/ |
H A D | AudioEncoderDemoCommon.h | 48 extern void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData); 49 extern void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index, 95 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) override; 96 void OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, 120 OH_AVErrCode NativePushInputData(OH_AVCodec* codec, uint32_t index, OH_AVCodecBufferAttr attr); 121 OH_AVErrCode NativeFreeOutputData(OH_AVCodec* codec, uint32_t index); 133 void HandleEOS(const uint32_t& index); 135 void NativePushInput(uint32_t index); 137 void NativeWriteOutput(std::ofstream& outputFile, uint32_t index, 171 int32_t InnerQueueInputBuffer(uint32_t index, AVCodecBufferInf [all...] |
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_encoder_inner_demo.cpp | 160 uint32_t index = signal_->inQueue_.front(); in InputFunc() local 164 std::cout << "buffer is null:" << index << "\n"; in InputFunc() local 173 (void)audioEn_->QueueInputBuffer(index, attr, flag); in InputFunc() 179 auto result = audioEn_->QueueInputBuffer(index, attr, flag); in InputFunc() 201 uint32_t index = signal_->outQueue_.front(); in OutputFunc() local 211 if (audioEn_->ReleaseOutputBuffer(index) != AVCS_ERR_OK) { in OutputFunc() 235 void AEnDemoCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) in OnInputBufferAvailable() argument 237 cout << "OnInputBufferAvailable received, index:" << index << endl; in OnInputBufferAvailable() 239 signal_->inQueue_.push(index); in OnInputBufferAvailable() 244 OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) OnOutputBufferAvailable() argument [all...] |
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/source/ |
H A D | player_demux.cpp | 209 int index = 0; in GetFileInfo() local 214 if (programInfo->track[j].trackType == TRACK_TYPE_VIDEO && index < HI_DEMUXER_RESOLUTION_CNT) { in GetFileInfo() 215 fileInfo.stSteamResolution[index].s32VideoStreamIndex = programInfo->track[j].trackId; in GetFileInfo() 216 fileInfo.stSteamResolution[index].u32Width = programInfo->track[j].vidTrack.width; in GetFileInfo() 217 fileInfo.stSteamResolution[index].u32Height = programInfo->track[j].vidTrack.height; in GetFileInfo() 218 fileInfo.stSteamResolution[index].enVideoType = programInfo->track[j].vidTrack.format; in GetFileInfo() 219 index++; in GetFileInfo() 223 for (; index < HI_DEMUXER_RESOLUTION_CNT; index++) { in GetFileInfo() 224 fileInfo.stSteamResolution[index] in GetFileInfo() [all...] |
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screentranstestutils/src/ |
H A D | screen_callback_test.cpp | 91 uint32_t index = 0; in HWTEST_F() local 98 encoderCallback->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F() 99 encoderCallback->OnInputBufferAvailable(index, buffer); in HWTEST_F() 124 uint32_t index = 0; in HWTEST_F() local 131 decoderCallback->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F() 132 decoderCallback->OnInputBufferAvailable(index, buffer); in HWTEST_F() 180 uint32_t index = 0; in HWTEST_F() local 184 encoderCallback->OnOutputBufferAvailable(index, info, flag, buffer); in HWTEST_F() 185 encoderCallback->OnInputBufferAvailable(index, buffer); in HWTEST_F() 205 uint32_t index in HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | hwregs.c | 203 u8 index; in acpi_hw_read() local 228 index = 0; in acpi_hw_read() 238 index * in acpi_hw_read() 246 index * in acpi_hw_read() 259 ACPI_SET_BITS(value, index * access_width, in acpi_hw_read() 264 index++; in acpi_hw_read() 297 u8 index; in acpi_hw_write() local 319 index = 0; in acpi_hw_write() 325 value64 = ACPI_GET_BITS(&value, index * access_width, in acpi_hw_write() 335 index * in acpi_hw_write() [all...] |
H A D | dbmethod.c | 112 u32 index; in acpi_db_set_method_data() local 145 /* Get the index and value */ in acpi_db_set_method_data() 147 index = strtoul(index_arg, NULL, 16); in acpi_db_set_method_data() 170 if (index > ACPI_METHOD_MAX_ARG) { in acpi_db_set_method_data() 172 index); in acpi_db_set_method_data() 177 index, obj_desc, in acpi_db_set_method_data() 183 obj_desc = walk_state->arguments[index].object; in acpi_db_set_method_data() 185 acpi_os_printf("Arg%u: ", index); in acpi_db_set_method_data() 193 if (index > ACPI_METHOD_MAX_LOCAL) { in acpi_db_set_method_data() 195 ("Local%u - Invalid local variable name\n", index); in acpi_db_set_method_data() [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | acpi-dma.c | 328 size_t index; member 344 if (pdata->n++ == pdata->index) { in acpi_dma_parse_fixed_dma() 357 * @index: index of FixedDMA descriptor for @dev 363 size_t index) in acpi_dma_request_slave_chan_by_index() 375 pdata.index = index; in acpi_dma_request_slave_chan_by_index() 435 int index; in acpi_dma_request_slave_chan_by_name() local 437 index = device_property_match_string(dev, "dma-names", name); in acpi_dma_request_slave_chan_by_name() 438 if (index < in acpi_dma_request_slave_chan_by_name() 362 acpi_dma_request_slave_chan_by_index(struct device *dev, size_t index) acpi_dma_request_slave_chan_by_index() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s32/ |
H A D | mmu.c | 116 static void setibat(int index, unsigned long virt, phys_addr_t phys, in setibat() argument 121 struct ppc_bat *bat = BATS[index]; in setibat() 134 static void clearibat(int index) in clearibat() argument 136 struct ppc_bat *bat = BATS[index]; in clearibat() 255 void __init setbat(int index, unsigned long virt, phys_addr_t phys, in setbat() argument 263 if (index == -1) in setbat() 264 index = find_free_bat(); in setbat() 265 if (index == -1) { in setbat() 270 bat = BATS[index]; in setbat() 290 bat_addrs[index] in setbat() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
H A D | mte_common_util.c | 175 int index; in mte_allocate_file_memory() local 184 for (index = INIT_BUFFER_SIZE; index < size; index += INIT_BUFFER_SIZE) in mte_allocate_file_memory() 186 index -= INIT_BUFFER_SIZE; in mte_allocate_file_memory() 187 write(fd, buffer, size - index); in mte_allocate_file_memory() 194 int index; in mte_allocate_file_memory_tag_range() local 204 for (index = INIT_BUFFER_SIZE; index < map_size; index in mte_allocate_file_memory_tag_range() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | uar.c | 71 static u64 uar2pfn(struct mlx5_core_dev *mdev, u32 index) in uar2pfn() argument 76 system_page_index = index >> (PAGE_SHIFT - MLX5_ADAPTER_PAGE_SHIFT); in uar2pfn() 78 system_page_index = index; in uar2pfn() 89 if (mlx5_cmd_free_uar(up->mdev, up->index)) in up_rel_func() 90 mlx5_core_warn(up->mdev, "failed to free uar index %d\n", up->index); in up_rel_func() 129 err = mlx5_cmd_alloc_uar(mdev, &up->index); in alloc_uars_page() 135 pfn = uar2pfn(mdev, up->index); in alloc_uars_page() 150 mlx5_core_dbg(mdev, "allocated UAR page: index %d, total bfregs %d\n", in alloc_uars_page() 151 up->index, u in alloc_uars_page() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | ultra45_env.c | 100 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_speed() 118 int fan_nr = to_sensor_dev_attr(attr)->index; in set_fan_speed() 142 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_fault() 148 #define fan(index) \ 149 static SENSOR_DEVICE_ATTR(fan##index##_speed, S_IRUGO | S_IWUSR, \ 150 show_fan_speed, set_fan_speed, index); \ 151 static SENSOR_DEVICE_ATTR(fan##index##_fault, S_IRUGO, \ 152 show_fan_fault, NULL, index) 165 int temp_nr = to_sensor_dev_attr(attr)->index; in show_temp() 186 int index in show_stat_bit() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A D | leds.c | 70 b43_led_turn_on(dev, led->index, led->activelow); in b43_led_update() 72 b43_led_turn_off(dev, led->index, led->activelow); in b43_led_update() 119 led->index = led_index; in b43_register_led() 260 b43_led_turn_on(dev, led->index, led->activelow); in b43_leds_init() 264 b43_led_turn_off(dev, led->index, led->activelow); in b43_leds_init() 273 b43_led_turn_off(dev, led->index, led->activelow); in b43_leds_init() 279 b43_led_turn_off(dev, led->index, led->activelow); in b43_leds_init() 285 b43_led_turn_off(dev, led->index, led->activelow); in b43_leds_init() 313 b43_led_turn_off(dev, leds->led_tx.index, leds->led_tx.activelow); in b43_leds_exit() 314 b43_led_turn_off(dev, leds->led_rx.index, led in b43_leds_exit() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | eeprom.c | 172 int index, group; in mt7663_eeprom_get_target_power_index() local 182 index = MT7663_EE_TX1_5G_G0_TARGET_POWER; in mt7663_eeprom_get_target_power_index() 184 index = MT7663_EE_TX0_5G_G0_TARGET_POWER; in mt7663_eeprom_get_target_power_index() 186 return index + group * 3; in mt7663_eeprom_get_target_power_index() 193 int index; in mt7615_eeprom_get_target_power_index() local 212 index = MT_EE_TX0_2G_TARGET_POWER + chain_idx * 6; in mt7615_eeprom_get_target_power_index() 218 index = MT_EE_TX1_5G_G0_TARGET_POWER; in mt7615_eeprom_get_target_power_index() 221 index = MT_EE_TX2_5G_G0_TARGET_POWER; in mt7615_eeprom_get_target_power_index() 224 index = MT_EE_TX3_5G_G0_TARGET_POWER; in mt7615_eeprom_get_target_power_index() 228 index in mt7615_eeprom_get_target_power_index() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl871x_sta_mgt.c | 91 s32 index; in r8712_alloc_stainfo() local 108 index = wifi_mac_hash(hwaddr); in r8712_alloc_stainfo() 109 if (index >= NUM_STA) { in r8712_alloc_stainfo() 113 phash_list = &pstapriv->sta_hash[index]; in r8712_alloc_stainfo() 195 s32 index; in r8712_free_all_stainfo() local 203 for (index = 0; index < NUM_STA; index++) { in r8712_free_all_stainfo() 204 phead = &(pstapriv->sta_hash[index]); in r8712_free_all_stainfo() 223 u32 index; in r8712_get_stainfo() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | sbuslib.c | 125 unsigned int index, count, i; in sbusfb_ioctl_helper() local 127 if (get_user(index, &c->index) || in sbusfb_ioctl_helper() 151 cmap.start = index + i; in sbusfb_ioctl_helper() 164 unsigned int index, count, i; in sbusfb_ioctl_helper() local 167 if (get_user(index, &c->index) || in sbusfb_ioctl_helper() 174 if (index > cmap->len || count > cmap->len - index) in sbusfb_ioctl_helper() 178 red = cmap->red[index in sbusfb_ioctl_helper() [all...] |