OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:newTrie
(Results
1 - 9
of
9
) sorted by null
/external/icu/icu4c/source/test/perf/unisetperf/draft/
trieset.cpp
43
UNewTrie *
newTrie
=utrie_open(NULL, NULL, 0x11000, 0, 0, TRUE);
57
if(!utrie_setRange32(
newTrie
, start, end+1, TRUE, TRUE)) {
64
int32_t length=utrie_serialize(
newTrie
, NULL, 0, NULL, 8, &errorCode);
76
utrie_serialize(
newTrie
, trieData, length, NULL, 8, &errorCode);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieTest.java
204
IntTrieBuilder
newTrie
= new IntTrieBuilder(null, 2000,
217
ok &=
newTrie
.setValue(start, value);
220
ok &=
newTrie
.setRange(start, limit, value, overwrite);
235
if (value !=
newTrie
.getValue(start)) {
236
errln("
newTrie
[U+"
238
+ Integer.toHexString(
newTrie
.getValue(start))
245
IntTrie trie =
newTrie
.serialize(new _testFoldedValue(
newTrie
),
/external/icu/icu4c/source/common/
bytestriebuilder.cpp
193
BytesTrie *
newTrie
=NULL;
195
newTrie
=new BytesTrie(bytes, bytes+(bytesCapacity-bytesLength));
196
if(
newTrie
==NULL) {
203
return
newTrie
;
ucharstriebuilder.cpp
146
UCharsTrie *
newTrie
=NULL;
148
newTrie
=new UCharsTrie(uchars, uchars+(ucharsCapacity-ucharsLength));
149
if(
newTrie
==NULL) {
156
return
newTrie
;
utrie2.h
706
UNewTrie2 *
newTrie
; /* builder object; NULL when frozen */
[
all
...]
utrie2_builder.cpp
109
UNewTrie2 *
newTrie
;
118
newTrie
=(UNewTrie2 *)uprv_malloc(sizeof(UNewTrie2));
120
if(trie==NULL ||
newTrie
==NULL || data==NULL) {
122
uprv_free(
newTrie
);
132
trie->
newTrie
=
newTrie
;
134
newTrie
->data=data;
135
newTrie
->dataCapacity=UNEWTRIE2_INITIAL_DATA_LENGTH;
136
newTrie
->initialValue=initialValue;
137
newTrie
->errorValue=errorValue
[
all
...]
/external/icu/icu4c/source/test/cintltst/
trietest.c
262
UNewTrie *
newTrie
;
274
newTrie
=utrie_open(NULL, NULL, 2000,
286
ok&=utrie_set32(
newTrie
, start, value);
288
ok&=utrie_setRange32(
newTrie
, start, limit, value, overwrite);
303
if(value!=utrie_get32(
newTrie
, start, NULL)) {
304
log_err("error:
newTrie
(%s)[U+%04lx]==0x%lx instead of 0x%lx\n",
305
testName, start, utrie_get32(
newTrie
, start, NULL), value);
318
length=utrie_serialize(
newTrie
, storage, DEFAULT_STORAGE_SIZE,
324
utrie_close(
newTrie
);
333
data=utrie_getData(
newTrie
, &dataLength)
[
all
...]
trie2test.c
117
const char *const typeName= isFrozen ? "frozen trie" : "
newTrie
";
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieTest.java
200
IntTrieBuilder
newTrie
= new IntTrieBuilder(null, 2000,
213
ok &=
newTrie
.setValue(start, value);
216
ok &=
newTrie
.setRange(start, limit, value, overwrite);
231
if (value !=
newTrie
.getValue(start)) {
232
errln("
newTrie
[U+"
234
+ Integer.toHexString(
newTrie
.getValue(start))
241
IntTrie trie =
newTrie
.serialize(new _testFoldedValue(
newTrie
),
Completed in 325 milliseconds