Home
last modified time | relevance | path

Searched refs:csp (Results 1 – 25 of 26) sorted by relevance

12

/external/icu4c/common/
Ducase.c67 UCaseProps *csp=(UCaseProps *)context; in isAcceptable() local
68 uprv_memcpy(csp->formatVersion, pInfo->formatVersion, 4); in isAcceptable()
78 UCaseProps *csp; in ucase_openData() local
125 csp=(UCaseProps *)uprv_malloc(sizeof(UCaseProps)); in ucase_openData()
126 if(csp==NULL) { in ucase_openData()
130 uprv_memcpy(csp, cspProto, sizeof(UCaseProps)); in ucase_openData()
131 return csp; in ucase_openData()
137 UCaseProps cspProto={ NULL }, *csp; in ucase_open() local
144 csp=ucase_openData( in ucase_open()
153 return csp; in ucase_open()
[all …]
Ducase.h41 ucase_close(UCaseProps *csp);
66 ucase_addPropertyStarts(const UCaseProps *csp, const USetAdder *sa, UErrorCode *pErrorCode);
104 ucase_tolower(const UCaseProps *csp, UChar32 c);
107 ucase_toupper(const UCaseProps *csp, UChar32 c);
110 ucase_totitle(const UCaseProps *csp, UChar32 c);
113 ucase_fold(const UCaseProps *csp, UChar32 c, uint32_t options);
125 ucase_addCaseClosure(const UCaseProps *csp, UChar32 c, const USetAdder *sa);
140 ucase_addStringCaseClosure(const UCaseProps *csp, const UChar *s, int32_t length, const USetAdder *…
144 ucase_getType(const UCaseProps *csp, UChar32 c);
148 ucase_getTypeOrIgnorable(const UCaseProps *csp, UChar32 c);
[all …]
Dustrcase.c141 c=map(csm->csp, c, utf16_caseContextIterator, csc, &s, csm->locale, &locCache); in _caseMap()
193 if(csm->csp==NULL) { in setTempCaseMap()
194 csm->csp=ucase_getSingleton(pErrorCode); in setTempCaseMap()
268 … if((csm->options&U_TITLECASE_NO_BREAK_ADJUSTMENT)==0 && UCASE_NONE==ucase_getType(csm->csp, c)) { in _toTitle()
280 if(UCASE_NONE!=ucase_getType(csm->csp, c)) { in _toTitle()
297 … c=ucase_toFullTitle(csm->csp, c, utf16_caseContextIterator, csc, &s, csm->locale, &csm->locCache); in _toTitle()
347 ustr_toLower(const UCaseProps *csp, in ustr_toLower() argument
355 csm.csp=csp; in ustr_toLower()
367 ustr_toUpper(const UCaseProps *csp, in ustr_toUpper() argument
375 csm.csp=csp; in ustr_toUpper()
[all …]
Dustr_imp.h98 const UCaseProps *csp; member
125 ustr_toLower(const UCaseProps *csp,
135 ustr_toUpper(const UCaseProps *csp,
147 ustr_toTitle(const UCaseProps *csp,
161 ustr_foldCase(const UCaseProps *csp,
Dunistr_case.cpp105 const UCaseProps *csp=ucase_getSingleton(&errorCode); in caseMap() local
145 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(), in caseMap()
149 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(), in caseMap()
156 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(), in caseMap()
161 newLength = ustr_foldCase(csp, getArrayStart(), getCapacity(), in caseMap()
Ducasemap.c48 csm->csp=ucase_getSingleton(pErrorCode); in ucasemap_open()
248 c=map(csm->csp, c, utf8_caseContextIterator, csc, &s, csm->locale, &locCache); in _caseMap()
330 … if((csm->options&U_TITLECASE_NO_BREAK_ADJUSTMENT)==0 && UCASE_NONE==ucase_getType(csm->csp, c)) { in _toTitle()
342 if(UCASE_NONE!=ucase_getType(csm->csp, c)) { in _toTitle()
359 … c=ucase_toFullTitle(csm->csp, c, utf8_caseContextIterator, csc, &s, csm->locale, &csm->locCache); in _toTitle()
408 utf8_foldCase(const UCaseProps *csp, in utf8_foldCase() argument
430 c=ucase_toFullFolding(csp, c, &s, options); in utf8_foldCase()
490 destLength=utf8_foldCase(csm->csp, dest, destCapacity, src, srcLength, in caseMap()
Dunormcmp.cpp148 const UCaseProps *csp; in unorm_cmpEquivFold() local
187 csp=ucase_getSingleton(pErrorCode); in unorm_cmpEquivFold()
189 csp=NULL; in unorm_cmpEquivFold()
322 (length=ucase_toFullFolding(csp, (UChar32)cp1, &p, options))>=0 in unorm_cmpEquivFold()
367 (length=ucase_toFullFolding(csp, (UChar32)cp2, &p, options))>=0 in unorm_cmpEquivFold()
Duprops.cpp304 const UCaseProps *csp=ucase_getSingleton(&errorCode); in u_hasBinaryProperty() local
306 … return (UBool)(ucase_toFullFolding(csp, c, &resultString, U_FOLD_CASE_DEFAULT)>=0); in u_hasBinaryProperty()
610 const UCaseProps *csp=ucase_getSingleton(pErrorCode); in u_getFC_NFKC_Closure() local
617 int32_t folded1Length=ucase_toFullFolding(csp, c, &folded1, U_FOLD_CASE_DEFAULT); in u_getFC_NFKC_Closure()
Duniset_props.cpp1389 const UCaseProps *csp = ucase_getSingleton(&status); in closeOver() local
1421 ucase_addCaseClosure(csp, cp, &sa); in closeOver()
1427 result = ucase_toFullLower(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1430 result = ucase_toFullTitle(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1433 result = ucase_toFullUpper(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1436 result = ucase_toFullFolding(csp, cp, &full, 0); in closeOver()
1446 if(!ucase_addStringCaseClosure(csp, str.getBuffer(), str.length(), &sa)) { in closeOver()
Dutext.cpp573 const UCaseProps *csp; in utext_caseCompare() local
596 csp=ucase_getSingleton(pErrorCode); in utext_caseCompare()
623 length = ucase_toFullFolding(csp, c1, &p, options); in utext_caseCompare()
649 length = ucase_toFullFolding(csp, c2, &p, options); in utext_caseCompare()
697 const UCaseProps *csp; in utext_caseCompareNativeLimit() local
722 csp=ucase_getSingleton(pErrorCode); in utext_caseCompareNativeLimit()
741 length = ucase_toFullFolding(csp, c1, &p, options); in utext_caseCompareNativeLimit()
764 length = ucase_toFullFolding(csp, c2, &p, options); in utext_caseCompareNativeLimit()
/external/chromium/third_party/icu/source/common/
Ducase.c67 UCaseProps *csp=(UCaseProps *)context; in isAcceptable() local
68 uprv_memcpy(csp->formatVersion, pInfo->formatVersion, 4); in isAcceptable()
78 UCaseProps *csp; in ucase_openData() local
125 csp=(UCaseProps *)uprv_malloc(sizeof(UCaseProps)); in ucase_openData()
126 if(csp==NULL) { in ucase_openData()
130 uprv_memcpy(csp, cspProto, sizeof(UCaseProps)); in ucase_openData()
131 return csp; in ucase_openData()
137 UCaseProps cspProto={ NULL }, *csp; in ucase_open() local
144 csp=ucase_openData( in ucase_open()
153 return csp; in ucase_open()
[all …]
Ducase.h41 ucase_close(UCaseProps *csp);
66 ucase_addPropertyStarts(const UCaseProps *csp, const USetAdder *sa, UErrorCode *pErrorCode);
104 ucase_tolower(const UCaseProps *csp, UChar32 c);
107 ucase_toupper(const UCaseProps *csp, UChar32 c);
110 ucase_totitle(const UCaseProps *csp, UChar32 c);
113 ucase_fold(const UCaseProps *csp, UChar32 c, uint32_t options);
125 ucase_addCaseClosure(const UCaseProps *csp, UChar32 c, const USetAdder *sa);
140 ucase_addStringCaseClosure(const UCaseProps *csp, const UChar *s, int32_t length, const USetAdder *…
144 ucase_getType(const UCaseProps *csp, UChar32 c);
148 ucase_getTypeOrIgnorable(const UCaseProps *csp, UChar32 c);
[all …]
Dustrcase.c142 c=map(csm->csp, c, utf16_caseContextIterator, csc, &s, csm->locale, &locCache); in _caseMap()
194 if(csm->csp==NULL) { in setTempCaseMap()
195 csm->csp=ucase_getSingleton(pErrorCode); in setTempCaseMap()
269 … if((csm->options&U_TITLECASE_NO_BREAK_ADJUSTMENT)==0 && UCASE_NONE==ucase_getType(csm->csp, c)) { in _toTitle()
281 if(UCASE_NONE!=ucase_getType(csm->csp, c)) { in _toTitle()
298 … c=ucase_toFullTitle(csm->csp, c, utf16_caseContextIterator, csc, &s, csm->locale, &csm->locCache); in _toTitle()
348 ustr_toLower(const UCaseProps *csp, in ustr_toLower() argument
356 csm.csp=csp; in ustr_toLower()
368 ustr_toUpper(const UCaseProps *csp, in ustr_toUpper() argument
376 csm.csp=csp; in ustr_toUpper()
[all …]
Dustr_imp.h105 const UCaseProps *csp; member
132 ustr_toLower(const UCaseProps *csp,
142 ustr_toUpper(const UCaseProps *csp,
154 ustr_toTitle(const UCaseProps *csp,
168 ustr_foldCase(const UCaseProps *csp,
Dunistr_case.cpp106 const UCaseProps *csp=ucase_getSingleton(&errorCode); in caseMap() local
146 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(), in caseMap()
150 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(), in caseMap()
157 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(), in caseMap()
162 newLength = ustr_foldCase(csp, getArrayStart(), getCapacity(), in caseMap()
Ducasemap.c48 csm->csp=ucase_getSingleton(pErrorCode); in ucasemap_open()
248 c=map(csm->csp, c, utf8_caseContextIterator, csc, &s, csm->locale, &locCache); in _caseMap()
330 … if((csm->options&U_TITLECASE_NO_BREAK_ADJUSTMENT)==0 && UCASE_NONE==ucase_getType(csm->csp, c)) { in _toTitle()
342 if(UCASE_NONE!=ucase_getType(csm->csp, c)) { in _toTitle()
359 … c=ucase_toFullTitle(csm->csp, c, utf8_caseContextIterator, csc, &s, csm->locale, &csm->locCache); in _toTitle()
408 utf8_foldCase(const UCaseProps *csp, in utf8_foldCase() argument
430 c=ucase_toFullFolding(csp, c, &s, options); in utf8_foldCase()
490 destLength=utf8_foldCase(csm->csp, dest, destCapacity, src, srcLength, in caseMap()
Dunormcmp.cpp143 const UCaseProps *csp; in unorm_cmpEquivFold() local
182 csp=ucase_getSingleton(pErrorCode); in unorm_cmpEquivFold()
187 csp=NULL; in unorm_cmpEquivFold()
317 (length=ucase_toFullFolding(csp, (UChar32)cp1, &p, options))>=0 in unorm_cmpEquivFold()
362 (length=ucase_toFullFolding(csp, (UChar32)cp2, &p, options))>=0 in unorm_cmpEquivFold()
Duniset_props.cpp1324 const UCaseProps *csp = ucase_getSingleton(&status); in closeOver() local
1356 ucase_addCaseClosure(csp, cp, &sa); in closeOver()
1362 result = ucase_toFullLower(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1365 result = ucase_toFullTitle(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1368 result = ucase_toFullUpper(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1371 result = ucase_toFullFolding(csp, cp, &full, 0); in closeOver()
1381 if(!ucase_addStringCaseClosure(csp, str.getBuffer(), str.length(), &sa)) { in closeOver()
/external/clearsilver/csharp/
DCS.cs86 unsafe CSPARSE *csp; field in Clearsilver.CSTContext
88 fixed (CSPARSE **csp_ptr = &csp) { in CSTContext()
97 cs_parse_file(csp,filename); in parseFile()
138 cs_render(csp,null,new CSOUTFUNC(ob.handleOutput)); in render()
/external/chromium/third_party/icu/source/test/cintltst/
Dcucdtst.c3059 UCaseProps *csp; in TestUCase() local
3072 csp=ucase_openBinary((const uint8_t *)pData->pHeader, -1, &errorCode); in TestUCase()
3080 if(UCASE_LOWER!=ucase_getType(csp, 0xdf)) { /* verify islower(sharp s) */ in TestUCase()
3084 ucase_close(csp); in TestUCase()
/external/icu4c/test/cintltst/
Dcucdtst.c3117 UCaseProps *csp; in TestUCase() local
3130 csp=ucase_openBinary((const uint8_t *)pData->pHeader, -1, &errorCode); in TestUCase()
3138 if(UCASE_LOWER!=ucase_getType(csp, 0xdf)) { /* verify islower(sharp s) */ in TestUCase()
3142 ucase_close(csp); in TestUCase()
/external/icu4c/i18n/
Drematch.cpp3823 const UCaseProps *csp = ucase_getSingleton(&status); in MatchAt() local
3852 … foldLength = ucase_toFullFolding(csp, c, &foldChars, U_FOLD_CASE_DEFAULT); in MatchAt()
3896 … foldLength = ucase_toFullFolding(csp, c, &foldChars, U_FOLD_CASE_DEFAULT); in MatchAt()
5500 const UCaseProps *csp = ucase_getSingleton(&status); in MatchChunkAt() local
5531 … foldLength = ucase_toFullFolding(csp, c, &foldChars, U_FOLD_CASE_DEFAULT); in MatchChunkAt()
5569 … foldLength = ucase_toFullFolding(csp, c, &foldChars, U_FOLD_CASE_DEFAULT); in MatchChunkAt()
/external/libffi/src/
Ddlmalloc.c3313 char* csp = (asp < (old_top + MIN_CHUNK_SIZE))? old_top : asp; in add_segment() local
3314 mchunkptr sp = (mchunkptr)csp; in add_segment()
3345 if (csp != old_top) { in add_segment()
3347 size_t psize = csp - old_top; in add_segment()
/external/qemu/distrib/sdl-1.2.12/src/stdlib/
DSDL_malloc.c3325 char* csp = (asp < (old_top + MIN_CHUNK_SIZE))? old_top : asp; in add_segment() local
3326 mchunkptr sp = (mchunkptr)csp; in add_segment()
3357 if (csp != old_top) { in add_segment()
3359 size_t psize = csp - old_top; in add_segment()
/external/webkit/LayoutTests/http/conf/
Dmime.types333 application/vnd.wv.csp+wbxml

12