/third_party/skia/src/core/ |
H A D | SkBitmapProcState.h | 119 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) 123 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) 129 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument 130 SkASSERT((uint16_t)pri == pri); in pack_two_shorts() 132 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts() 135 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, se [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_tnode.c | 46 uint64_t seq, uint8_t pri) { in nghttp3_tnode_init() 47 assert(nghttp3_pri_uint8_urgency(pri) < NGHTTP3_URGENCY_LEVELS); in nghttp3_tnode_init() 53 tnode->pri = pri; in nghttp3_tnode_init() 90 ((nwrite == 0 || !nghttp3_pri_uint8_inc(tnode->pri)) in nghttp3_tnode_schedule() 94 if (!nghttp3_pri_uint8_inc(tnode->pri) || nghttp3_pq_size(pq) == 1) { in nghttp3_tnode_schedule() 45 nghttp3_tnode_init(nghttp3_tnode *tnode, const nghttp3_node_id *nid, uint64_t seq, uint8_t pri) nghttp3_tnode_init() argument
|
/third_party/toybox/toys/other/ |
H A D | chrt.c | 58 int pol, pri; in chrt_main() local 78 if (sched_getparam(TT.p, (void *)&pri)) perror_exit("sched_getparam"); in chrt_main() 79 printf("pid %ld's current scheduling priority: %d\n", TT.p, pri); in chrt_main() 90 pri = atolx_range(*toys.optargs, sched_get_priority_min(pol), in chrt_main() 94 if (sched_setscheduler(TT.p, pol, (void *)&pri)) in chrt_main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/ |
H A D | 3-2.c | 55 unsigned pri; in main() local 97 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 107 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 117 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 127 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 137 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main()
|
H A D | 3-1.c | 53 unsigned pri; in main() local 90 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 100 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 110 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 120 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 130 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
H A D | 3-2.c | 58 unsigned pri; in main() local 106 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 116 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 126 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 136 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 146 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main()
|
H A D | 3-1.c | 56 unsigned pri; in main() local 99 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 109 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 119 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 129 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main() 139 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main()
|
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/ |
H A D | core_feature_eclic.h | 638 * \param [in] pri Interrupt priority 641 * - If pri to be set is larger than the max priority allowed, it will be force to be max priority. 647 __STATIC_FORCEINLINE void __ECLIC_SetPriorityIRQ(IRQn_Type IRQn, uint8_t pri) in __ECLIC_SetPriorityIRQ() argument 653 if (pri > maxpri) { in __ECLIC_SetPriorityIRQ() 654 pri = maxpri; in __ECLIC_SetPriorityIRQ() 656 pri = pri << (ECLIC_MAX_NLBITS - intctlbits); in __ECLIC_SetPriorityIRQ() 658 pri = pri | mask; in __ECLIC_SetPriorityIRQ() 662 __ECLIC_SetCtrlIRQ(IRQn, (cur_ctrl | pri)); in __ECLIC_SetPriorityIRQ() 683 uint8_t pri = cur_ctrl << nlbits; __ECLIC_GetPriorityIRQ() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 444 uint32_t pri = 0; in encodeUniqueCEs() local 454 U_ASSERT(pri <= CollationFastLatin::MAX_LONG); in encodeUniqueCEs() 457 result.setCharAt(1 + group, (UChar)pri); in encodeUniqueCEs() 466 if(pri == 0) { in encodeUniqueCEs() 467 pri = CollationFastLatin::MIN_LONG; in encodeUniqueCEs() 468 } else if(pri < CollationFastLatin::MAX_LONG) { in encodeUniqueCEs() 469 pri += CollationFastLatin::LONG_INC; in encodeUniqueCEs() 478 if(pri < CollationFastLatin::MIN_SHORT) { in encodeUniqueCEs() 479 pri = CollationFastLatin::MIN_SHORT; in encodeUniqueCEs() 480 } else if(pri < (CollationFastLati in encodeUniqueCEs() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 444 uint32_t pri = 0; in encodeUniqueCEs() local 454 U_ASSERT(pri <= CollationFastLatin::MAX_LONG); in encodeUniqueCEs() 457 result.setCharAt(1 + group, (char16_t)pri); in encodeUniqueCEs() 466 if(pri == 0) { in encodeUniqueCEs() 467 pri = CollationFastLatin::MIN_LONG; in encodeUniqueCEs() 468 } else if(pri < CollationFastLatin::MAX_LONG) { in encodeUniqueCEs() 469 pri += CollationFastLatin::LONG_INC; in encodeUniqueCEs() 478 if(pri < CollationFastLatin::MIN_SHORT) { in encodeUniqueCEs() 479 pri = CollationFastLatin::MIN_SHORT; in encodeUniqueCEs() 480 } else if(pri < (CollationFastLati in encodeUniqueCEs() [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-sx150x.c | 91 } pri; member 161 .pri.x123 = { 181 .pri.x123 = { 204 .pri.x123 = { 227 .pri.x456 = { 246 .pri.x456 = { 268 .pri.x456 = { 291 .pri.x789 = { 312 .pri.x789 = { 333 .pri [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/ |
H A D | pinctrl-sx150x.c | 90 } pri; member 159 .pri.x123 = { 179 .pri.x123 = { 202 .pri.x123 = { 225 .pri.x456 = { 244 .pri.x456 = { 266 .pri.x456 = { 289 .pri.x789 = { 310 .pri.x789 = { 331 .pri [all...] |
/kernel/uniproton/src/arch/cpu/armv7-m/common/hwi/ |
H A D | prt_hwi_internal.h | 99 #define NVIC_SET_IRQ_PRI(hwiNum, pri) \ 101 *(volatile U8 *)((uintptr_t)OS_NVIC_PRI_BASE + (hwiNum)) = (U8)(pri); \ 105 #define NVIC_SET_EXC_PRI(excNum, pri) \ 107 *(volatile U8 *)((uintptr_t)OS_NVIC_EXCPRI_BASE + ((excNum) - 4)) = (U8)(pri); \
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | hw_features_common.c | 317 int pri = bss->freq; in check_40mhz_2g4() local 318 int sec = pri; in check_40mhz_2g4() 333 sec = pri - 20; in check_40mhz_2g4() 335 sec = pri + 20; in check_40mhz_2g4() 338 if ((pri < affected_start || pri > affected_end) && in check_40mhz_2g4() 343 " freq=%d pri=%d sec=%d", in check_40mhz_2g4() 347 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4() 349 "40 MHz pri/sec mismatch with BSS " in check_40mhz_2g4() 353 pri, se in check_40mhz_2g4() 767 chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, int ht40_plus, int pri) chan_bw_allowed() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | hw_features_common.c | 297 int pri = bss->freq; in check_40mhz_2g4() local 298 int sec = pri; in check_40mhz_2g4() 313 sec = pri - 20; in check_40mhz_2g4() 315 sec = pri + 20; in check_40mhz_2g4() 318 if ((pri < affected_start || pri > affected_end) && in check_40mhz_2g4() 323 " freq=%d pri=%d sec=%d", in check_40mhz_2g4() 327 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4() 329 "40 MHz pri/sec mismatch with BSS " in check_40mhz_2g4() 333 pri, se in check_40mhz_2g4() 586 chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, int ht40_plus, int pri) chan_bw_allowed() argument [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationFastLatinBuilder.java | 413 int pri = 0; in encodeUniqueCEs() 423 assert(pri <= CollationFastLatin.MAX_LONG); in encodeUniqueCEs() 426 result.setCharAt(1 + group, (char)pri); in encodeUniqueCEs() 435 if(pri == 0) { in encodeUniqueCEs() 436 pri = CollationFastLatin.MIN_LONG; in encodeUniqueCEs() 437 } else if(pri < CollationFastLatin.MAX_LONG) { in encodeUniqueCEs() 438 pri += CollationFastLatin.LONG_INC; in encodeUniqueCEs() 447 if(pri < CollationFastLatin.MIN_SHORT) { in encodeUniqueCEs() 448 pri = CollationFastLatin.MIN_SHORT; in encodeUniqueCEs() 449 } else if(pri < (CollationFastLati in encodeUniqueCEs() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationFastLatinBuilder.java | 414 int pri = 0; in encodeUniqueCEs() 424 assert(pri <= CollationFastLatin.MAX_LONG); in encodeUniqueCEs() 427 result.setCharAt(1 + group, (char)pri); in encodeUniqueCEs() 436 if(pri == 0) { in encodeUniqueCEs() 437 pri = CollationFastLatin.MIN_LONG; in encodeUniqueCEs() 438 } else if(pri < CollationFastLatin.MAX_LONG) { in encodeUniqueCEs() 439 pri += CollationFastLatin.LONG_INC; in encodeUniqueCEs() 448 if(pri < CollationFastLatin.MIN_SHORT) { in encodeUniqueCEs() 449 pri = CollationFastLatin.MIN_SHORT; in encodeUniqueCEs() 450 } else if(pri < (CollationFastLati in encodeUniqueCEs() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | device.h | 29 void __iomem *pri; member 114 #define nvkm_rd08(d,a) ioread8((d)->pri + (a)) 115 #define nvkm_rd16(d,a) ioread16_native((d)->pri + (a)) 116 #define nvkm_rd32(d,a) ioread32_native((d)->pri + (a)) 117 #define nvkm_wr08(d,a,v) iowrite8((v), (d)->pri + (a)) 118 #define nvkm_wr16(d,a,v) iowrite16_native((v), (d)->pri + (a)) 119 #define nvkm_wr32(d,a,v) iowrite32_native((v), (d)->pri + (a))
|
/third_party/libevdev/test/ |
H A D | test-libevdev-init.c | 149 enum libevdev_log_priority pri; in START_TEST() local 154 pri = LIBEVDEV_LOG_DEBUG; in START_TEST() 155 libevdev_set_log_priority(pri); in START_TEST() 156 ck_assert_int_eq(libevdev_get_log_priority(), pri); in START_TEST() local 158 pri = LIBEVDEV_LOG_INFO; in START_TEST() 159 libevdev_set_log_priority(pri); in START_TEST() 160 ck_assert_int_eq(libevdev_get_log_priority(), pri); in START_TEST() local 162 pri = LIBEVDEV_LOG_ERROR; in START_TEST() 163 libevdev_set_log_priority(pri); in START_TEST() 164 ck_assert_int_eq(libevdev_get_log_priority(), pri); in START_TEST() local 174 ck_assert_int_eq(libevdev_get_log_priority(), pri); START_TEST() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
H A D | hypervisor.c | 65 uint32_t pri, max_pri = 0; in detect_hypervisor_vendor() local 71 pri = (*p)->detect(); in detect_hypervisor_vendor() 72 if (pri > max_pri) { in detect_hypervisor_vendor() 73 max_pri = pri; in detect_hypervisor_vendor()
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/ |
H A D | hypervisor.c | 65 uint32_t pri, max_pri = 0; in detect_hypervisor_vendor() local 71 pri = (*p)->detect(); in detect_hypervisor_vendor() 72 if (pri > max_pri) { in detect_hypervisor_vendor() 73 max_pri = pri; in detect_hypervisor_vendor()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | linux_interrupt.c | 82 unsigned int pri) in irq_bottom_half() 94 if ((pri >= OS_WORK_PRIORITY_DEFAULT) || (pri >= OS_WORK_PRIORITY_LOWEST)) { in irq_bottom_half() 108 work->work_pri = pri; in irq_bottom_half() 81 irq_bottom_half(struct workqueue_struct *workQueue, irq_bottom_half_handler_t handler, void *data, unsigned int pri) irq_bottom_half() argument
|
/third_party/python/Modules/ |
H A D | syslogmodule.c | 254 long pri; in syslog_log_mask() local 255 if (!PyArg_ParseTuple(args, "l:LOG_MASK", &pri)) in syslog_log_mask() 257 mask = LOG_MASK(pri); in syslog_log_mask() 265 long pri; in syslog_log_upto() local 266 if (!PyArg_ParseTuple(args, "l:LOG_UPTO", &pri)) in syslog_log_upto() 268 mask = LOG_UPTO(pri); in syslog_log_upto()
|
/third_party/toybox/toys/android/ |
H A D | log.c | 30 android_LogPriority pri = ANDROID_LOG_INFO; in log_main() local 37 pri = (android_LogPriority []){ANDROID_LOG_DEBUG, ANDROID_LOG_ERROR, in log_main() 55 __android_log_write(pri, TT.t, toybuf); in log_main()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 444 uint32_t pri = 0; in encodeUniqueCEs() local 454 U_ASSERT(pri <= CollationFastLatin::MAX_LONG); in encodeUniqueCEs() 457 result.setCharAt(1 + group, (UChar)pri); in encodeUniqueCEs() 466 if(pri == 0) { in encodeUniqueCEs() 467 pri = CollationFastLatin::MIN_LONG; in encodeUniqueCEs() 468 } else if(pri < CollationFastLatin::MAX_LONG) { in encodeUniqueCEs() 469 pri += CollationFastLatin::LONG_INC; in encodeUniqueCEs() 478 if(pri < CollationFastLatin::MIN_SHORT) { in encodeUniqueCEs() 479 pri = CollationFastLatin::MIN_SHORT; in encodeUniqueCEs() 480 } else if(pri < (CollationFastLati in encodeUniqueCEs() [all...] |