Home
last modified time | relevance | path

Searched refs:inputBytes (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcsrutf8.cpp33 const uint8_t *inputBytes = input->fRawInput; in match() local
39 inputBytes[0] == 0xEF && inputBytes[1] == 0xBB && inputBytes[2] == 0xBF) { in match()
45 int32_t b = inputBytes[i]; in match()
71 b = inputBytes[i]; in match()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DSonicAudioProcessor.java69 private long inputBytes; field in SonicAudioProcessor
128 ? Util.scaleLargeTimestamp(duration, inputBytes, outputBytes) in scaleDurationForSpeedup()
131 inputBytes * outputAudioFormat.sampleRate, in scaleDurationForSpeedup()
167 inputBytes += inputSize; in queueInput()
224 inputBytes = 0; in flush()
242 inputBytes = 0; in reset()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DRawStringWriteTest.java35 for (byte[] inputBytes : strings) { in testUtf8RawStrings()
39 assertEquals(inputBytes.length, outputBytes.length); in testUtf8RawStrings()
40 assertArrayEquals(inputBytes, outputBytes); in testUtf8RawStrings()
69 for (byte[] inputBytes : strings) { in testUtf8StringsWithEscaping()
74 assertEquals(inputBytes.length, outputBytes.length); in testUtf8StringsWithEscaping()
75 assertArrayEquals(inputBytes, outputBytes); in testUtf8StringsWithEscaping()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DArchiveUtils.java117 public static String toAsciiString(final byte[] inputBytes){ in toAsciiString() argument
119 return new String(inputBytes, CharsetNames.US_ASCII); in toAsciiString()
134 public static String toAsciiString(final byte[] inputBytes, final int offset, final int length){ in toAsciiString() argument
136 return new String(inputBytes, offset, length, CharsetNames.US_ASCII); in toAsciiString()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DDexTest.java71 … byte[] inputBytes = BaksmaliTestUtils.readResourceBytesFully(getInputFilename(testName)); in getInputDexFile()
72 return new DexBackedDexFile(Opcodes.forApi(options.apiLevel), inputBytes); in getInputDexFile()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassWriterTest.java145 byte[] inputBytes = cw.toByteArray(); in module()
146 byte[] outputBytes = ClassWriter.writeClass(ClassReader.read("module-info", inputBytes)); in module()
148 assertThat(AsmUtils.textify(inputBytes)).isEqualTo(AsmUtils.textify(outputBytes)); in module()
152 assertThat(AsmUtils.textify(inputBytes)).isEqualTo(AsmUtils.textify(outputBytes)); in module()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.hpp173 std::vector<deUint8> inputBytes; in compareWithRetvals() local
174 inputs[0].getBytes(inputBytes); in compareWithRetvals()
176 const deUint32* inputValues = reinterpret_cast<deUint32*>(&inputBytes.front()); in compareWithRetvals()
177 const size_t inputValuesCount = inputBytes.size() / sizeof(deUint32); in compareWithRetvals()
DvktSpvAsmComputeShaderCase.cpp531 vector<deUint8> inputBytes; in iterate() local
533 input->getBytes(inputBytes); in iterate()
535 const size_t numBytes = inputBytes.size(); in iterate()
540 …setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front(), m_shaderSpec.coherentMemory); in iterate()
548 vector<deUint8> inputBytes; in iterate() local
550 input->getBytes(inputBytes); in iterate()
552 const size_t numBytes = inputBytes.size(); in iterate()
560 setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front()); in iterate()
DvktSpvAsmTypeTests.cpp1675 vector<deUint8> inputBytes[4]; in verifyResult() local
1685 inputs[ndxCount].getBytes(inputBytes[ndxCount]); in verifyResult()
1686 input[ndxCount] = reinterpret_cast<const T*>(&inputBytes[ndxCount].front()); in verifyResult()
DvktSpvAsmInstructionTests.cpp17415 vector<deUint8> inputBytes[3]; in compareFP16ArithmeticFunc() local
17418 inputs[inputNdx].getBytes(inputBytes[inputNdx]); in compareFP16ArithmeticFunc()
17422 inputs.size() >= 1 ? (const deFloat16*)&inputBytes[0][0] : DE_NULL, in compareFP16ArithmeticFunc()
17423 inputs.size() >= 2 ? (const deFloat16*)&inputBytes[1][0] : DE_NULL, in compareFP16ArithmeticFunc()
17424 inputs.size() >= 3 ? (const deFloat16*)&inputBytes[2][0] : DE_NULL, in compareFP16ArithmeticFunc()
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DUnformatted.output38 byte[] inputBytes =
40 String inputString = new String(inputBytes, Charsets.UTF_8);
DUnformatted.input29 assertTrue ( fileName . endsWith ( ".java" ) ) ; byte [ ] inputBytes = Files .
31 toString ( ) , fileName ) ) ; String inputString = new String ( inputBytes ,
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DCoerceJDKScalarsTest.java263 final byte[] inputBytes = utf8Bytes(input); in _verifyRootStringCoerceFail()
264 … try (JsonParser p = NOT_COERCING_MAPPER.createParser(new ByteArrayInputStream(inputBytes))) { in _verifyRootStringCoerceFail()