HomeSort by relevance Sort by last modified time
    Searched full:numbytes (Results 1 - 25 of 708) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/deqp/framework/delibs/debase/
deMemory.c 57 * \param numBytes Number of bytes to allocate.
60 void* deMalloc (size_t numBytes)
64 DE_ASSERT(numBytes > 0);
66 ptr = malloc((size_t)numBytes);
72 memset(ptr, 0xcd, numBytes);
77 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes);
87 * \param numBytes Number of bytes to allocate.
90 void* deCalloc (size_t numBytes)
92 void* ptr = deMalloc(numBytes);
94 deMemset(ptr, 0, numBytes);
    [all...]
deMemory.h 35 void* deMalloc (size_t numBytes);
36 void* deCalloc (size_t numBytes);
37 void* deRealloc (void* ptr, size_t numBytes);
40 void* deAlignedMalloc (size_t numBytes, size_t alignBytes);
41 void* deAlignedRealloc(void* ptr, size_t numBytes, size_t alignBytes);
50 * \param numBytes Number of bytes to write.
52 DE_INLINE void deMemset (void* ptr, int value, size_t numBytes)
55 memset(ptr, value, numBytes);
58 DE_INLINE int deMemCmp (const void* a, const void* b, size_t numBytes)
60 return memcmp(a, b, numBytes);
    [all...]
  /external/llvm/unittests/MC/
Disassembler.cpp 39 unsigned NumBytes = sizeof(Bytes);
42 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString,
48 NumBytes -= InstSize;
50 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString,
56 NumBytes -= InstSize;
58 InstSize = LLVMDisasmInstruction(DCR, BytesP, NumBytes, PC, OutString,
  /external/swiftshader/third_party/LLVM/lib/Target/Alpha/
AlphaFrameLowering.cpp 65 long NumBytes = MFI->getStackSize();
68 NumBytes += 8; //reserve space for the old FP
71 if (NumBytes == 0) return;
74 NumBytes = (NumBytes+Align-1)/Align*Align;
77 MFI->setStackSize(NumBytes);
79 // adjust stack pointer: r30 -= numbytes
80 NumBytes = -NumBytes;
81 if (NumBytes >= Alpha::IMM_LOW)
    [all...]
  /external/deqp/modules/glshared/
glsBufferTestUtil.hpp 54 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed);
55 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes);
90 void setSize (int numBytes);
91 void setData (int numBytes, const deUint8* bytes);
92 void setSubData (int offset, int numBytes, const deUint8* bytes);
123 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) = DE_NULL;
124 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint);
142 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes);
143 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint);
160 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes)
    [all...]
