Lines Matching refs:PROTOBUF_EXPORT
160 PROTOBUF_EXPORT void ReplaceCharacters(string* s, const char* remove,
163 PROTOBUF_EXPORT void StripWhitespace(string* s);
207 PROTOBUF_EXPORT string StringReplace(const string& s, const string& oldsub,
216 PROTOBUF_EXPORT void SplitStringUsing(StringPiece full, const char* delim,
227 PROTOBUF_EXPORT void SplitStringAllowEmpty(StringPiece full, const char* delim,
253 PROTOBUF_EXPORT void JoinStrings(const std::vector<string>& components,
294 PROTOBUF_EXPORT int UnescapeCEscapeSequences(const char* source, char* dest);
295 PROTOBUF_EXPORT int UnescapeCEscapeSequences(const char* source, char* dest,
313 PROTOBUF_EXPORT int UnescapeCEscapeString(const string& src, string* dest);
314 PROTOBUF_EXPORT int UnescapeCEscapeString(const string& src, string* dest,
316 PROTOBUF_EXPORT string UnescapeCEscapeString(const string& src);
325 PROTOBUF_EXPORT string CEscape(const string& src);
332 PROTOBUF_EXPORT void CEscapeAndAppend(StringPiece src, string* dest);
336 PROTOBUF_EXPORT string Utf8SafeCEscape(const string& src);
339 PROTOBUF_EXPORT string CHexEscape(const string& src);
352 PROTOBUF_EXPORT int32 strto32_adaptor(const char* nptr, char** endptr,
354 PROTOBUF_EXPORT uint32 strtou32_adaptor(const char* nptr, char** endptr,
394 PROTOBUF_EXPORT bool safe_strtob(StringPiece str, bool* value);
396 PROTOBUF_EXPORT bool safe_strto32(const string& str, int32* value);
397 PROTOBUF_EXPORT bool safe_strtou32(const string& str, uint32* value);
411 PROTOBUF_EXPORT bool safe_strto64(const string& str, int64* value);
412 PROTOBUF_EXPORT bool safe_strtou64(const string& str, uint64* value);
426 PROTOBUF_EXPORT bool safe_strtof(const char* str, float* value);
427 PROTOBUF_EXPORT bool safe_strtod(const char* str, double* value);
467 PROTOBUF_EXPORT char* FastInt32ToBuffer(int32 i, char* buffer);
468 PROTOBUF_EXPORT char* FastInt64ToBuffer(int64 i, char* buffer);
471 PROTOBUF_EXPORT char* FastHexToBuffer(int i, char* buffer);
472 PROTOBUF_EXPORT char* FastHex64ToBuffer(uint64 i, char* buffer);
473 PROTOBUF_EXPORT char* FastHex32ToBuffer(uint32 i, char* buffer);
509 PROTOBUF_EXPORT char* FastInt32ToBufferLeft(int32 i, char* buffer);
510 PROTOBUF_EXPORT char* FastUInt32ToBufferLeft(uint32 i, char* buffer);
511 PROTOBUF_EXPORT char* FastInt64ToBufferLeft(int64 i, char* buffer);
512 PROTOBUF_EXPORT char* FastUInt64ToBufferLeft(uint64 i, char* buffer);
534 PROTOBUF_EXPORT string SimpleItoa(int i);
535 PROTOBUF_EXPORT string SimpleItoa(unsigned int i);
536 PROTOBUF_EXPORT string SimpleItoa(long i);
537 PROTOBUF_EXPORT string SimpleItoa(unsigned long i);
538 PROTOBUF_EXPORT string SimpleItoa(long long i);
539 PROTOBUF_EXPORT string SimpleItoa(unsigned long long i);
560 PROTOBUF_EXPORT string SimpleDtoa(double value);
561 PROTOBUF_EXPORT string SimpleFtoa(float value);
563 PROTOBUF_EXPORT char* DoubleToBuffer(double i, char* buffer);
564 PROTOBUF_EXPORT char* FloatToBuffer(float i, char* buffer);
613 struct PROTOBUF_EXPORT AlphaNum {
705 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b);
706 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b,
708 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b,
710 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b,
713 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b,
716 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b,
720 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b,
724 PROTOBUF_EXPORT string StrCat(const AlphaNum& a, const AlphaNum& b,
753 PROTOBUF_EXPORT void StrAppend(string* dest, const AlphaNum& a);
754 PROTOBUF_EXPORT void StrAppend(string* dest, const AlphaNum& a,
756 PROTOBUF_EXPORT void StrAppend(string* dest, const AlphaNum& a,
758 PROTOBUF_EXPORT void StrAppend(string* dest, const AlphaNum& a,
790 PROTOBUF_EXPORT string ToHex(uint64 num);
799 PROTOBUF_EXPORT int GlobalReplaceSubstring(const string& substring,
809 PROTOBUF_EXPORT bool Base64Unescape(StringPiece src, string* dest);
822 PROTOBUF_EXPORT int WebSafeBase64Unescape(const char* src, int slen, char* dest,
824 PROTOBUF_EXPORT bool WebSafeBase64Unescape(StringPiece src, string* dest);
830 PROTOBUF_EXPORT int CalculateBase64EscapedLen(int input_len, bool do_padding);
832 PROTOBUF_EXPORT int CalculateBase64EscapedLen(int input_len);
846 PROTOBUF_EXPORT int Base64Escape(const unsigned char* src, int slen, char* dest,
848 PROTOBUF_EXPORT int WebSafeBase64Escape(const unsigned char* src, int slen,
852 PROTOBUF_EXPORT void Base64Escape(StringPiece src, string* dest);
854 PROTOBUF_EXPORT void WebSafeBase64Escape(StringPiece src, string* dest);
856 PROTOBUF_EXPORT void WebSafeBase64EscapeWithPadding(StringPiece src,
859 PROTOBUF_EXPORT void Base64Escape(const unsigned char* src, int szsrc,
861 PROTOBUF_EXPORT void WebSafeBase64Escape(const unsigned char* src, int szsrc,
876 PROTOBUF_EXPORT int EncodeAsUTF8Char(uint32 code_point, char* output);
882 PROTOBUF_EXPORT int UTF8FirstLetterNumBytes(const char* src, int len);
918 PROTOBUF_EXPORT void CleanStringLineEndings(const string& src, string* dst,
922 PROTOBUF_EXPORT void CleanStringLineEndings(string* str,