Searched defs:codePoint (Results 1 - 17 of 17) sorted by relevance

/external/webkit/Source/WebCore/platform/text/
H A DTextCodec.cpp39 int TextCodec::getUnencodableReplacement(unsigned codePoint, UnencodableHandling handling, UnencodableReplacementArray replacement) argument
47 snprintf(replacement, sizeof(UnencodableReplacementArray), "&#%u;", codePoint);
50 snprintf(replacement, sizeof(UnencodableReplacementArray), "%%26%%23%u%%3B", codePoint);
H A DTextCodecICU.cpp361 UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err)
367 int entityLen = TextCodec::getUnencodableReplacement(codePoint, URLEncodedEntitiesForUnencodables, entity);
370 UCNV_FROM_U_CALLBACK_ESCAPE(context, fromUArgs, codeUnits, length, codePoint, reason, err);
375 UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err)
378 if (reason == UCNV_UNASSIGNED && (outChar = fallbackForGBK(codePoint))) {
384 UCNV_FROM_U_CALLBACK_ESCAPE(context, fromUArgs, codeUnits, length, codePoint, reason, err);
389 UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err)
392 if (UChar outChar = fallbackForGBK(codePoint)) {
398 urlEscapedEntityCallback(context, fromUArgs, codeUnits, length, codePoint, reason, err);
401 UCNV_FROM_U_CALLBACK_ESCAPE(context, fromUArgs, codeUnits, length, codePoint, reaso
360 urlEscapedEntityCallback(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument
374 gbkCallbackEscape(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument
388 gbkUrlEscapedEntityCallack(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument
404 gbkCallbackSubstitute(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* err) argument
[all...]
/external/icu4c/i18n/
H A Duspoof_wsconf.h43 UChar32 codePoint; // The source code point. member in class:BuilderScriptSet
H A Ducol_cnt.cpp371 uprv_cnttab_insertContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status) { argument
392 while(tbl->codePoints[offset] < codePoint && offset<tbl->position) {
403 tbl->codePoints[offset] = codePoint;
413 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status) { argument
433 tbl->codePoints[tbl->position] = codePoint;
442 uprv_cnttab_setContraction(CntTable *table, uint32_t element, uint32_t offset, UChar codePoint, uint32_t value, UErrorCode *status) { argument
464 tbl->codePoints[offset] = codePoint;
480 static int32_t _cnttab_findCP(ContractionTable *tbl, UChar codePoint) { argument
486 while(codePoint > tbl->codePoints[position]) {
492 if (codePoint
511 uprv_cnttab_findCP(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status) argument
530 uprv_cnttab_findCE(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status) argument
558 uprv_cnttab_changeContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t newCE, UErrorCode *status) argument
[all...]
/external/icu4c/samples/props/
H A Dprops.cpp26 printProps(UChar32 codePoint) { argument
32 u_charName(codePoint, U_UNICODE_CHAR_NAME, buffer, sizeof(buffer), &errorCode);
35 printf("U+%04lx\t%s\n", codePoint, buffer);
38 printf(" general category (numeric enum value): %u\n", u_charType(codePoint));
41 printf(" is lowercase: %d uppercase: U+%04lx\n", u_islower(codePoint), u_toupper(codePoint));
43 printf(" is digit: %d decimal digit value: %d\n", u_isdigit(codePoint), u_charDigitValue(codePoint));
45 printf(" BiDi directional category (numeric enum value): %u\n", u_charDirection(codePoint));
/external/icu4c/samples/ucnv/
H A Dflagcb.c34 UChar32 codePoint,
94 length, codePoint, reason, err);
118 codePoint,
176 UChar32 codePoint,
225 length, codePoint, reason, err);
251 codePoint,
29 flagCB_fromU( const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
172 debugCB_fromU(const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DEncodingInfo.java189 int codePoint = Encodings.toCodePoint(ch1);
190 if (codePoint < m_explFirst) {
201 codePoint);
203 } else if (m_explLast < codePoint) {
214 codePoint);
218 final int idx = codePoint - m_explFirst;
236 int codePoint = Encodings.toCodePoint(high,low);
237 if (codePoint < m_explFirst) {
248 codePoint);
250 } else if (m_explLast < codePoint) {
343 EncodingImpl(String encoding, int first, int last, int codePoint) argument
[all...]
/external/icu4c/common/
H A Ducnv_err.c60 UChar32 codePoint,
89 UChar32 codePoint,
110 UChar32 codePoint,
137 UChar32 codePoint,
198 valueStringLength += uprv_itou (valueString + valueStringLength, VALUE_STRING_LENGTH - valueStringLength, codePoint, 16, 8);
212 valueStringLength += uprv_itou (valueString + valueStringLength, VALUE_STRING_LENGTH - valueStringLength, codePoint, 10, 0);
226 valueStringLength += uprv_itou (valueString + valueStringLength, VALUE_STRING_LENGTH - valueStringLength, codePoint, 16, 0);
239 valueStringLength += uprv_itou (valueString + valueStringLength, VALUE_STRING_LENGTH - valueStringLength, codePoint, 16, 4);
248 valueStringLength += uprv_itou (valueString + valueStringLength, VALUE_STRING_LENGTH - valueStringLength, codePoint, 16, 0);
55 UCNV_FROM_U_CALLBACK_STOP( const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
84 UCNV_FROM_U_CALLBACK_SKIP( const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
105 UCNV_FROM_U_CALLBACK_SUBSTITUTE( const void *context, UConverterFromUnicodeArgs *fromArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
132 UCNV_FROM_U_CALLBACK_ESCAPE( const void *context, UConverterFromUnicodeArgs *fromArgs, const UChar *codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
H A Ducnvmbcs.h181 * UChar32 codePoint;
348 UChar32 codePoint; member in struct:__anon4689
H A Dutrie2.h631 trie(t), codePointStart(p), codePointLimit(p), codePoint(U_SENTINEL) {}
635 UChar32 codePoint; member in class:UTrie2StringIterator
H A Ducnv.c1079 UChar32 codePoint; local
1082 codePoint=cnv->fromUChar32;
1084 U16_APPEND_UNSAFE(cnv->invalidUCharBuffer, errorInputLength, codePoint);
1092 cnv->invalidUCharBuffer, errorInputLength, codePoint,
/external/webkit/Source/WebCore/platform/text/gtk/
H A DTextCodecGtk.cpp553 UChar codePoint = reinterpret_cast<const UChar*>(input)[0]; local
555 int replacementLength = TextCodec::getUnencodableReplacement(codePoint, handling, replacement);
/external/icu4c/test/perf/utfperf/
H A Dutfperf.cpp109 UChar32 codePoint,
115 UCNV_FROM_U_CALLBACK_SUBSTITUTE(context, fromUArgs, codeUnits, length, codePoint, reason, pErrorCode);
105 fromUCallback(const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar *codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode *pErrorCode) argument
/external/icu4c/test/intltest/
H A Dconvtest.cpp507 UChar32 codePoint,
511 ((UnicodeSet *)context)->remove(codePoint); // the converter cannot convert this code point
503 getUnicodeSetCallback(const void *context, UConverterFromUnicodeArgs * , const UChar* , int32_t , UChar32 codePoint, UConverterCallbackReason reason, UErrorCode *pErrorCode) argument
H A Dusettest.cpp761 int32_t codePoint = it.getCodepoint(); local
768 TEST_ASSERT(codePoint==0x61);
774 TEST_ASSERT(codePoint==0x62);
780 TEST_ASSERT(codePoint==0x63);
786 TEST_ASSERT(codePoint==0x79);
792 TEST_ASSERT(codePoint==0x7a);
798 TEST_ASSERT(codePoint==0x1abcd);
/external/icu4c/test/cintltst/
H A Dcucdtst.c1291 const UChar32 codePoint[]={ local
1320 for(i=0; i<(int32_t)(sizeof(codePoint)/sizeof(codePoint[0])); i++){
1321 UChar32 c=codePoint[i];
1362 else if(i >=18 && i<(int32_t)(sizeof(codePoint)/sizeof(codePoint[0]))){
H A Dccapitst.c1404 UChar32 codePoint,
1400 TSCC_fromU(const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument

Completed in 3118 milliseconds