/* */ {
/* 158 */ tsLogger.arjLogger.debug(16L, 4L, 16L, "HashedStore.allObjUids(" + tName + ", " + state + ", " + match + ")");
/* */ }
/* */
/* 167 */ String directory = locateStore(getStoreName());
/* 168 */ OutputObjectState store = new OutputObjectState();
/* */
/* 172 */ if ((tName != null) && (tName.charAt(0) == File.separatorChar))
/* 173 */ directory = directory + tName.substring(1, tName.length());
/* */ else {
/* 175 */ directory = directory + tName;
/* */ }
/* 177 */ if (!directory.endsWith(File.separator)) {
/* 178 */ directory = directory + File.separator;
/* */ }
/* 180 */ File f = new File(directory);
/* 181 */ String[] entry = f.list();
/* */
/* 183 */ if ((entry != null) && (entry.length > 0))
/* */ {
/* 185 */ for (int i = 0; i < entry.length; i++)
/* */ {
/* 187 */ if ((!Character.isDigit(entry[i].charAt(1))) && (!entry[i].startsWith("#")))
/* */ continue;
/* 189 */ File dir = new File(directory + entry[i]);
/* */
/* 191 */ if (!dir.isDirectory())
/* */ continue;
/* 193 */ String[] dirEnt = dir.list();
/* */
/* 195 */ for (int j = 0; j < dirEnt.length; j++)
/* */ {
/* */ try
/* */ {
/* 199 */ Uid aUid = new Uid(dirEnt[j], true);
/* */
/* 201 */ if ((!aUid.valid()) || (aUid.equals(Uid.nullUid())))
/* */ {
/* 203 */ String revealed = revealedId(dirEnt[j]);
/* */
/* 207 */ if (present(revealed, dirEnt))
/* 208 */ aUid = null;
/* */ else {
/* 210 */ aUid = new Uid(revealed);
/* */ }
/* */ }
/* 213 */ if ((aUid.notEquals(Uid.nullUid())) && ((match == 0) || (isType(aUid, tName, match))))
/* */ {
/* 216 */ aUid.pack(store);
/* */ }
/* */
/* */ }
/* */ catch (NumberFormatException e)
/* */ {
/* */ }
/* */ catch (IOException e)
/* */ {
/* 227 */ throw new ObjectStoreException(tsLogger.log_mesg.getString("com.arjuna.ats.internal.arjuna.objectstore.HashedStore_5"));
/* */ }
/* */
/* */ }
/* */
/* */ }
/* */
/* */ }
/* */
/* */ try
/* */ {
/* 243 */ Uid.nullUid().pack(store);
/* */ }
/* */ catch (IOException e)
/* */ {
/* 247 */ throw new ObjectStoreException(tsLogger.log_mesg.getString("com.arjuna.ats.internal.arjuna.objectstore.HashedStore_6"));
/* */ }
/* */
/* 250 */ state.setBuffer(store.buffer());
/* */
/* 252 */ store = null;
/* */
/* 254 */ return true;
/* */ }