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

12

/external/webkit/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.cpp342 static UChar getGbkEscape(UChar32 codePoint) argument
344 switch (codePoint) {
361 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 = getGbkEscape(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 = getGbkEscape(codePoint)) {
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/chromium/third_party/icu/source/i18n/
H A Duspoof_buildwsconf.h39 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/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/chromium/third_party/icu/source/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:__anon1372
H A Ducnv.c1077 UChar32 codePoint; local
1080 codePoint=cnv->fromUChar32;
1082 U16_APPEND_UNSAFE(cnv->invalidUCharBuffer, errorInputLength, codePoint);
1090 cnv->invalidUCharBuffer, errorInputLength, codePoint,
/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:__anon2360
H A Dutrie2.h622 trie(t), codePointStart(p), codePointLimit(p), codePoint(U_SENTINEL) {}
626 UChar32 codePoint; member in class:UTrie2StringIterator
H A Ducnv.c1077 UChar32 codePoint; local
1080 codePoint=cnv->fromUChar32;
1082 U16_APPEND_UNSAFE(cnv->invalidUCharBuffer, errorInputLength, codePoint);
1090 cnv->invalidUCharBuffer, errorInputLength, codePoint,
/external/chromium/third_party/icu/source/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/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/chromium/third_party/icu/source/test/intltest/
H A Dconvtest.cpp475 UChar32 codePoint,
479 ((UnicodeSet *)context)->remove(codePoint); // the converter cannot convert this code point
471 getUnicodeSetCallback(const void *context, UConverterFromUnicodeArgs * , const UChar* , int32_t , UChar32 codePoint, UConverterCallbackReason reason, UErrorCode *pErrorCode) argument
H A Dusettest.cpp730 int32_t codePoint = it.getCodepoint(); local
737 TEST_ASSERT(codePoint==0x61);
743 TEST_ASSERT(codePoint==0x62);
749 TEST_ASSERT(codePoint==0x63);
755 TEST_ASSERT(codePoint==0x79);
761 TEST_ASSERT(codePoint==0x7a);
767 TEST_ASSERT(codePoint==0x1abcd);
/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/webkit/WebCore/platform/
H A DKURLGoogle.cpp940 unsigned codePoint; local
942 unescaped.length(), &codePoint)) {
944 url_canon::AppendUTF16Value(codePoint, &utf16);
/external/chromium/third_party/icu/source/test/cintltst/
H A Dcucdtst.c1331 const UChar32 codePoint[]={ local
1360 for(i=0; i<(int32_t)(sizeof(codePoint)/sizeof(codePoint[0])); i++){
1361 UChar32 c=codePoint[i];
1402 else if(i >=18 && i<(int32_t)(sizeof(codePoint)/sizeof(codePoint[0]))){
H A Dccapitst.c1396 UChar32 codePoint,
1392 TSCC_fromU(const void *context, UConverterFromUnicodeArgs *fromUArgs, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) argument
/external/icu4c/test/cintltst/
H A Dcucdtst.c1290 const UChar32 codePoint[]={ local
1319 for(i=0; i<(int32_t)(sizeof(codePoint)/sizeof(codePoint[0])); i++){
1320 UChar32 c=codePoint[i];
1361 else if(i >=18 && i<(int32_t)(sizeof(codePoint)/sizeof(codePoint[0]))){

Completed in 291 milliseconds

12