Lines Matching defs:ucp
121 _openProps(UCharProps *ucp, UErrorCode *pErrorCode) {
125 ucp->propsData=udata_openChoice(NULL, DATA_TYPE, DATA_NAME, isAcceptable, NULL, pErrorCode);
130 ucp->pData32=p=(const uint32_t *)udata_getMemory(ucp->propsData);
134 length=utrie_unserialize(&ucp->propsTrie, (const uint8_t *)(p+UPROPS_INDEX_COUNT), length-64, pErrorCode);
142 length=utrie_unserialize(&ucp->propsVectorsTrie, (const uint8_t *)(p+p[UPROPS_ADDITIONAL_TRIE_INDEX]), length, pErrorCode);
151 uprv_memset(&ucp->propsVectorsTrie, 0, sizeof(ucp->propsVectorsTrie));
168 UCharProps ucp={ NULL };
175 _openProps(&ucp, pErrorCode);
181 propsData=ucp.propsData;
182 ucp.propsData=NULL;
183 pData32=ucp.pData32;
184 ucp.pData32=NULL;
185 uprv_memcpy(&propsTrie, &ucp.propsTrie, sizeof(propsTrie));
186 uprv_memcpy(&propsVectorsTrie, &ucp.propsVectorsTrie, sizeof(propsVectorsTrie));
208 udata_close(ucp.propsData); /* NULL if it was set correctly */