Home
last modified time | relevance | path

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

123456

/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/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/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/openssh/
Dlog.c390 int pri = LOG_INFO; in do_log() local
401 pri = LOG_CRIT; in do_log()
406 pri = LOG_ERR; in do_log()
409 pri = LOG_INFO; in do_log()
412 pri = LOG_INFO; in do_log()
416 pri = LOG_DEBUG; in do_log()
420 pri = LOG_DEBUG; in do_log()
424 pri = LOG_DEBUG; in do_log()
428 pri = LOG_ERR; in do_log()
451 syslog_r(pri, &sdata, "%.500s", fmtbuf); in do_log()
[all …]
/external/tcpdump/
Dprint-syslog.c83 uint16_t pri = 0; in syslog_print() local
99 pri = pri * 10 + (*(pptr+msg_off) - '0'); in syslog_print()
113 facility = (pri & SYSLOG_FACILITY_MASK) >> 3; in syslog_print()
114 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/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/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()
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()
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()
D8-1.c38 unsigned pri; in main() local
63 if (mq_receive(woqueue, msgrcd, BUFFER, &pri) != -1) { in main()
98 if (mq_receive(woqueue2, msgrcd, BUFFER, &pri) != -1) { in main()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java748 long pri; field in CollationTest.RootElementsIterator
756 pri = 0; in RootElementsIterator()
778 if (pri == p) { in next()
783 assert (pri < p); in next() argument
785 boolean isCompressible = data.isCompressiblePrimary(pri); in next()
786 if ((pri & 0xffff) == 0) { in next()
787 pri = Collation.incTwoBytePrimaryByOffset(pri, isCompressible, step); in next()
789 pri = Collation.incThreeBytePrimaryByOffset(pri, isCompressible, step); in next()
795 pri = p; in next()
820 return pri; in getPrimary()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java747 long pri; field in CollationTest.RootElementsIterator
755 pri = 0; in RootElementsIterator()
777 if (pri == p) { in next()
782 assert (pri < p); in next() argument
784 boolean isCompressible = data.isCompressiblePrimary(pri); in next()
785 if ((pri & 0xffff) == 0) { in next()
786 pri = Collation.incTwoBytePrimaryByOffset(pri, isCompressible, step); in next()
788 pri = Collation.incThreeBytePrimaryByOffset(pri, isCompressible, step); in next()
794 pri = p; in next()
819 return pri; in getPrimary()
[all …]

123456