/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...] |
pvmp3_seek_synch.cpp | 179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, 182 numBytes >>= (20 - version); 186 numBytes >>= 1; 190 numBytes++; 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) 196 pExt->CurrentFrameLength = numBytes + 3; 199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength) 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3);
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
IPACM_Log.cpp | 74 int numBytes=0, len; 95 if ((numBytes = sendto(ipacm_log_sockfd, (void *)&ipacm_log_buffer, sizeof(ipacm_log_buffer.user_data), 0,
|
/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;
|
/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/base/services/core/jni/ |
com_android_server_UsbDescriptorParser.cpp | 51 int numBytes = read(fd, buffer, sizeof(buffer)); 55 if (numBytes > 0) { 56 ret = env->NewByteArray(numBytes); 57 env->SetByteArrayRegion(ret, 0, numBytes, buffer);
|
/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);
|
/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++) {
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
PipeComm.cpp | 58 int numBytes; 60 numBytes = qemu_pipe_frame_recv(mPipeFd, msg.data(), msg.size()); 62 if (numBytes == MAX_RX_MSG_SZ) { 64 } else if (numBytes > 0) { 65 msg.resize(numBytes); 68 ALOGD("%s: Connection terminated on pipe %d, numBytes=%d", __FUNCTION__, mPipeFd, numBytes);
|
SocketComm.cpp | 102 int numBytes = 0; 106 numBytes = ::read(mCurSockFd, &msgSize, sizeof(msgSize)); 109 if (numBytes != sizeof(msgSize)) { 111 ALOGD("%s: numBytes=%d, expected=4", __FUNCTION__, numBytes); 123 numBytes = ::read(mCurSockFd, msg.data(), msgSize); 125 if ((numBytes == msgSize) && (msgSize > 0)) { 130 ALOGD("%s: numBytes=%d, msgSize=%d", __FUNCTION__, numBytes, msgSize);
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
TensorTest.java | 52 ByteBuffer to = ByteBuffer.allocate(t.numBytes()); 184 assertEquals(tfloats.numBytes(), bbuf.position()); 189 assertEquals(tdoubles.numBytes(), bbuf.position()); 194 assertEquals(tints.numBytes(), bbuf.position()); 199 assertEquals(tlongs.numBytes(), bbuf.position()); 204 assertEquals(tbools.numBytes(), bbuf.position()); 212 ByteBuffer.allocateDirect(tdoubles.numBytes()) 250 ByteBuffer.allocate(tdoubles.numBytes())
|
/cts/tests/tests/net/src/android/net/http/cts/ |
ApacheHttpClientTest.java | 82 int numBytes = 0; 88 numBytes += bytesRead; 91 assertEquals(message, expectedNumBytes, numBytes);
|
/external/lzma/CPP/Common/ |
UTFConvert.cpp | 29 #define _UTF8_HEAD_PARSE2(n) if (c < _UTF8_START((n) + 1)) { numBytes = (n); c -= _UTF8_START(n); }
53 unsigned numBytes;
68 while (--numBytes);
104 unsigned numBytes;
123 while (--numBytes);
125 if (numBytes != 0)
|
/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);
|
/frameworks/av/media/extractors/mp3/ |
VBRISeeker.cpp | 123 uint32_t numBytes; 125 case 1: numBytes = buffer[i]; break; 126 case 2: numBytes = U16_AT(buffer + 2 * i); break; 127 case 3: numBytes = U24_AT(buffer + 3 * i); break; 131 numBytes = U32_AT(buffer + 4 * i); break; 135 numBytes *= scale; 137 seeker->mSegments.push(numBytes); 139 ALOGV("entry #%zu: %u offset %#016llx", i, numBytes, (long long)offset); 140 offset += numBytes;
|
/hardware/intel/common/wrs_omxil_core/core/src/ |
intel_m4v_config_parser.h | 53 uint32 numBytes;
|
/hardware/nxp/nfc/halimpl/tml/ |
phTmlNfc_i2c.cc | 230 int numBytes = nNbBytesToWrite; 245 numBytes = numWrote + FRAGMENTSIZE_MAX; 247 numBytes = nNbBytesToWrite; 250 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote);
|
/libcore/ojluni/src/main/java/sun/misc/ |
CharacterEncoder.java | 144 int numBytes; 150 numBytes = readFully(inStream, tmpbuffer); 151 if (numBytes == 0) { 154 encodeLinePrefix(outStream, numBytes); 155 for (j = 0; j < numBytes; j += bytesPerAtom()) { 157 if ((j + bytesPerAtom()) <= numBytes) { 160 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j); 163 if (numBytes < bytesPerLine()) { 279 int numBytes; 285 numBytes = readFully(inStream, tmpbuffer) [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
PackageSignatureTest.java | 135 int numBytes = 0; 136 while ((numBytes = input.read(buffer)) != -1) { 137 output.write(buffer, 0, numBytes);
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
OpenSSLServerSocketImplTest.java | 120 int numBytes = client.readMessage(responseBuffer); 121 byte[] response = Arrays.copyOfRange(responseBuffer, 0, numBytes);
|
/external/deqp/framework/delibs/debase/ |
deMemory.c | 57 * \param numBytes Number of bytes to allocate. 60 void* deMalloc (size_t numBytes) 64 DE_ASSERT(numBytes > 0); 66 ptr = malloc((size_t)numBytes); 72 memset(ptr, 0xcd, numBytes); 77 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes); 87 * \param numBytes Number of bytes to allocate. 90 void* deCalloc (size_t numBytes) 92 void* ptr = deMalloc(numBytes); 94 deMemset(ptr, 0, numBytes); [all...] |
/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/lzma/Java/SevenZip/Compression/LZ/ |
InWindow.java | 31 int numBytes = _bufferOffset + _streamPos - offset;
34 for (int i = 0; i < numBytes; i++)
|
/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,
|