/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 102 private static final String NUM_BYTES_PARAMETER = "numBytes"; 394 * @param numBytes of the content that the CTS server should send back 397 public String getTestDownloadUrl(String downloadId, int numBytes) { 402 .appendQueryParameter(NUM_BYTES_PARAMETER, Integer.toString(numBytes)) 756 int numBytes = uri.getQueryParameter(NUM_BYTES_PARAMETER) != null 760 response.setHeader("Content-Length", Integer.toString(numBytes)); 761 response.setEntity(createFileEntity(downloadId, numBytes)); 765 private static FileEntity createFileEntity(String downloadId, int numBytes) throws IOException { 776 for (int i = 0; i < numBytes / data.length; i++) { 779 stream.write(data, 0, numBytes % data.length) [all...] |
/dalvik/vm/alloc/ |
MarkSweep.cpp | 859 size_t numBytes; 870 ctx->numBytes += dvmHeapSourceFreeList(numPtrs, ptrs); 915 size_t *numObjects, size_t *numBytes) 931 ctx.numObjects = ctx.numBytes = 0; 940 *numBytes = ctx.numBytes; 943 gDvm.allocProf.freeSize += ctx.numBytes;
|
/external/lzma/C/ |
Ppmd7.c | 230 UInt32 numBytes = U2B(I2U(indx));
232 return ((UInt32)(p->UnitsStart - p->Text) > numBytes) ? (p->UnitsStart -= numBytes) : (NULL);
243 UInt32 numBytes;
246 numBytes = U2B(I2U(indx));
247 if (numBytes <= (UInt32)(p->HiUnit - p->LoUnit))
250 p->LoUnit += numBytes;
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1PRNG_SecureRandomImpl.java | 237 * numBytes - number of bytes to return; should be >= 0. 241 * InvalidParameterException - if numBytes < 0 243 protected synchronized byte[] engineGenerateSeed(int numBytes) { 247 if (numBytes < 0) { 248 throw new NegativeArraySizeException(Integer.toString(numBytes)); 250 if (numBytes == 0) { 259 myBytes = new byte[numBytes];
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 578 pOutput->fromConvertData.numBytes = pSession->dataOffset; 835 if (pOutput->fromConvertData.numBytes == pSession->outputBufferSize) { [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailProviderHelpers.java | 324 int numBytes; 325 while ((numBytes = in.read(data)) > 0) { 326 out.write(data, 0, numBytes);
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsAsmBackend.cpp | 114 unsigned NumBytes = (getFixupKindInfo(Kind).TargetSize + 7) / 8; 133 for (unsigned i = 0; i != NumBytes; ++i) { 143 for (unsigned i = 0; i != NumBytes; ++i) {
|
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 130 ssize_t numBytes; 131 while ((numBytes = TEMP_FAILURE_RETRY(read(fd, crcBuffer, sizeof(crcBuffer)))) > 0) { 132 crc = crc32(crc, crcBuffer, numBytes);
|
/cts/tests/tests/drm/lib/ |
TestPlugin.cpp | 179 void* buffer, ssize_t numBytes, off64_t offset) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_MediaTest.java | 216 int numBytes = 1337; 217 FileUtils.createFile(new File(externalPath), numBytes); 232 values.put(Media.SIZE, numBytes); 263 assertEquals(numBytes, c.getInt(c.getColumnIndex(Media.SIZE)));
|
/dalvik/hit/src/com/android/hit/ |
HprofParser.java | 604 private void skipFully(long numBytes) throws IOException { 605 while (numBytes > 0) { 606 long skipped = mInput.skip(numBytes); 608 numBytes -= skipped;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRStringStream.m | 56 + newANTLRStringStream:(char *)myData Count:(NSInteger)numBytes; 58 return [[ANTLRStringStream alloc] initWithData:myData Count:numBytes]; 113 - (id) initWithData:(char *)myData Count:(NSInteger)numBytes 117 n = numBytes;
|
/external/llvm/lib/Target/Hexagon/ |
HexagonFrameLowering.cpp | 86 int NumBytes = (int) MFI->getStackSize(); 120 if (NumBytes >= ALLOCFRAME_MAX) { 126 HEXAGON_RESERVED_REG_1).addImm(NumBytes); 132 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(NumBytes);
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManager.h | 131 void* buffer, ssize_t numBytes, off64_t offset);
|
DrmManagerService.h | 119 void* buffer, ssize_t numBytes, off64_t offset);
|
/frameworks/av/media/libstagefright/rtsp/ |
AMPEG4AudioAssembler.cpp | 237 size_t numBytes = (totalNumBits + 7) / 8; 239 *asc = new ABuffer(numBytes); 246 while (numBytes > 0) { 248 --numBytes;
|
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
ti_m4v_config_parser.h | 64 uint32 numBytes;
|
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 172 llvm::Type *getByteArrayType(CharUnits NumBytes); 175 void AppendBytes(CharUnits numBytes); 734 CharUnits NumBytes = AlignedNonVirtualTypeSize - AlignedNextFieldOffset; 735 FieldTypes.push_back(getByteArrayType(NumBytes)); 890 llvm::Type *CGRecordLayoutBuilder::getByteArrayType(CharUnits numBytes) { 891 assert(!numBytes.isZero() && "Empty byte arrays aren't allowed."); 894 if (numBytes > CharUnits::One()) 895 Ty = llvm::ArrayType::get(Ty, numBytes.getQuantity()); 900 void CGRecordLayoutBuilder::AppendBytes(CharUnits numBytes) { 901 if (numBytes.isZero() [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
RSAKey.py | 184 if (len(decBytes) != numBytes(self.n)-1): #Check first byte 246 padLength = (numBytes(self.n) - (len(bytes)+3))
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 264 void* buffer, ssize_t numBytes, off64_t offset) { 269 return mDrmManager->pread(uniqueId, decryptHandle, buffer, numBytes, offset);
|
/sdk/emulator/qtools/ |
callstack.h | 272 int numBytes; 274 numBytes = numInsns << 1; 276 numBytes = numInsns << 2; 287 uint32_t prev_end_addr = mPrevEvent.bb_addr + numBytes; 401 int numBytes; 403 numBytes = mPrevEvent.num_insns << 1; 405 numBytes = mPrevEvent.num_insns << 2; 407 uint32_t retAddr = mPrevEvent.bb_addr + numBytes;
|
/external/llvm/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 105 unsigned NumBytes = 0; 108 ++NumBytes; 110 return NumBytes+1; 122 unsigned NumBytes = 0; 126 ++NumBytes; 132 return NumBytes+1;
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarFileTest.java | 416 * Performs as many read() calls as necessary to read {@code numBytes} from 419 private void readExactly(InputStream in, int numBytes) throws IOException { 421 while (numBytes > 0) { 422 int read = in.read(buffer, 0, Math.min(numBytes, 1024)); 424 numBytes -= read;
|
/bionic/libc/netbsd/resolv/ |
res_cache.c | 519 _dnsPacket_checkBytes( DnsPacket* packet, int numBytes, const void* bytes ) 523 if (p + numBytes > packet->end) 526 if (memcmp(p, bytes, numBytes) != 0) 529 packet->cursor = p + numBytes; 780 _dnsPacket_hashBytes( DnsPacket* packet, int numBytes, unsigned hash ) 785 while (numBytes > 0 && p < end) { 923 _dnsPacket_isEqualBytes( DnsPacket* pack1, DnsPacket* pack2, int numBytes ) 928 if ( p1 + numBytes > pack1->end || p2 + numBytes > pack2->end ) 931 if ( memcmp(p1, p2, numBytes) != 0 [all...] |
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
MediaCodecBridge.java | 119 long presentationTimeMicroseconds, int numBytes) { 125 mNumBytes = numBytes; 144 private int numBytes() { return mNumBytes; }
|