Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_string.cpp File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include "core/fxcrt/fx_string.h"
#include <stdint.h>
#include <iterator>
#include "build/build_config.h"
#include "core/fxcrt/bytestring.h"
#include "core/fxcrt/code_point_view.h"
#include "core/fxcrt/fx_extension.h"
#include "core/fxcrt/span_util.h"
#include "core/fxcrt/string_view_template.h"
#include "core/fxcrt/utf16.h"
#include "core/fxcrt/widestring.h"
#include "third_party/base/compiler_specific.h"
#include "third_party/base/containers/span.h"
+ Include dependency graph for fx_string.cpp:

Go to the source code of this file.

Namespaces

namespace  fxcrt
 

Functions

ByteString FX_UTF8Encode (WideStringView wsStr)
 
std::u16string FX_UTF16Encode (WideStringView wsStr)
 
float StringToFloat (ByteStringView strc)
 
float StringToFloat (WideStringView wsStr)
 
size_t FloatToString (float f, pdfium::span< char > buf)
 
double StringToDouble (ByteStringView strc)
 
double StringToDouble (WideStringView wsStr)
 
size_t DoubleToString (double d, pdfium::span< char > buf)
 
template std::vector< ByteStringfxcrt::Split< ByteString > (const ByteString &that, ByteString::CharType ch)
 
template std::vector< WideStringfxcrt::Split< WideString > (const WideString &that, WideString::CharType ch)
 

Function Documentation

◆ DoubleToString()

size_t DoubleToString ( double d,
pdfium::span< char > buf )

Definition at line 222 of file fx_string.cpp.

References FXSYS_round().

+ Here is the call graph for this function:

◆ FloatToString()

size_t FloatToString ( float f,
pdfium::span< char > buf )

Definition at line 210 of file fx_string.cpp.

References FXSYS_roundf().

+ Here is the call graph for this function:

◆ FX_UTF16Encode()

std::u16string FX_UTF16Encode ( WideStringView wsStr)

Definition at line 77 of file fx_string.cpp.

◆ FX_UTF8Encode()

ByteString FX_UTF8Encode ( WideStringView wsStr)

Definition at line 69 of file fx_string.cpp.

◆ StringToDouble() [1/2]

double StringToDouble ( ByteStringView strc)

Definition at line 214 of file fx_string.cpp.

◆ StringToDouble() [2/2]

double StringToDouble ( WideStringView wsStr)

Definition at line 218 of file fx_string.cpp.

◆ StringToFloat() [1/2]

float StringToFloat ( ByteStringView strc)

Definition at line 202 of file fx_string.cpp.

◆ StringToFloat() [2/2]

float StringToFloat ( WideStringView wsStr)

Definition at line 206 of file fx_string.cpp.