/dports/editors/dte/dte-cae7c45ea5a563c022001a54d1eee71c268f62b4/src/encoding/ |
H A D | bom.c | 18 const unsigned int bom_len = boms[i].len; in detect_encoding_from_bom() local 19 if (bom_len > 0 && size >= bom_len && !memcmp(buf, boms[i].bytes, bom_len)) { in detect_encoding_from_bom()
|
/dports/net/uget/uget-2.2.1/ui-gtk/ |
H A D | UgtkUtil.c | 246 guint bom_len; in ugtk_io_channel_decide_encoding() local 256 bom_len = UG_BOM_UTF32BE_LEN; in ugtk_io_channel_decide_encoding() 260 bom_len = UG_BOM_UTF32LE_LEN; in ugtk_io_channel_decide_encoding() 264 bom_len = UG_BOM_UTF8_LEN; in ugtk_io_channel_decide_encoding() 268 bom_len = UG_BOM_UTF16BE_LEN; in ugtk_io_channel_decide_encoding() 272 bom_len = UG_BOM_UTF16LE_LEN; in ugtk_io_channel_decide_encoding() 276 bom_len = 0; in ugtk_io_channel_decide_encoding() 281 g_io_channel_seek_position (channel, bom_len, G_SEEK_SET, NULL); in ugtk_io_channel_decide_encoding()
|
/dports/devel/git-p4/git-2.34.1/ |
H A D | utf8.c | 476 size_t bom_len, size_t *outsz_p) 485 outpos = out + bom_len; 547 size_t bom_len = 0; 566 bom_len = sizeof(utf16_le_bom); 570 bom_len = sizeof(utf16_be_bom); 575 bom_len = sizeof(utf16_be_bom); 579 bom_len = sizeof(utf32_be_bom); 595 if (out && bom_str && bom_len) 596 memcpy(out, bom_str, bom_len); 602 const char *bom, size_t bom_len) [all …]
|
H A D | utf8.h | 30 iconv_t conv, size_t bom_len, size_t *outsz);
|
/dports/devel/git-gui/git-2.34.1/ |
H A D | utf8.c | 476 size_t bom_len, size_t *outsz_p) in reencode_string_iconv() argument 485 outpos = out + bom_len; in reencode_string_iconv() 547 size_t bom_len = 0; in reencode_string_len() local 566 bom_len = sizeof(utf16_le_bom); in reencode_string_len() 570 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 575 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 579 bom_len = sizeof(utf32_be_bom); in reencode_string_len() 595 if (out && bom_str && bom_len) in reencode_string_len() 596 memcpy(out, bom_str, bom_len); in reencode_string_len() 602 const char *bom, size_t bom_len) in has_bom_prefix() argument [all …]
|
H A D | utf8.h | 30 iconv_t conv, size_t bom_len, size_t *outsz);
|
/dports/devel/git-svn/git-2.34.1/ |
H A D | utf8.c | 476 size_t bom_len, size_t *outsz_p) 485 outpos = out + bom_len; 547 size_t bom_len = 0; 566 bom_len = sizeof(utf16_le_bom); 570 bom_len = sizeof(utf16_be_bom); 575 bom_len = sizeof(utf16_be_bom); 579 bom_len = sizeof(utf32_be_bom); 595 if (out && bom_str && bom_len) 596 memcpy(out, bom_str, bom_len); 602 const char *bom, size_t bom_len) [all …]
|
H A D | utf8.h | 30 iconv_t conv, size_t bom_len, size_t *outsz);
|
/dports/devel/git/git-2.34.1/ |
H A D | utf8.c | 476 size_t bom_len, size_t *outsz_p) in reencode_string_iconv() argument 485 outpos = out + bom_len; in reencode_string_iconv() 547 size_t bom_len = 0; in reencode_string_len() local 566 bom_len = sizeof(utf16_le_bom); in reencode_string_len() 570 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 575 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 579 bom_len = sizeof(utf32_be_bom); in reencode_string_len() 595 if (out && bom_str && bom_len) in reencode_string_len() 596 memcpy(out, bom_str, bom_len); in reencode_string_len() 602 const char *bom, size_t bom_len) in has_bom_prefix() argument [all …]
|
H A D | utf8.h | 30 iconv_t conv, size_t bom_len, size_t *outsz);
|
/dports/devel/git-cvs/git-2.34.1/ |
H A D | utf8.c | 476 size_t bom_len, size_t *outsz_p) in reencode_string_iconv() argument 485 outpos = out + bom_len; in reencode_string_iconv() 547 size_t bom_len = 0; in reencode_string_len() local 566 bom_len = sizeof(utf16_le_bom); in reencode_string_len() 570 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 575 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 579 bom_len = sizeof(utf32_be_bom); in reencode_string_len() 595 if (out && bom_str && bom_len) in reencode_string_len() 596 memcpy(out, bom_str, bom_len); in reencode_string_len() 602 const char *bom, size_t bom_len) in has_bom_prefix() argument [all …]
|
/dports/devel/cgit/cgit-1.2.3/git/ |
H A D | utf8.c | 476 size_t bom_len, size_t *outsz_p) in reencode_string_iconv() argument 485 outpos = out + bom_len; in reencode_string_iconv() 547 size_t bom_len = 0; in reencode_string_len() local 566 bom_len = sizeof(utf16_le_bom); in reencode_string_len() 570 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 575 bom_len = sizeof(utf16_be_bom); in reencode_string_len() 579 bom_len = sizeof(utf32_be_bom); in reencode_string_len() 595 if (out && bom_str && bom_len) in reencode_string_len() 596 memcpy(out, bom_str, bom_len); in reencode_string_len() 602 const char *bom, size_t bom_len) in has_bom_prefix() argument [all …]
|
H A D | utf8.h | 30 iconv_t conv, size_t bom_len, size_t *outsz);
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/ |
H A D | mm_io.cpp | 427 unsigned int bom_len; in write_bom() local 437 bom_len = 3; in write_bom() 440 bom_len = 2; in write_bom() 443 bom_len = 2; in write_bom() 446 bom_len = 4; in write_bom() 449 bom_len = 4; in write_bom() 456 p->bom_written = write(bom, bom_len) == bom_len; in write_bom()
|
H A D | mm_text_io.cpp | 38 mm_text_io_c::detect_byte_order_marker(buffer, num_read, byte_order_mark, bom_len); 40 in->setFilePointer(bom_len); 269 …lePointer(((0 == offset) && (libebml::seek_beginning == mode)) ? p_func()->bom_len : offset, mode); in setFilePointer() 281 return p_func()->bom_len; in get_byte_order_length()
|
H A D | mm_text_io_p.h | 23 unsigned int bom_len{};
|
/dports/devel/geany-legacy/geany-1.37.1/src/ |
H A D | encodings.c | 805 if (bom_len) in encodings_scan_unicode_bom() 806 *bom_len = 3; in encodings_scan_unicode_bom() 816 if (bom_len) in encodings_scan_unicode_bom() 817 *bom_len = 4; in encodings_scan_unicode_bom() 837 if (bom_len) in encodings_scan_unicode_bom() 838 *bom_len = 2; in encodings_scan_unicode_bom() 849 if (bom_len) in encodings_scan_unicode_bom() 850 *bom_len = 0; in encodings_scan_unicode_bom() 985 guint bom_len; in handle_bom() local 988 g_return_if_fail(bom_len != 0); in handle_bom() [all …]
|
H A D | encodingsprivate.h | 77 GeanyEncodingIndex encodings_scan_unicode_bom(const gchar *string, gsize len, guint *bom_len);
|
/dports/devel/geany/geany-1.38/src/ |
H A D | encodings.c | 805 if (bom_len) in encodings_scan_unicode_bom() 806 *bom_len = 3; in encodings_scan_unicode_bom() 816 if (bom_len) in encodings_scan_unicode_bom() 817 *bom_len = 4; in encodings_scan_unicode_bom() 837 if (bom_len) in encodings_scan_unicode_bom() 838 *bom_len = 2; in encodings_scan_unicode_bom() 849 if (bom_len) in encodings_scan_unicode_bom() 850 *bom_len = 0; in encodings_scan_unicode_bom() 985 guint bom_len; in handle_bom() local 988 g_return_if_fail(bom_len != 0); in handle_bom() [all …]
|
H A D | encodingsprivate.h | 77 GeanyEncodingIndex encodings_scan_unicode_bom(const gchar *string, gsize len, guint *bom_len);
|
/dports/math/pspp/pspp-1.4.1/src/libpspp/ |
H A D | u8-istream.c | 126 unsigned int bom_len; in u8_istream_for_fd() local 129 bom_len = encoding_guess_bom_length (encoding, is->buffer, is->length); in u8_istream_for_fd() 130 is->head += bom_len; in u8_istream_for_fd() 131 is->length -= bom_len; in u8_istream_for_fd()
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/extract/ |
H A D | xtr_textsubs.cpp | 108 unsigned int bom_len = 0; in create_file() local 112 mm_text_io_c::detect_byte_order_marker(pd, priv_size, byte_order_mark, bom_len); in create_file() 114 pd += bom_len; in create_file() 115 priv_size -= bom_len; in create_file()
|
/dports/editors/dte/dte-cae7c45ea5a563c022001a54d1eee71c268f62b4/src/ |
H A D | load-save.c | 104 const size_t bom_len = get_bom_for_encoding(bom_type)->len; in decode_and_add_blocks() local 105 buf += bom_len; in decode_and_add_blocks() 106 size -= bom_len; in decode_and_add_blocks()
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/corelib/ |
H A D | ncbistre.cpp | 614 int bom_len=0; in ReadIntoUtf8() local 619 bom_len=3; in ReadIntoUtf8() 628 bom_len=2; in ReadIntoUtf8() 632 n -= bom_len; in ReadIntoUtf8()
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/corelib/ |
H A D | ncbistre.cpp | 614 int bom_len=0; in ReadIntoUtf8() local 619 bom_len=3; in ReadIntoUtf8() 628 bom_len=2; in ReadIntoUtf8() 632 n -= bom_len; in ReadIntoUtf8()
|