/external/llvm/lib/Target/ARM/ |
ThumbRegisterInfo.cpp | 128 int NumBytes, bool CanChangeCC, 140 if (NumBytes < 0 && !isHigh && CanChangeCC) { 142 NumBytes = -NumBytes; 150 if (NumBytes <= 255 && NumBytes >= 0 && CanChangeCC) { 152 .addImm(NumBytes).setMIFlags(MIFlags); 153 } else if (NumBytes < 0 && NumBytes >= -255 && CanChangeCC) { 155 .addImm(NumBytes).setMIFlags(MIFlags) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
BufferUtils.java | 226 int numBytes = elementsToBytes(src, numElements);
227 dst.limit(dst.position() + bytesToElements(dst, numBytes));
228 copyJni(src, positionInBytes(src), dst, positionInBytes(dst), numBytes);
466 public static ByteBuffer newByteBuffer (int numBytes) {
467 ByteBuffer buffer = ByteBuffer.allocateDirect(numBytes);
515 * @param numBytes */
516 public static ByteBuffer newUnsafeByteBuffer (int numBytes) {
517 ByteBuffer buffer = newDisposableByteBuffer(numBytes);
519 allocatedUnsafe += numBytes;
563 private static native ByteBuffer newDisposableByteBuffer (int numBytes); /*
[all...] |
/device/google/contexthub/lib/include/nanohub/ |
sha2.h | 41 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes);
|
/external/clang/test/CodeGenObjC/ |
ns-constant-strings.m | 12 unsigned int numBytes;
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmComputeShaderCase.cpp | 52 Move<VkBuffer> createBufferAndBindMemory (const DeviceInterface& vkdi, const VkDevice& device, Allocator& allocator, size_t numBytes, AllocationMp* outMemory) 59 numBytes, // size 76 void setMemory (const DeviceInterface& vkdi, const VkDevice& device, Allocation* destAlloc, size_t numBytes, const void* data) 80 deMemcpy((deUint8*)hostPtr, data, numBytes); 81 flushMappedMemoryRange(vkdi, device, destAlloc->getMemory(), destAlloc->getOffset(), numBytes); 84 void fillMemoryWithValue (const DeviceInterface& vkdi, const VkDevice& device, Allocation* destAlloc, size_t numBytes, deUint8 value) 88 deMemset((deUint8*)hostPtr, value, numBytes); 89 flushMappedMemoryRange(vkdi, device, destAlloc->getMemory(), destAlloc->getOffset(), numBytes); 311 const size_t numBytes = input->getNumBytes(); 312 BufferHandleUp* buffer = new BufferHandleUp(createBufferAndBindMemory(vkdi, device, allocator, numBytes, &alloc)) [all...] |
/external/deqp/framework/delibs/decpp/ |
deArrayBuffer.cpp | 35 void* ArrayBuffer_AlignedMalloc (size_t numBytes, size_t alignment) 37 const int sizeAsInt = (int)numBytes; 41 if (sizeAsInt < 0 || numBytes != (size_t)sizeAsInt) 53 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes);
|
/external/libnfc-nci/halimpl/pn54x/tml/ |
phTmlNfc_i2c.c | 263 int numBytes = nNbBytesToWrite; 279 numBytes = numWrote+ FRAGMENTSIZE_MAX; 283 numBytes = nNbBytesToWrite; 286 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfStringPool.h | 32 unsigned NumBytes = 0;
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SecureRandomSpiTest.java | 54 protected byte[] engineGenerateSeed(int numBytes) {
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldMachOAArch64.h | 38 unsigned NumBytes = 1 << RE.Size; 45 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 52 assert(NumBytes == 4 && "Invalid relocation size."); 63 if (NumBytes == 4) 133 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, 140 assert((NumBytes == 4 || NumBytes == 8) && "Invalid relocation size."); 147 assert(NumBytes == 4 && "Invalid relocation size."); 158 if (NumBytes == 4 [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 422 if (convSession->output.fromConvertData.numBytes > 0) { 423 convResult->data = new char[convSession->output.fromConvertData.numBytes]; 426 convResult->length = convSession->output.fromConvertData.numBytes; 630 int numBytes) { 636 numBytes > -1) { 639 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); 676 ssize_t numBytes, 682 ssize_t numBytes, 692 (numBytes > -1) && 699 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); [all...] |
/external/deqp/framework/common/ |
tcuFormatUtil.hpp | 134 template <typename T, size_t NumBytes = sizeof(T)> 152 return stream << Hex<NumBytes*2>((deUint64)m_value); 161 return Hex<NumBytes*2>((deUint64)m_value).toString(); 169 template <typename T, size_t NumBytes> 170 inline std::ostream& operator<< (std::ostream& stream, const Enum<T, NumBytes>& fmt) { return fmt.toStream(stream); }
|
/external/deqp/framework/platform/ios/ |
tcuIOSApp.mm | 134 int readInfoLog (deUint8* dst, int numBytes) { DE_UNREF(dst && numBytes); return 0; /* not supported */ } 135 int readTestLog (deUint8* dst, int numBytes); 201 int LocalTestProcess::readTestLog (deUint8* dst, int numBytes) 220 return m_logReader.read(dst, numBytes);
|
/frameworks/base/services/core/java/com/android/server/am/ |
NativeCrashListener.java | 180 static int readExactly(FileDescriptor fd, byte[] buffer, int offset, int numBytes) 183 while (numBytes > 0) { 184 int n = Os.read(fd, buffer, offset + totalRead, numBytes); 187 Slog.w(TAG, "Needed " + numBytes + " but saw " + n); 191 numBytes -= n;
|
/hardware/intel/common/libva/va/x11/ |
va_nvctrl.c | 283 int length, numbytes, slop; local 307 numbytes = rep.n; 308 slop = numbytes & 3; 309 *ptr = (char *) Xmalloc(numbytes); 316 _XRead(dpy, (char *) *ptr, numbytes);
|
/libcore/ojluni/src/main/java/java/net/ |
SocketInputStream.java | 215 * @param numbytes the number of bytes to skip 219 public long skip(long numbytes) throws IOException { 220 if (numbytes <= 0) { 223 long n = numbytes; 233 return numbytes - n;
|
/external/deqp/executor/ |
xeXMLParser.cpp | 82 void Tokenizer::feed (const deUint8* bytes, int numBytes) 85 if (m_buf.getNumFree() < numBytes) 87 m_buf.resize(getNextBufferSize(m_buf.getSize(), m_buf.getNumElements()+numBytes)); 91 m_buf.pushFront(bytes, numBytes); 373 void Parser::feed (const deUint8* bytes, int numBytes) 375 m_tokenizer.feed(bytes, numBytes);
|
/external/deqp/framework/delibs/deutil/ |
deFile.c | 177 static deFileResult mapReadWriteResult (deInt64 numBytes) 179 if (numBytes > 0) 181 else if (numBytes == 0) 348 static deFileResult mapReadWriteResult (BOOL retVal, DWORD numBytes) 350 if (retVal && numBytes > 0) 352 else if (retVal && numBytes == 0)
|
/external/gptfdisk/ |
support.cc | 309 // Reverse the byte order of theValue; numBytes is number of bytes 310 void ReverseBytes(void* theValue, int numBytes) { 314 tempValue = new char [numBytes]; 316 memcpy(tempValue, theValue, numBytes); 317 for (i = 0; i < numBytes; i++) 318 ((char*) theValue)[i] = tempValue[numBytes - i - 1];
|
/external/llvm/lib/Support/Windows/ |
Memory.inc | 70 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes, 75 if (NumBytes == 0) 90 const size_t NumBlocks = (NumBytes+Granularity-1)/Granularity; 109 return allocateMappedMemory(NumBytes, NULL, Flags, EC); 164 MemoryBlock Memory::AllocateRWX(size_t NumBytes, 169 MB = allocateMappedMemory(NumBytes, NearBlock,
|
/external/deqp/framework/delibs/depool/ |
deMemPool.c | 426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, size_t numBytes, deUint32 alignBytes) 442 void* ptr = deAlignedMalloc(numBytes, alignBytes); 466 if (numBytes + alignPadding > (size_t)(curPage->capacity - curPage->bytesAllocated)) 470 int newPageCapacity = deMax32(deMin32(2*curPage->capacity, MAX_PAGE_SIZE), ((int)numBytes)+maxAlignPadding); 485 DE_ASSERT(numBytes + alignPadding <= (size_t)curPage->capacity); 488 curPage->bytesAllocated += (int)(numBytes + alignPadding); 496 * \param numBytes Number of bytes to allocate. 499 void* deMemPool_alloc (deMemPool* pool, size_t numBytes) 503 DE_ASSERT(numBytes > 0); 504 ptr = deMemPool_allocInternal(pool, numBytes, DE_POOL_DEFAULT_ALLOC_ALIGNMENT) [all...] |
/hardware/intel/common/wrs_omxil_core/core/src/ |
intel_m4v_config_parser.cpp | 79 if (byte_pos > (psBits->numBytes - psBits->bytePos)) 81 byte_pos = (psBits->numBytes - psBits->bytePos); 98 i = LocateFrameHeader(ptr, psBits->numBytes - initial_byte_aligned_position); 99 if (psBits->numBytes <= initial_byte_aligned_position + i) 112 psBits.numBytes = length; 238 if (psBits->dataBitPos >= (psBits->numBytes << 3)) 625 if (dataBytePos > pStream->numBytes - 4) 628 for (i = 0; i < pStream->numBytes - dataBytePos; i++) 662 if ((dataBitPos + ucNBits) > (uint32)(pStream->numBytes << 3)) 694 if ((dataBitPos + ucNBits) > (pStream->numBytes << 3) [all...] |
/hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
ti_m4v_config_parser.cpp | 74 if (byte_pos > (psBits->numBytes - psBits->bytePos)) 76 byte_pos = (psBits->numBytes - psBits->bytePos); 93 i = LocateFrameHeader(ptr, psBits->numBytes - initial_byte_aligned_position); 94 if (psBits->numBytes <= initial_byte_aligned_position + i) 107 psBits.numBytes = length; 233 if (psBits->dataBitPos >= (psBits->numBytes << 3)) 640 if (dataBytePos > pStream->numBytes - 4) 643 for (i = 0;i < pStream->numBytes - dataBytePos;i++) 677 if ((dataBitPos + ucNBits) > (uint32)(pStream->numBytes << 3)) 709 if ((dataBitPos + ucNBits) > (pStream->numBytes << 3) [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRStringStream.h | 61 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes; 71 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRStringStream.h | 61 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes; 71 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes;
|