Home
last modified time | relevance | path

Searched refs:pri (Results 1 - 25 of 94) sorted by relevance

1234

/third_party/nghttp2/tests/
H A Dnghttp2_http_test.c40 nghttp2_extpri pri = {(uint32_t)-1, -1}; in test_nghttp2_http_parse_priority() local
43 rv = nghttp2_http_parse_priority(&pri, v, sizeof(v) - 1); in test_nghttp2_http_parse_priority()
46 CU_ASSERT((uint32_t)-1 == pri.urgency); in test_nghttp2_http_parse_priority()
47 CU_ASSERT(-1 == pri.inc); in test_nghttp2_http_parse_priority()
51 nghttp2_extpri pri = {(uint32_t)-1, -1}; in test_nghttp2_http_parse_priority() local
54 rv = nghttp2_http_parse_priority(&pri, v, sizeof(v) - 1); in test_nghttp2_http_parse_priority()
57 CU_ASSERT((uint32_t)7 == pri.urgency); in test_nghttp2_http_parse_priority()
58 CU_ASSERT(1 == pri.inc); in test_nghttp2_http_parse_priority()
62 nghttp2_extpri pri = {(uint32_t)-1, -1}; in test_nghttp2_http_parse_priority() local
65 rv = nghttp2_http_parse_priority(&pri, in test_nghttp2_http_parse_priority()
73 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
84 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
95 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
104 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
113 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
122 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
131 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
142 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
151 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
160 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
169 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
178 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
187 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
199 nghttp2_extpri pri = {(uint32_t)-1, -1}; test_nghttp2_http_parse_priority() local
[all...]
H A Dnghttp2_extpri_test.c37 nghttp2_extpri pri = {1, 0}; in test_nghttp2_extpri_to_uint8() local
38 CU_ASSERT(1 == nghttp2_extpri_to_uint8(&pri)); in test_nghttp2_extpri_to_uint8()
41 nghttp2_extpri pri = {1, 1}; in test_nghttp2_extpri_to_uint8() local
42 CU_ASSERT((0x80 | 1) == nghttp2_extpri_to_uint8(&pri)); in test_nghttp2_extpri_to_uint8()
45 nghttp2_extpri pri = {7, 1}; in test_nghttp2_extpri_to_uint8() local
46 CU_ASSERT((0x80 | 7) == nghttp2_extpri_to_uint8(&pri)); in test_nghttp2_extpri_to_uint8()
49 nghttp2_extpri pri = {7, 0}; in test_nghttp2_extpri_to_uint8() local
50 CU_ASSERT(7 == nghttp2_extpri_to_uint8(&pri)); in test_nghttp2_extpri_to_uint8()
/third_party/skia/src/core/
H A DSkBitmapProcState.h119 #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 Dnghttp3_tnode.c46 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/
H A D3-2.c55 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 D3-1.c53 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 D3-2.c58 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 D3-1.c56 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()
/third_party/toybox/toys/other/
H A Dchrt.c58 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/icu/icu4c/source/i18n/
H A Dcollationfastlatinbuilder.cpp444 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 Dcollationfastlatinbuilder.cpp444 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...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dhw_features_common.c317 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 Dhw_features_common.c297 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 DCollationFastLatinBuilder.java413 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 DCollationFastLatinBuilder.java414 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...]
/third_party/libevdev/test/
H A Dtest-libevdev-init.c149 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...]
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dlinux_interrupt.c82 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/skia/third_party/externals/icu/source/i18n/
H A Dcollationfastlatinbuilder.cpp444 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/python/Modules/
H A Dsyslogmodule.c254 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 Dlog.c30 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D9-2.c59 unsigned pri; in main() local
97 if (mq_receive(rdwrqueuechild, msgrcd, BUFFER, &pri) == -1) { in main()
115 unsigned pri; in main() local
145 if (mq_receive(rdwrqueue, msgrcd, BUFFER, &pri) == -1) { in main()
H A D8-2.c59 unsigned pri; in main() local
86 if (mq_receive(woqueue, msgrcd, BUFFER, &pri) != -1) { in main()
112 unsigned pri; in main() local
142 if (mq_receive(woqueue, msgrcd, BUFFER, &pri) != -1) { in main()
H A D19-1.c45 unsigned pri; in main() local
60 if (mq_receive(queue, msgrcd, BUFFER, &pri) != -1) { in main()
85 if (mq_receive(queue, msgrcd, BUFFER, &pri) == -1) { in main()
H A D9-1.c42 unsigned pri; in main() local
67 if (mq_receive(rdwrqueue, msgrcd, BUFFER, &pri) == -1) { in main()
101 if (mq_receive(rdwrqueue2, msgrcd2, BUFFER, &pri) == -1) { in main()
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-sockets.c155 lws_plat_set_socket_options_ip(lws_sockfd_type fd, uint8_t pri, int lws_flags) in lws_plat_set_socket_options_ip() argument
157 int optval = (int)pri, ret = 0, n; in lws_plat_set_socket_options_ip()
164 if (pri) { /* 0 is the default already */ in lws_plat_set_socket_options_ip()
169 lwsl_warn("%s: unable to set socket pri %d: errno %d\n", in lws_plat_set_socket_options_ip()
170 __func__, (int)pri, en); in lws_plat_set_socket_options_ip()
174 lwsl_notice("%s: set pri %u\n", __func__, pri); in lws_plat_set_socket_options_ip()

Completed in 12 milliseconds

1234