Searched refs:codePoint (Results 1 - 25 of 53) sorted by relevance

123

/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/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...]
H A DTextCodec.h75 static int getUnencodableReplacement(unsigned codePoint, UnencodableHandling, UnencodableReplacementArray);
/external/icu4c/samples/ucnv/
H A Dflagcb.h36 UChar32 codePoint,
54 UChar32 codePoint,
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/i18n/
H A Ducol_cnt.h72 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status);
75 uprv_cnttab_setContraction(CntTable *table, uint32_t element, uint32_t offset, UChar codePoint, uint32_t value, UErrorCode *status);
78 uprv_cnttab_insertContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status);
84 uprv_cnttab_findCP(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status);
90 uprv_cnttab_changeContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t newCE, UErrorCode *status);
93 uprv_cnttab_findCE(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status);
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...]
H A Duspoof_buildwsconf.cpp236 bsset->codePoint = cp;
305 utrie2_set32(bSet->trie, bSet->codePoint, bSet->rindex, &status);
419 codePoint = -1;
/external/icu4c/i18n/
H A Ducol_cnt.h72 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status);
75 uprv_cnttab_setContraction(CntTable *table, uint32_t element, uint32_t offset, UChar codePoint, uint32_t value, UErrorCode *status);
78 uprv_cnttab_insertContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status);
84 uprv_cnttab_findCP(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status);
90 uprv_cnttab_changeContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t newCE, UErrorCode *status);
93 uprv_cnttab_findCE(CntTable *table, uint32_t element, UChar codePoint, UErrorCode *status);
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...]
H A Duspoof_wsconf.cpp236 bsset->codePoint = cp;
305 utrie2_set32(bSet->trie, bSet->codePoint, bSet->rindex, &status);
419 codePoint = -1;
/external/chromium/third_party/icu/public/common/unicode/
H A Ducnv_err.h229 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
239 UChar32 codePoint,
279 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
290 UChar32 codePoint,
308 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
320 UChar32 codePoint,
365 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
376 UChar32 codePoint,
/external/icu4c/common/unicode/
H A Ducnv_err.h229 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
239 UChar32 codePoint,
279 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
290 UChar32 codePoint,
308 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
320 UChar32 codePoint,
365 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
376 UChar32 codePoint,
/external/webkit/JavaScriptCore/icu/unicode/
H A Ducnv_err.h222 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
232 UChar32 codePoint,
272 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
283 UChar32 codePoint,
301 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
313 UChar32 codePoint,
358 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
369 UChar32 codePoint,
/external/webkit/JavaScriptGlue/icu/unicode/
H A Ducnv_err.h222 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
232 UChar32 codePoint,
272 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
283 UChar32 codePoint,
301 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
313 UChar32 codePoint,
358 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
369 UChar32 codePoint,
/external/webkit/WebCore/icu/unicode/
H A Ducnv_err.h222 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
232 UChar32 codePoint,
272 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
283 UChar32 codePoint,
301 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
313 UChar32 codePoint,
358 * @param codePoint Single UChar32 (UTF-32) containing the concerend Unicode codepoint.
369 UChar32 codePoint,
/external/bouncycastle/src/main/java/org/bouncycastle/util/
H A DStrings.java47 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << 6) | (bytes[i+3] & 0x3F);
48 int U = codePoint - 0x10000;
125 int codePoint = (((W1 & 0x03FF) << 10) | (W2 & 0x03FF)) + 0x10000;
126 bOut.write(0xf0 | (codePoint >> 18));
127 bOut.write(0x80 | ((codePoint >> 12) & 0x3F));
128 bOut.write(0x80 | ((codePoint >> 6) & 0x3F));
129 bOut.write(0x80 | (codePoint & 0x3F));
/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 Ducnv_bld.h138 UChar32 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 Ducnv_bld.h138 UChar32 codePoint,
H A Dutrie2.cpp707 codePoint=U_SENTINEL;
711 UTRIE2_U16_PREV16(trie, start, codePointStart, codePoint, result);
718 codePoint=U_SENTINEL;
722 UTRIE2_U16_NEXT16(trie, codePointLimit, limit, codePoint, result);

Completed in 366 milliseconds

123