/ndk/tests/device/test-stlport_shared-exception/jni/ |
delete3_1.cpp | 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw() 22 return operator new(numBytes, std::nothrow);
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
delete3_1.cpp | 20 void* operator new(size_t numBytes, SomeClass&, const std::nothrow_t&) throw() 22 return operator new(numBytes, std::nothrow);
|
/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 | 67 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed) 69 std::copy(tcu::RandomValueIterator<deUint8>::begin(seed, numBytes), tcu::RandomValueIterator<deUint8>::end(), ptr); 72 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes) 83 for (;ndx < numBytes; ndx++) 232 void ReferenceBuffer::setSize (int numBytes) 234 m_data.resize(numBytes); 237 void ReferenceBuffer::setData (int numBytes, const deUint8* bytes) 239 m_data.resize(numBytes); 240 std::copy(bytes, bytes+numBytes, m_data.begin()); 243 void ReferenceBuffer::setSubData (int offset, int numBytes, const deUint8* bytes [all...] |
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/ |
DataPipeConsumerHandleImpl.java | 43 public int discardData(int numBytes, ReadFlags flags) { 44 return mCore.discardData(this, numBytes, flags); 59 public ByteBuffer beginReadData(int numBytes, ReadFlags flags) { 60 return mCore.beginReadData(this, numBytes, flags);
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
pycrypto_rsakey.py | 29 s = bytes(numberToByteArray(m, numBytes(self.n))) 34 s = bytes(numberToByteArray(c, numBytes(self.n))) 40 def f(numBytes): 41 return bytes(getRandomBytes(numBytes))
|
/frameworks/av/media/libstagefright/ |
VBRISeeker.cpp | 109 uint32_t numBytes; 111 case 1: numBytes = buffer[i]; break; 112 case 2: numBytes = U16_AT(buffer + 2 * i); break; 113 case 3: numBytes = U24_AT(buffer + 3 * i); break; 117 numBytes = U32_AT(buffer + 4 * i); break; 121 numBytes *= scale; 123 seeker->mSegments.push(numBytes); 125 ALOGV("entry #%zu: %u offset 0x%016llx", i, numBytes, offset); 126 offset += numBytes;
|
/external/deqp/framework/delibs/debase/ |
deMemory.h | 35 void* deMalloc (int numBytes); 36 void* deCalloc (int numBytes); 37 void* deRealloc (void* ptr, int numBytes); 40 void* deAlignedMalloc (int numBytes, int alignBytes); 49 * \param numBytes Number of bytes to write. 51 DE_INLINE void deMemset (void* ptr, int value, int numBytes) 54 memset(ptr, value, numBytes); 57 DE_INLINE int deMemCmp (const void* a, const void* b, int numBytes) 59 return memcmp(a, b, numBytes); 66 * \param numBytes Number of bytes to cop [all...] |
deMemory.c | 43 * \param numBytes Number of bytes to allocate. 46 void* deMalloc (int numBytes) 50 DE_ASSERT(numBytes > 0); 52 ptr = malloc((size_t)numBytes); 58 memset(ptr, 0xcd, numBytes); 63 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes); 73 * \param numBytes Number of bytes to allocate. 76 void* deCalloc (int numBytes) 78 void* ptr = deMalloc(numBytes); 80 deMemset(ptr, 0, numBytes); [all...] |
/external/chromium_org/mojo/public/js/bindings/ |
validator.js | 56 // to start + numBytes. 57 Validator.prototype.isValidRange = function(start, numBytes) { 60 if (start < this.offset || numBytes <= 0 || 62 !Number.isSafeInteger(numBytes)) 65 var newOffset = start + numBytes; 72 Validator.prototype.claimRange = function(start, numBytes) { 73 if (this.isValidRange(start, numBytes)) { 74 this.offset = start + numBytes; 112 var numBytes = this.message.buffer.getUint32(offset); 115 if (numBytes < minNumBytes || numFields < minNumFields [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcFrameLowering.cpp | 43 int NumBytes, 51 if (NumBytes >= -4096 && NumBytes < 4096) { 53 .addReg(SP::O6).addImm(NumBytes); 59 if (NumBytes >= 0) { 61 // sethi %hi(NumBytes), %g1 62 // or %g1, %lo(NumBytes), %g1 65 .addImm(HI22(NumBytes)); 67 .addReg(SP::G1).addImm(LO10(NumBytes)); 74 // sethi %hix(NumBytes), %g [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;
|
deMemPool.hpp | 51 void* alloc (deUintptr numBytes); 52 void* alignedAlloc (deUintptr numBytes, deUint32 alignBytes); 86 inline void* MemPool::alloc (deUintptr numBytes) 89 DE_ASSERT((deUintptr)(int)numBytes == numBytes); 90 void* ptr = deMemPool_alloc(m_pool, (int)numBytes); 96 inline void* MemPool::alignedAlloc (deUintptr numBytes, deUint32 alignBytes) 99 DE_ASSERT((deUintptr)(int)numBytes == numBytes); 100 void* ptr = deMemPool_alignedAlloc(m_pool, (int)numBytes, alignBytes) [all...] |
/external/pixman/pixman/ |
pixman-arm-simd-asm.S | 47 * numbytes Number of output bytes that should be generated this time 58 .macro blit_process_head cond, numbytes, firstreg, unaligned_src, unaligned_mask, preload 59 pixld cond, numbytes, firstreg, SRC, unaligned_src 139 .macro fill_process_tail cond, numbytes, firstreg 144 pixst cond, numbytes, 4, DST 187 .macro pixman_composite_src_x888_8888_process_head cond, numbytes, firstreg, unaligned_src, unaligned_mask, preload 188 pixld cond, numbytes, firstreg, SRC, unaligned_src 191 .macro pixman_composite_src_x888_8888_process_tail cond, numbytes, firstreg 193 .if numbytes >= 8 195 .if numbytes == 1 [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/crypto/ |
ByteArrayGenerator.java | 18 * @param numBytes Length of the array to generate. 21 public byte[] getBytes(int numBytes) throws IOException, GeneralSecurityException { 25 byte[] bytes = new byte[numBytes];
|
/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;
|
/external/deqp/executor/ |
xeBatchExecutor.cpp | 281 void BatchExecutor::onTestLogData (const deUint8* bytes, int numBytes) 285 m_testLogParser.parse(bytes, numBytes); 294 void BatchExecutor::onInfoLogData (const deUint8* bytes, int numBytes) 296 if (numBytes > 0 && m_infoLog) 297 m_infoLog->append(bytes, numBytes); 356 void BatchExecutor::enqueueTestLogData (void* userPtr, const deUint8* bytes, int numBytes) 362 << numBytes; 364 writer.write(bytes, numBytes); 368 void BatchExecutor::enqueueInfoLogData (void* userPtr, const deUint8* bytes, int numBytes) 374 << numBytes; [all...] |
xeCallQueue.cpp | 163 void CallReader::read (deUint8* bytes, int numBytes) 165 DE_ASSERT(m_curPos + numBytes <= m_call->getDataSize()); 166 deMemcpy(bytes, m_call->getData()+m_curPos, numBytes); 167 m_curPos += numBytes; 170 const deUint8* CallReader::getDataBlock (int numBytes) 172 DE_ASSERT(m_curPos + numBytes <= m_call->getDataSize()); 175 m_curPos += numBytes; 212 void CallWriter::write (const deUint8* bytes, int numBytes) 216 m_call->setDataSize(curPos+numBytes); 217 deMemcpy(m_call->getData()+curPos, bytes, numBytes); [all...] |
/external/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/chromium_org/extensions/renderer/resources/ |
data_sender.js | 87 * @param {number} numBytes The number of bytes sent. 90 PendingSend.prototype.reportBytesSent = function(numBytes) { 91 var result = this.reportBytesSentInternal_(numBytes); 102 * error occurred after this send, that is, unless numBytes is greater than 104 * @param {number} numBytes The number of bytes sent. 108 PendingSend.prototype.reportBytesSentAndError = function(numBytes, error) { 109 var result = this.reportBytesSentInternal_(numBytes); 130 * @param {number} numBytes The number of bytes sent. 134 PendingSend.prototype.reportBytesSentInternal_ = function(numBytes) { 135 this.bytesReceivedBySink_ += numBytes; [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
NonBlockingAudioTrack.java | 173 int numBytes = elem.size; 174 if (numBytes > numBytesAvailableToWrite) { 175 numBytes = numBytesAvailableToWrite; 178 int written = mAudioTrack.write(elem.data, elem.offset, numBytes); 179 assert(written == numBytes); 183 elem.size -= numBytes; 184 numBytesAvailableToWrite -= numBytes; 185 mNumBytesQueued -= numBytes; 194 elem.offset += numBytes;
|
/external/chromium_org/third_party/tlslite/patches/ |
pycrypto_python2.patch | 38 - s = numberToString(m, numBytes(self.n)) 40 + s = bytes(numberToByteArray(m, numBytes(self.n))) 45 - s = numberToString(c, numBytes(self.n)) 47 + s = bytes(numberToByteArray(c, numBytes(self.n)))
|
/external/clang/test/SemaObjC/ |
objc-string-constant.m | 19 int numBytes;
|
/external/deqp/modules/gles2/functional/ |
es2fBufferTestUtil.hpp | 50 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed); 51 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes); 83 void setSize (int numBytes); 84 void setData (int numBytes, const deUint8* bytes); 85 void setSubData (int offset, int numBytes, const deUint8* bytes); 112 virtual bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) = DE_NULL; 132 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 149 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 165 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
|
/external/llvm/lib/Target/ARM/ |
Thumb1FrameLowering.cpp | 45 int NumBytes, unsigned MIFlags = MachineInstr::NoFlags) { 46 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 99 unsigned NumBytes = MFI->getStackSize(); 100 assert(NumBytes >= ArgRegsSaveSize && 101 "ArgRegsSaveSize is included in NumBytes"); 109 NumBytes = (NumBytes + 3) & ~3; 110 MFI->setStackSize(NumBytes); 128 if (NumBytes - ArgRegsSaveSize != 0) { 129 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -(NumBytes - ArgRegsSaveSize) [all...] |