OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fCapacity
(Results
1 - 15
of
15
) sorted by null
/external/skia/src/core/
SkTDynamicHash.h
25
SkTDynamicHash() : fCount(0), fDeleted(0),
fCapacity
(0), fArray(nullptr) {
40
SkASSERT(fCurrentIndex <= fHash->
fCapacity
);
41
return fCurrentIndex == fHash->
fCapacity
;
67
SkASSERT(fCurrentIndex <= fHash->
fCapacity
);
68
return fCurrentIndex == fHash->
fCapacity
;
92
for (int round = 0; round <
fCapacity
; round++) {
93
SkASSERT(index >= 0 && index <
fCapacity
);
103
SkASSERT(
fCapacity
== 0);
124
sk_bzero(fArray, sizeof(T*)*
fCapacity
);
133
fCapacity
= 0
[
all
...]
SkWriter32.cpp
69
fCapacity
= 4096 + SkTMax(size,
fCapacity
+ (
fCapacity
/ 2));
70
fInternal.realloc(
fCapacity
);
SkRWBuffer.cpp
21
const size_t
fCapacity
;
23
SkBufferBlock(size_t capacity) : fNext(nullptr), fUsed(0),
fCapacity
(capacity) {}
27
size_t avail() const { return
fCapacity
- fUsed; }
37
// before spilling into the next, since the reader uses
fCapacity
to know how many it can read.
52
SkASSERT(
fCapacity
> 0);
53
SkASSERT(fUsed <=
fCapacity
);
123
// The reader can only access block.
fCapacity
(which never changes), and cannot access
172
return SkTMin(fBlock->
fCapacity
, fRemaining);
206
// next, since our reader will be using
fCapacity
(min'd against its total available) to know how
/external/icu/icu4c/source/i18n/
nfrlist.h
39
uint32_t
fCapacity
;
44
,
fCapacity
(capacity) {}
66
if (fCount ==
fCapacity
) {
67
fCapacity
+= 10;
68
fStuff = (NFRule**)uprv_realloc(fStuff,
fCapacity
* sizeof(NFRule*)); // assume success
73
fCapacity
= 0;
84
fCapacity
= 0;
sortkey.cpp
109
fUnion.fFields.
fCapacity
= newCapacity;
/external/icu/icu4c/source/layoutex/
RunArrays.cpp
22
: fClientArrays(FALSE), fLimits(NULL), fCount(0),
fCapacity
(initialCapacity)
25
fLimits = LE_NEW_ARRAY(le_int32,
fCapacity
);
39
if (fCount >=
fCapacity
) {
40
if (
fCapacity
== 0) {
41
fCapacity
= INITIAL_CAPACITY;
42
init(
fCapacity
);
44
fCapacity
+= (
fCapacity
< CAPACITY_GROW_LIMIT ?
fCapacity
: CAPACITY_GROW_LIMIT);
45
grow(
fCapacity
);
[
all
...]
/external/skia/include/private/
SkTHash.h
27
SkTHashTable() : fCount(0),
fCapacity
(0) {}
39
size_t approxBytesUsed() const { return
fCapacity
* sizeof(Slot); }
54
if (4 * fCount >= 3 *
fCapacity
) {
55
this->resize(
fCapacity
> 0 ?
fCapacity
* 2 : 4);
63
int index = hash & (
fCapacity
-1);
64
for (int n = 0; n <
fCapacity
; n++) {
74
SkASSERT(
fCapacity
== 0);
83
int index = hash & (
fCapacity
-1);
84
for (int n = 0; n <
fCapacity
; n++)
[
all
...]
/external/icu/icu4c/source/tools/genrb/
ustr.c
37
s->fLength = s->
fCapacity
= 0;
46
s->fLength = s->
fCapacity
= 0;
50
if(s->
fCapacity
< length) {
77
s->fLength = s->
fCapacity
= 0;
89
if(dst->
fCapacity
< src->fLength) {
110
if(s->
fCapacity
< (len + 1)) {
137
if(dst->
fCapacity
< (dst->fLength + n)) {
157
if(dst->
fCapacity
< (dst->fLength + 1)) {
189
if(dst->
fCapacity
< (dst->fLength + len)) {
214
s->fLength = s->
fCapacity
= 0
[
all
...]
ustr.h
57
int32_t
fCapacity
;
/frameworks/base/core/jni/android/graphics/
CreateJavaOutputStreamAdaptor.cpp
22
fCapacity
= env->GetArrayLength(ar);
23
SkASSERT(
fCapacity
> 0);
68
if (size > static_cast<size_t>(
fCapacity
)) {
69
requested =
fCapacity
;
72
//
fCapacity
.
134
jint
fCapacity
;
185
fCapacity
= env->GetArrayLength(storage);
198
if (size > static_cast<size_t>(
fCapacity
)) {
199
requested =
fCapacity
;
202
//
fCapacity
[
all
...]
/external/icu/icu4c/source/layoutex/layout/
RunArrays.h
221
le_int32
fCapacity
;
225
: UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0),
fCapacity
(0)
231
: UObject(), fClientArrays(FALSE), fLimits(NULL), fCount(0),
fCapacity
(0)
237
: UObject(), fClientArrays(TRUE), fLimits(limits), fCount(count),
fCapacity
(count)
/external/icu/icu4c/source/i18n/unicode/
sortkey.h
265
return (fFlagAndLength >= 0) ? (int32_t)sizeof(fUnion) : fUnion.fFields.
fCapacity
;
312
int32_t
fCapacity
;
/external/skia/include/core/
SkWriter32.h
50
fCapacity
= externalBytes;
60
if (totalRequired >
fCapacity
) {
253
size_t
fCapacity
; // Number of bytes we can write to fData.
/external/icu/icu4c/source/common/
unistr.cpp
390
fUnion.fFields.
fCapacity
= (int32_t)(numBytes / U_SIZEOF_UCHAR);
397
fUnion.fFields.
fCapacity
= 0;
533
fUnion.fFields.
fCapacity
= src.fUnion.fFields.
fCapacity
;
543
fUnion.fFields.
fCapacity
= src.fUnion.fFields.
fCapacity
;
568
fUnion.fFields.
fCapacity
= 0;
597
fUnion.fFields.
fCapacity
= src.fUnion.fFields.
fCapacity
;
605
src.fUnion.fFields.
fCapacity
= 0
[
all
...]
/external/icu/icu4c/source/common/unicode/
unistr.h
[
all
...]
Completed in 410 milliseconds