Home | History | Annotate | Download | only in common

Lines Matching full:profile

54 /* Profile names must be aligned to UStringPrepProfileType */
135 UStringPrepProfile *profile = NULL;
154 profile = (UStringPrepProfile *) e->value.pointer;
157 if ((noRefCount== FALSE && profile->refCount == 0) ||
163 usprep_unload(profile);
173 uprv_free(profile);
230 loadData(UStringPrepProfile* profile,
267 if(profile->sprepData==NULL) {
268 profile->sprepData=dataMemory;
270 uprv_memcpy(&profile->indexes, p, sizeof(profile->indexes));
271 uprv_memcpy(&profile->sprepTrie, &_sprepTrie, sizeof(UTrie));
273 p=(const int32_t *)udata_getMemory(profile->sprepData);
277 profile->mappingData=(uint16_t *)((uint8_t *)(p+_SPREP_INDEX_TOP)+profile->indexes[_SPREP_INDEX_TRIE_SIZE]);
284 normCorrVer = profile->indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION];
292 ((profile->indexes[_SPREP_OPTIONS] & _SPREP_NORMALIZATION_ON) > 0) /* normalization turned on*/
298 profile->isDataLoaded = TRUE;
306 return profile->isDataLoaded;
314 UStringPrepProfile* profile = NULL;
333 profile = (UStringPrepProfile*) (uhash_get(SHARED_DATA_HASHTABLE,&stackKey));
334 if(profile != NULL) {
335 profile->refCount++;
339 if(profile == NULL) {
375 profile = (UStringPrepProfile*) (uhash_get(SHARED_DATA_HASHTABLE,&stackKey));
376 if(profile != NULL) {
377 profile->refCount++;
388 profile = newProfile.orphan();
391 profile->refCount = 1;
392 uhash_put(SHARED_DATA_HASHTABLE, key.orphan(), profile, status);
397 return profile;
409 /* initialize the profile struct members */
428 usprep_close(UStringPrepProfile* profile){
429 if(profile==NULL){
435 if(profile->refCount > 0){
436 profile->refCount--;
517 usprep_map( const UStringPrepProfile* profile,
531 const int32_t* indexes = profile->indexes;
543 UTRIE_GET16(&profile->sprepTrie,ch,result);
570 length = profile->mappingData[index++];
577 dest[destIndex] = profile->mappingData[index+i];
649 In any profile that specifies bidirectional character handling, all
666 usprep_prepare( const UStringPrepProfile* profile,
679 if(profile==NULL || src==NULL || srcLength<-1 || (dest==NULL && destCapacity!=0)) {
700 b1Len = usprep_map(profile, src, srcLength, b1, b1Capacity, options, parseError, status);
713 b1Len = usprep_map(profile, src, srcLength, b1, b1Len, options, parseError, status);
718 if(profile->doNFKC == TRUE){
758 UTRIE_GET16(&profile->sprepTrie,ch,result);
770 if(profile->checkBiDi) {
771 direction = ubidi_getClass(profile->bdp, ch);
785 if(profile->checkBiDi == TRUE){