Lines Matching refs:entry

52         String getEntryStr(byte[] entry);  in getEntryStr()  argument
56 new GetEntryStr() { public String getEntryStr(byte[] entry) {
57 return getTechStr(entry); } },
58 new GetEntryStr() { public String getEntryStr(byte[] entry) {
59 return getProtoStr(entry); } },
60 new GetEntryStr() { public String getEntryStr(byte[] entry) {
61 return getAidStr(entry); } },
62 new GetEntryStr() { public String getEntryStr(byte[] entry) {
63 return getSystemCodeStr(entry); } },
134 private String formatRow(String entry, String eeId, in formatRow() argument
137 return String.format(fmt, entry, eeId, pwrState, blkCtrl, extra); in formatRow()
148 byte[] entry) { in RoutingEntryInfo() argument
153 mEntry = entry; in RoutingEntryInfo()
160 String entry = mGetEntryStrFuncs[mType].getEntryStr(mEntry); in dump() local
163 pw.println(formatRow(entry, eeId, pwrState, blkCtrl, extra)); in dump()
167 private boolean validateEntryInfo(byte type, byte[] entry) { in validateEntryInfo() argument
170 if (entry.length != 1) return false; in validateEntryInfo()
173 if (entry.length != 1) return false; in validateEntryInfo()
176 if (entry.length > 16) return false; in validateEntryInfo()
179 if (entry.length != 2) return false; in validateEntryInfo()
191 public int getCommitStatus(byte type, byte[] entry) { in getCommitStatus() argument
192 if (!validateEntryInfo(type, entry)) return STATS_NOT_FOUND; in getCommitStatus()
198 if (Arrays.equals(routingEntry.mEntry, entry)) { in getCommitStatus()
205 && entry.length > routingEntry.mEntry.length) { in getCommitStatus()
207 while (entry[ptr] == routingEntry.mEntry[ptr]) { in getCommitStatus()
215 && entry.length < routingEntry.mEntry.length) { in getCommitStatus()
217 while (entry[ptr] == routingEntry.mEntry[ptr]) { in getCommitStatus()
220 if (ptr == entry.length) { in getCommitStatus()
239 byte[] entry = new byte[valueLength - 2]; in addRoutingEntry()
241 entry[i] = rt[offset + 4 + i]; in addRoutingEntry()
244 if (type == TYPE_SYSTEMCODE && (entry.length & 1) == 0 && entry.length <= 64) { in addRoutingEntry()
245 for (int i = 0; i < entry.length; i += 2) { in addRoutingEntry()
246 byte[] sc_entry = {entry[i], entry[i + 1]}; in addRoutingEntry()
249 } else if (validateEntryInfo(type, entry)) { in addRoutingEntry()
250 sRoutingTable.add(new RoutingEntryInfo(qualifier, type, eeId, pwrState, entry)); in addRoutingEntry()