/test/testfwk/arkxtest/uitest/core/ |
H A D | widget_selector.cpp | 41 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddFrontLocator() 50 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddRearLocator() 59 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddParentLocator() 80 if (!frontLocators_.empty()) { in Describe() [all...] |
H A D | select_strategy.cpp | 115 if (!anchorMatch_.empty()) { in Describe() 121 if (!myselfMatch_.empty()) { in Describe() 285 if (!targetWidgets.empty() && !wantMulti_) { 365 if (!targetWidgets.empty() && !wantMulti_) { 649 if (myselfTargets.empty()) { in DoComplexSelect() 652 if (multiWithInAnchorMatcher.empty()) { in DoComplexSelect() 660 if (filterParentValidId.empty()) { in DoComplexSelect() 745 if (buildParam.afterAnchorMatcherVec.empty() && buildParam.beforeAnchorMatcherVec.empty() && in BuildSelectStrategy() 746 buildParam.withInAnchorMatcherVec.empty()) { in BuildSelectStrategy() [all...] |
H A D | dump_handler.cpp | 108 if (!backgroundColor.empty()) { in AddExtraAttrs() 111 if (!content.empty()) { in AddExtraAttrs() 114 if (!fontColor.empty()) { in AddExtraAttrs() 117 if (!fontSize.empty()) { in AddExtraAttrs() 120 if (!extraAttrs.empty()) { in AddExtraAttrs()
|
H A D | ui_driver.cpp | 79 if (currentWindowVec.empty()) { in UpdateUIWindows() 124 if (visitWidgets_.empty()) { in DumpWindowsInfo() 249 if (!targetWidgetsIndex_.empty()) { in RetrieveWidget() 256 if (targetWidgetsIndex_.empty()) { in RetrieveWidget() 280 if (events.empty()) { in TriggerKey() 310 if (!selector.IsWantMulti() && !targetWidgetsIndex_.empty()) { in FindWidgets() 318 if (targetWidgetsIndex_.empty()) { in FindWidgets() 342 if (!receiver.empty()) { in WaitForWidget() 377 if (events.empty()) { in PerformMouseAction() 507 if (!text.empty()) { in TextToKeyEvents() [all...] |
/kernel/linux/linux-5.10/sound/sh/ |
H A D | sh_dac_audio.c | 46 int empty; member 70 chip->empty = 1; in dac_audio_reset() 109 chip->empty = 1; in snd_sh_dac_pcm_open() 150 chip->empty = 1; in snd_sh_dac_pcm_trigger() 171 if (chip->empty) { in snd_sh_dac_pcm_copy() 172 chip->empty = 0; in snd_sh_dac_pcm_copy() 189 if (chip->empty) { in snd_sh_dac_pcm_copy_kernel() 190 chip->empty = 0; in snd_sh_dac_pcm_copy_kernel() 207 if (chip->empty) { in snd_sh_dac_pcm_silence() 208 chip->empty in snd_sh_dac_pcm_silence() [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | apm_power.c | 121 union power_supply_propval empty; in do_calculate_time() local 176 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time() 178 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time() 179 empty.intval = 0; in do_calculate_time() 191 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time() 218 union power_supply_propval empty, full, cur; in calculate_capacity() local 263 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity() 265 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity() 266 empty.intval = 0; in calculate_capacity() 269 if (full.intval - empty in calculate_capacity() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | apm_power.c | 121 union power_supply_propval empty; in do_calculate_time() local 176 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time() 178 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time() 179 empty.intval = 0; in do_calculate_time() 191 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time() 218 union power_supply_propval empty, full, cur; in calculate_capacity() local 263 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity() 265 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity() 266 empty.intval = 0; in calculate_capacity() 269 if (full.intval - empty in calculate_capacity() [all...] |
H A D | cpcap-battery.c | 543 *empty, *full; in cpcap_battery_update_status() local 576 empty = cpcap_battery_get_empty(ddata); in cpcap_battery_update_status() 577 if (empty->voltage && empty->voltage != -1) { in cpcap_battery_update_status() 578 empty->voltage = -1; in cpcap_battery_update_status() 580 empty->counter_uah - full->counter_uah; in cpcap_battery_update_status() 582 empty->voltage = -1; in cpcap_battery_update_status() 583 empty->counter_uah = in cpcap_battery_update_status() 587 empty = cpcap_battery_get_empty(ddata); in cpcap_battery_update_status() 588 memcpy(empty, lates in cpcap_battery_update_status() 640 struct cpcap_battery_state_data *latest, *previous, *empty; cpcap_battery_get_property() local [all...] |
/kernel/linux/linux-6.6/sound/sh/ |
H A D | sh_dac_audio.c | 45 int empty; member 69 chip->empty = 1; in dac_audio_reset() 108 chip->empty = 1; in snd_sh_dac_pcm_open() 149 chip->empty = 1; in snd_sh_dac_pcm_trigger() 170 if (chip->empty) { in snd_sh_dac_pcm_copy() 171 chip->empty = 0; in snd_sh_dac_pcm_copy() 188 if (chip->empty) { in snd_sh_dac_pcm_silence() 189 chip->empty = 0; in snd_sh_dac_pcm_silence() 270 if (!chip->empty) { in sh_dac_audio_timer() 285 chip->empty in sh_dac_audio_timer() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | queueing.c | 51 #define STUB(queue) ((struct sk_buff *)&queue->empty) 60 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init() 61 offsetof(struct prev_queue, empty) || in wg_prev_queue_init() 62 offsetof(struct sk_buff, prev) != offsetof(struct prev_queue, empty.prev) - in wg_prev_queue_init() 63 offsetof(struct prev_queue, empty)); in wg_prev_queue_init()
|
/kernel/linux/linux-6.6/fs/ |
H A D | binfmt_elf_test.c | 6 struct elf_phdr empty[] = { in total_mapping_size_test() local 40 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 0), 0); in total_mapping_size_test() 42 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 1), 0); in total_mapping_size_test() 44 KUNIT_EXPECT_EQ(test, total_mapping_size(&empty[1], 1), 0); in total_mapping_size_test() 46 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 2), 0); in total_mapping_size_test()
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | queueing.c | 51 #define STUB(queue) ((struct sk_buff *)&queue->empty) 60 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init() 61 offsetof(struct prev_queue, empty) || in wg_prev_queue_init() 62 offsetof(struct sk_buff, prev) != offsetof(struct prev_queue, empty.prev) - in wg_prev_queue_init() 63 offsetof(struct prev_queue, empty)); in wg_prev_queue_init()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A D | adf_transport_debug.c | 48 int head, tail, empty; in adf_ring_show() local 54 empty = READ_CSR_E_STAT(csr, bank->bank_number); in adf_ring_show() 61 seq_printf(sfile, "head %x, tail %x, empty: %d\n", in adf_ring_show() 62 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show() 149 int head, tail, empty; in adf_bank_show() local 158 empty = READ_CSR_E_STAT(csr, bank->bank_number); in adf_bank_show() 161 "ring num %02d, head %04x, tail %04x, empty: %d\n", in adf_bank_show() 163 (empty & 1 << ring->ring_number) >> in adf_bank_show()
|
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_transport_debug.c | 49 int head, tail, empty; in adf_ring_show() local 55 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_ring_show() 62 seq_printf(sfile, "head %x, tail %x, empty: %d\n", in adf_ring_show() 63 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show() 157 int head, tail, empty; in adf_bank_show() local 166 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_bank_show() 169 "ring num %02d, head %04x, tail %04x, empty: %d\n", in adf_bank_show() 171 (empty & 1 << ring->ring_number) >> in adf_bank_show()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl8712_efuse.c | 146 static u8 efuse_is_empty(struct _adapter *adapter, u8 *empty) in efuse_is_empty() argument 150 /* read one byte to check if E-Fuse is empty */ in efuse_is_empty() 153 *empty = true; in efuse_is_empty() 155 *empty = false; in efuse_is_empty() 488 u8 offset, word_en, empty; in r8712_efuse_map_write() local 495 empty = r8712_read8(adapter, EFUSE_CLK_CTRL); in r8712_efuse_map_write() 496 if (empty != 0x03) in r8712_efuse_map_write() 498 if (efuse_is_empty(adapter, &empty)) { in r8712_efuse_map_write() 499 if (empty) in r8712_efuse_map_write() 505 if (!empty) in r8712_efuse_map_write() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl8712_efuse.c | 146 static u8 efuse_is_empty(struct _adapter *adapter, u8 *empty) in efuse_is_empty() argument 150 /* read one byte to check if E-Fuse is empty */ in efuse_is_empty() 153 *empty = true; in efuse_is_empty() 155 *empty = false; in efuse_is_empty() 486 u8 offset, word_en, empty; in r8712_efuse_map_write() local 493 empty = r8712_read8(adapter, EFUSE_CLK_CTRL); in r8712_efuse_map_write() 494 if (empty != 0x03) in r8712_efuse_map_write() 496 if (efuse_is_empty(adapter, &empty)) { in r8712_efuse_map_write() 497 if (empty) in r8712_efuse_map_write() 503 if (!empty) in r8712_efuse_map_write() [all...] |
/test/xts/acts/multimedia/av_codec/audio_encoder/src/ |
H A D | avcodec_audio_avbuffer_encoder_demo.cpp | 362 while (!signal_->inQueue_.empty()) { in Stop() 365 while (!signal_->inBufferQueue_.empty()) { in Stop() 377 while (!signal_->outQueue_.empty()) { in Stop() 380 while (!signal_->outBufferQueue_.empty()) { in Stop() 397 while (!signal_->inQueue_.empty()) { in Flush() 400 while (!signal_->inBufferQueue_.empty()) { in Flush() 413 while (!signal_->outQueue_.empty()) { in Flush() 416 while (!signal_->outBufferQueue_.empty()) { in Flush() 655 if (!signal_->inBufferQueue_.empty()) { in PushInputData() 676 if (!signal_->inBufferQueue_.empty()) { in PushInputDataEOS() [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | pcm_params.h | 222 i->empty = 0; in snd_interval_any() 227 i->empty = 1; in snd_interval_none() 238 return i->empty; in snd_interval_empty() 291 if (i1->empty) in snd_interval_eq() 292 return i2->empty; in snd_interval_eq() 293 if (i2->empty) in snd_interval_eq() 294 return i1->empty; in snd_interval_eq()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | pcm_params.h | 222 i->empty = 0; in snd_interval_any() 227 i->empty = 1; in snd_interval_none() 238 return i->empty; in snd_interval_empty() 291 if (i1->empty) in snd_interval_eq() 292 return i2->empty; in snd_interval_eq() 293 if (i2->empty) in snd_interval_eq() 294 return i1->empty; in snd_interval_eq()
|
/test/testfwk/arkxtest/uitest/record/ |
H A D | pointer_info.cpp | 38 if (!first_event_attr.empty()) { in WriteData() 48 if (!last_event_attr.empty()) { in WriteData() 70 if (first_event_attr.empty()) { in WriteWindowData() 81 if (first_event_attr.empty()) { in WriteWindowData() 90 if (last_event_attr.empty()) { in WriteWindowData()
|
H A D | external_calls.cpp | 30 if (elementName.GetBundleName().empty()) { in GetFrontAbility() 36 if (elementName.GetAbilityName().empty()) { in GetFrontAbility()
|
/kernel/linux/linux-5.10/fs/quota/ |
H A D | quota_v2.c | 222 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() local 234 memset(&empty, 0, sizeof(struct v2r0_disk_dqblk)); in v2r0_disk2memdqb() 235 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb() 236 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb() 275 struct v2r1_disk_dqblk *d = dp, empty; in v2r1_disk2memdqb() local 287 memset(&empty, 0, sizeof(struct v2r1_disk_dqblk)); in v2r1_disk2memdqb() 288 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb() 289 if (!memcmp(&empty, dp, sizeof(struct v2r1_disk_dqblk))) in v2r1_disk2memdqb()
|
/kernel/linux/linux-6.6/fs/quota/ |
H A D | quota_v2.c | 222 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() local 234 memset(&empty, 0, sizeof(struct v2r0_disk_dqblk)); in v2r0_disk2memdqb() 235 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb() 236 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb() 275 struct v2r1_disk_dqblk *d = dp, empty; in v2r1_disk2memdqb() local 287 memset(&empty, 0, sizeof(struct v2r1_disk_dqblk)); in v2r1_disk2memdqb() 288 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb() 289 if (!memcmp(&empty, dp, sizeof(struct v2r1_disk_dqblk))) in v2r1_disk2memdqb()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | nnrt_utils.cpp | 25 uint32_t* data = (vector.empty()) ? nullptr : const_cast<uint32_t*>(vector.data()); in TransformUInt32Array() 178 if (!compileParam.cacheDir.empty()) { in CompileGraphMock() 325 if (path.empty()) { in CheckPath() 345 if (path.empty()) { in DeleteFile() 372 if (str2.empty()) { in ConcatPath() 375 if (str1.empty()) { in ConcatPath() 389 if (path.empty()) { in DeleteFolder() 425 if (path.empty()) { in CreateFolder() 426 LOGI("CreateFolder: path is empty"); in CreateFolder()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | nnrt_utils.cpp | 25 uint32_t* data = (vector.empty()) ? nullptr : const_cast<uint32_t*>(vector.data()); in TransformUInt32Array() 178 if (!compileParam.cacheDir.empty()) { in CompileGraphMock() 325 if (path.empty()) { in CheckPath() 345 if (path.empty()) { in DeleteFile() 372 if (str2.empty()) { in ConcatPath() 375 if (str1.empty()) { in ConcatPath() 389 if (path.empty()) { in DeleteFolder() 425 if (path.empty()) { in CreateFolder() 426 LOGI("CreateFolder: path is empty"); in CreateFolder()
|