Searched refs:lang_len (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/third_party/libpng16/ |
D | pngset.c | 788 size_t lang_len, lang_key_len; in png_set_text_2() local 806 lang_len = 0; in png_set_text_2() 816 lang_len = strlen(text_ptr[i].lang); in png_set_text_2() 819 lang_len = 0; in png_set_text_2() 854 key_len + text_length + lang_len + lang_key_len + 4)); in png_set_text_2() 866 (key_len + lang_len + lang_key_len + text_length + 4), in png_set_text_2() 875 memcpy(textp->lang, text_ptr[i].lang, lang_len); in png_set_text_2() 876 *(textp->lang + lang_len) = '\0'; in png_set_text_2() 877 textp->lang_key = textp->lang + lang_len + 1; in png_set_text_2()
|
D | pngwutil.c | 1600 png_size_t lang_len, lang_key_len; in png_write_iTXt() local 1642 lang_len = strlen(lang)+1; in png_write_iTXt() 1648 if (lang_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt() 1651 prefix_len = (png_uint_32)(prefix_len + lang_len); in png_write_iTXt() 1679 png_write_chunk_data(png_ptr, (png_const_bytep)lang, lang_len); in png_write_iTXt()
|
/external/libpng/ |
D | pngset.c | 837 size_t lang_len, lang_key_len; in png_set_text_2() local 855 lang_len = 0; in png_set_text_2() 865 lang_len = strlen(text_ptr[i].lang); in png_set_text_2() 868 lang_len = 0; in png_set_text_2() 903 key_len + text_length + lang_len + lang_key_len + 4)); in png_set_text_2() 915 (key_len + lang_len + lang_key_len + text_length + 4), in png_set_text_2() 924 memcpy(textp->lang, text_ptr[i].lang, lang_len); in png_set_text_2() 925 *(textp->lang + lang_len) = '\0'; in png_set_text_2() 926 textp->lang_key = textp->lang + lang_len + 1; in png_set_text_2()
|
D | pngwutil.c | 1630 png_size_t lang_len, lang_key_len; in png_write_iTXt() local 1672 lang_len = strlen(lang)+1; in png_write_iTXt() 1678 if (lang_len > PNG_UINT_31_MAX-prefix_len) in png_write_iTXt() 1681 prefix_len = (png_uint_32)(prefix_len + lang_len); in png_write_iTXt() 1709 png_write_chunk_data(png_ptr, (png_const_bytep)lang, lang_len); in png_write_iTXt()
|
/external/harfbuzz_ng/src/ |
D | hb-graphite2.cc | 243 int lang_len = lang_end ? lang_end - lang : -1; in _hb_graphite2_shape() local 244 …_val *feats = gr_face_featureval_for_lang (grface, lang ? hb_tag_from_string (lang, lang_len) : 0); in _hb_graphite2_shape()
|