#include <cctype>
#include <queue>
#include <sstream>
#include "dMatrix.h"
#include "localcharset-wrapper.h"
#include "uniconv-wrappers.h"
#include "unistr-wrappers.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ov.h"
#include "ovl.h"
#include "unwind-prot.h"
#include "utils.h"
#include "oct-string.h"
Go to the source code of this file.
Functions | |
static octave_value | do_strcmp_fun (const octave_value &arg0, const octave_value &arg1, octave_idx_type n, const char *fcn_name, bool(*array_op)(const Array< char > &, const Array< char > &, octave_idx_type), bool(*str_op)(const std::string &, const std::string &, std::string::size_type)) |
OCTAVE_EXPORT octave_value_list | F__locale_charset__ (const octave_value_list &, int) |
OCTAVE_EXPORT octave_value_list | F__native2unicode__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__u8_validate__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__unicode2native__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fchar (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fischar (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Flist_in_columns (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fnewline (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstr2double (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstrcmp (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstrcmpi (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstrncmp (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstrncmpi (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fstrvcat (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Funicode_idx (const octave_value_list &args, int) |
template<typename T , typename T_size_type > | |
static bool | strcmp_ignore_n (const T &s1, const T &s2, T_size_type) |
template<typename T , typename T_size_type > | |
static bool | strcmpi_ignore_n (const T &s1, const T &s2, T_size_type) |
|
static |
Definition at line 320 of file strfns.cc.
References octave_value::cell_value(), octave_value::cellstr_value(), octave_value::char_array_value(), octave_value::dims(), Array< T >::dims(), error(), octave_value::is_string(), octave_value::iscell(), Cell::iscellstr(), octave_value::iscellstr(), n, octave_value::numel(), Array< T >::numel(), string_vector::numel(), r, retval, and octave_value::string_vector_value().
Referenced by Fstrcmp(), Fstrcmpi(), Fstrncmp(), and Fstrncmpi().
OCTAVE_EXPORT octave_value_list F__locale_charset__ | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 987 of file strfns.cc.
References octave_locale_charset_wrapper(), and ovl().
OCTAVE_EXPORT octave_value_list F__native2unicode__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 882 of file strfns.cc.
References octave::action_container::add_fcn(), Array< T >::data(), error(), free(), len, octave::jit_convention::length, Array< T >::numel(), octave_locale_charset_wrapper(), octave_u8_conv_from_encoding(), ovl(), print_usage(), retval, and Array< T >::xelem().
OCTAVE_EXPORT octave_value_list F__u8_validate__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1059 of file strfns.cc.
References error(), ovl(), print_usage(), octave::string::U8_ISO_8859_1, octave::string::U8_REPLACEMENT_CHAR, and octave::string::u8_validate().
OCTAVE_EXPORT octave_value_list F__unicode2native__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 937 of file strfns.cc.
References octave::action_container::add_fcn(), Array< T >::data(), error(), free(), len, octave::jit_convention::length, Array< T >::numel(), octave_locale_charset_wrapper(), octave_u8_conv_to_encoding(), ovl(), print_usage(), retval, and Array< T >::xelem().
OCTAVE_EXPORT octave_value_list Fchar | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 85 of file strfns.cc.
References string_vector::max_length(), n, string_vector::numel(), octave_value(), and retval.
OCTAVE_EXPORT octave_value_list Fischar | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 294 of file strfns.cc.
References ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Flist_in_columns | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1155 of file strfns.cc.
References string_vector::list_in_columns(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fnewline | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1104 of file strfns.cc.
References ovl(), print_usage(), and retval.
OCTAVE_EXPORT octave_value_list Fstr2double | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 790 of file strfns.cc.
References Array< T >::dims(), string_vector::map(), NaN, Array< T >::numel(), print_usage(), retval, and octave::string::str2double().
OCTAVE_EXPORT octave_value_list Fstrcmp | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 556 of file strfns.cc.
References do_strcmp_fun(), ovl(), print_usage(), and strcmp_ignore_n().
OCTAVE_EXPORT octave_value_list Fstrcmpi | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 693 of file strfns.cc.
References do_strcmp_fun(), ovl(), print_usage(), and strcmpi_ignore_n().
OCTAVE_EXPORT octave_value_list Fstrncmp | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 644 of file strfns.cc.
References do_strcmp_fun(), error(), n, ovl(), print_usage(), and octave::string::strncmp().
OCTAVE_EXPORT octave_value_list Fstrncmpi | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 724 of file strfns.cc.
References do_strcmp_fun(), error(), n, ovl(), print_usage(), and octave::string::strncmpi().
OCTAVE_EXPORT octave_value_list Fstrvcat | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 210 of file strfns.cc.
References string_vector::max_length(), n, string_vector::numel(), and octave_value().
OCTAVE_EXPORT octave_value_list Funicode_idx | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1006 of file strfns.cc.
References Array< T >::data(), Array< T >::dims(), Array< T >::ndims(), Array< T >::numel(), octave_u8_strmblen_wrapper(), ovl(), Array< T >::permute(), MArray< T >::permute(), and print_usage().
|
static |
Definition at line 531 of file strfns.cc.
References octave::string::strcmp().
Referenced by Fstrcmp().
|
static |
Definition at line 536 of file strfns.cc.
References octave::string::strcmpi().
Referenced by Fstrcmpi().