OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:newTrie
(Results
1 - 6
of
6
) sorted by null
/external/icu4c/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/icu4c/test/cintltst/
trietest.c
261
UNewTrie *
newTrie
;
273
newTrie
=utrie_open(NULL, NULL, 2000,
285
ok&=utrie_set32(
newTrie
, start, value);
287
ok&=utrie_setRange32(
newTrie
, start, limit, value, overwrite);
302
if(value!=utrie_get32(
newTrie
, start, NULL)) {
303
log_err("error:
newTrie
(%s)[U+%04lx]==0x%lx instead of 0x%lx\n",
304
testName, start, utrie_get32(
newTrie
, start, NULL), value);
317
length=utrie_serialize(
newTrie
, storage, DEFAULT_STORAGE_SIZE,
323
utrie_close(
newTrie
);
332
data=utrie_getData(
newTrie
, &dataLength)
[
all
...]
trie2test.c
119
const char *const typeName= isFrozen ? "frozen trie" : "
newTrie
";
[
all
...]
/external/icu4c/tools/genprops/
props2.c
37
static UNewTrie *
newTrie
;
422
utrie_close(
newTrie
);
513
newTrie
=toUTrie.
newTrie
;
717
length=utrie_serialize(
newTrie
, p, capacity, NULL, TRUE, &errorCode);
/external/icu4c/common/
utrie2.h
717
UNewTrie2 *
newTrie
; /* builder object; NULL when frozen */
[
all
...]
utrie2_builder.c
111
UNewTrie2 *
newTrie
;
120
newTrie
=(UNewTrie2 *)uprv_malloc(sizeof(UNewTrie2));
122
if(trie==NULL ||
newTrie
==NULL || data==NULL) {
124
uprv_free(
newTrie
);
134
trie->
newTrie
=
newTrie
;
136
newTrie
->data=data;
137
newTrie
->dataCapacity=UNEWTRIE2_INITIAL_DATA_LENGTH;
138
newTrie
->initialValue=initialValue;
139
newTrie
->errorValue=errorValue
[
all
...]
Completed in 203 milliseconds