Lines Matching refs:keyName
160 public static String getShortKeyName(String keyName) { in getShortKeyName() argument
161 if (keyName == null) return null ; in getShortKeyName()
162 int idx = keyName.lastIndexOf("/") ; in getShortKeyName()
163 if (idx < 0) return keyName ; in getShortKeyName()
164 else return keyName.substring(idx + 1) ; in getShortKeyName()
191 String keyName = getShortKeyName(keyNames1[i]) ; in compareKeyTrees() local
192 XRegistryKey key2 = tree2.openKey(keyName) ; in compareKeyTrees()
198 if (!tree1.getKeyType(keyName).equals( in compareKeyTrees()
199 tree2.getKeyType(keyName))) in compareKeyTrees()
202 if (tree1.getKeyType(keyName).equals( in compareKeyTrees()
205 if (!getShortKeyName(tree1.getLinkTarget(keyName)).equals( in compareKeyTrees()
206 getShortKeyName(tree2.getLinkTarget(keyName)))) in compareKeyTrees()
211 if (compareKeyTrees(tree1.openKey(keyName), in compareKeyTrees()
212 tree2.openKey(keyName), true) == false) return false ; in compareKeyTrees()
285 String keyName, PrintWriter out, String margin) in printKeyInfo() argument
289 keyName = getShortKeyName(keyName) ; in printKeyInfo()
290 XRegistryKey key = parentKey.openKey(keyName) ; in printKeyInfo()
307 if (parentKey.getKeyType(keyName) == RegistryKeyType.LINK) { in printKeyInfo()
308 out.println("(link to " + parentKey.getLinkTarget(keyName) + ")") ; in printKeyInfo()