/external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ |
D | deduct.pass.cpp | 48 std::priority_queue pri(std::greater<int>(), v); // priority_queue(Compare, Container) in main() 50 …static_assert(std::is_same_v<decltype(pri), std::priority_queue<int, std::vector<int>, std::greate… in main() 51 assert(pri.size() == v.size()); in main() 52 assert(pri.top() == 0); in main() 57 …std::priority_queue pri(std::greater<long>(), v, test_allocator<long>(2)); // priority_queue(Compa… in main() 59 static_assert(std::is_same_v<decltype(pri), in main() 61 assert(pri.size() == v.size()); in main() 62 assert(pri.top() == 10); in main() 67 std::priority_queue pri(v.begin(), v.end()); // priority_queue(Iter, Iter) in main() local 69 static_assert(std::is_same_v<decltype(pri), std::priority_queue<short>>, ""); in main() [all …]
|
D | deduct.fail.cpp | 27 …std::priority_queue pri(std::greater<int>(), std::deque<int>({1,2,3}), 45); // expected-error {{n… in main() 34 …std::priority_queue pri(source, 45); // expected-error {{no viable constructor or deduction guide… in main() local 40 …std::priority_queue pri(15, 17, std::greater<double>()); // expected-error {{no viable constructo… in main() local 46 …std::priority_queue pri(23.f, 2.f, std::greater<float>(), std::deque<float>()); // expected-erro… in main() local 52 …std::priority_queue pri((std::allocator<int>())); // expected-error {{no viable constructor or de… in main()
|
/external/ipsec-tools/src/racoon/ |
D | plog.c | 97 plog_common(pri, fmt, func) in plog_common() argument 98 int pri; in plog_common() 119 if (pri < ARRAYLEN(ptab)) { 120 len = snprintf(p, reslen, "%s: ", ptab[pri].name); 141 _plog(int pri, const char *func, struct sockaddr *sa, const char *fmt, ...) in _plog() argument 146 plogv(pri, func, sa, fmt, ap); in _plog() 151 plogv(int pri, const char *func, struct sockaddr *sa, in plogv() argument 157 if (pri > loglevel) in plogv() 160 newfmt = plog_common(pri, fmt, func); in plogv() 170 if (pri < ARRAYLEN(ptab)) in plogv() [all …]
|
D | proposal.c | 900 printsaprop(pri, pp) in printsaprop() argument 901 const int pri; in printsaprop() 907 plog(pri, LOCATION, NULL, "(null)"); 912 printsaprop0(pri, p); 922 printsaprop0(pri, pp) in printsaprop0() argument 923 int pri; in printsaprop0() 932 printsaproto(pri, p); 939 printsaproto(pri, pr) in printsaproto() argument 940 const int pri; in printsaproto() 948 plog(pri, LOCATION, NULL, [all …]
|
/external/tcpdump/tests/ |
D | medsa-e.out | 1 …pe MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0… 2 …ertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (… 3 …hertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (… 4 …pe MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0… 5 …pe MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0… 6 …ertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (… 7 …ertype MEDSA (0xdada), length 98: From_CPU, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (… 8 …hertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (… 9 …hertype MEDSA (0xdada), length 98: Forward, untagged, dev.port:vlan 0.3:0, pri 0: ethertype IPv4 (… 10 …pe MEDSA (0xdada), length 68: To_CPU, untagged, dev.port:vlan 0.2:0, BDPU, pri 7: LLC, dsap STP (0… [all …]
|
/external/vboot_reference/utility/ |
D | tpm_init_temp_fix.c | 29 int pri = LOG_USER | LOG_ERR; in main() local 43 syslog(pri, "TPM selftest failed with code 0x%x\n", result); in main() 51 syslog(pri, "TPM assertpp failed with code 0x%x\n", result); in main() 57 syslog(pri, "TPM getflags failed with code 0x%x\n", result); in main() 64 syslog(pri, "TPM physical enable failed with code 0x%x\n", result); in main() 72 syslog(pri, "TPM physical activate failed with code 0x%x\n", result); in main()
|
/external/skia/src/core/ |
D | SkBitmapProcState.h | 135 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument 139 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument 145 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument 146 SkASSERT((uint16_t)pri == pri); in pack_two_shorts() 148 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts() 151 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
|
/external/skqp/src/core/ |
D | SkBitmapProcState.h | 135 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument 139 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument 145 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument 146 SkASSERT((uint16_t)pri == pri); in pack_two_shorts() 148 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts() 151 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
|
/external/openssh/ |
D | log.c | 400 int pri = LOG_INFO; in do_log() local 411 pri = LOG_CRIT; in do_log() 416 pri = LOG_ERR; in do_log() 419 pri = LOG_INFO; in do_log() 422 pri = LOG_INFO; in do_log() 426 pri = LOG_DEBUG; in do_log() 430 pri = LOG_DEBUG; in do_log() 434 pri = LOG_DEBUG; in do_log() 438 pri = LOG_ERR; in do_log() 462 syslog_r(pri, &sdata, "%.500s", fmtbuf); in do_log() [all …]
|
/external/tcpdump/ |
D | print-syslog.c | 84 uint16_t pri = 0; in syslog_print() local 100 pri = pri * 10 + (*(pptr+msg_off) - '0'); in syslog_print() 114 facility = (pri & SYSLOG_FACILITY_MASK) >> 3; in syslog_print() 115 severity = pri & SYSLOG_SEVERITY_MASK; in syslog_print()
|
/external/wpa_supplicant_8/src/common/ |
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() 327 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4() 333 pri, sec, pri_chan, in check_40mhz_2g4() 334 sec > pri ? '+' : '-', in check_40mhz_2g4() 351 MACSTR, pri, MAC2STR(bss->bssid)); in check_40mhz_2g4() 582 int ht40_plus, int pri) in chan_bw_allowed() argument [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/ |
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()
|
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()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
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()
|
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()
|
/external/iputils/ninfod/ |
D | ninfod.h | 88 # define DEBUG(pri, fmt, args...) do { \ argument 90 if (opt_v || pri != LOG_DEBUG) { \ 92 syslog(pri, fmt, ## args); \ 94 stderrlog(pri, fmt, ## args); \ 100 # define DEBUG(pri, fmt, args...) do { ; } while(0) argument
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationFastLatinBuilder.java | 414 int pri = 0; in encodeUniqueCEs() local 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 < (CollationFastLatin.MAX_SHORT - CollationFastLatin.SHORT_INC)) { in encodeUniqueCEs() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationFastLatinBuilder.java | 413 int pri = 0; in encodeUniqueCEs() local 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 < (CollationFastLatin.MAX_SHORT - CollationFastLatin.SHORT_INC)) { in encodeUniqueCEs() [all …]
|
/external/toybox/toys/other/ |
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()
|
/external/icu/icu4c/source/i18n/ |
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 < (CollationFastLatin::MAX_SHORT - CollationFastLatin::SHORT_INC)) { in encodeUniqueCEs() [all …]
|
/external/python/cpython2/Modules/ |
D | syslogmodule.c | 208 long pri; in syslog_log_mask() local 209 if (!PyArg_ParseTuple(args, "l:LOG_MASK", &pri)) in syslog_log_mask() 211 mask = LOG_MASK(pri); in syslog_log_mask() 219 long pri; in syslog_log_upto() local 220 if (!PyArg_ParseTuple(args, "l:LOG_UPTO", &pri)) in syslog_log_upto() 222 mask = LOG_UPTO(pri); in syslog_log_upto()
|
/external/python/cpython3/Modules/ |
D | syslogmodule.c | 220 long pri; in syslog_log_mask() local 221 if (!PyArg_ParseTuple(args, "l:LOG_MASK", &pri)) in syslog_log_mask() 223 mask = LOG_MASK(pri); in syslog_log_mask() 231 long pri; in syslog_log_upto() local 232 if (!PyArg_ParseTuple(args, "l:LOG_UPTO", &pri)) in syslog_log_upto() 234 mask = LOG_UPTO(pri); in syslog_log_upto()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 8-2.c | 59 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()
|
D | 9-2.c | 59 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()
|
/external/toybox/toys/android/ |
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()
|