OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MAX_CAPACITY
(Results
1 - 2
of
2
) sorted by null
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_priority_queue.h
34
:
MAX_CAPACITY
(MAX_DIC_NODE_PRIORITY_QUEUE_CAPACITY),
37
mDicNodesBuf.resize(
MAX_CAPACITY
+ 1);
38
mUnusedNodeIndices.resize(
MAX_CAPACITY
+ 1);
54
mMaxSize = min(maxSize,
MAX_CAPACITY
);
58
clearAndResize(
MAX_CAPACITY
);
70
for (int i = 0; i <
MAX_CAPACITY
+ 1; ++i) {
73
mUnusedNodeIndices[i] = i ==
MAX_CAPACITY
? NOT_A_NODE_ID : static_cast<int>(i) + 1;
113
ASSERT(index >= 0 && index < (
MAX_CAPACITY
+ 1));
118
for (int i = 0; i <
MAX_CAPACITY
+ 1; ++i) {
141
const int
MAX_CAPACITY
;
[
all
...]
/system/core/libcutils/
array.c
24
#define
MAX_CAPACITY
((int)(UINT_MAX/sizeof(void*)))
53
if (capacity >
MAX_CAPACITY
)
60
if (newCap < newCapacity || newCap >
MAX_CAPACITY
) {
61
newCap =
MAX_CAPACITY
;
67
if (newCapacity < 0 || newCapacity >
MAX_CAPACITY
)
Completed in 221 milliseconds