67 lines
2.0 KiB
Java
67 lines
2.0 KiB
Java
package o;
|
|
|
|
/* renamed from: o.FdW, reason: case insensitive filesystem */
|
|
/* loaded from: classes2.dex */
|
|
public final class C0373FdW extends nVO {
|
|
@Override // o.nVO
|
|
public final int a() {
|
|
return 3;
|
|
}
|
|
|
|
@Override // o.nVO, o.InterfaceC16012kTv
|
|
public final void c(C8198dDy c8198dDy) {
|
|
StringBuilder sb = new StringBuilder();
|
|
while (true) {
|
|
if (c8198dDy.j >= c8198dDy.a.length() - c8198dDy.f) {
|
|
break;
|
|
}
|
|
char charAt = c8198dDy.a.charAt(c8198dDy.j);
|
|
c8198dDy.j++;
|
|
b(charAt, sb);
|
|
if (sb.length() % 3 == 0) {
|
|
d(c8198dDy, sb);
|
|
if (GpJ.a(c8198dDy.a, c8198dDy.j, 3) != 3) {
|
|
c8198dDy.d = 0;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
a(c8198dDy, sb);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.nVO
|
|
public final int b(char c, StringBuilder sb) {
|
|
if (c == '\r') {
|
|
sb.append((char) 0);
|
|
} else if (c == ' ') {
|
|
sb.append((char) 3);
|
|
} else if (c == '*') {
|
|
sb.append((char) 1);
|
|
} else if (c == '>') {
|
|
sb.append((char) 2);
|
|
} else if (c >= '0' && c <= '9') {
|
|
sb.append((char) (c - ','));
|
|
} else if (c >= 'A' && c <= 'Z') {
|
|
sb.append((char) (c - '3'));
|
|
} else {
|
|
GpJ.a(c);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.nVO
|
|
public final void a(C8198dDy c8198dDy, StringBuilder sb) {
|
|
c8198dDy.e(c8198dDy.c.length());
|
|
int length = c8198dDy.i.e - c8198dDy.c.length();
|
|
c8198dDy.j -= sb.length();
|
|
if ((c8198dDy.a.length() - c8198dDy.f) - c8198dDy.j > 1 || length > 1 || (c8198dDy.a.length() - c8198dDy.f) - c8198dDy.j != length) {
|
|
c8198dDy.c.append((char) 254);
|
|
}
|
|
if (c8198dDy.d < 0) {
|
|
c8198dDy.d = 0;
|
|
}
|
|
}
|
|
}
|