/haiku/src/apps/terminal/ |
H A D | ShellInfo.cpp | 32 const BCharacterSet* charset local 34 fEncodingName = charset ? charset->GetName() : "UTF-8";
|
H A D | AppearPrefView.cpp | 313 const BPrivate::BCharacterSet* charset local 315 if (charset == NULL) 317 int code = charset->GetConversionID();
|
H A D | TermWindow.cpp | 420 const BCharacterSet* charset local 422 if (charset != NULL) { 423 BString name(charset->GetPrintName()); 424 const char* mime = charset->GetMIMEName(); 449 BCharacterSet charset; 450 while (roster.GetNextCharacterSet(&charset) == B_OK) { 452 const char* mime = charset.GetMIMEName(); 454 encoding = charset.GetConversionID(); 460 BString name(charset.GetPrintName()); 1398 const BCharacterSet* charset local [all...] |
/haiku/headers/private/libroot/locale/ |
H A D | ICUThreadLocalStorageValue.h | 22 char charset[64]; member in struct:BPrivate::Libroot::ICUThreadLocalStorageValue
|
/haiku/src/kits/textencoding/ |
H A D | utf8_conversions.cpp | 173 const BCharacterSet* charset = BCharacterSetRoster::GetCharacterSetByConversionID( local 175 if (charset == NULL) 179 fprintf(stderr, "convert_to_utf8(%s) : \"", charset->GetName()); 186 return convert_encoding(charset->GetName(), "UTF-8", src, srcLen, 195 const BCharacterSet* charset = BCharacterSetRoster::GetCharacterSetByConversionID( local 197 if (charset == NULL) 201 fprintf(stderr, "convert_from_utf8(%s) : \"", charset->GetName()); 208 return convert_encoding("UTF-8", charset->GetName(), src, srcLen,
|
H A D | CharacterSetRoster.cpp | 20 BCharacterSetRoster::GetNextCharacterSet(BCharacterSet * charset) argument 22 if (charset == 0) { 28 *charset = *character_sets_by_id[index++];
|
H A D | character_sets.cpp | 371 const BCharacterSet * charset = character_sets_by_id[index2]; local 372 character_sets_by_MIBenum[charset->GetMIBenum()] = charset;
|
/haiku/headers/os/mail/ |
H A D | MailMessage.h | 67 uint32 charset = B_MAIL_NULL_CONVERSION, 70 uint32 charset = B_MAIL_NULL_CONVERSION, 73 uint32 charset = B_MAIL_NULL_CONVERSION, 76 uint32 charset = B_MAIL_NULL_CONVERSION, 79 uint32 charset = B_MAIL_NULL_CONVERSION,
|
H A D | MailComponent.h | 47 uint32 charset = B_MAIL_NULL_CONVERSION, 101 void SetEncoding(mail_encoding encoding, int32 charset); 104 // charset: use Conversion flavor constants from UTF8.h 129 uint32 charset; // This character set is used for encoding, not decoding. member in class:BTextMailComponent
|
/haiku/src/kits/mail/ |
H A D | MailComponent.cpp | 29 const char* charset; member in struct:CharsetConversionEntry 36 const char* kHeaderCharsetString = "header-charset"; 122 uint32 charset, mail_encoding encoding, bool replace_existing) 133 if (charset != B_MAIL_NULL_CONVERSION 134 && headers.ReplaceInt32 (kHeaderCharsetString, charset) != B_OK) 135 headers.AddInt32(kHeaderCharsetString, charset); 146 int32 charset = B_MAIL_NULL_CONVERSION; local 180 structure->FindInt32(kHeaderCharsetString, &charset); 184 SetHeaderField(key, value.String(), (uint32) charset, (mail_encoding) encoding); 309 int32 charset local 121 SetHeaderField(const char* key, const char* value, uint32 charset, mail_encoding encoding, bool replace_existing) argument 445 SetEncoding(mail_encoding encoding, int32 charset) argument [all...] |
H A D | b_mail_message.cpp | 22 const char *charset; member in struct:CharsetConversionEntry 65 for (int32 i = 0; mail_charsets[i].charset != NULL; i++) { 66 if (strcasecmp(encoding,mail_charsets[i].charset) == 0) {
|
H A D | mail_util.cpp | 38 const char *charset; member in struct:CharsetConversionEntry 380 char *charset, *encoding, *end; local 401 ((charset = strstr(tail, "=?")) != NULL) 402 && (((encoding = strchr(charset + 2, '?')) != NULL) 405 // found "=?...charset...?e?...text...?= (e == encoding) 406 // ^charset ^encoding ^end 409 // Copy non-encoded text (from tail up to charset) to the output. 415 for (int i = 0; i < charset-tail; i++) { 422 if (string != tail && tail != charset) 423 memmove(string, tail, charset 555 utf8_to_rfc2047(char **bufp, ssize_t length, uint32 charset, char encoding) argument 566 ConvertWordToCharset(uint32 charset) argument [all...] |
H A D | MailMessage.cpp | 313 BEmailMessage::SetSubject(const char* subject, uint32 charset, argument 316 SetHeaderField("Subject", subject, charset, encoding); 321 BEmailMessage::SetReplyTo(const char* replyTo, uint32 charset, argument 324 SetHeaderField("Reply-To", replyTo, charset, encoding); 329 BEmailMessage::SetFrom(const char* from, uint32 charset, mail_encoding encoding) argument 331 SetHeaderField("From", from, charset, encoding); 336 BEmailMessage::SetTo(const char* to, uint32 charset, mail_encoding encoding) argument 338 SetHeaderField("To", to, charset, encoding); 343 BEmailMessage::SetCC(const char* cc, uint32 charset, mail_encoding encoding) argument 346 SetHeaderField("Cc", cc, charset, encodin [all...] |
/haiku/headers/private/textencoding/ |
H A D | CharacterSetRoster.h | 35 status_t GetNextCharacterSet(BCharacterSet * charset);
|
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUThreadLocalStorageValue.cpp | 21 charset[0] = '\0';
|
H A D | ICUCategoryData.cpp | 45 // POSIX locales often contain an embedded charset, but ICU does not 48 // We need to fetch the charset specification and lookup an appropriate 49 // ICU charset converter. This converter will later be used to get info 123 if (strcmp(tlsValue->charset, fGivenCharset) == 0) { 128 // charset no longer matches the converter, we need to dump it and 134 // create a new converter for the current charset 157 strlcpy(tlsValue->charset, fGivenCharset, sizeof(tlsValue->charset));
|
H A D | ICUCtypeData.cpp | 526 if (strcmp(mbState->charset, fGivenCharset) == 0 529 // charset matches and converter actually lives in *this* mbState, 536 // charset no longer matches the converter, we need to dump it and 540 // create a new converter for the current charset ... 560 strlcpy(mbState->charset, fGivenCharset, sizeof(mbState->charset));
|
/haiku/src/kits/network/libnetservices/ |
H A D | DataRequest.cpp | 42 BString charset; local 82 } else if (parameter.FindFirst("charset=") == 0) { 83 charset = parameter; 90 if (charset.Length() > 0) 91 mimeType << ";" << charset; local
|
/haiku/src/apps/stylededit/ |
H A D | StyledEditApp.cpp | 108 BCharacterSet charset; local 109 while (roster.GetNextCharacterSet(&charset) == B_NO_ERROR) { 111 if (charset.GetFontID() == B_UNICODE_UTF8) 114 name = charset.GetPrintName(); 116 const char* mime = charset.GetMIMEName(); 126 if (charset.GetFontID() == fOpenAsEncoding)
|
H A D | StatusView.cpp | 215 const BCharacterSet* charset local 218 = charset != NULL ? charset->GetPrintName() : "";
|
H A D | StyledEditWindow.cpp | 787 const BCharacterSet* charset local 790 if (charset != NULL && encodingMenu != NULL) { 791 const char* mime = charset->GetMIMEName(); 792 BString name(charset->GetPrintName()); 913 BCharacterSet charset; local 914 while (roster.GetNextCharacterSet(&charset) == B_NO_ERROR) { 915 BString name(charset.GetPrintName()); 916 const char* mime = charset.GetMIMEName(); 926 if (charset.GetFontID() == fTextView->GetEncoding()) 1619 const BCharacterSet* charset local 2031 BCharacterSet charset; local [all...] |
/haiku/headers/os/translation/ |
H A D | TranslatorFormats.h | 114 int32 charset; member in struct:TranslatorStyledTextTextHeader
|
/haiku/src/apps/poorman/libhttpd/ |
H A D | libhttpd.h | 80 char* charset; member in struct:__anon18 189 unsigned short port, char* cgi_pattern, int cgi_limit, char* charset,
|
/haiku/headers/private/mail/ |
H A D | mail_util.h | 53 ssize_t utf8_to_rfc2047(char **bufp, ssize_t length,uint32 charset, char encoding);
|
/haiku/src/kits/translation/ |
H A D | TranslationUtils.cpp | 383 swap_data(B_INT32_TYPE, &textHeader.charset, sizeof(int32), B_SWAP_BENDIAN_TO_HOST); 385 if (textHeader.header.magic != 'TEXT' || textHeader.charset != B_UNICODE_UTF8) 533 txt_header.charset = B_UNICODE_UTF8; 539 if (swap_data(B_INT32_TYPE, &txt_header.charset, sizeof(int32),
|