Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/icu/source/common/
Ducase.c63 ucase_addPropertyStarts(const UCaseProps *csp, const USetAdder *sa, UErrorCode *pErrorCode) { in ucase_addPropertyStarts() argument
69 utrie2_enum(&csp->trie, NULL, _enumPropertyStartsRange, sa); in ucase_addPropertyStarts()
83 #define GET_EXCEPTIONS(csp, props) ((csp)->exceptions+((props)>>UCASE_EXC_SHIFT)) argument
132 ucase_tolower(const UCaseProps *csp, UChar32 c) { in ucase_tolower() argument
133 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_tolower()
139 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_tolower()
149 ucase_toupper(const UCaseProps *csp, UChar32 c) { in ucase_toupper() argument
150 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toupper()
156 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_toupper()
166 ucase_totitle(const UCaseProps *csp, UChar32 c) { in ucase_totitle() argument
[all …]
Ducase.h43 ucase_addPropertyStarts(const UCaseProps *csp, const USetAdder *sa, UErrorCode *pErrorCode);
81 ucase_tolower(const UCaseProps *csp, UChar32 c);
84 ucase_toupper(const UCaseProps *csp, UChar32 c);
87 ucase_totitle(const UCaseProps *csp, UChar32 c);
90 ucase_fold(const UCaseProps *csp, UChar32 c, uint32_t options);
102 ucase_addCaseClosure(const UCaseProps *csp, UChar32 c, const USetAdder *sa);
117 ucase_addStringCaseClosure(const UCaseProps *csp, const UChar *s, int32_t length, const USetAdder *…
121 ucase_getType(const UCaseProps *csp, UChar32 c);
125 ucase_getTypeOrIgnorable(const UCaseProps *csp, UChar32 c);
128 ucase_isSoftDotted(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(); in setTempCaseMap()
265 … if((csm->options&U_TITLECASE_NO_BREAK_ADJUSTMENT)==0 && UCASE_NONE==ucase_getType(csm->csp, c)) { in _toTitle()
277 if(UCASE_NONE!=ucase_getType(csm->csp, c)) { in _toTitle()
294 … c=ucase_toFullTitle(csm->csp, c, utf16_caseContextIterator, csc, &s, csm->locale, &csm->locCache); in _toTitle()
344 ustr_toLower(const UCaseProps *csp, in ustr_toLower() argument
352 csm.csp=csp; in ustr_toLower()
364 ustr_toUpper(const UCaseProps *csp, in ustr_toUpper() argument
372 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.cpp102 const UCaseProps *csp=ucase_getSingleton(); in caseMap() local
139 newLength = ustr_toLower(csp, getArrayStart(), getCapacity(), in caseMap()
143 newLength = ustr_toUpper(csp, getArrayStart(), getCapacity(), in caseMap()
150 newLength = ustr_toTitle(csp, getArrayStart(), getCapacity(), in caseMap()
155 newLength = ustr_foldCase(csp, getArrayStart(), getCapacity(), in caseMap()
Ducasemap.c48 csm->csp=ucase_getSingleton(); 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(); 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()
Duniset_props.cpp1409 const UCaseProps *csp = ucase_getSingleton(); in closeOver() local
1441 ucase_addCaseClosure(csp, cp, &sa); in closeOver()
1447 result = ucase_toFullLower(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1450 result = ucase_toFullTitle(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1453 result = ucase_toFullUpper(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
1456 result = ucase_toFullFolding(csp, cp, &full, 0); in closeOver()
1466 if(!ucase_addStringCaseClosure(csp, str.getBuffer(), str.length(), &sa)) { in closeOver()
Duprops.cpp132 const UCaseProps *csp=ucase_getSingleton(); in changesWhenCasefolded() local
134 return (UBool)(ucase_toFullFolding(csp, c, &resultString, U_FOLD_CASE_DEFAULT)>=0); in changesWhenCasefolded()
597 const UCaseProps *csp=ucase_getSingleton(); in u_getFC_NFKC_Closure() local
604 int32_t folded1Length=ucase_toFullFolding(csp, c, &folded1, U_FOLD_CASE_DEFAULT); in u_getFC_NFKC_Closure()
/external/icu4c/common/
Ducase.cpp66 ucase_addPropertyStarts(const UCaseProps *csp, const USetAdder *sa, UErrorCode *pErrorCode) { in ucase_addPropertyStarts() argument
72 utrie2_enum(&csp->trie, NULL, _enumPropertyStartsRange, sa); in ucase_addPropertyStarts()
86 #define GET_EXCEPTIONS(csp, props) ((csp)->exceptions+((props)>>UCASE_EXC_SHIFT)) argument
135 ucase_tolower(const UCaseProps *csp, UChar32 c) { in ucase_tolower() argument
136 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_tolower()
142 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_tolower()
152 ucase_toupper(const UCaseProps *csp, UChar32 c) { in ucase_toupper() argument
153 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toupper()
159 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_toupper()
169 ucase_totitle(const UCaseProps *csp, UChar32 c) { in ucase_totitle() argument
[all …]
Ducase.h49 ucase_addPropertyStarts(const UCaseProps *csp, const USetAdder *sa, UErrorCode *pErrorCode);
87 ucase_tolower(const UCaseProps *csp, UChar32 c);
90 ucase_toupper(const UCaseProps *csp, UChar32 c);
93 ucase_totitle(const UCaseProps *csp, UChar32 c);
96 ucase_fold(const UCaseProps *csp, UChar32 c, uint32_t options);
108 ucase_addCaseClosure(const UCaseProps *csp, UChar32 c, const USetAdder *sa);
123 ucase_addStringCaseClosure(const UCaseProps *csp, const UChar *s, int32_t length, const USetAdder *…
157 ucase_getType(const UCaseProps *csp, UChar32 c);
161 ucase_getTypeOrIgnorable(const UCaseProps *csp, UChar32 c);
164 ucase_isSoftDotted(const UCaseProps *csp, UChar32 c);
[all …]
Duniset_closure.cpp185 const UCaseProps *csp = ucase_getSingleton(); in closeOver() local
217 ucase_addCaseClosure(csp, cp, &sa); in closeOver()
223 result = ucase_toFullLower(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
226 result = ucase_toFullTitle(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
229 result = ucase_toFullUpper(csp, cp, NULL, NULL, &full, "", &locCache); in closeOver()
232 result = ucase_toFullFolding(csp, cp, &full, 0); in closeOver()
242 if(!ucase_addStringCaseClosure(csp, str.getBuffer(), str.length(), &sa)) { in closeOver()
Dustrcase.cpp147 c=map(csm->csp, c, utf16_caseContextIterator, csc, &s, csm->locale, &locCache); in _caseMap()
221 … if((csm->options&U_TITLECASE_NO_BREAK_ADJUSTMENT)==0 && UCASE_NONE==ucase_getType(csm->csp, c)) { in ustrcase_internalToTitle()
233 if(UCASE_NONE!=ucase_getType(csm->csp, c)) { in ustrcase_internalToTitle()
250 … c=ucase_toFullTitle(csm->csp, c, utf16_caseContextIterator, &csc, &s, csm->locale, &locCache); in ustrcase_internalToTitle()
330 ustr_foldCase(const UCaseProps *csp, in ustr_foldCase() argument
344 c=ucase_toFullFolding(csp, c, &s, options); in ustr_foldCase()
364 return ustr_foldCase(csm->csp, dest, destCapacity, src, srcLength, csm->options, pErrorCode); in ustrcase_internalFold()
442 csm.csp=ucase_getSingleton(); in u_strFoldCase()
474 const UCaseProps *csp; in u_strcmpFold() local
501 csp=ucase_getSingleton(); in u_strcmpFold()
[all …]
Dunistr_case_locale.cpp36 if(csm->csp==NULL) { in setTempCaseMap()
37 csm->csp=ucase_getSingleton(); in setTempCaseMap()
Ducasemap.cpp54 csm->csp=ucase_getSingleton(); in ucasemap_open()
240 c=map(csm->csp, c, utf8_caseContextIterator, csc, &s, csm->locale, &locCache); in _caseMap()
314 … if((csm->options&U_TITLECASE_NO_BREAK_ADJUSTMENT)==0 && UCASE_NONE==ucase_getType(csm->csp, c)) { in ucasemap_internalUTF8ToTitle()
326 if(UCASE_NONE!=ucase_getType(csm->csp, c)) { in ucasemap_internalUTF8ToTitle()
343 … c=ucase_toFullTitle(csm->csp, c, utf8_caseContextIterator, &csc, &s, csm->locale, &locCache); in ucasemap_internalUTF8ToTitle()
420 utf8_foldCase(const UCaseProps *csp, in utf8_foldCase() argument
442 c=ucase_toFullFolding(csp, c, &s, options); in utf8_foldCase()
462 return utf8_foldCase(csm->csp, dest, destCapacity, src, srcLength, csm->options, pErrorCode); in ucasemap_internalUTF8Fold()
Dunormcmp.cpp148 const UCaseProps *csp; in unorm_cmpEquivFold() local
187 csp=ucase_getSingleton(); 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()
Dustrcase_locale.cpp72 if(csm->csp==NULL) { in setTempCaseMap()
73 csm->csp=ucase_getSingleton(); in setTempCaseMap()
Dunistr_titlecase_brkiter.cpp44 if(csm->csp==NULL) { in setTempCaseMap()
45 csm->csp=ucase_getSingleton(); in setTempCaseMap()
Dustr_titlecase_brkiter.cpp38 if(csm->csp==NULL) { in setTempCaseMap()
39 csm->csp=ucase_getSingleton(); in setTempCaseMap()
Duprops.cpp132 const UCaseProps *csp=ucase_getSingleton(); in changesWhenCasefolded() local
134 return (UBool)(ucase_toFullFolding(csp, c, &resultString, U_FOLD_CASE_DEFAULT)>=0); in changesWhenCasefolded()
571 const UCaseProps *csp=ucase_getSingleton(); in u_getFC_NFKC_Closure() local
578 int32_t folded1Length=ucase_toFullFolding(csp, c, &folded1, U_FOLD_CASE_DEFAULT); in u_getFC_NFKC_Closure()
Dunistr_case.cpp146 csm.csp=ucase_getSingleton(); in foldCase()
/external/valgrind/main/callgrind/
Dbbcc.c560 Int passed = 0, csp; in CLG_() local
615 csp = CLG_(current_call_stack).sp; in CLG_()
618 if ( (jmpkind == jk_Return) && (csp >0)) { in CLG_()
619 Int csp_up = csp-1; in CLG_()
680 if (CLG_(get_fn_node)(last_bb)->pop_on_jump && (csp>0)) { in CLG_()
682 call_entry* top_ce = &(CLG_(current_call_stack).entry[csp-1]); in CLG_()
726 if ((csp == 0) || in CLG_()
751 csp = CLG_(current_call_stack).sp; in CLG_()
752 if (call_emulation && csp>0) in CLG_()
753 sp = CLG_(current_call_stack).entry[csp-1].sp; in CLG_()
Dcallstack.c408 Int csp; in CLG_() local
419 while( (csp=CLG_(current_call_stack).sp) >0) { in CLG_()
420 call_entry* top_ce = &(CLG_(current_call_stack).entry[csp-1]); in CLG_()
428 csp=CLG_(current_call_stack).sp; in CLG_()
/external/chromium_org/third_party/icu/patches/
Drematch.patch21 - foldLength = ucase_toFullFolding(csp, c, &foldChars, U_FOLD_CASE_DEFAU…
38 + foldLength = ucase_toFullFolding(csp, c, &foldChars, U_FOLD_CASE_D…
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8WindowShell.cpp235 ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy(); in initializeIfNeeded() local
236 … context->AllowCodeGenerationFromStrings(csp->allowEval(0, ContentSecurityPolicy::SuppressReport)); in initializeIfNeeded()
237 …context->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, csp->evalDisabledErrorMes… in initializeIfNeeded()

123