Home
last modified time | relevance | path

Searched refs:byteAt (Results 1 – 25 of 68) sorted by relevance

123

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatEscaper.java40 byte byteAt(int offset); in byteAt() method
52 final byte b = input.byteAt(i); in escapeBytes()
117 public byte byteAt(int offset) { in escapeBytes() method in TextFormatEscaper
118 return input.byteAt(offset); in escapeBytes()
133 public byte byteAt(int offset) {
DTextFormat.java2057 byte c = input.byteAt(i); in unescapeBytes()
2061 c = input.byteAt(i); in unescapeBytes()
2065 if (i + 1 < input.size() && isOctal(input.byteAt(i + 1))) { in unescapeBytes()
2067 code = code * 8 + digitValue(input.byteAt(i)); in unescapeBytes()
2069 if (i + 1 < input.size() && isOctal(input.byteAt(i + 1))) { in unescapeBytes()
2071 code = code * 8 + digitValue(input.byteAt(i)); in unescapeBytes()
2111 if (i + 1 < input.size() && isHex(input.byteAt(i + 1))) { in unescapeBytes()
2113 code = digitValue(input.byteAt(i)); in unescapeBytes()
2118 if (i + 1 < input.size() && isHex(input.byteAt(i + 1))) { in unescapeBytes()
2120 code = code * 16 + digitValue(input.byteAt(i)); in unescapeBytes()
DNioByteString.java74 public byte byteAt(int index) { in byteAt() method in NioByteString
88 return byteAt(index); in internalByteAt()
/external/javassist/src/main/javassist/bytecode/
DInstructionPrinter.java74 int opcode = iter.byteAt(pos); in instructionString()
82 return opstring + " " + iter.byteAt(pos + 1); in instructionString()
86 return opstring + " " + ldc(pool, iter.byteAt(pos + 1)); in instructionString()
100 return opstring + " " + iter.byteAt(pos + 1); in instructionString()
119 return opstring + " " + iter.byteAt(pos + 1) + ", " + iter.signedByteAt(pos + 2); in instructionString()
124 return opstring + " " + iter.byteAt(pos + 1); in instructionString()
145 return opstring + " " + arrayInfo(iter.byteAt(pos + 1)); in instructionString()
163 int opcode = iter.byteAt(pos + 1); in wide()
DCodeAnalyzer.java83 int op = ci.byteAt(index); in visitBytecode()
251 stack += 1 - ci.byteAt(index + 3); in visitInst()
254 op = ci.byteAt(index + 1); in visitInst()
DCodeAttribute.java508 int opcode = ci.byteAt(index); in shiftIndex()
532 int var = ci.byteAt(index + 1); in shiftIndex()
540 int plus = (byte)ci.byteAt(index + 2); in shiftIndex()
564 int var = ci.byteAt(index + 1); in shiftIndex8()
/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java69 int opcode = iter.byteAt(pos); in execute()
108 evalLDC(iter.byteAt(pos + 1), frame); in execute()
115 evalLoad(Type.INTEGER, iter.byteAt(pos + 1), frame, subroutine); in execute()
118 evalLoad(Type.LONG, iter.byteAt(pos + 1), frame, subroutine); in execute()
121 evalLoad(Type.FLOAT, iter.byteAt(pos + 1), frame, subroutine); in execute()
124 evalLoad(Type.DOUBLE, iter.byteAt(pos + 1), frame, subroutine); in execute()
127 evalLoad(Type.OBJECT, iter.byteAt(pos + 1), frame, subroutine); in execute()
180 evalStore(Type.INTEGER, iter.byteAt(pos + 1), frame, subroutine); in execute()
183 evalStore(Type.LONG, iter.byteAt(pos + 1), frame, subroutine); in execute()
186 evalStore(Type.FLOAT, iter.byteAt(pos + 1), frame, subroutine); in execute()
[all …]
DUtil.java28 int opcode = iter.byteAt(pos); in getJumpTarget()
/external/javassist/src/main/javassist/expr/
DMethodCall.java49 int c = iterator.byteAt(pos); in getNameAndType()
102 int c = iterator.byteAt(pos); in getClassName()
164 return iterator.byteAt(currentPos) == INVOKESPECIAL in isSuper()
203 int c = iterator.byteAt(pos); in replace()
DNewExpr.java162 int op = iterator.byteAt(newPos + 3); in canReplace()
164 return ((iterator.byteAt(newPos + 4) == Opcode.DUP2_X2 in canReplace()
165 && iterator.byteAt(newPos + 5) == Opcode.POP2)) ? 6 : 4; in canReplace()
167 && iterator.byteAt(newPos + 4) == Opcode.SWAP) in canReplace()
DNewArray.java101 int atype = iterator.byteAt(currentPos + 1); in getComponentType()
163 return iterator.byteAt(currentPos + 3); in getCreatedDimensions()
202 index = iterator.byteAt(currentPos + 1); // atype in replace2()
220 dim = iterator.byteAt(currentPos + 3); in replace2()
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securemessage/
DPublicKeyProtoUtilTest.java154 assertEquals(0, paddedEncodedMaxXByteLengthKey.getEcP256PublicKey().getX().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
155 assertEquals(0, paddedEncodedMaxXByteLengthKey.getEcP256PublicKey().getY().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
161 assertEquals(0, paddedEncodedMaxByteLengthKey.getEcP256PublicKey().getX().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
162 assertEquals(0, paddedEncodedMaxByteLengthKey.getEcP256PublicKey().getY().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
168 assertEquals(0, paddedEncodedNotMaxByteLengthKey.getEcP256PublicKey().getX().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
169 assertEquals(0, paddedEncodedNotMaxByteLengthKey.getEcP256PublicKey().getY().byteAt(0)); in testPaddedECPublicKeyEncodeHasPaddedNullByte()
/external/javassist/src/main/javassist/convert/
DTransformNewClass.java55 int c = iterator.byteAt(pos); in transform()
59 if (iterator.byteAt(pos + 3) != DUP) in transform()
DTransformNew.java62 int c = iterator.byteAt(pos); in transform()
66 if (iterator.byteAt(pos + 3) != DUP) in transform()
DTransformAfter.java42 iterator.writeByte(iterator.byteAt(pos), p); in match2()
DTransformFieldAccess.java64 int c = iterator.byteAt(pos); in transform()
DTransformWriteField.java37 int c = iterator.byteAt(pos); in transform()
/external/javassist/src/main/javassist/
DCtConstructor.java171 int op0 = it.byteAt(it.next()); in isEmpty()
174 && it.byteAt(pos = it.next()) == Opcode.INVOKESPECIAL in isEmpty()
178 && it.byteAt(it.next()) == Opcode.RETURN in isEmpty()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLiteralByteStringTest.java78 stillEqual = (referenceBytes[i] == stringUnderTest.byteAt(i)); in testByteAt()
311 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
323 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
/external/apache-http/src/org/apache/http/impl/io/
DAbstractSessionInputBuffer.java217 if (this.linebuffer.byteAt(l - 1) == HTTP.LF) { in lineFromLineBuffer()
223 if (this.linebuffer.byteAt(l - 1) == HTTP.CR) { in lineFromLineBuffer()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java565 byte b = entry.byteAt(i++); in getChars()
570 int b2 = 0xFF & entry.byteAt(i++); in getChars()
573 int b2 = entry.byteAt(i++); in getChars()
574 int b3 = 0xFF & entry.byteAt(i++); in getChars()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMap.java566 byte b = entry.byteAt(i++); in getChars()
571 int b2 = 0xFF & entry.byteAt(i++); in getChars()
574 int b2 = entry.byteAt(i++); in getChars()
575 int b3 = 0xFF & entry.byteAt(i++); in getChars()
/external/javassist/src/test/test/javassist/bytecode/analysis/
DAnalyzerTest.java86 if (iter.byteAt(pos) == opcode) in findOpcode()
101 if (iter.byteAt(pos) == Opcode.ARETURN) in verifyReturn()
121 if (iter.byteAt(pos) == Opcode.AALOAD) in verifyArrayLoad()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java83 stillEqual = (referenceBytes[i] == stringUnderTest.byteAt(i)); in testByteAt()
525 "InputStream.skip(), read()", stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
534 "InputStream.reset(), read()", stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
/external/apache-http/src/org/apache/http/util/
DByteArrayBuffer.java136 public int byteAt(int i) { in byteAt() method in ByteArrayBuffer

123