HomeSort by relevance Sort by last modified time
    Searched full:numbytes (Results 26 - 50 of 448) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
RandomImpl.java 45 protected byte[] engineGenerateSeed(int numBytes) {
47 byte[] b = new byte[numBytes];
  /external/deqp/framework/delibs/dethread/win32/
deThreadWin32.c 119 static SYSTEM_LOGICAL_PROCESSOR_INFORMATION* getWin32ProcessorInfo (deUint32* numBytes)
131 *numBytes = inOutLen;
158 void parseWin32ProcessorInfo (ProcessorInfo* dst, const SYSTEM_LOGICAL_PROCESSOR_INFORMATION* src, deUint32 numBytes)
164 while (((const deUint8*)cur - (const deUint8*)src) + sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION) <= numBytes)
182 deUint32 numBytes = 0;
183 SYSTEM_LOGICAL_PROCESSOR_INFORMATION* rawInfo = getWin32ProcessorInfo(&numBytes);
185 if (!numBytes)
188 parseWin32ProcessorInfo(info, rawInfo, numBytes);
  /external/gptfdisk/
diskio.h 70 int Read(void* buffer, int numBytes);
71 int Write(void* buffer, int numBytes);
diskio-unix.cc 295 int DiskIO::Read(void* buffer, int numBytes) {
307 if (numBytes <= blockSize) {
311 numBlocks = numBytes / blockSize;
312 if ((numBytes % blockSize) != 0)
323 memcpy(buffer, tempSpace, numBytes);
326 if (((numBlocks * blockSize) != numBytes) && (retval > 0))
327 retval = numBytes;
338 int DiskIO::Write(void* buffer, int numBytes) {
350 if (numBytes <= blockSize) {
354 numBlocks = numBytes / blockSize
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
RandomImpl.java 47 protected byte[] engineGenerateSeed(int numBytes) {
49 byte[] b = new byte[numBytes];
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
Session.java 63 * @param numBytes - the number of bytes from data to send
65 public void sendData(byte[] data, int numBytes);
75 * Read and return (up to) numBytes of data from the client across the data connection
77 * @return the data that was read; the byte[] will be up to numBytes bytes long
79 public byte[] readData(int numBytes);
  /external/mesa3d/src/mesa/main/
eval.c 556 GLsizei numBytes;
581 numBytes = n * sizeof *v;
582 if (bufSize < numBytes)
591 numBytes = 1 * sizeof *v;
592 if (bufSize < numBytes)
597 numBytes = 2 * sizeof *v;
598 if (bufSize < numBytes)
606 numBytes = 2 * sizeof *v;
607 if (bufSize < numBytes)
613 numBytes = 4 * sizeof *v
    [all...]
  /packages/apps/SpeechRecorder/src/com/android/speechrecorder/
WaveHeader.java 31 * <li> numBytes - size of audio data after this header, in bytes.
71 * @param numBytes size of audio data after this header, in bytes.
73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) {
78 mNumBytes = numBytes;
167 * @param numBytes size of audio data after this header, in bytes.
170 public WaveHeader setNumBytes(int numBytes) {
171 mNumBytes = numBytes;
184 int numBytes = readInt(in) - 36;
272 "WaveHeader format=%d numChannels=%d sampleRate=%d bitsPerSample=%d numBytes=%d",
  /cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java 82 int numBytes = 0;
88 numBytes += bytesRead;
91 assertEquals(message, expectedNumBytes, numBytes);
  /external/deqp/framework/platform/android/
tcuAndroidAssets.cpp 60 void AssetResource::read (deUint8* dst, int numBytes)
62 TCU_CHECK(AAsset_read(m_asset, dst, numBytes) == numBytes);
  /external/deqp/modules/gles2/functional/
es2fBufferTestUtil.cpp 70 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed)
72 std::copy(tcu::RandomValueIterator<deUint8>::begin(seed, numBytes), tcu::RandomValueIterator<deUint8>::end(), ptr);
75 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes)
86 for (;ndx < numBytes; ndx++)
221 void ReferenceBuffer::setSize (int numBytes)
223 m_data.resize(numBytes);
226 void ReferenceBuffer::setData (int numBytes, const deUint8* bytes)
228 m_data.resize(numBytes);
229 std::copy(bytes, bytes+numBytes, m_data.begin());
232 void ReferenceBuffer::setSubData (int offset, int numBytes, const deUint8* bytes
    [all...]
  /external/dng_sdk/source/
dng_memory.cpp 101 uint32 numBytes;
102 if (!SafeUint32Mult(count, elementSizeAsUint32, &numBytes))
106 Allocate(numBytes);
dng_memory_stream.cpp 132 uint32 numBytes;
134 &numBytes))
139 dng_memory_block **list = (dng_memory_block **) malloc (numBytes);
153 // overflow because the computation of numBytes above would fail
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccServiceTable.java 57 int numBytes = mServiceTable.length;
59 .append(numBytes * 8).append("]={ ");
62 for (int i = 0; i < numBytes; i++) {
  /external/deqp/executor/
xeBatchExecutor.hpp 83 void onTestLogData (const deUint8* bytes, size_t numBytes);
84 void onInfoLogData (const deUint8* bytes, size_t numBytes);
90 static void enqueueTestLogData (void* userPtr, const deUint8* bytes, size_t numBytes);
91 static void enqueueInfoLogData (void* userPtr, const deUint8* bytes, size_t numBytes);
xeBatchResult.cpp 40 void InfoLog::append (const deUint8* bytes, size_t numBytes)
42 DE_ASSERT(numBytes > 0);
44 m_data.resize(oldSize+numBytes);
45 deMemcpy(&m_data[oldSize], bytes, numBytes);
xeContainerFormatParser.cpp 65 void ContainerFormatParser::feed (const deUint8* bytes, size_t numBytes)
68 if (m_buf.getNumFree() < (int)numBytes)
69 m_buf.resize(getNextBufferSize(m_buf.getSize(), m_buf.getNumElements()+(int)numBytes));
72 m_buf.pushFront(bytes, (int)numBytes);
109 void ContainerFormatParser::getData (deUint8* dst, int numBytes, int offset)
111 DE_ASSERT(de::inBounds(offset, 0, m_elementLen) && numBytes > 0 && de::inRange(numBytes+offset, 0, m_elementLen));
113 for (int ndx = 0; ndx < numBytes; ndx++)
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
FileRetrCommandHandler.java 88 int numBytes;
89 while ((numBytes = inputStream.read(buffer)) != -1) {
90 LOG.trace("Sending " + numBytes + " bytes...");
91 session.sendData(buffer, numBytes);
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/
FileRetrCommandHandler.java 91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
  /system/media/audio_utils/include/audio_utils/spdif/
SPDIFEncoder.h 48 ssize_t write( const void* buffer, size_t numBytes );
55 virtual ssize_t writeOutput( const void* buffer, size_t numBytes ) = 0;
86 void writeBurstBufferShorts(const uint16_t* buffer, size_t numBytes);
87 void writeBurstBufferBytes(const uint8_t* buffer, size_t numBytes);
  /frameworks/av/media/libstagefright/codecs/mp3dec/src/
pvmp3_get_main_data_size.cpp 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20,
125 numBytes >>= (20 - info->version_x);
132 pVars->predicted_frame_size = numBytes;
135 numBytes -= 17;
139 numBytes -= 32;
144 numBytes >>= 1;
145 pVars->predicted_frame_size = numBytes;
149 numBytes -= 9;
153 numBytes -= 17;
159 numBytes++
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
Utf8Test.java 277 * @param numBytes the number of bytes in the byte array
281 private static void testBytes(int numBytes, long expectedCount) {
282 testBytes(numBytes, expectedCount, 0, -1);
290 * @param numBytes the number of bytes in the byte array
294 * or -1 to mean the max limit for numBytes
297 private static void testBytes(int numBytes, long expectedCount, long start,
299 byte[] bytes = new byte[numBytes];
301 lim = 1L << (numBytes * 8);
306 for (int i = 0; i < numBytes; i++) {
311 assertEquals(isRoundTrippable, Utf8.isWellFormed(bytes, 0, numBytes));
    [all...]
  /external/tpm2/
TcpServer.c 15 BOOL ReadBytes(SOCKET s, char* buffer, int NumBytes);
18 BOOL WriteBytes(SOCKET s, char* buffer, int NumBytes);
316 // This function reads the indicated number of bytes (NumBytes) into buffer from the indicated socket.
322 int NumBytes
327 while(numGot<NumBytes)
329 res = recv(s, buffer+numGot, NumBytes-numGot, 0);
347 // This function will send the indicated number of bytes (NumBytes) to the indicated socket
353 int NumBytes
358 while(numSent<NumBytes)
360 res = send(s, buffer+numSent, NumBytes-numSent, 0)
    [all...]
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.h 40 size_t numBytes;
73 * @param[in] numBytes The number of bytes to read.
78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes);
85 * @param[in] numBytes The number of bytes to write.
90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes);
178 * @param[in] numBytes The number of bytes to convert.
194 size_t numBytes,
  /prebuilts/go/darwin-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...]

Completed in 628 milliseconds

12 3 4 5 6 7 8 91011>>