Searched refs:codepoint (Results 1 – 11 of 11) sorted by relevance
/AliOS-Things-master/components/SDL2/test/ |
A D | testime.c | 142 Uint32 codepoint; in unifont_init() local 290 …unifont_make_rgba(unifontGlyph[codepoint].data, textureRGBA + offset, unifontGlyph[codepoint].widt… in unifont_load_texture() 326 if (codepoint > UNIFONT_MAX_CODEPOINT) { in unifont_draw_glyph() 342 return unifontGlyph[codepoint].width; in unifont_draw_glyph() 414 Uint32 codepoint = 0; in utf8_decode() local 422 codepoint = (0xff >> len) & *p; in utf8_decode() 425 codepoint <<= 6; in utf8_decode() 426 codepoint |= 0x3f & *p; in utf8_decode() 433 return codepoint; in utf8_decode() 494 Uint32 codepoint; in _Redraw() [all …]
|
A D | utf8.txt | 95 character codepoint. --ryan.) |
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/jansson/ |
A D | utf.h | 19 int utf8_encode(int32_t codepoint, char *buffer, size_t *size); 22 size_t utf8_check_full(const char *buffer, size_t size, int32_t *codepoint); 23 const char *utf8_iterate(const char *buffer, size_t size, int32_t *codepoint);
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenevents.c | 276 if (codepoint <= 0x7F) { in Emscripten_ConvertUTF32toUTF8() 277 text[0] = (char) codepoint; in Emscripten_ConvertUTF32toUTF8() 279 } else if (codepoint <= 0x7FF) { in Emscripten_ConvertUTF32toUTF8() 280 text[0] = 0xC0 | (char) ((codepoint >> 6) & 0x1F); in Emscripten_ConvertUTF32toUTF8() 281 text[1] = 0x80 | (char) (codepoint & 0x3F); in Emscripten_ConvertUTF32toUTF8() 283 } else if (codepoint <= 0xFFFF) { in Emscripten_ConvertUTF32toUTF8() 285 text[1] = 0x80 | (char) ((codepoint >> 6) & 0x3F); in Emscripten_ConvertUTF32toUTF8() 286 text[2] = 0x80 | (char) (codepoint & 0x3F); in Emscripten_ConvertUTF32toUTF8() 288 } else if (codepoint <= 0x10FFFF) { in Emscripten_ConvertUTF32toUTF8() 291 text[2] = 0x80 | (char) ((codepoint >> 6) & 0x3F); in Emscripten_ConvertUTF32toUTF8() [all …]
|
/AliOS-Things-master/components/freetype/src/autofit/ |
A D | hbshim.c | 409 FT_ULong *codepoint, in af_get_char_index() argument 458 out_idx = ginfo[0].codepoint; in af_get_char_index() 464 *codepoint = 0; in af_get_char_index() 469 *codepoint = out_idx; in af_get_char_index() 483 *codepoint = in_idx; in af_get_char_index() 510 FT_ULong *codepoint, in af_get_char_index() argument 521 *codepoint = FT_Get_Char_Index( face, charcode ); in af_get_char_index()
|
A D | hbshim.h | 46 FT_ULong *codepoint,
|
/AliOS-Things-master/components/jsoncpp/src/lib_json/ |
A D | json_writer.cpp | 324 if (codepoint < 0x20) { in valueToQuotedStringN() 325 appendHex(result, codepoint); in valueToQuotedStringN() 327 appendRaw(result, codepoint); in valueToQuotedStringN() 331 if (codepoint < 0x20) { in valueToQuotedStringN() 332 appendHex(result, codepoint); in valueToQuotedStringN() 333 } else if (codepoint < 0x80) { in valueToQuotedStringN() 334 appendRaw(result, codepoint); in valueToQuotedStringN() 335 } else if (codepoint < 0x10000) { in valueToQuotedStringN() 337 appendHex(result, codepoint); in valueToQuotedStringN() 340 codepoint -= 0x10000; in valueToQuotedStringN() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsevents.c | 334 WIN_ConvertUTF32toUTF8(UINT32 codepoint, char * text) in WIN_ConvertUTF32toUTF8() argument 336 if (codepoint <= 0x7F) { in WIN_ConvertUTF32toUTF8() 337 text[0] = (char) codepoint; in WIN_ConvertUTF32toUTF8() 339 } else if (codepoint <= 0x7FF) { in WIN_ConvertUTF32toUTF8() 340 text[0] = 0xC0 | (char) ((codepoint >> 6) & 0x1F); in WIN_ConvertUTF32toUTF8() 341 text[1] = 0x80 | (char) (codepoint & 0x3F); in WIN_ConvertUTF32toUTF8() 343 } else if (codepoint <= 0xFFFF) { in WIN_ConvertUTF32toUTF8() 345 text[1] = 0x80 | (char) ((codepoint >> 6) & 0x3F); in WIN_ConvertUTF32toUTF8() 346 text[2] = 0x80 | (char) (codepoint & 0x3F); in WIN_ConvertUTF32toUTF8() 348 } else if (codepoint <= 0x10FFFF) { in WIN_ConvertUTF32toUTF8() [all …]
|
/AliOS-Things-master/components/cjson/src/ |
A D | cJSON.c | 579 long unsigned int codepoint = 0; in utf16_literal_to_utf8() local 632 codepoint = 0x10000 + (((first_code & 0x3FF) << 10) | (second_code & 0x3FF)); in utf16_literal_to_utf8() 637 codepoint = first_code; in utf16_literal_to_utf8() 643 if (codepoint < 0x80) in utf16_literal_to_utf8() 648 else if (codepoint < 0x800) in utf16_literal_to_utf8() 654 else if (codepoint < 0x10000) in utf16_literal_to_utf8() 660 else if (codepoint <= 0x10FFFF) in utf16_literal_to_utf8() 676 (*output_pointer)[utf8_position] = (unsigned char)((codepoint | 0x80) & 0xBF); in utf16_literal_to_utf8() 677 codepoint >>= 6; in utf16_literal_to_utf8() 682 (*output_pointer)[0] = (unsigned char)((codepoint | first_byte_mark) & 0xFF); in utf16_literal_to_utf8() [all …]
|
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/ |
A D | duktape.h | 245 typedef void (*duk_decode_char_function) (void *udata, duk_codepoint_t codepoint); 246 typedef duk_codepoint_t (*duk_map_char_function) (void *udata, duk_codepoint_t codepoint);
|
A D | duktape.c | 4792 duk_codepoint_t codepoint; member 40076 dec_ctx->codepoint = (dec_ctx->codepoint << 6) | (x & 0x3f); in duk__utf8_decode_next() 40084 ret = dec_ctx->codepoint; in duk__utf8_decode_next() 40109 DUK_ASSERT(codepoint >= 0); in duk__utf8_encode_char() 40124 } else if (codepoint >= 0xd800L && codepoint <= 0xdfffL) { in duk__utf8_encode_char() 40125 if (codepoint <= 0xdbffL) { in duk__utf8_encode_char() 40170 duk_codepoint_t codepoint; in duk__decode_helper() local 40242 if (codepoint < 0) { in duk__decode_helper() 40248 DUK_ASSERT(codepoint == DUK__CP_ERROR || codepoint == DUK__CP_RETRY); in duk__decode_helper() 40260 DUK_ASSERT(codepoint >= 0x0000L && codepoint <= 0x10ffffL); in duk__decode_helper() [all …]
|
Completed in 285 milliseconds