/prebuilts/go/linux-x86/src/archive/tar/ |
reader.go | 39 // A numBytesReader is an io.Reader with a numBytes method, returning the number 43 numBytes() int64 64 paxGNUSparseNumBytes = "GNU.sparse.numbytes" 417 nr := tr.numBytes() + tr.pad // number of bytes to skip 556 numBytes int64 574 numBytes := tr.octal(s.next(oldGNUSparseNumBytesSize)) 579 if offset == 0 && numBytes == 0 { 582 sp = append(sp, sparseEntry{offset: offset, numBytes: numBytes}) 595 numBytes := tr.octal(s.next(oldGNUSparseNumBytesSize) [all...] |
reader_test.go | 574 {offset: 0, numBytes: 2}, 575 {offset: 5, numBytes: 3}, 583 {offset: 0, numBytes: 2}, 584 {offset: 5, numBytes: 3}, 592 {offset: 1, numBytes: 3}, 593 {offset: 6, numBytes: 2}, 601 {offset: 1, numBytes: 3}, 602 {offset: 6, numBytes: 2}, 625 if sfr.numBytes() != nb { 626 t.Errorf("test %d: Before reading, sfr.numBytes() = %d, want %d", i, sfr.numBytes(), nb [all...] |
/external/libgdx/gdx/jni/ |
com.badlogic.gdx.utils.BufferUtils.cpp | 19 JNIEXPORT jobject JNICALL Java_com_badlogic_gdx_utils_BufferUtils_newDisposableByteBuffer(JNIEnv* env, jclass clazz, jint numBytes) { 24 return env->NewDirectByteBuffer((char*)malloc(numBytes), numBytes);
47 JNIEXPORT void JNICALL Java_com_badlogic_gdx_utils_BufferUtils_clear(JNIEnv* env, jclass clazz, jobject obj_buffer, jint numBytes) { 53 memset(buffer, 0, numBytes);
71 JNIEXPORT void JNICALL Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3BILjava_nio_Buffer_2II(JNIEnv* env, jclass clazz, jbyteArray obj_src, jint srcOffset, jobject obj_dst, jint dstOffset, jint numBytes) { 78 memcpy(dst + dstOffset, src + srcOffset, numBytes);
84 JNIEXPORT void JNICALL Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3CILjava_nio_Buffer_2II(JNIEnv* env, jclass clazz, jcharArray obj_src, jint srcOffset, jobject obj_dst, jint dstOffset, jint numBytes) { 91 memcpy(dst + dstOffset, src + srcOffset, numBytes);
97 JNIEXPORT void JNICALL Java_com_badlogic_gdx_utils_BufferUtils_copyJni___3SILjava_nio_Buffer_2II(JNIEnv* env, jclass clazz, jshortArray obj_src, jint srcOffset, jobject obj_dst, jint dstOffset, jint numBytes) { [all...] |
/external/llvm/lib/Target/ARM/ |
Thumb2InstrInfo.cpp | 218 unsigned DestReg, unsigned BaseReg, int NumBytes, 221 if (NumBytes == 0 && DestReg != BaseReg) { 228 bool isSub = NumBytes < 0; 229 if (isSub) NumBytes = -NumBytes; 234 NumBytes >= 4096 && 235 ARM_AM::getT2SOImmVal(NumBytes) == -1) { 237 if (NumBytes < 65536) { 240 .addImm(NumBytes) 243 } else if ((NumBytes & 0xffff) == 0) [all...] |
/prebuilts/go/darwin-x86/src/archive/tar/ |
reader_test.go | 574 {offset: 0, numBytes: 2}, 575 {offset: 5, numBytes: 3}, 583 {offset: 0, numBytes: 2}, 584 {offset: 5, numBytes: 3}, 592 {offset: 1, numBytes: 3}, 593 {offset: 6, numBytes: 2}, 601 {offset: 1, numBytes: 3}, 602 {offset: 6, numBytes: 2}, 625 if sfr.numBytes() != nb { 626 t.Errorf("test %d: Before reading, sfr.numBytes() = %d, want %d", i, sfr.numBytes(), nb [all...] |
/art/tools/ahat/src/ |
Site.java | 62 public long numBytes; 64 public ObjectsInfo(Heap heap, ClassObj classObj, long numInstances, long numBytes) { 68 this.numBytes = numBytes; 115 info.numBytes += inst.getSize();
|
/device/google/contexthub/lib/nanohub/ |
sha2.c | 121 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes) 125 state->msgLen += numBytes; 126 while (numBytes) { 130 bytesToCopy = numBytes; 135 numBytes -= bytesToCopy;
|
/external/deqp/execserver/ |
xsWin32TestProcess.hpp | 121 int read (deUint8* dst, int numBytes) { return m_logBuffer.tryRead(numBytes, dst); } 192 virtual int readTestLog (deUint8* dst, int numBytes); 193 virtual int readInfoLog (deUint8* dst, int numBytes) { return m_infoBuffer.tryRead(numBytes, dst); }
|
xsPosixTestProcess.hpp | 89 virtual int readTestLog (deUint8* dst, int numBytes); 90 virtual int readInfoLog (deUint8* dst, int numBytes) { return m_infoBuffer.tryRead(numBytes, dst); }
|
xsPosixFileReader.hpp | 45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); }
|
xsTestProcess.hpp | 51 virtual int readTestLog (deUint8* dst, int numBytes) = DE_NULL; 52 virtual int readInfoLog (deUint8* dst, int numBytes) = DE_NULL;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
XmlMessageWrapper.java | 243 * @param numBytes the number of bytes desired 247 private static byte[] readBytes(InputStream stream, int numBytes) 249 byte buffer[] = new byte[numBytes]; 252 while (bytesRead < numBytes) { 253 int inc = stream.read(buffer, bytesRead, numBytes - bytesRead);
|
/external/mesa3d/src/glx/ |
glx_query.c | 125 int numbytes; local 147 numbytes = reply.size; 149 buf = (char *) Xmalloc(numbytes); 151 _XRead(dpy, buf, numbytes); 152 length -= numbytes;
|
/external/deqp/framework/common/ |
tcuResource.cpp | 61 void FileResource::read (deUint8* dst, int numBytes) 63 int numRead = (int)fread(dst, 1, numBytes, m_file); 64 TCU_CHECK(numRead == numBytes);
|
/external/deqp/framework/delibs/depool/ |
deMemPool.h | 72 void* deMemPool_alloc (deMemPool* pool, size_t numBytes); 73 void* deMemPool_alignedAlloc (deMemPool* pool, size_t numBytes, deUint32 alignBytes); 74 void* deMemPool_memDup (deMemPool* pool, const void* ptr, size_t numBytes);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
TextureDownloadTest.java | 70 int numBytes = download(bytes, "http://www.badlogicgames.com/wordpress/wp-content/uploads/2012/01/badlogic-new.png");
71 if (numBytes != 0) {
73 Pixmap pixmap = new Pixmap(bytes, 0, numBytes);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfStringPool.cpp | 28 Entry.Offset = NumBytes; 31 NumBytes += Str.size() + 1; 32 assert(NumBytes > Entry.Offset && "Unexpected overflow");
|
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
WebAssemblyAsmBackend.cpp | 76 unsigned NumBytes = RoundUpToAlignment(Info.TargetSize, 8); 84 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!"); 88 for (unsigned i = 0; i != NumBytes; ++i)
|
/frameworks/av/media/libstagefright/ |
HTTPBase.cpp | 45 size_t numBytes, int64_t delayUs) { 50 entry.mNumBytes = numBytes; 52 mTotalTransferBytes += numBytes;
|
/external/clang/lib/Rewrite/ |
RewriteRope.cpp | 116 /// erase - Remove NumBytes from this node at the specified offset. We are 118 void erase(unsigned Offset, unsigned NumBytes); 218 /// erase - Remove NumBytes from this node at the specified offset. We are 220 void erase(unsigned Offset, unsigned NumBytes); 334 /// erase - Remove NumBytes from this node at the specified offset. We are 336 void RopePieceBTreeLeaf::erase(unsigned Offset, unsigned NumBytes) { 347 // Figure out how many pieces completely cover 'NumBytes'. We want to remove 349 for (; Offset+NumBytes > PieceOffs+getPiece(i).size(); ++i) 353 if (Offset+NumBytes == PieceOffs+getPiece(i).size()) 368 NumBytes -= CoverBytes [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLRandom.java | 46 protected byte[] engineGenerateSeed(int numBytes) { 48 byte[] output = new byte[numBytes];
|
/external/deqp/framework/delibs/debase/ |
deString.h | 39 deUint32 deMemoryHash (const void* ptr, size_t numBytes); 40 deBool deMemoryEqual (const void* ptr, const void* cmp, size_t numBytes);
|
/external/llvm/lib/Support/Unix/ |
Memory.inc | 82 Memory::allocateMappedMemory(size_t NumBytes, 87 if (NumBytes == 0) 91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize; 123 return allocateMappedMemory(NumBytes, nullptr, PFlags, EC); 180 Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock, 182 if (NumBytes == 0) return MemoryBlock(); 185 size_t NumPages = (NumBytes+PageSize-1)/PageSize; 217 return AllocateRWX(NumBytes, nullptr);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
FwdLockGlue.h | 28 * @param[in] numBytes The number of random bytes to generate. 32 int FwdLockGlue_GetRandomNumber(void *pBuffer, size_t numBytes);
|
/libcore/ojluni/src/main/java/java/security/ |
SecureRandomSpi.java | 69 * @param numBytes the number of seed bytes to generate. 73 protected abstract byte[] engineGenerateSeed(int numBytes);
|