Lines Matching refs:PRI
35 #define KMSG_PRIORITY(PRI) \
37 '0' + (LOG_SYSLOG | (PRI)) / 10, \
38 '0' + (LOG_SYSLOG | (PRI)) % 10, \
449 int pri = LOG_USER | LOG_INFO;
452 pri = 0;
454 pri = (pri * 10) + *cp - '0';
460 pri = LOG_USER | LOG_INFO;
464 return pri;
512 static int convertKernelPrioToAndroidPrio(int pri) {
513 switch(pri & LOG_PRIMASK) {
554 // Filter rules to parse <PRI> <TIME> <tag> and <message> in order for
558 // <PRI>[<TIME>] <tag> ":" <message>
559 // <PRI>[<TIME>] <tag> <tag> ":" <message>
560 // <PRI>[<TIME>] <tag> <tag>_work ":" <message>
561 // <PRI>[<TIME>] <tag> '<tag>.<num>' ":" <message>
562 // <PRI>[<TIME>] <tag> '<tag><num>' ":" <message>
563 // <PRI>[<TIME>] <tag>_host '<tag>.<num>' ":" <message>
564 // (unimplemented) <PRI>[<TIME>] <tag> '<num>.<tag>' ":" <message>
565 // <PRI>[<TIME>] "[INFO]"<tag> : <message>
566 // <PRI>[<TIME>] "------------[ cut here ]------------" (?)
567 // <PRI>[<TIME>] "---[ end trace 3225a3070ca3e4ac ]---" (?)
570 // <PRI+TAG>[<TIME>] (see sys/syslog.h)
590 int pri = parseKernelPrio(&p, len);
644 // <PRI>[<TIME>] "[INFO]"<tag> ":" message
679 // <PRI>[<TIME>] <tag> <tag> : message
680 // <PRI>[<TIME>] <tag> <tag>: message
681 // <PRI>[<TIME>] <tag> '<tag>.<num>' : message
682 // <PRI>[<TIME>] <tag> '<tag><num>' : message
683 // <PRI>[<TIME>] <tag> '<tag><stuff>' : message
696 // what about <PRI>[<TIME>] <tag>_host '<tag><stuff>' : message
720 // <PRI>[<TIME>] <tag> <stuff>' : message
810 *np = convertKernelPrioToAndroidPrio(pri);