Home
last modified time | relevance | path

Searched refs:cname (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/util/logging/
DConsoleHandler.java74 String cname = getClass().getName(); in configure() local
76 setLevel(manager.getLevelProperty(cname +".level", Level.INFO)); in configure()
77 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
78 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter())); in configure()
80 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
DSocketHandler.java93 String cname = getClass().getName(); in configure() local
95 setLevel(manager.getLevelProperty(cname +".level", Level.ALL)); in configure()
96 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
97 setFormatter(manager.getFormatterProperty(cname +".formatter", new XMLFormatter())); in configure()
99 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
108 port = manager.getIntProperty(cname + ".port", 0); in configure()
109 host = manager.getStringProperty(cname + ".host", null); in configure()
DLogRecord.java573 String cname = frame.getClassName(); in inferCaller() local
574 boolean isLoggerImpl = isLoggerImplFrame(cname); in inferCaller()
583 … if (!cname.startsWith("java.lang.reflect.") && !cname.startsWith("sun.reflect.")) { in inferCaller()
585 setSourceClassName(cname); in inferCaller()
596 private boolean isLoggerImplFrame(String cname) { in isLoggerImplFrame() argument
598 return (cname.equals("java.util.logging.Logger") || in isLoggerImplFrame()
599 cname.startsWith("java.util.logging.LoggingProxyImpl") || in isLoggerImplFrame()
600 cname.startsWith("sun.util.logging.")); in isLoggerImplFrame()
DMemoryHandler.java103 String cname = getClass().getName(); in configure() local
105 pushLevel = manager.getLevelProperty(cname +".push", Level.SEVERE); in configure()
106 size = manager.getIntProperty(cname + ".size", DEFAULT_SIZE); in configure()
110 setLevel(manager.getLevelProperty(cname +".level", Level.ALL)); in configure()
111 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
112 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter())); in configure()
DStreamHandler.java85 String cname = getClass().getName(); in configure() local
87 setLevel(manager.getLevelProperty(cname +".level", Level.INFO)); in configure()
88 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
89 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter())); in configure()
91 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
DFileHandler.java224 String cname = getClass().getName(); in configure() local
226 pattern = manager.getStringProperty(cname + ".pattern", "%h/java%u.log"); in configure()
227 limit = manager.getIntProperty(cname + ".limit", 0); in configure()
231 count = manager.getIntProperty(cname + ".count", 1); in configure()
235 append = manager.getBooleanProperty(cname + ".append", false); in configure()
236 setLevel(manager.getLevelProperty(cname + ".level", Level.ALL)); in configure()
237 setFilter(manager.getFilterProperty(cname + ".filter", null)); in configure()
238 setFormatter(manager.getFormatterProperty(cname + ".formatter", new XMLFormatter())); in configure()
240 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
DLogManager.java184 String cname = null;
186 cname = System.getProperty("java.util.logging.manager");
187 if (cname != null) {
189 mgr = (LogManager) getClassInstance(cname).newInstance();
192 System.err.println("Could not load Logmanager \"" + cname + "\"");
587 private static Class getClassInstance(String cname) throws ClassNotFoundException { in getClassInstance() argument
589 return ClassLoader.getSystemClassLoader().loadClass(cname); in getClassInstance()
591 return Thread.currentThread().getContextClassLoader().loadClass(cname); in getClassInstance()
1250 String cname = System.getProperty("java.util.logging.config.class"); in readConfiguration() local
1251 if (cname != null) { in readConfiguration()
[all …]
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java144 String cname = name.replace('/', '.'); in checkPackageAccess() local
145 if (cname.startsWith("[")) { in checkPackageAccess()
146 int b = cname.lastIndexOf('[') + 2; in checkPackageAccess()
147 if (b > 1 && b < cname.length()) { in checkPackageAccess()
148 cname = cname.substring(b); in checkPackageAccess()
151 int i = cname.lastIndexOf('.'); in checkPackageAccess()
153 s.checkPackageAccess(cname.substring(0, i)); in checkPackageAccess()
/libcore/ojluni/src/main/java/java/io/
DInvalidClassException.java67 public InvalidClassException(String cname, String reason) { in InvalidClassException() argument
69 classname = cname; in InvalidClassException()
/libcore/ojluni/src/main/java/sun/util/logging/
DPlatformLogger.java162 String cname = System.getProperty("java.util.logging.config.class");
164 return (cname != null || fname != null);
564 String cname = frame.getClassName(); in getCallerInfo() local
567 if (cname.equals(logClassName)) { in getCallerInfo()
571 if (!cname.equals(logClassName)) { in getCallerInfo()
573 sourceClassName = cname; in getCallerInfo()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java722 String cname = lookupClass.getName(); in toString() local
725 return cname + "/noaccess"; in toString()
727 return cname + "/public"; in toString()
729 return cname + "/package"; in toString()
731 return cname + "/private"; in toString()
733 return cname; in toString()
738 cname = cname + "/" + Integer.toHexString(allowedModes); in toString()
739 assert(false) : cname; in toString()
740 return cname; in toString()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogManager.java92 private static java.lang.Class getClassInstance(java.lang.String cname) in getClassInstance() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1712 ScopedUtfChars cname(env, name); in Linux_if_nametoindex() local
1713 if (cname.c_str() == NULL) { in Linux_if_nametoindex()
1718 return if_nametoindex(cname.c_str()); in Linux_if_nametoindex()