Home
last modified time | relevance | path

Searched refs:pri (Results 1 – 25 of 116) sorted by relevance

12345

/external/ipsec-tools/src/racoon/
Dplog.c97 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 …]
Dproposal.c900 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 …]
Dplog.h93 #define plog(pri, ...) \ argument
95 if ((pri) <= loglevel) \
96 _plog((pri), __VA_ARGS__); \
/external/tcpdump/tests/
Dmedsa-e.out1 …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/toybox/toys/android/
Dlog.c27 char *pri;
32 android_LogPriority pri = ANDROID_LOG_INFO; local
36 if (TT.pri) {
37 i = stridx("defisvw", tolower(*TT.pri));
38 if (i==-1 || strlen(TT.pri)!=1) error_exit("bad -p '%s'", TT.pri);
39 pri = (android_LogPriority []){ANDROID_LOG_DEBUG, ANDROID_LOG_ERROR,
57 __android_log_write(pri, TT.tag, toybuf);
/external/valgrind/VEX/priv/
Dhost_generic_regs.h400 RetLocPrimary pri; member
411 static inline RetLoc mk_RetLoc_simple ( RetLocPrimary pri ) { in mk_RetLoc_simple() argument
412 vassert(pri >= RLPri_INVALID && pri <= RLPri_2Int); in mk_RetLoc_simple()
413 return (RetLoc){pri, 0}; in mk_RetLoc_simple()
416 static inline RetLoc mk_RetLoc_spRel ( RetLocPrimary pri, Int off ) { in mk_RetLoc_spRel() argument
417 vassert(pri >= RLPri_V128SpRel && pri <= RLPri_V256SpRel); in mk_RetLoc_spRel()
418 return (RetLoc){pri, off}; in mk_RetLoc_spRel()
422 switch (rloc.pri) { in is_sane_RetLoc()
437 return rl.pri == RLPri_INVALID && rl.spOff == 0; in is_RetLoc_INVALID()
/external/vboot_reference/utility/
Dtpm_init_temp_fix.c29 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/skqp/src/core/
DSkBitmapProcState.h160 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument
164 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument
170 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument
171 SkASSERT((uint16_t)pri == pri); in pack_two_shorts()
173 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts()
176 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
/external/skia/src/core/
DSkBitmapProcState.h160 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument
164 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument
170 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument
171 SkASSERT((uint16_t)pri == pri); in pack_two_shorts()
173 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts()
176 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
/external/toybox/toys/other/
Dchrt.c45 int pol, pri; in chrt_main() local
65 if (sched_getparam(TT.pid, (void *)&pri)) perror_exit("sched_getparam"); in chrt_main()
66 printf("pid %ld's current scheduling priority: %d\n", TT.pid, pri); in chrt_main()
77 pri = atolx_range(*toys.optargs, sched_get_priority_min(pol), in chrt_main()
81 if (sched_setscheduler(TT.pid, pol, (void *)&pri)) in chrt_main()
/external/tcpdump/
Dprint-syslog.c84 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/
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()
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()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
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()
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()
/external/iputils/ninfod/
Dninfod.h88 # 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/
DCollationFastLatinBuilder.java414 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/
DCollationFastLatinBuilder.java413 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/icu/icu4c/source/i18n/
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 < (CollationFastLatin::MAX_SHORT - CollationFastLatin::SHORT_INC)) { in encodeUniqueCEs()
[all …]
/external/python/cpython2/Modules/
Dsyslogmodule.c208 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/wpa_supplicant_8/src/common/
Dhw_features_common.c288 int pri = bss->freq; in check_40mhz_2g4() local
289 int sec = pri; in check_40mhz_2g4()
304 sec = pri - 20; in check_40mhz_2g4()
306 sec = pri + 20; in check_40mhz_2g4()
309 if ((pri < affected_start || pri > affected_end) && in check_40mhz_2g4()
318 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4()
324 pri, sec, pri_chan, in check_40mhz_2g4()
325 sec > pri ? '+' : '-', in check_40mhz_2g4()
342 MACSTR, pri, MAC2STR(bss->bssid)); in check_40mhz_2g4()
/external/python/cpython3/Modules/
Dsyslogmodule.c222 long pri; in syslog_log_mask() local
223 if (!PyArg_ParseTuple(args, "l:LOG_MASK", &pri)) in syslog_log_mask()
225 mask = LOG_MASK(pri); in syslog_log_mask()
233 long pri; in syslog_log_upto() local
234 if (!PyArg_ParseTuple(args, "l:LOG_UPTO", &pri)) in syslog_log_upto()
236 mask = LOG_UPTO(pri); in syslog_log_upto()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
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()
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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java753 long pri; field in CollationTest.RootElementsIterator
761 pri = 0; in RootElementsIterator()
783 if (pri == p) { in next()
788 assert (pri < p); in next() argument
790 boolean isCompressible = data.isCompressiblePrimary(pri); in next()
791 if ((pri & 0xffff) == 0) { in next()
792 pri = Collation.incTwoBytePrimaryByOffset(pri, isCompressible, step); in next()
794 pri = Collation.incThreeBytePrimaryByOffset(pri, isCompressible, step); in next()
800 pri = p; in next()
825 return pri; in getPrimary()
[all …]

12345