OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:neededSize
(Results
1 - 11
of
11
) sorted by null
/frameworks/base/media/jni/
android_media_MediaDescrambler.h
60
void ensureBufferCapacity(size_t
neededSize
);
android_media_MediaDescrambler.cpp
111
void JDescrambler::ensureBufferCapacity(size_t
neededSize
) {
112
if (mMem != NULL && mMem->size() >=
neededSize
) {
117
mMem == NULL ? 0 : mMem->size(),
neededSize
);
120
neededSize
= (
neededSize
+ (alignment - 1)) & ~(alignment - 1);
122
neededSize
= (
neededSize
+ 65535) & ~65535;
123
mDealer = new MemoryDealer(
neededSize
, "JDescrambler");
124
mMem = mDealer->allocate(
neededSize
);
/system/core/libcutils/
open_memstream.c
88
size_t
neededSize
= stream->offset + writeSize + 1;
89
if (
neededSize
<= stream->allocSize)
101
if (newSize <
neededSize
)
102
newSize =
neededSize
;
/frameworks/av/media/libstagefright/mpeg2ts/
ESQueue.cpp
458
size_t
neededSize
= (mBuffer == NULL ? 0 : mBuffer->size()) + size;
459
if (mBuffer == NULL ||
neededSize
> mBuffer->capacity()) {
460
neededSize
= (
neededSize
+ 65535) & ~65535;
462
ALOGV("resizing buffer to size %zu",
neededSize
);
464
sp<ABuffer> buffer = new ABuffer(
neededSize
);
503
size_t
neededSize
= (mScrambledBuffer == NULL ? 0 : mScrambledBuffer->size()) + size;
504
if (mScrambledBuffer == NULL ||
neededSize
> mScrambledBuffer->capacity()) {
505
neededSize
= (
neededSize
+ 65535) & ~65535
[
all
...]
ATSParser.cpp
810
void ATSParser::Stream::ensureBufferCapacity(size_t
neededSize
) {
811
if (mBuffer != NULL && mBuffer->capacity() >=
neededSize
) {
816
mBuffer == NULL ? 0 : mBuffer->capacity(),
neededSize
, mScrambled);
823
neededSize
= (
neededSize
+ (alignment - 1)) & ~(alignment - 1);
825
neededSize
= (
neededSize
+ 65535) & ~65535;
826
newDealer = new MemoryDealer(
neededSize
, "ATSParser");
827
newMem = newDealer->allocate(
neededSize
);
842
neededSize
= (neededSize + 65535) & ~65535
[
all
...]
/frameworks/av/media/libstagefright/omx/
SoftVideoEncoderOMXComponent.cpp
586
size_t
neededSize
=
589
if (dstSize <
neededSize
) {
590
ALOGE("destination buffer is too small (%zu vs %zu)", dstSize,
neededSize
);
/external/svox/pico/lib/
picopam.c
881
* checks if "
neededSize
" is available on "nCurrPhoneme"
883
* @param
neededSize
: the requested size
890
picoos_int16
neededSize
)
892
if ((pam->nCurrPhoneme +
neededSize
) > PICOPAM_MAX_PH_PER_SENT - 1) {
[
all
...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
xmlparse.c
[
all
...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
xmlparse.c
[
all
...]
/external/expat/lib/
xmlparse.c
[
all
...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
xmlparse.c
[
all
...]
Completed in 825 milliseconds