Home
last modified time | relevance | path

Searched refs:inputBytes (Results 1 – 14 of 14) 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/syzkaller/vendor/golang.org/x/text/unicode/norm/
Dnormalize.go45 src := inputBytes(b)
73 src := inputBytes(b)
177 rb.insertUnsafe(inputBytes(buf), 0, info)
193 return f.doAppend(out, inputBytes(src), len(src))
267 n, _ := formTable[f].quickSpan(inputBytes(b), 0, len(b), true)
274 n, ok := formTable[f].quickSpan(inputBytes(b), 0, len(b), atEOF)
366 return f.firstBoundary(inputBytes(b), len(b))
407 return f.nextBoundary(inputBytes(b), len(b), atEOF)
562 return fd.info(inputBytes(buf), p), p
606 rb.insertUnsafe(inputBytes(cp), 0, info)
Dreadwriter.go28 w.rb.src = inputBytes(data[:m])
101 r.rb.src = inputBytes(r.inbuf[0:n])
Dtransform.go30 i, ok := formTable[f].quickSpan(inputBytes(b), n, len(b), eof)
Dinput.go14 func inputBytes(str []byte) input { func
/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/turbine/javatests/com/google/turbine/bytecode/
DClassWriterTest.java144 byte[] inputBytes = cw.toByteArray(); in module()
145 byte[] outputBytes = ClassWriter.writeClass(ClassReader.read("module-info", inputBytes)); in module()
147 assertThat(AsmUtils.textify(inputBytes)).isEqualTo(AsmUtils.textify(outputBytes)); in module()
151 assertThat(AsmUtils.textify(inputBytes)).isEqualTo(AsmUtils.textify(outputBytes)); in module()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/gdiff/
DGdiffTest.java306 private void checkExpectedIOException(byte[] inputBytes, int inputLimit, in checkExpectedIOException() argument
309 inputLimit = inputBytes.length; in checkExpectedIOException()
314 writeInputFile.write(inputBytes, 0, inputLimit); in checkExpectedIOException()
324 outputLimit = (inputBytes.length * 2) + (patchBytes.length * 2); // 100% arbitrary in checkExpectedIOException()
/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/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp490 vector<deUint8> inputBytes; in iterate() local
492 input->getBytes(inputBytes); in iterate()
494 const size_t numBytes = inputBytes.size(); in iterate()
499 …setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front(), m_shaderSpec.coherentMemory); in iterate()
507 vector<deUint8> inputBytes; in iterate() local
509 input->getBytes(inputBytes); in iterate()
511 const size_t numBytes = inputBytes.size(); in iterate()
519 setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front()); in iterate()
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()
DvktSpvAsmTypeTests.cpp1539 vector<deUint8> inputBytes[4]; in verifyResult() local
1549 inputs[ndxCount].getBytes(inputBytes[ndxCount]); in verifyResult()
1550 input[ndxCount] = reinterpret_cast<const T*>(&inputBytes[ndxCount].front()); in verifyResult()
DvktSpvAsmInstructionTests.cpp10507 vector<deUint8> inputBytes; in compareDerivative() local
10509 inputs[0].getBytes(inputBytes); in compareDerivative()
10511 const deFloat16* inputAsFP16 = reinterpret_cast<deFloat16* const>(&inputBytes.front()); in compareDerivative()
10514 DE_ASSERT(inputBytes.size() == R * R * N * sizeof(deFloat16)); in compareDerivative()
15500 vector<deUint8> inputBytes[3]; in compareFP16ArithmeticFunc() local
15503 inputs[inputNdx].getBytes(inputBytes[inputNdx]); in compareFP16ArithmeticFunc()
15507 inputs.size() >= 1 ? (const deFloat16*)&inputBytes[0][0] : DE_NULL, in compareFP16ArithmeticFunc()
15508 inputs.size() >= 2 ? (const deFloat16*)&inputBytes[1][0] : DE_NULL, in compareFP16ArithmeticFunc()
15509 inputs.size() >= 3 ? (const deFloat16*)&inputBytes[2][0] : DE_NULL, in compareFP16ArithmeticFunc()
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/bsdiff/
DSuffixSorterTestBase.java44 private void checkSuffixSort(int[] expectedSuffixArray, byte[] inputBytes) throws Exception { in checkSuffixSort() argument
45 RandomAccessObject input = new RandomAccessObject.RandomAccessByteArrayObject(inputBytes); in checkSuffixSort()