OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numBytes
(Results
1 - 25
of
103
) sorted by null
1
2
3
4
5
/frameworks/base/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);
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
RandomBitsSupplier.java
101
private static synchronized byte[] getUnixDeviceRandom(int
numBytes
) {
103
byte[] bytes = new byte[
numBytes
];
111
bytesRead = fis.read(bytes, offset,
numBytes
-total);
123
if ( total >=
numBytes
) {
142
*
numBytes
- length of bytes requested
146
* InvalidArgumentException - if
numBytes
<= 0
148
public static byte[] getRandomBits(int
numBytes
) {
149
if (
numBytes
<= 0) {
150
throw new IllegalArgumentException(Integer.toString(
numBytes
));
159
return getUnixDeviceRandom(
numBytes
);
[
all
...]
/libcore/luni/src/main/java/java/security/
SecureRandomSpi.java
55
* @param
numBytes
59
protected abstract byte[] engineGenerateSeed(int
numBytes
);
SecureRandom.java
310
* @param
numBytes
314
public static byte[] getSeed(int
numBytes
) {
320
return result.generateSeed(
numBytes
);
327
* @param
numBytes
331
public byte[] generateSeed(int
numBytes
) {
332
return secureRandomSpi.engineGenerateSeed(
numBytes
);
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
RandomImpl.java
46
protected byte[] engineGenerateSeed(int
numBytes
) {
48
byte[] b = new byte[
numBytes
];
/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
];
/frameworks/base/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
);
/frameworks/base/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
,
/external/webkit/Source/WebKit2/Shared/
ShareableBitmap.cpp
62
size_t
numBytes
= numBytesForSize(size);
65
if (!tryFastMalloc(
numBytes
).getValue(data))
73
size_t
numBytes
= numBytesForSize(size);
75
RefPtr<SharedMemory> sharedMemory = SharedMemory::create(
numBytes
);
86
size_t
numBytes
= numBytesForSize(size);
87
ASSERT_UNUSED(
numBytes
, sharedMemory->size() >=
numBytes
);
/frameworks/base/libs/rs/
rsStream.cpp
30
void IStream::loadByteArray(void *dest, size_t
numBytes
) {
31
memcpy(dest, mData + mPos,
numBytes
);
32
mPos +=
numBytes
;
64
void OStream::addByteArray(const void *src, size_t
numBytes
) {
66
while (mPos +
numBytes
>= mLength) {
69
memcpy(mData + mPos, src,
numBytes
);
70
mPos +=
numBytes
;
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
SimpleIcsWriterTests.java
86
int
numBytes
= 0;
92
assertTrue("input=" + input,
numBytes
<= 75);
93
numBytes
= 0;
96
numBytes
++;
98
assertTrue("input=" + input,
numBytes
<= 75);
/frameworks/base/media/libstagefright/
VBRISeeker.cpp
100
uint32_t
numBytes
;
102
case 1:
numBytes
= buffer[i]; break;
103
case 2:
numBytes
= U16_AT(buffer + 2 * i); break;
104
case 3:
numBytes
= U24_AT(buffer + 3 * i); break;
108
numBytes
= U32_AT(buffer + 4 * i); break;
112
numBytes
*= scale;
114
seeker->mSegments.push(
numBytes
);
116
LOGV("entry #%d: %d offset 0x%08lx", i,
numBytes
, offset);
117
offset +=
numBytes
;
HTTPBase.cpp
59
size_t
numBytes
, int64_t delayUs) {
64
entry.mNumBytes =
numBytes
;
66
mTotalTransferBytes +=
numBytes
;
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.h
53
* @param[in]
numBytes
The number of bytes to read.
58
ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t
numBytes
);
/dalvik/vm/alloc/
MarkSweep.h
61
size_t *numObjects, size_t *
numBytes
);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandomSpiTest.java
54
protected byte[] engineGenerateSeed(int
numBytes
) {
/packages/apps/Exchange/src/com/android/exchange/utility/
SimpleIcsWriter.java
41
int
numBytes
= 0;
47
if (
numBytes
> (MAX_LINE_LENGTH - CHAR_MAX_BYTES_IN_UTF8)
52
numBytes
= 1; // for TAB
55
numBytes
++;
/cts/tests/src/android/provider/cts/
FileCopyHelper.java
101
public static void createFile(File file, int
numBytes
) throws IOException {
106
byte[] buffer = new byte[
numBytes
];
/hardware/invensense/mlsdk/platform/linux/
mlos_linux.c
54
* @param
numBytes
number of bytes
57
void *inv_malloc(unsigned int
numBytes
)
60
void *allocPtr = malloc(
numBytes
);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
PoolAlloc.cpp
221
void* TPoolAllocator::allocate(size_t
numBytes
)
224
// them: [guardblock][allocation][guardblock].
numBytes
is how
228
size_t allocationSize = TAllocation::allocationSize(
numBytes
);
234
totalBytes +=
numBytes
;
248
return initializeAllocation(inUseList, memory,
numBytes
);
291
return initializeAllocation(inUseList, ret,
numBytes
);
/frameworks/base/core/java/android/speech/srec/
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",
/external/webkit/Source/WebCore/platform/graphics/chromium/
VDMXParser.cpp
50
bool skip(size_t
numBytes
)
52
if (m_offset +
numBytes
> m_length)
54
m_offset +=
numBytes
;
/external/webkit/Source/WebCore/platform/text/
TextCodecUTF16.cpp
77
size_t
numBytes
= length + m_haveBufferedByte;
78
size_t numChars =
numBytes
/ 2;
109
if (
numBytes
& 1) {
/frameworks/base/media/tests/omxjpegdecoder/
omx_jpeg_decoder.cpp
53
int
numBytes
= numChars * sizeof(char);
54
size -=
numBytes
;
55
data +=
numBytes
;
74
int
numBytes
= numChars * sizeof(char);
75
size -=
numBytes
;
76
data +=
numBytes
;
Completed in 2597 milliseconds
1
2
3
4
5