GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
uniconv-wrappers.h File Reference
#include <stddef.h>
#include <stdint.h>
Include dependency graph for uniconv-wrappers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

OCTAVE_API char * octave_u32_conv_to_encoding_strict (const char *tocode, const uint32_t *src, size_t srclen, size_t *lengthp)
 
OCTAVE_API uint8_t * octave_u8_conv_from_encoding (const char *fromcode, const char *src, size_t srclen, size_t *lengthp)
 
OCTAVE_API uint8_t * octave_u8_conv_from_encoding_offsets (const char *fromcode, const char *src, size_t srclen, size_t *offsets, size_t *lengthp)
 
OCTAVE_API char * octave_u8_conv_to_encoding (const char *tocode, const uint8_t *src, size_t srclen, size_t *lengthp)
 
OCTAVE_API char * octave_u8_conv_to_encoding_offsets (const char *tocode, const uint8_t *src, size_t srclen, size_t *offsets, size_t *lengthp)
 
OCTAVE_API char * octave_u8_conv_to_encoding_strict (const char *tocode, const uint8_t *src, size_t srclen, size_t *lengthp)
 
OCTAVE_API char * u8_from_wchar (const wchar_t *wc)
 
OCTAVE_API wchar_t * u8_to_wchar (const char *u8_char)
 

Function Documentation

◆ octave_u32_conv_to_encoding_strict()

OCTAVE_API char* octave_u32_conv_to_encoding_strict ( const char *  tocode,
const uint32_t *  src,
size_t  srclen,
size_t *  lengthp 
)

Definition at line 68 of file uniconv-wrappers.c.

Referenced by file_editor_tab::check_valid_codec().

◆ octave_u8_conv_from_encoding()

OCTAVE_API uint8_t* octave_u8_conv_from_encoding ( const char *  fromcode,
const char *  src,
size_t  srclen,
size_t *  lengthp 
)

Definition at line 44 of file uniconv-wrappers.c.

Referenced by F__native2unicode__().

◆ octave_u8_conv_from_encoding_offsets()

OCTAVE_API uint8_t* octave_u8_conv_from_encoding_offsets ( const char *  fromcode,
const char *  src,
size_t  srclen,
size_t *  offsets,
size_t *  lengthp 
)

Definition at line 76 of file uniconv-wrappers.c.

◆ octave_u8_conv_to_encoding()

OCTAVE_API char* octave_u8_conv_to_encoding ( const char *  tocode,
const uint8_t *  src,
size_t  srclen,
size_t *  lengthp 
)

Definition at line 52 of file uniconv-wrappers.c.

Referenced by F__unicode2native__().

◆ octave_u8_conv_to_encoding_offsets()

OCTAVE_API char* octave_u8_conv_to_encoding_offsets ( const char *  tocode,
const uint8_t *  src,
size_t  srclen,
size_t *  offsets,
size_t *  lengthp 
)

Definition at line 85 of file uniconv-wrappers.c.

◆ octave_u8_conv_to_encoding_strict()

OCTAVE_API char* octave_u8_conv_to_encoding_strict ( const char *  tocode,
const uint8_t *  src,
size_t  srclen,
size_t *  lengthp 
)

Definition at line 60 of file uniconv-wrappers.c.

Referenced by get_ASCII_filename().

◆ u8_from_wchar()

OCTAVE_API char* u8_from_wchar ( const wchar_t *  wc)

Definition at line 94 of file uniconv-wrappers.c.

References free(), and malloc().

Referenced by octave_getcwd_wrapper().

◆ u8_to_wchar()