glsBufferTestUtil.cpp 68 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed)
70 std::copy(tcu::RandomValueIterator<deUint8>::begin(seed, numBytes), tcu::RandomValueIterator<deUint8>::end(), ptr);
73 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes)
84 for (;ndx < numBytes; ndx++)
233 void ReferenceBuffer::setSize (int numBytes)
235 m_data.resize(numBytes);
238 void ReferenceBuffer::setData (int numBytes, const deUint8* bytes)
240 m_data.resize(numBytes);
241 std::copy(bytes, bytes+numBytes, m_data.begin());
244 void ReferenceBuffer::setSubData (int offset, int numBytes, const deUint8* bytes
    [all...]
  /external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
DataPipeConsumerHandleImpl.java 44 public int discardData(int numBytes, ReadFlags flags) {
45 return mCore.discardData(this, numBytes, flags);
60 public ByteBuffer beginReadData(int numBytes, ReadFlags flags) {
61 return mCore.beginReadData(this, numBytes, flags);
  /frameworks/base/services/core/jni/
com_android_server_UsbDescriptorParser.cpp 48 int numBytes = read(fd, buffer, sizeof(buffer));
53 if (numBytes != 0) {
54 ret = env->NewByteArray(numBytes);
55 env->SetByteArrayRegion(ret, 0, numBytes, buffer);
  /hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
PipeComm.cpp 58 int numBytes;
60 numBytes = qemu_pipe_frame_recv(mPipeFd, msg.data(), msg.size());
62 if (numBytes == MAX_RX_MSG_SZ) {
64 } else if (numBytes > 0) {
65 msg.resize(numBytes);
68 ALOGD("%s: Connection terminated on pipe %d, numBytes=%d", __FUNCTION__, mPipeFd, numBytes);
  /external/ltp/testcases/kernel/io/disktest/
dump.c 112 size_t TotalRemainingBytes, NumBytes, ibuff_siz, obuff_siz;
118 NumBytes = 0;
148 NumBytes = ibuff_siz;
149 buff_curr += NumBytes;
152 NumBytes = TotalRemainingBytes;
157 format_str(NumBytes, ibuff, ibuff_siz, obuff,
162 format_raw(NumBytes, ibuff, obuff, obuff_siz);
178 ssize_t NumBytes = 0;
208 NumBytes = Read(fd, buff, args->htrsiz * BLK_SIZE);
209 if ((NumBytes > args->htrsiz * BLK_SIZE) || (NumBytes < 0))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/MSP430/
MSP430FrameLowering.cpp 54 uint64_t NumBytes = 0;
58 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize();
63 MFI->setOffsetAdjustment(-NumBytes);
79 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize();
88 if (NumBytes) { // adjust stack pointer: SPW -= numbytes
91 //NumBytes -= mergeSPUpdates(MBB, MBBI, true);
94 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes);
96 if (NumBytes) {
99 .addReg(MSP430::SPW).addImm(NumBytes);
    [all...]
  /external/deqp/framework/delibs/decpp/
deRingBuffer.cpp 63 int numBytes = rnd.getInt(1, buffer.getNumElements());
64 vector<int> tmp (numBytes);
66 buffer.popBack(&tmp[0], numBytes);
68 for (int i = 0; i < numBytes; i++)
71 readPos += numBytes;
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree()));
78 buffer.pushFront(&data[writePos], numBytes);
79 writePos += numBytes;
  /device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformFvbLibNull/
PlatformFvbLibNull.c 27 @param[in] NumBytes The number of bytes read.
38 IN UINTN NumBytes,
52 @param[in] NumBytes The number of bytes written.
62 IN UINTN NumBytes,
  /device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/
QemuFlash.h 28 @param[in] NumBytes On input, indicates the requested read size. On
37 IN UINTN *NumBytes,
47 @param[in] NumBytes On input, indicates the requested write size. On
56 IN UINTN *NumBytes,
  /frameworks/av/media/libaaudio/src/utility/
FixedBlockReader.cpp 36 int32_t FixedBlockReader::readFromStorage(uint8_t *buffer, int32_t numBytes) {
37 int32_t bytesToRead = numBytes;
47 int32_t FixedBlockReader::processVariableBlock(uint8_t *buffer, int32_t numBytes) {
49 int32_t bytesLeft = numBytes;
FixedBlockWriter.cpp 27 int32_t FixedBlockWriter::writeToStorage(uint8_t *buffer, int32_t numBytes) {
28 int32_t bytesToStore = numBytes;
38 int32_t FixedBlockWriter::processVariableBlock(uint8_t *buffer, int32_t numBytes) {
40 int32_t bytesLeft = numBytes;
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java 227 * @param numBytes the number of bytes in the byte array
230 static void testBytes(ByteStringFactory factory, int numBytes, long expectedCount) {
231 testBytes(factory, numBytes, expectedCount, 0, -1);
240 * @param numBytes the number of bytes in the byte array
244 * or -1 to mean the max limit for numBytes
247 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) {
249 byte[] bytes = new byte[numBytes];
252 lim = 1L << (numBytes * 8);
258 for (int i = 0; i < numBytes; i++) {
274 assertEquals(isRoundTrippable, Utf8.isValidUtf8(bytes, 0, numBytes));
    [all...]
  /frameworks/rs/
rsStream.cpp 30 void IStream::loadByteArray(void *dest, size_t numBytes) {
31 memcpy(dest, mData + mPos, numBytes);
32 mPos += numBytes;
65 void OStream::addByteArray(const void *src, size_t numBytes) {
67 while (mPos + numBytes >= mLength) {
70 memcpy(mData + mPos, src, numBytes);
71 mPos += numBytes;
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/FlashDeviceLib/
FlashDeviceLib.c 46 UINTN NumBytes
55 while ( (NumBytes > 0) && (NumBytes <= MAX_FWH_SIZE) ) {
72 NumBytes -= SectorSize;
82 UINTN NumBytes
91 while ( (NumBytes > 0) && (NumBytes <= MAX_FWH_SIZE) ) {
108 NumBytes -= SectorSize;
124 UINT32 NumBytes = (UINT32)Length;
137 NumBytes,
    [all...]
  /external/deqp/executor/
xeBatchExecutor.cpp 287 void BatchExecutor::onTestLogData (const deUint8* bytes, size_t numBytes)
291 m_testLogParser.parse(bytes, numBytes);
300 void BatchExecutor::onInfoLogData (const deUint8* bytes, size_t numBytes)
302 if (numBytes > 0 && m_infoLog)
303 m_infoLog->append(bytes, numBytes);
362 void BatchExecutor::enqueueTestLogData (void* userPtr, const deUint8* bytes, size_t numBytes)
368 << numBytes;
370 writer.write(bytes, numBytes);
374 void BatchExecutor::enqueueInfoLogData (void* userPtr, const deUint8* bytes, size_t numBytes)
380 << numBytes;
    [all...]
xeCallQueue.cpp 178 void CallReader::read (deUint8* bytes, size_t numBytes)
180 DE_ASSERT(m_curPos + numBytes <= m_call->getDataSize());
181 deMemcpy(bytes, m_call->getData()+m_curPos, numBytes);
182 m_curPos += numBytes;
185 const deUint8* CallReader::getDataBlock (size_t numBytes)
187 DE_ASSERT(m_curPos + numBytes <= m_call->getDataSize());
190 m_curPos += numBytes;
232 void CallWriter::write (const deUint8* bytes, size_t numBytes)
236 m_call->setDataSize(curPos+numBytes);
237 deMemcpy(m_call->getData()+curPos, bytes, numBytes);
    [all...]
  /external/libmojo/mojo/public/js/
validator.js 65 // to start + numBytes.
66 Validator.prototype.isValidRange = function(start, numBytes) {
69 if (start < this.offset || numBytes <= 0 ||
71 !Number.isSafeInteger(numBytes))
74 var newOffset = start + numBytes;
81 Validator.prototype.claimRange = function(start, numBytes) {
82 if (this.isValidRange(start, numBytes)) {
83 this.offset = start + numBytes;
125 var numBytes = this.message.buffer.getUint32(offset);
129 if (numBytes < minNumBytes || version < minVersion
    [all...]
  /external/llvm/lib/Target/MSP430/
MSP430FrameLowering.cpp 55 uint64_t NumBytes = 0;
59 NumBytes = FrameSize - MSP430FI->getCalleeSavedFrameSize();
64 MFI->setOffsetAdjustment(-NumBytes);
80 NumBytes = StackSize - MSP430FI->getCalleeSavedFrameSize();
89 if (NumBytes) { // adjust stack pointer: SP -= numbytes
92 //NumBytes -= mergeSPUpdates(MBB, MBBI, true);
95 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes);
97 if (NumBytes) {
100 .addReg(MSP430::SP).addImm(NumBytes);
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
FvbService.c 269 @param[in] NumBytes Pointer that on input contains the total size of
279 NumBytes contains the total number of bytes returned
284 @retval EFI_INVALID_PARAMETER Instance not found, or NumBytes, Buffer are NULL.
293 IN OUT UINTN *NumBytes,
302 if ( (NumBytes == NULL) || (Buffer == NULL)) {
305 if (*NumBytes == 0) {
324 if (LbaLength < ( *NumBytes + BlockOffset ) ) {
325 *NumBytes = (UINT32) (LbaLength - BlockOffset);
329 LibFvbFlashDeviceRead (LbaAddress + BlockOffset, NumBytes, Buffer);
341 @param[in] NumBytes Pointer that on input contains the total size of
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/
Fd.h 216 IN UINTN NumBytes
222 IN UINTN NumBytes
229 IN UINTN NumBytes
236 IN UINTN NumBytes
243 IN UINTN NumBytes
250 IN UINTN NumBytes
256 IN UINTN NumBytes,
263 IN UINTN NumBytes,
270 IN UINTN NumBytes
277 IN UINTN NumBytes
    [all...]

Completed in 2815 milliseconds

1 2 3 4 5 6 7 8 91011>>