OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newByteCapacity
(Results
1 - 2
of
2
) sorted by null
/external/qemu/android/base/containers/
PodVector.cpp
114
size_t
newByteCapacity
= newSize * itemSize;
115
char* newBegin = static_cast<char*>(::realloc(mBegin,
newByteCapacity
));
126
if (usableSize >
newByteCapacity
) {
127
newByteCapacity
= usableSize - (usableSize % itemSize);
130
mLimit = newBegin +
newByteCapacity
;
132
if (
newByteCapacity
> oldByteSize) {
133
::memset(mBegin + oldByteSize, 0,
newByteCapacity
- oldByteSize);
/sdk/emulator/opengl/shared/emugl/common/
pod_vector.cpp
102
size_t
newByteCapacity
= newSize * itemSize;
103
char* newBegin = static_cast<char*>(::realloc(mBegin,
newByteCapacity
));
108
if (usableSize >
newByteCapacity
) {
109
newByteCapacity
= usableSize - (usableSize % itemSize);
112
mLimit = newBegin +
newByteCapacity
;
114
if (
newByteCapacity
> oldByteSize) {
115
::memset(mBegin + oldByteSize, 0,
newByteCapacity
- oldByteSize);
Completed in 157 milliseconds