foobar2000 SDK
2015-08-03
|
Namespaces | |
io | |
stringcvt | |
Typedefs | |
typedef vartoggle_t< bool > | booltoggle |
typedef nix_event | event |
typedef HANDLE | eventHandle_t |
typedef std::exception | exception |
typedef HANDLE | fileHandle_t |
typedef hires_timer | lores_timer |
typedef ::critical_section | mutex |
typedef ::c_insync | mutexScope |
typedef ptr_list_t< void > | ptr_list |
typedef counter | refcounter |
typedef string8_t< pfc::alloc_standard > | string8 |
typedef string8_t< pfc::alloc_fast > | string8_fast |
typedef string8_t< pfc::alloc_fast_aggressive > | string8_fast_aggressive |
typedef string8_t< pfc::alloc_fast_aggressive > | string8_fastalloc |
typedef string8_fastalloc | string_formatter |
typedef list_base_const_t< const char * > | string_list_const |
typedef string_simple_t< char > | string_simple |
typedef _rcptr_null * | t_rcptr_null |
typedef uint64_t | tickcount_t |
Enumerations | |
enum | { CPU_HAVE_3DNOW = 1 << 0, CPU_HAVE_3DNOW_EX = 1 << 1, CPU_HAVE_SSE = 1 << 2, CPU_HAVE_SSE2 = 1 << 3, CPU_HAVE_SSE3 = 1 << 4, CPU_HAVE_SSSE3 = 1 << 5, CPU_HAVE_SSE41 = 1 << 6, CPU_HAVE_SSE42 = 1 << 7 } |
Functions | |
static t_size | __pivot_helper (pfc::sort_callback &p_callback, t_size const p_base, t_size const p_count) |
template<typename T > | |
void | __raw_free_t (T *p_block) throw () |
template<typename T > | |
T * | __raw_malloc_t (t_size p_size) |
template<typename T > | |
bool | __raw_realloc_inplace_t (T *p_block, t_size p_size) |
template<typename T > | |
T * | __raw_realloc_t (T *p_block, t_size p_size) |
static void | __sort_2elem_helper (pfc::sort_callback &p_callback, t_size &p_elem1, t_size &p_elem2) |
template<typename t_type , typename t_copy > | |
t_type * | __unsafe__in_place_constructor_array_copy_partial_t (t_type *p_items, t_size p_count, const t_copy *p_copyfrom, t_size p_copyfrom_count) |
template<typename t_type , typename t_copy > | |
t_type * | __unsafe__in_place_constructor_array_copy_t (t_type *p_items, t_size p_count, const t_copy *p_copyfrom) |
template<typename t_type > | |
t_type * | __unsafe__in_place_constructor_array_t (t_type *p_items, t_size p_count) |
template<typename t_type , typename t_copy > | |
void | __unsafe__in_place_constructor_copy_t (t_type &p_item, const t_copy &p_copyfrom) |
template<typename t_type > | |
void | __unsafe__in_place_constructor_t (t_type &p_item) |
template<typename t_type > | |
void | __unsafe__in_place_destructor_array_t (t_type *p_items, t_size p_count) throw () |
template<typename t_type > | |
void | __unsafe__in_place_destructor_t (t_type &p_item) throw () |
template<typename t_type > | |
t_type * | __unsafe__in_place_resize_array_t (t_type *p_items, t_size p_from, t_size p_to) |
template<typename t_type > | |
void | __unsafe__memcpy_t (t_type *p_dst, const t_type *p_src, t_size p_count) |
template<t_size p_size> | |
void | __unsafe__swap_raw_t (void *p_object1, void *p_object2) |
template<typename what > | |
static void | _COM_AddRef (what *ptr) |
template<typename what > | |
static void | _COM_Release (what *ptr) |
template<typename t_char > | |
int | _strcmp_partial_ex (const t_char *p_string, t_size p_string_length, const t_char *p_substring, t_size p_substring_length) throw () |
t_size | _strParamLen (const char *str) |
template<typename T > | |
T | abs_t (T item) |
template<typename t_int > | |
void | acc_unsigned_clipped (t_int &v1, t_int v2) |
template<typename t_acc , typename t_add > | |
void | accumulate_guarded (t_acc &p_acc, const t_add &p_add) |
template<typename t_int > | |
t_int | add_unsigned_clipped (t_int v1, t_int v2) |
template<typename t_array , typename T > | |
t_size | append_swap_t (t_array &p_array, T &p_item) |
template<typename t_array , typename T > | |
t_size | append_t (t_array &p_array, const T &p_item) |
template<typename t_a1 , typename t_a2 > | |
static bool | array_equals (const t_a1 &arr1, const t_a2 &arr2) |
template<typename t_array , typename t_item > | |
static bool | array_isFirst (const t_array &arr, const t_item &item) |
template<typename t_array , typename t_item > | |
static bool | array_isLast (const t_array &arr, const t_item &item) |
template<typename t_array > | |
void | array_rangecheck_t (const t_array &p_array, t_size p_index) |
template<typename t_array > | |
void | array_rangecheck_t (const t_array &p_array, t_size p_from, t_size p_to) |
template<typename t_array > | |
t_size | array_size_t (const t_array &p_array) |
template<typename t_item , t_size p_width> | |
t_size | array_size_t (const t_item(&p_array)[p_width]) |
template<typename char_t > | |
char_t | ascii_tolower (char_t c) |
char | ascii_tolower_lookup (char c) |
template<typename char_t > | |
char_t | ascii_toupper (char_t c) |
template<typename t_type > | |
void | assert_raw_type () |
template<typename t_uint > | |
t_uint | atodec (const char *in, t_size inLen) |
template<typename t_uint > | |
t_uint | atohex (const char *in, t_size inLen) |
t_int64 | atoi64_ex (const char *src, t_size len) |
t_uint64 | atoui64_ex (const char *src, t_size len) |
unsigned | atoui_ex (const char *p_string, t_size p_string_len) |
void | base64_decode (const char *text, void *out) |
template<typename t_buffer > | |
void | base64_decode_array (t_buffer &out, const char *text) |
t_size | base64_decode_estimate (const char *text) |
void | base64_encode (pfc::string_base &out, const void *in, t_size inSize) |
void | base64_encode_append (pfc::string_base &out, const void *in, t_size inSize) |
bool | bsearch (t_size p_count, bsearch_callback const &p_callback, t_size &p_result) |
template<typename t_callback > | |
bool | bsearch_inline_t (t_size p_count, const t_callback &p_callback, t_size &p_result) |
template<typename t_container , typename t_compare , typename t_param , typename t_permutation > | |
bool | bsearch_permutation_t (t_size p_count, const t_container &p_container, t_compare p_compare, const t_param &p_param, const t_permutation &p_permutation, t_size &p_index) |
template<typename t_container , typename t_compare , typename t_param > | |
bool | bsearch_range_t (const t_size p_count, const t_container &p_container, t_compare p_compare, const t_param &p_param, t_size &p_range_base, t_size &p_range_count) |
template<typename t_buffer , typename t_value > | |
bool | bsearch_simple_inline_t (const t_buffer &p_buffer, t_size p_count, t_value const &p_value, t_size &p_result) |
template<typename t_container , typename t_compare , typename t_param > | |
bool | bsearch_t (t_size p_count, const t_container &p_container, t_compare p_compare, const t_param &p_param, t_size &p_index) |
void | bug_check_assert (bool p_condition, const char *p_msg) |
void | bug_check_assert (bool p_condition) |
template<typename T > | |
T | byteswap_if_be_t (T p_param) |
template<typename T > | |
T | byteswap_if_le_t (T p_param) |
template<typename T > | |
T | byteswap_int_t (T p_source) |
void | byteswap_raw (void *p_buffer, t_size p_bytes) |
template<typename T > | |
T | byteswap_t (T p_source) |
template<> | |
char | byteswap_t< char > (char p_source) |
template<> | |
double | byteswap_t< double > (double p_source) |
template<> | |
float | byteswap_t< float > (float p_source) |
template<> | |
GUID | byteswap_t< GUID > (GUID p_guid) |
template<> | |
int | byteswap_t< int > (int p_source) |
template<> | |
long | byteswap_t< long > (long p_source) |
template<> | |
long long | byteswap_t< long long > (long long p_source) |
template<> | |
short | byteswap_t< short > (short p_source) |
template<> | |
signed char | byteswap_t< signed char > (signed char p_source) |
template<> | |
unsigned char | byteswap_t< unsigned char > (unsigned char p_source) |
template<> | |
unsigned int | byteswap_t< unsigned int > (unsigned int p_source) |
template<> | |
unsigned long | byteswap_t< unsigned long > (unsigned long p_source) |
template<> | |
unsigned long long | byteswap_t< unsigned long long > (unsigned long long p_source) |
template<> | |
unsigned short | byteswap_t< unsigned short > (unsigned short p_source) |
template<> | |
wchar_t | byteswap_t< wchar_t > (wchar_t p_source) |
template<typename T > | |
t_size | calc_array_width (t_size p_width) |
bool | char_is_ascii_alpha (char p_char) throw () |
bool | char_is_ascii_alpha_lower (char p_char) throw () |
bool | char_is_ascii_alpha_upper (char p_char) throw () |
bool | char_is_ascii_alphanumeric (char p_char) throw () |
bool | char_is_hexnumeric (char p_char) throw () |
template<typename char_t > | |
bool | char_is_numeric (char_t p_char) throw () |
unsigned | char_to_dec (char c) |
unsigned | char_to_hex (char c) |
uint32_t | charLower (uint32_t param) |
uint32_t | charUpper (uint32_t param) |
static bool | check_end_of_string (const char *ptr) |
template<typename T > | |
T | clip_t (const T &p_item, const T &p_min, const T &p_max) |
template<typename T > | |
T * | clone_t (T *ptr) |
template<> | |
int | compare_t (const hasher_md5_result &p_item1, const hasher_md5_result &p_item2) |
template<typename t_item1 , typename t_item2 > | |
int | compare_t (const t_item1 &p_item1, const t_item2 &p_item2) |
template<> | |
int | compare_t< GUID, GUID > (const GUID &p_item1, const GUID &p_item2) |
void | convert_to_lower_ascii (const char *src, t_size max, char *out, char replace) |
template<typename t_dst , typename t_src > | |
void | copy_array_loop_t (t_dst &p_dst, const t_src &p_src, t_size p_count) |
template<typename t_to , typename t_from > | |
void | copy_array_t (t_to &p_to, const t_from &p_from) |
template<typename t_receiver , typename t_giver > | |
void | copy_list_enumerated (t_receiver &p_receiver, const t_giver &p_giver) |
unsigned | countBits32 (uint32_t i) |
void | crash () |
void | create_move_items_permutation (t_size *p_output, t_size p_count, const class bit_array &p_selection, int p_delta) |
void | create_move_items_permutation (t_size *p_output, t_size p_count, const bit_array &p_selection, int p_delta) |
GUID | createGUID () |
void | createPipe (int fd[2], bool bInheritable) |
template<typename TInt > | |
void | decode_big_endian (TInt &p_out, const t_uint8 *p_buffer) |
template<typename TInt > | |
TInt | decode_big_endian (const t_uint8 *p_buffer) |
template<bool IsBigEndian, typename TInt > | |
void | decode_endian (TInt &p_out, const t_uint8 *p_buffer) |
template<typename TInt > | |
void | decode_little_endian (TInt &p_out, const t_uint8 *p_buffer) |
template<typename TInt > | |
TInt | decode_little_endian (const t_uint8 *p_buffer) |
template<typename T > | |
void | delete_array_t (T *ptr) |
template<typename T > | |
void | delete_t (T *ptr) |
template<typename t_ret , typename t_param > | |
t_ret | downcast_guarded (const t_param &p_param) |
template<typename t_exception , typename t_ret , typename t_param > | |
t_ret | downcast_guarded_ex (const t_param &p_param) |
void | dynamic_assert (bool p_condition, const char *p_msg) |
void | dynamic_assert (bool p_condition) |
template<typename T > | |
const T * | empty_string_t () |
template<> | |
const char * | empty_string_t< char > () |
template<> | |
const wchar_t * | empty_string_t< wchar_t > () |
template<typename TInt > | |
void | encode_big_endian (t_uint8 *p_buffer, TInt p_value) |
template<bool IsBigEndian, typename TInt > | |
void | encode_endian (t_uint8 *p_buffer, TInt p_in) |
template<typename TInt > | |
void | encode_little_endian (t_uint8 *p_buffer, TInt p_value) |
double | exp_int (double base, int exp) |
bool | fdCanRead (int fd) |
bool | fdCanWrite (int fd) |
bool | fdWaitRead (int fd, double timeOutSeconds) |
bool | fdWaitWrite (int fd, double timeOutSeconds) |
void | fileHandleClose (fileHandle_t h) |
fileHandle_t | fileHandleDup (fileHandle_t h) |
uint64_t | fileTimeNow () |
uint64_t | fileTimeUtoW (uint64_t ft) |
uint64_t | fileTimeUtoW (const timespec &ts) |
uint64_t | fileTimeWtoU (uint64_t ft) |
template<typename t_array , typename t_value > | |
void | fill_array_t (t_array &p_array, const t_value &p_value) |
template<typename t_array , typename t_filler > | |
void | fill_ptr_t (t_array *p_buffer, const t_size p_count, const t_filler &p_filler) |
template<typename t_array , typename t_filler > | |
void | fill_t (t_array &p_buffer, const t_size p_count, const t_filler &p_filler) |
template<typename t_array , typename t_compare , typename t_permutation > | |
t_size | find_duplicates_sorted_permutation_t (t_array p_array, t_size p_count, t_compare p_compare, t_permutation const &p_permutation, bit_array_var &p_out) |
template<typename t_array , typename t_compare > | |
t_size | find_duplicates_sorted_t (t_array p_array, t_size p_count, t_compare p_compare, bit_array_var &p_out) |
void | float_to_string (char *out, t_size out_max, double val, unsigned precision, bool b_sign) |
char | format_hex_char (unsigned p_val) |
char | format_hex_char_lowercase (unsigned p_val) |
t_size | getOptimalWorkerThreadCount () |
t_size | getOptimalWorkerThreadCountEx (t_size taskCountLimit) |
tickcount_t | getTickCount () |
template<typename t_list1 , typename t_list2 > | |
static bool | guess_reorder_pattern (pfc::array_t< t_size > &out, const t_list1 &from, const t_list2 &to) |
int | guid_compare (const GUID &g1, const GUID &g2) |
bool | guid_equal (const GUID &g1, const GUID &g2) |
GUID | GUID_from_text (const char *text) |
bool | has_path_bad_chars (const char *param) |
template<typename t_ret > | |
t_ret | implicit_cast (t_ret val) |
double | importTimeval (const timeval &in) |
template<typename array1_t , typename array2_t > | |
void | insert_array_t (array1_t &outArray, size_t insertAt, array2_t const &inArray, size_t inArraySize) |
template<typename t_array , typename in_array_t > | |
t_size | insert_multi_t (t_array &p_array, const in_array_t &p_items, size_t p_itemCount, t_size p_index) |
template<typename t_array , typename T > | |
t_size | insert_swap_t (t_array &p_array, T &p_item, t_size p_index) |
template<typename t_array , typename T > | |
t_size | insert_t (t_array &p_array, const T &p_item, t_size p_index) |
template<typename t_array > | |
t_size | insert_uninitialized_t (t_array &p_array, t_size p_index) |
bool | is_lower_ascii (const char *param) |
bool | is_multiline (const char *p_string, t_size p_len) |
bool | is_path_bad_char (unsigned c) |
bool | is_path_separator (unsigned c) |
template<typename t_item > | |
bool | is_pointer_in_range (const t_item *p_buffer, t_size p_buffer_size, const void *p_pointer) |
template<t_size p_size_pow2> | |
bool | is_ptr_aligned_t (const void *p_ptr) |
bool | is_valid_utf8 (const char *param, t_size max=~0) |
bool | isAltKeyPressed () |
bool | isCtrlKeyPressed () |
bool | isShiftKeyPressed () |
template<typename t_list , typename t_array > | |
void | list_to_array (t_array &p_array, const t_list &p_list) |
template<typename t_list1 , typename t_list2 > | |
static bool | listEquals (const t_list1 &p_list1, const t_list2 &p_list2) |
bool | lxor (bool p_val1, bool p_val2) |
GUID | makeGUID (t_uint32 Data1, t_uint16 Data2, t_uint16 Data3, t_uint8 Data4_1, t_uint8 Data4_2, t_uint8 Data4_3, t_uint8 Data4_4, t_uint8 Data4_5, t_uint8 Data4_6, t_uint8 Data4_7, t_uint8 Data4_8) |
timeval | makeTimeVal (double timeSeconds) |
template<typename t_val > | |
void | max_acc (t_val &p_acc, const t_val &p_val) |
template<typename T > | |
T | max_t (const T &item1, const T &item2) |
template<typename t_src , typename t_dst > | |
void | memcpy_backwards_t (t_dst *p_dst, const t_src *p_src, t_size p_count) |
template<typename t_src , typename t_dst > | |
void | memcpy_t (t_dst *p_dst, const t_src *p_src, t_size p_count) |
template<typename T > | |
void | memmove_t (T *p_dst, const T *p_src, t_size p_count) |
template<typename T > | |
void | memset_null_t (T *p_buffer, t_size p_count) |
template<typename T > | |
void | memset_null_t (T &p_buffer) |
template<typename T , typename t_val > | |
void | memset_t (T *p_buffer, const t_val &p_val, t_size p_count) |
template<typename T , typename t_val > | |
void | memset_t (T &p_buffer, const t_val &p_val) |
static void | memxor (void *target, const void *source1, const void *source2, t_size size) |
template<typename TVal > | |
void | memxor_t (TVal *out, const TVal *s1, const TVal *s2, t_size count) |
template<typename t_destination , typename t_source1 , typename t_source2 > | |
void | merge_sorted_lists (t_destination &p_destination, const t_source1 &p_source1, const t_source2 &p_source2) |
template<typename t_source1 , typename t_source2 > | |
t_size | merge_sorted_lists_calculate_count (const t_source1 &p_source1, const t_source2 &p_source2) |
template<typename t_val > | |
void | min_acc (t_val &p_acc, const t_val &p_val) |
template<typename T > | |
T | min_t (const T &item1, const T &item2) |
template<typename T > | |
void | move_t (T &p_item1, T &p_item2) |
template<typename t_exception , typename t_int > | |
t_int | mul_safe_t (t_int p_val1, t_int p_val2) |
template<typename t_int > | |
t_int | multiply_guarded (t_int v1, t_int v2) |
void | myassert (const char *_Message, const char *_File, unsigned _Line) |
void | myassert_win32 (const wchar_t *_Message, const wchar_t *_File, unsigned _Line) |
static t_size | myrand (t_size count) |
int | naturalSortCompare (const char *s1, const char *s2) throw () |
int | naturalSortCompareI (const char *s1, const char *s2) throw () |
static int | naturalSortCompareInternal (const char *s1, const char *s2, bool insensitive) throw () |
template<typename T > | |
T * | new_ptr_check_t (T *p_ptr) |
static void | newsort (pfc::sort_callback &p_callback, t_size const p_base, t_size const p_count) |
void | nixFormatError (string_base &str, int code) |
void | nixGetRandomData (void *outPtr, size_t outBytes) |
double | nixGetTime () |
bool | nixReadSymLink (string_base &strOut, const char *path) |
bool | nixSelfProcessPath (string_base &strOut) |
void | nixSleep (double seconds) |
void | outputDebugLine (const char *msg) |
template<typename t_receiver , typename t_giver > | |
void | overwrite_list_enumerated (t_receiver &p_receiver, const t_giver &p_giver) |
double | parse_timecode (const char *in) |
static size_t | parseNumber (const char *in, uint64_t &outNumber) |
t_size | permutation_find_reverse (t_size const *order, t_size count, t_size value) |
bool | permutation_is_valid (t_size const *order, t_size count) |
void | permutation_validate (t_size const *order, t_size count) |
PFC_DECLARE_EXCEPTION (exception_invalid_permutation, exception_invalid_params,"Invalid permutation") | |
PFC_DECLARE_EXCEPTION (exception_map_entry_not_found, exception,"Map entry not found") | |
PFC_DECLARE_EXCEPTION (exception_overflow, exception,"Overflow") | |
PFC_DECLARE_EXCEPTION (exception_bug_check, exception,"Bug check") | |
PFC_DECLARE_EXCEPTION (exception_invalid_params, exception_bug_check,"Invalid parameters") | |
PFC_DECLARE_EXCEPTION (exception_unexpected_recursion, exception_bug_check,"Unexpected recursion") | |
PFC_DECLARE_EXCEPTION (exception_not_implemented, exception_bug_check,"Feature not implemented") | |
PFC_DECLARE_EXCEPTION (exception_dynamic_assert, exception_bug_check,"dynamic_assert failure") | |
static double | pfc_string_to_float_internal (const char *src) |
static t_uint64 | pow10_helper (unsigned p_extra) |
t_uint64 | pow_int (t_uint64 base, t_uint64 exp) |
static void | print_hex (unsigned val, char *&out, unsigned bytes) |
static char | print_hex_digit (unsigned val) |
void | print_hex_raw (const void *buffer, unsigned bytes, char *p_out) |
bool | query_cpu_feature_set (unsigned p_value) |
static void | raw_free (void *p_block) throw () |
static void * | raw_malloc (t_size p_size) |
static void * | raw_realloc (void *p_ptr, t_size p_size) |
static bool | raw_realloc_inplace (void *p_block, t_size p_size) throw () |
template<typename t_object > | |
rcptr_t< t_object > | rcnew_t () |
template<typename t_object , typename t_param1 > | |
rcptr_t< t_object > | rcnew_t (t_param1 const &p_param1) |
template<typename t_object , typename t_param1 , typename t_param2 > | |
rcptr_t< t_object > | rcnew_t (t_param1 const &p_param1, t_param2 const &p_param2) |
template<typename t_object , typename t_param1 , typename t_param2 , typename t_param3 > | |
rcptr_t< t_object > | rcnew_t (t_param1 const &p_param1, t_param2 const &p_param2, t_param3 const &p_param3) |
template<typename t_object , typename t_param1 , typename t_param2 , typename t_param3 , typename t_param4 > | |
rcptr_t< t_object > | rcnew_t (t_param1 const &p_param1, t_param2 const &p_param2, t_param3 const &p_param3, t_param4 const &p_param4) |
template<typename t_object , typename t_param1 , typename t_param2 , typename t_param3 , typename t_param4 , typename t_param5 > | |
rcptr_t< t_object > | rcnew_t (t_param1 const &p_param1, t_param2 const &p_param2, t_param3 const &p_param3, t_param4 const &p_param4, t_param5 const &p_param5) |
template<typename t_object , typename t_param1 , typename t_param2 , typename t_param3 , typename t_param4 , typename t_param5 , typename t_param6 > | |
rcptr_t< t_object > | rcnew_t (t_param1 const &p_param1, t_param2 const &p_param2, t_param3 const &p_param3, t_param4 const &p_param4, t_param5 const &p_param5, t_param6 const &p_param6) |
void | recover_invalid_utf8 (const char *src, char *out, unsigned replace) |
template<typename t_array > | |
t_size | remove_mask_t (t_array &p_array, const bit_array &p_mask) |
void | reorder (reorder_callback &p_callback, const t_size *p_order, t_size p_count) |
template<typename t_container > | |
void | reorder_partial_t (t_container &p_data, t_size p_base, const t_size *p_order, t_size p_count) |
template<typename T > | |
void | reorder_ptr_t (T *p_data, const t_size *p_order, t_size p_count) |
template<typename t_container > | |
void | reorder_t (t_container &p_data, const t_size *p_order, t_size p_count) |
void | reorder_void (void *data, t_size width, const t_size *order, t_size num, void(*swapfunc)(void *item1, void *item2, t_size width)) |
template<typename t_type > | |
t_type | replace_null_t (t_type &p_var) |
template<typename t_type , typename t_newval > | |
t_type | replace_t (t_type &p_var, const t_newval &p_newval) |
template<unsigned width> | |
void | reverse_bytes (t_uint8 *p_buffer) |
template<> | |
void | reverse_bytes< 0 > (t_uint8 *p_buffer) |
template<> | |
void | reverse_bytes< 1 > (t_uint8 *p_buffer) |
t_int32 | rint32 (double p_val) |
t_int64 | rint64 (double p_val) |
template<typename t_ret , typename t_param > | |
t_ret * | safe_ptr_cast (t_param *p_param) |
template<typename t_exception , typename t_int > | |
t_int | safe_shift_left_t (t_int p_val, t_size p_shift=1) |
static uint64_t | safeMulAdd (uint64_t prev, unsigned scale, uint64_t add) |
t_size | scan_filename (const char *ptr) |
void | selftest () |
void | selftest_runtime () |
void | selftest_static () |
void | setCloseOnExec (int fd, bool bCloseOnExec) |
void | setInheritable (int fd, bool bInheritable) |
void | setNonBlocking (int fd, bool bNonBlocking) |
template<typename T > | |
int | sgn_t (const T &p_val) |
t_size | skip_utf8_chars (const char *ptr, t_size count) throw () |
void | sort (pfc::sort_callback &p_callback, t_size p_num) |
template<typename t_container , typename t_compare , typename t_permutation > | |
static void | sort_get_permutation_t (const t_container &p_data, t_compare p_compare, t_size p_count, t_permutation const &p_permutation) |
void | sort_stable (sort_callback &p_callback, t_size p_count) |
template<typename t_container , typename t_compare , typename t_permutation > | |
static void | sort_stable_get_permutation_t (const t_container &p_data, t_compare p_compare, t_size p_count, t_permutation const &p_permutation) |
template<typename t_container , typename t_compare > | |
static void | sort_stable_t (t_container &p_data, t_compare p_compare, t_size p_count) |
template<typename t_container , typename t_compare > | |
static void | sort_t (t_container &p_data, t_compare p_compare, t_size p_count) |
void | sort_void (void *base, t_size num, t_size width, int(*comp)(const void *, const void *)) |
void | sort_void_ex (void *base, t_size num, t_size width, int(*comp)(const void *, const void *), void(*swap)(void *, void *, t_size)) |
template<typename t_out > | |
void | splitStringByChar (t_out &out, const char *str, char c) |
template<typename t_out > | |
void | splitStringByLines (t_out &out, const char *str) |
template<typename t_out > | |
void | splitStringBySubstring (t_out &out, const char *str, const char *split) |
template<typename t_output , typename t_splitCheck > | |
void | splitStringEx (t_output &p_output, const t_splitCheck &p_check, const char *p_string, t_size p_stringLen=~0) |
template<typename t_array , typename t_split > | |
void | splitStringSimple_toArray (t_array &p_output, t_split p_split, const char *p_string, t_size p_stringLen=~0) |
template<typename t_list , typename t_split > | |
void | splitStringSimple_toList (t_list &p_output, t_split p_split, const char *p_string, t_size p_stringLen=~0) |
template<typename T > | |
T | sqr_t (T item) |
static void | squaresort (pfc::sort_callback &p_callback, t_size const p_base, t_size const p_count) |
int | strcmp_ex (const char *p1, t_size n1, const char *p2, t_size n2) throw () |
int | strcmp_nc (const char *p1, size_t n1, const char *p2, size_t n2) throw () |
int | strcmp_partial (const char *str, const char *substr) throw () |
int | strcmp_partial_ex (const char *str, t_size strLen, const char *substr, t_size substrLen) throw () |
template<typename t_char > | |
int | strcmp_partial_ex_t (const t_char *p_string, t_size p_string_length, const t_char *p_substring, t_size p_substring_length) throw () |
template<typename t_char > | |
int | strcmp_partial_t (const t_char *p_string, const t_char *p_substring) throw () |
template<typename char_t > | |
void | strcpy_t (char_t *out, const char_t *in) |
t_size | strcpy_utf8_truncate (const char *src, char *out, t_size maxbytes) |
unsigned | strcpy_utf8_truncate (const char *src, char *out, unsigned maxbytes) |
char * | strDup (const char *src) |
char * | strdup_n (const char *src, t_size len) |
int | stricmp_ascii (const char *s1, const char *s2) throw () |
int | stricmp_ascii_ex (const char *const s1, t_size const len1, const char *const s2, t_size const len2) throw () |
int | stricmp_ascii_partial (const char *str, const char *substr) throw () |
t_size | string_find_first (const char *p_string, char p_tofind, t_size p_start) |
t_size | string_find_first (const char *p_string, const char *p_tofind, t_size p_start) |
t_size | string_find_first_ex (const char *p_string, t_size p_string_length, char p_tofind, t_size p_start) |
t_size | string_find_first_ex (const char *p_string, t_size p_string_length, const char *p_tofind, t_size p_tofind_length, t_size p_start) |
t_size | string_find_first_nc (const char *p_string, t_size p_string_length, char c, t_size p_start) |
t_size | string_find_first_nc (const char *p_string, t_size p_string_length, const char *p_tofind, t_size p_tofind_length, t_size p_start) |
t_size | string_find_last (const char *p_string, char p_tofind, t_size p_start) |
t_size | string_find_last (const char *p_string, const char *p_tofind, t_size p_start) |
t_size | string_find_last_ex (const char *p_string, t_size p_string_length, char p_tofind, t_size p_start) |
t_size | string_find_last_ex (const char *p_string, t_size p_string_length, const char *p_tofind, t_size p_tofind_length, t_size p_start) |
bool | string_has_prefix (const char *string, const char *prefix) |
bool | string_has_prefix_i (const char *string, const char *prefix) |
bool | string_has_suffix (const char *string, const char *suffix) |
bool | string_has_suffix_i (const char *string, const char *suffix) |
bool | string_is_numeric (const char *p_string, t_size p_length) throw () |
string_part_ref | string_part (const char *ptr, t_size len) |
double | string_to_float (const char *src, t_size max) |
template<typename t_source > | |
static void | stringCombine (pfc::string_base &out, t_source const &in, const char *separator, const char *separatorLast) |
template<typename TList > | |
string | stringCombineList (const TList &list, stringp separator) |
int | stringCompareCaseInsensitive (const char *s1, const char *s2) |
int | stringCompareCaseInsensitiveEx (string_part_ref s1, string_part_ref s2) |
bool | stringEqualsI_ascii (const char *p1, const char *p2) throw () |
bool | stringEqualsI_utf8 (const char *p1, const char *p2) throw () |
template<typename TChar , t_size len, typename TSource > | |
void | stringToBuffer (TChar(&buffer)[len], const TSource &source) |
template<typename TChar , t_size len, typename TSource > | |
void | stringToBufferGuarded (TChar(&buffer)[len], const TSource &source) |
void | stringToLowerAppend (string_base &out, const char *src, t_size len) |
template<typename T > | |
const char * | stringToPtr (T const &val) |
const char * | stringToPtr (const char *val) |
template<typename T > | |
static string_part_ref | stringToRef (T const &val) |
string_part_ref | stringToRef (string_part_ref val) |
string_part_ref | stringToRef (const char *val) |
void | stringToUpperAppend (string_base &out, const char *src, t_size len) |
t_size | strlen_max (const char *ptr, t_size max) throw () |
template<typename t_char > | |
t_size | strlen_max_t (const t_char *ptr, t_size max) |
template<typename t_char > | |
t_size | strlen_t (const t_char *p_string, t_size p_length=~0) |
t_size | strlen_utf8 (const char *s, t_size num=~0) throw () |
t_size | strstr_ex (const char *p_string, t_size p_string_len, const char *p_substring, t_size p_substring_len) throw () |
template<typename t_int > | |
t_int | sub_unsigned_clipped (t_int v1, t_int v2) |
template<typename t_destination , typename t_source1 , typename t_source2 > | |
void | subtract_sorted_lists (t_destination &p_destination, const t_source1 &p_source1, const t_source2 &p_source2) |
template<typename t_source1 , typename t_source2 > | |
t_size | subtract_sorted_lists_calculate_count (const t_source1 &p_source1, const t_source2 &p_source2) |
template<typename T > | |
void | swap_multi_t (T *p_buffer1, T *p_buffer2, t_size p_size) |
template<typename T , t_size p_size> | |
void | swap_multi_t (T *p_buffer1, T *p_buffer2) |
template<typename T > | |
void | swap_t (T &p_item1, T &p_item2) |
template<> | |
void | swap_t (string8 &p_item1, string8 &p_item2) |
void | swap_void (void *item1, void *item2, t_size width) |
t_size | tcslen_max (const TCHAR *ptr, t_size max) |
template<typename t_exception > | |
PFC_NORETURN void | throw_exception_with_message (const char *p_message) |
template<typename T > | |
string | toString (T const &val) |
template<> | |
string | toString (t_int64 const &val) |
template<> | |
string | toString (t_int32 const &val) |
template<> | |
string | toString (t_int16 const &val) |
template<> | |
string | toString (t_uint64 const &val) |
template<> | |
string | toString (t_uint32 const &val) |
template<> | |
string | toString (t_uint16 const &val) |
template<> | |
string | toString (float const &val) |
template<> | |
string | toString (double const &val) |
template<> | |
string | toString (char const &val) |
const char * | toString (std::exception const &val) |
static t_uint64 | uniqueVal () |
void | urlEncode (pfc::string_base &out, const char *in) |
void | urlEncodeAppend (pfc::string_base &out, const char *in) |
void | urlEncodeAppendRaw (pfc::string_base &out, const char *in, t_size inSize) |
t_size | utf16_decode_char (const char16_t *p_source, unsigned *p_out, t_size p_source_length=~0) throw () |
t_size | utf16_decode_char (const wchar_t *p_source, unsigned *p_out, t_size p_source_length=~0) throw () |
t_size | utf16_encode_char (unsigned c, char16_t *out) throw () |
t_size | utf16_encode_char (unsigned c, wchar_t *out) throw () |
bool | utf8_advance (const char *&var) throw () |
bool | utf8_advance (char *&var) throw () |
t_size | utf8_char_len (const char *s, t_size max=~0) throw () |
t_size | utf8_char_len_from_header (char c) throw () |
const char * | utf8_char_next (const char *src) throw () |
char * | utf8_char_next (char *src) throw () |
t_size | utf8_chars_to_bytes (const char *string, t_size count) throw () |
t_size | utf8_decode_char (const char *src, unsigned &out, t_size src_bytes) throw () |
t_size | utf8_decode_char (const char *src, unsigned &out) throw () |
t_size | utf8_encode_char (unsigned c, char *out) throw () |
unsigned | utf8_get_char (const char *src) |
t_size | wcslen_max (const wchar_t *ptr, t_size max) throw () |
t_size | wide_decode_char (const wchar_t *p_source, unsigned *p_out, t_size p_source_length=~0) throw () |
t_size | wide_encode_char (unsigned c, wchar_t *out) throw () |
BOOL | winFormatSystemErrorMessage (pfc::string_base &p_out, DWORD p_code) |
void | winPrefixPath (pfc::string_base &out, const char *p_path) |
void | winUnPrefixPath (pfc::string_base &out, const char *p_path) |
GUID | xorGUID (const GUID &v1, const GUID &v2) |
Variables | |
static const t_uint8 | ascii_tolower_table [128] = {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F} |
static const bool | byte_order_is_big_endian = !!PFC_BYTE_ORDER_IS_BIG_ENDIAN |
static const bool | byte_order_is_little_endian = !!PFC_BYTE_ORDER_IS_LITTLE_ENDIAN |
const fileHandle_t | fileHandleInvalid = INVALID_HANDLE_VALUE |
const GUID | guid_null = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } } |
const t_uint16 | infinite16 = (t_uint16)(~0) |
const t_uint32 | infinite32 = (t_uint32)(~0) |
const t_uint64 | infinite64 = (t_uint64)(~0) |
const t_size | infinite_size = (t_size)(~0) |
static const t_uint8 | mask_tab [6] ={0x80,0xE0,0xF0,0xF8,0xFC,0xFE} |
static const t_rcptr_null | rcptr_null = NULL |
static counter | uniqueValCounter |
static const t_uint8 | val_tab [6] ={0,0xC0,0xE0,0xF0,0xF8,0xFC} |
class pfc::_splitStringSimple_check |
Definition at line 898 of file string_base.h.
class pfc::alloc_fixed |
class pfc::alloc_hybrid |
class pfc::assert_byte_type |
Definition at line 101 of file primitives.h.
class pfc::assert_byte_type< char > |
Definition at line 102 of file primitives.h.
class pfc::assert_byte_type< signed char > |
Definition at line 104 of file primitives.h.
class pfc::assert_byte_type< unsigned char > |
Definition at line 103 of file primitives.h.
class pfc::assert_same_type |
Definition at line 85 of file primitives.h.
class pfc::assert_same_type< p_type, p_type > |
Definition at line 86 of file primitives.h.
class pfc::combine_traits |
class pfc::int_specs_t |
Definition at line 62 of file int_types.h.
class pfc::is_same_type |
Definition at line 89 of file primitives.h.
Data Fields | ||
---|---|---|
__unnamed__ |
class pfc::is_same_type< p_type, p_type > |
Definition at line 91 of file primitives.h.
Data Fields | ||
---|---|---|
__unnamed__ |
class pfc::sized_int_t |
Definition at line 21 of file int_types.h.
class pfc::sized_int_t< 1 > |
Definition at line 23 of file int_types.h.
Data Fields | ||
---|---|---|
typedef t_int8 | t_signed | |
typedef t_uint8 | t_unsigned |
class pfc::sized_int_t< 2 > |
Definition at line 29 of file int_types.h.
Data Fields | ||
---|---|---|
typedef t_int16 | t_signed | |
typedef t_uint16 | t_unsigned |
class pfc::sized_int_t< 4 > |
Definition at line 35 of file int_types.h.
Data Fields | ||
---|---|---|
typedef t_int32 | t_signed | |
typedef t_uint32 | t_unsigned |
class pfc::sized_int_t< 8 > |
Definition at line 41 of file int_types.h.
Data Fields | ||
---|---|---|
typedef t_int64 | t_signed | |
typedef t_uint64 | t_unsigned |
class pfc::static_assert_t |
Definition at line 93 of file primitives.h.
class pfc::static_assert_t< true > |
Definition at line 94 of file primitives.h.
typedef vartoggle_t<bool> pfc::booltoggle |
typedef nix_event pfc::event |
typedef int pfc::eventHandle_t |
typedef std::exception pfc::exception |
Definition at line 193 of file primitives.h.
typedef int pfc::fileHandle_t |
Definition at line 3 of file filehandle.h.
typedef hires_timer pfc::lores_timer |
typedef ::critical_section pfc::mutex |
Definition at line 131 of file synchro_win.h.
typedef ::c_insync pfc::mutexScope |
Definition at line 132 of file synchro_win.h.
typedef ptr_list_t<void> pfc::ptr_list |
Definition at line 41 of file ptr_list.h.
typedef counter pfc::refcounter |
Definition at line 35 of file ref_counter.h.
typedef string8_t<pfc::alloc_standard> pfc::string8 |
Definition at line 432 of file string_base.h.
typedef string8_t<pfc::alloc_fast> pfc::string8_fast |
Definition at line 433 of file string_base.h.
Definition at line 434 of file string_base.h.
Definition at line 436 of file string_base.h.
Definition at line 615 of file string_base.h.
typedef list_base_const_t<const char*> pfc::string_list_const |
Definition at line 6 of file string_list.h.
typedef string_simple_t<char> pfc::string_simple |
Definition at line 826 of file string_base.h.
typedef _rcptr_null* pfc::t_rcptr_null |
typedef uint32_t pfc::tickcount_t |
anonymous enum |
Enumerator | |
---|---|
CPU_HAVE_3DNOW | |
CPU_HAVE_3DNOW_EX | |
CPU_HAVE_SSE | |
CPU_HAVE_SSE2 | |
CPU_HAVE_SSE3 | |
CPU_HAVE_SSSE3 | |
CPU_HAVE_SSE41 | |
CPU_HAVE_SSE42 |
Definition at line 6 of file cpuid.h.
|
inlinestatic |
Definition at line 164 of file sort.cpp.
void pfc::__raw_free_t | ( | T * | p_block | ) | |
throw | ( | ||||
) |
Definition at line 46 of file alloc.h.
|
inlinestatic |
t_type* pfc::__unsafe__in_place_constructor_array_copy_partial_t | ( | t_type * | p_items, |
t_size | p_count, | ||
const t_copy * | p_copyfrom, | ||
t_size | p_copyfrom_count | ||
) |
Definition at line 170 of file primitives.h.
t_type* pfc::__unsafe__in_place_constructor_array_copy_t | ( | t_type * | p_items, |
t_size | p_count, | ||
const t_copy * | p_copyfrom | ||
) |
Definition at line 159 of file primitives.h.
t_type* pfc::__unsafe__in_place_constructor_array_t | ( | t_type * | p_items, |
t_size | p_count | ||
) |
Definition at line 130 of file primitives.h.
void pfc::__unsafe__in_place_constructor_copy_t | ( | t_type & | p_item, |
const t_copy & | p_copyfrom | ||
) |
Definition at line 149 of file primitives.h.
void pfc::__unsafe__in_place_constructor_t | ( | t_type & | p_item | ) |
Definition at line 115 of file primitives.h.
void pfc::__unsafe__in_place_destructor_array_t | ( | t_type * | p_items, |
t_size | p_count | ||
) | |||
throw | ( | ||
) |
Definition at line 123 of file primitives.h.
void pfc::__unsafe__in_place_destructor_t | ( | t_type & | p_item | ) | |
throw | ( | ||||
) |
Definition at line 111 of file primitives.h.
t_type* pfc::__unsafe__in_place_resize_array_t | ( | t_type * | p_items, |
t_size | p_from, | ||
t_size | p_to | ||
) |
Definition at line 143 of file primitives.h.
void pfc::__unsafe__memcpy_t | ( | t_type * | p_dst, |
const t_type * | p_src, | ||
t_size | p_count | ||
) |
Definition at line 107 of file primitives.h.
|
inline |
Definition at line 276 of file primitives.h.
|
static |
Definition at line 4 of file com_ptr_t.h.
|
static |
Definition at line 7 of file com_ptr_t.h.
int pfc::_strcmp_partial_ex | ( | const t_char * | p_string, |
t_size | p_string_length, | ||
const t_char * | p_substring, | ||
t_size | p_substring_length | ||
) | |||
throw | ( | ||
) |
Definition at line 1070 of file string_base.h.
|
inline |
Definition at line 7 of file string_base.h.
Definition at line 559 of file primitives.h.
Definition at line 606 of file primitives.h.
void pfc::accumulate_guarded | ( | t_acc & | p_acc, |
const t_add & | p_add | ||
) |
Definition at line 217 of file primitives.h.
Definition at line 596 of file primitives.h.
|
inline |
Definition at line 482 of file primitives.h.
|
inline |
Definition at line 473 of file primitives.h.
|
static |
|
static |
Definition at line 318 of file primitives.h.
|
static |
Definition at line 314 of file primitives.h.
void pfc::array_rangecheck_t | ( | const t_array & | p_array, |
t_size | p_index | ||
) |
Definition at line 702 of file primitives.h.
void pfc::array_rangecheck_t | ( | const t_array & | p_array, |
t_size | p_from, | ||
t_size | p_to | ||
) |
Definition at line 707 of file primitives.h.
t_size pfc::array_size_t | ( | const t_array & | p_array | ) |
Definition at line 309 of file primitives.h.
t_size pfc::array_size_t | ( | const t_item(&) | p_array[p_width] | ) |
Definition at line 312 of file primitives.h.
|
inline |
Definition at line 60 of file string_base.h.
char pfc::ascii_tolower_lookup | ( | char | c | ) |
Definition at line 1162 of file string_base.cpp.
|
inline |
Definition at line 61 of file string_base.h.
void pfc::assert_raw_type | ( | ) |
Definition at line 99 of file primitives.h.
Definition at line 124 of file string_base.h.
Definition at line 115 of file string_base.h.
Definition at line 363 of file string_base.cpp.
Definition at line 338 of file string_base.cpp.
unsigned pfc::atoui_ex | ( | const char * | p_string, |
t_size | p_string_len | ||
) |
Definition at line 303 of file string_base.cpp.
void pfc::base64_decode | ( | const char * | text, |
void * | out | ||
) |
Definition at line 36 of file base64.cpp.
void pfc::base64_decode_array | ( | t_buffer & | out, |
const char * | text | ||
) |
t_size pfc::base64_decode_estimate | ( | const char * | text | ) |
Definition at line 18 of file base64.cpp.
void pfc::base64_encode | ( | pfc::string_base & | out, |
const void * | in, | ||
t_size | inSize | ||
) |
Definition at line 74 of file base64.cpp.
void pfc::base64_encode_append | ( | pfc::string_base & | out, |
const void * | in, | ||
t_size | inSize | ||
) |
Definition at line 77 of file base64.cpp.
bool pfc::bsearch | ( | t_size | p_count, |
bsearch_callback const & | p_callback, | ||
t_size & | p_result | ||
) |
Definition at line 15 of file bsearch.cpp.
|
inline |
Definition at line 6 of file bsearch_inline.h.
bool pfc::bsearch_permutation_t | ( | t_size | p_count, |
const t_container & | p_container, | ||
t_compare | p_compare, | ||
const t_param & | p_param, | ||
const t_permutation & | p_permutation, | ||
t_size & | p_index | ||
) |
Definition at line 56 of file bsearch.h.
bool pfc::bsearch_range_t | ( | const t_size | p_count, |
const t_container & | p_container, | ||
t_compare | p_compare, | ||
const t_param & | p_param, | ||
t_size & | p_range_base, | ||
t_size & | p_range_count | ||
) |
Definition at line 71 of file bsearch.h.
|
inline |
Definition at line 28 of file bsearch_inline.h.
bool pfc::bsearch_t | ( | t_size | p_count, |
const t_container & | p_container, | ||
t_compare | p_compare, | ||
const t_param & | p_param, | ||
t_size & | p_index | ||
) |
Definition at line 48 of file bsearch.h.
|
inline |
Definition at line 225 of file primitives.h.
|
inline |
Definition at line 232 of file primitives.h.
Definition at line 119 of file byte_order_helper.h.
Definition at line 120 of file byte_order_helper.h.
Definition at line 13 of file byte_order_helper.h.
void pfc::byteswap_raw | ( | void * | p_buffer, |
t_size | p_bytes | ||
) |
|
inline |
Definition at line 9 of file byte_order_helper.h.
|
inline |
Definition at line 59 of file byte_order_helper.h.
|
inline |
Definition at line 53 of file byte_order_helper.h.
|
inline |
Definition at line 66 of file byte_order_helper.h.
|
inline |
Definition at line 29 of file byte_order_helper.h.
|
inline |
Definition at line 32 of file byte_order_helper.h.
|
inline |
Definition at line 35 of file byte_order_helper.h.
|
inline |
Definition at line 26 of file byte_order_helper.h.
|
inline |
Definition at line 11 of file byte_order_helper.h.
|
inline |
Definition at line 10 of file byte_order_helper.h.
|
inline |
Definition at line 30 of file byte_order_helper.h.
|
inline |
Definition at line 33 of file byte_order_helper.h.
|
inline |
Definition at line 36 of file byte_order_helper.h.
|
inline |
Definition at line 27 of file byte_order_helper.h.
|
inline |
Definition at line 24 of file byte_order_helper.h.
|
inline |
Definition at line 103 of file string_base.h.
|
inline |
Definition at line 102 of file string_base.h.
|
inline |
Definition at line 101 of file string_base.h.
|
inline |
Definition at line 104 of file string_base.h.
|
inline |
Definition at line 100 of file string_base.h.
|
inline |
Definition at line 99 of file string_base.h.
unsigned pfc::char_to_dec | ( | char | c | ) |
Definition at line 1078 of file string_base.cpp.
unsigned pfc::char_to_hex | ( | char | c | ) |
Definition at line 1083 of file string_base.cpp.
t_uint32 pfc::charLower | ( | uint32_t | param | ) |
Definition at line 1093 of file string_base.cpp.
t_uint32 pfc::charUpper | ( | uint32_t | param | ) |
Definition at line 1106 of file string_base.cpp.
|
static |
Definition at line 565 of file primitives.h.
Definition at line 582 of file primitives.h.
|
inline |
Definition at line 20 of file hasher_md5.h.
|
inline |
Definition at line 336 of file primitives.h.
|
inline |
void pfc::convert_to_lower_ascii | ( | const char * | src, |
t_size | max, | ||
char * | out, | ||
char | replace | ||
) |
Definition at line 272 of file string_base.cpp.
void pfc::copy_array_loop_t | ( | t_dst & | p_dst, |
const t_src & | p_src, | ||
t_size | p_count | ||
) |
Definition at line 616 of file primitives.h.
void pfc::copy_array_t | ( | t_to & | p_to, |
const t_from & | p_from | ||
) |
Definition at line 71 of file array.h.
void pfc::copy_list_enumerated | ( | t_receiver & | p_receiver, |
const t_giver & | p_giver | ||
) |
Definition at line 819 of file primitives.h.
|
inline |
Definition at line 850 of file primitives.h.
void pfc::create_move_items_permutation | ( | t_size * | p_output, |
t_size | p_count, | ||
const class bit_array & | p_selection, | ||
int | p_delta | ||
) |
Creates a permutation that moves selected items in a list box by the specified delta-offset.
void pfc::create_move_items_permutation | ( | t_size * | p_output, |
t_size | p_count, | ||
const bit_array & | p_selection, | ||
int | p_delta | ||
) |
GUID pfc::createGUID | ( | ) |
Definition at line 161 of file guid.cpp.
void pfc::createPipe | ( | int | fd[2], |
bool | bInheritable | ||
) |
Definition at line 41 of file nix-objects.cpp.
|
inline |
Definition at line 199 of file byte_order_helper.h.
|
inline |
Definition at line 211 of file byte_order_helper.h.
|
inline |
Definition at line 218 of file byte_order_helper.h.
|
inline |
Definition at line 194 of file byte_order_helper.h.
|
inline |
Definition at line 204 of file byte_order_helper.h.
|
inline |
Definition at line 579 of file primitives.h.
|
inline |
Definition at line 576 of file primitives.h.
t_ret pfc::downcast_guarded | ( | const t_param & | p_param | ) |
Definition at line 203 of file primitives.h.
t_ret pfc::downcast_guarded_ex | ( | const t_param & | p_param | ) |
Definition at line 210 of file primitives.h.
|
inline |
Definition at line 239 of file primitives.h.
|
inline |
Definition at line 245 of file primitives.h.
const T* pfc::empty_string_t | ( | ) |
|
inline |
Definition at line 677 of file primitives.h.
|
inline |
Definition at line 678 of file primitives.h.
|
inline |
Definition at line 168 of file byte_order_helper.h.
|
inline |
Definition at line 223 of file byte_order_helper.h.
|
inline |
Definition at line 164 of file byte_order_helper.h.
bool pfc::fdCanRead | ( | int | fd | ) |
Definition at line 142 of file nix-objects.cpp.
bool pfc::fdCanWrite | ( | int | fd | ) |
Definition at line 145 of file nix-objects.cpp.
bool pfc::fdWaitRead | ( | int | fd, |
double | timeOutSeconds | ||
) |
Definition at line 149 of file nix-objects.cpp.
bool pfc::fdWaitWrite | ( | int | fd, |
double | timeOutSeconds | ||
) |
Definition at line 153 of file nix-objects.cpp.
void pfc::fileHandleClose | ( | fileHandle_t | h | ) |
Definition at line 8 of file filehandle.cpp.
fileHandle_t pfc::fileHandleDup | ( | fileHandle_t | h | ) |
Definition at line 17 of file filehandle.cpp.
uint64_t pfc::fileTimeNow | ( | ) |
Definition at line 66 of file timers.cpp.
uint64_t pfc::fileTimeUtoW | ( | uint64_t | ft | ) |
Definition at line 56 of file timers.cpp.
uint64_t pfc::fileTimeUtoW | ( | const timespec & | ts | ) |
Definition at line 60 of file timers.cpp.
uint64_t pfc::fileTimeWtoU | ( | uint64_t | ft | ) |
Definition at line 53 of file timers.cpp.
void pfc::fill_array_t | ( | t_array & | p_array, |
const t_value & | p_value | ||
) |
|
inline |
Definition at line 330 of file primitives.h.
|
inline |
Definition at line 324 of file primitives.h.
t_size pfc::find_duplicates_sorted_permutation_t | ( | t_array | p_array, |
t_size | p_count, | ||
t_compare | p_compare, | ||
t_permutation const & | p_permutation, | ||
bit_array_var & | p_out | ||
) |
Definition at line 755 of file primitives.h.
t_size pfc::find_duplicates_sorted_t | ( | t_array | p_array, |
t_size | p_count, | ||
t_compare | p_compare, | ||
bit_array_var & | p_out | ||
) |
Definition at line 738 of file primitives.h.
void pfc::float_to_string | ( | char * | out, |
t_size | out_max, | ||
double | val, | ||
unsigned | precision, | ||
bool | b_sign | ||
) |
Definition at line 144 of file string_base.cpp.
char pfc::format_hex_char | ( | unsigned | p_val | ) |
Definition at line 513 of file string_base.cpp.
char pfc::format_hex_char_lowercase | ( | unsigned | p_val | ) |
Definition at line 541 of file string_base.cpp.
t_size pfc::getOptimalWorkerThreadCount | ( | ) |
Definition at line 17 of file threads.cpp.
Definition at line 43 of file threads.cpp.
|
inline |
|
static |
Definition at line 3 of file primitives_part2.h.
GUID pfc::GUID_from_text | ( | const char * | text | ) |
bool pfc::has_path_bad_chars | ( | const char * | param | ) |
Definition at line 134 of file string_base.cpp.
t_ret pfc::implicit_cast | ( | t_ret | val | ) |
Definition at line 182 of file primitives.h.
double pfc::importTimeval | ( | const timeval & | in | ) |
Definition at line 71 of file nix-objects.cpp.
void pfc::insert_array_t | ( | array1_t & | outArray, |
size_t | insertAt, | ||
array2_t const & | inArray, | ||
size_t | inArraySize | ||
) |
Definition at line 510 of file primitives.h.
|
inline |
Definition at line 524 of file primitives.h.
|
inline |
Definition at line 541 of file primitives.h.
|
inline |
Definition at line 500 of file primitives.h.
|
inline |
Definition at line 491 of file primitives.h.
bool pfc::is_lower_ascii | ( | const char * | param | ) |
bool pfc::is_multiline | ( | const char * | p_string, |
t_size | p_len | ||
) |
Definition at line 809 of file string_base.cpp.
bool pfc::is_path_bad_char | ( | unsigned | c | ) |
Definition at line 64 of file string_base.cpp.
bool pfc::is_path_separator | ( | unsigned | c | ) |
Definition at line 59 of file string_base.cpp.
bool pfc::is_pointer_in_range | ( | const t_item * | p_buffer, |
t_size | p_buffer_size, | ||
const void * | p_pointer | ||
) |
|
inline |
Definition at line 695 of file primitives.h.
bool pfc::is_valid_utf8 | ( | const char * | param, |
t_size | max = ~0 |
||
) |
Definition at line 264 of file utf8.cpp.
bool pfc::isAltKeyPressed | ( | ) |
Definition at line 258 of file nix-objects.cpp.
bool pfc::isCtrlKeyPressed | ( | ) |
Definition at line 257 of file nix-objects.cpp.
bool pfc::isShiftKeyPressed | ( | ) |
Definition at line 256 of file nix-objects.cpp.
void pfc::list_to_array | ( | t_array & | p_array, |
const t_list & | p_list | ||
) |
Definition at line 796 of file primitives.h.
|
static |
Definition at line 105 of file iterators.h.
|
inline |
Definition at line 824 of file primitives.h.
timeval pfc::makeTimeVal | ( | double | timeSeconds | ) |
Definition at line 64 of file nix-objects.cpp.
|
inline |
Definition at line 834 of file primitives.h.
Definition at line 553 of file primitives.h.
void pfc::memcpy_backwards_t | ( | t_dst * | p_dst, |
const t_src * | p_src, | ||
t_size | p_count | ||
) |
Definition at line 621 of file primitives.h.
void pfc::memcpy_t | ( | t_dst * | p_dst, |
const t_src * | p_src, | ||
t_size | p_count | ||
) |
Definition at line 611 of file primitives.h.
Definition at line 649 of file primitives.h.
Definition at line 638 of file primitives.h.
void pfc::memset_null_t | ( | T & | p_buffer | ) |
Definition at line 643 of file primitives.h.
void pfc::memset_t | ( | T * | p_buffer, |
const t_val & | p_val, | ||
t_size | p_count | ||
) |
Definition at line 627 of file primitives.h.
void pfc::memset_t | ( | T & | p_buffer, |
const t_val & | p_val | ||
) |
Definition at line 632 of file primitives.h.
|
static |
Definition at line 658 of file primitives.h.
void pfc::memxor_t | ( | TVal * | out, |
const TVal * | s1, | ||
const TVal * | s2, | ||
t_size | count | ||
) |
Definition at line 655 of file primitives.h.
void pfc::merge_sorted_lists | ( | t_destination & | p_destination, |
const t_source1 & | p_source1, | ||
const t_source2 & | p_source2 | ||
) |
Merges p_source1 and p_source2, storing content in p_destination. Both source lists must be sorted. Note: duplicates will be carried over.
Definition at line 443 of file primitives.h.
t_size pfc::merge_sorted_lists_calculate_count | ( | const t_source1 & | p_source1, |
const t_source2 & | p_source2 | ||
) |
Definition at line 419 of file primitives.h.
|
inline |
Definition at line 829 of file primitives.h.
Definition at line 556 of file primitives.h.
This is similar to plain p_item1 = p_item2; assignment, but optimized for the case where p_item2 content is no longer needed later on. This can be overridden for specific classes for optimal performance.
p_item2 value is undefined after performing a move_t. For an example, in certain cases move_t will fall back to swap_t.
Definition at line 298 of file primitives.h.
|
inline |
Definition at line 586 of file primitives.h.
Definition at line 593 of file primitives.h.
void pfc::myassert | ( | const char * | _Message, |
const char * | _File, | ||
unsigned | _Line | ||
) |
void pfc::myassert_win32 | ( | const wchar_t * | _Message, |
const wchar_t * | _File, | ||
unsigned | _Line | ||
) |
int pfc::naturalSortCompare | ( | const char * | s1, |
const char * | s2 | ||
) | |||
throw | ( | ||
) |
Definition at line 489 of file string_base.cpp.
int pfc::naturalSortCompareI | ( | const char * | s1, |
const char * | s2 | ||
) | |||
throw | ( | ||
) |
Definition at line 497 of file string_base.cpp.
|
static |
Definition at line 438 of file string_base.cpp.
Definition at line 663 of file primitives.h.
|
static |
Definition at line 183 of file sort.cpp.
void pfc::nixFormatError | ( | string_base & | str, |
int | code | ||
) |
Definition at line 15 of file nix-objects.cpp.
void pfc::nixGetRandomData | ( | void * | outPtr, |
size_t | outBytes | ||
) |
Definition at line 243 of file nix-objects.cpp.
double pfc::nixGetTime | ( | ) |
Definition at line 210 of file nix-objects.cpp.
bool pfc::nixReadSymLink | ( | string_base & | strOut, |
const char * | path | ||
) |
Definition at line 216 of file nix-objects.cpp.
bool pfc::nixSelfProcessPath | ( | string_base & | strOut | ) |
Definition at line 230 of file nix-objects.cpp.
void pfc::nixSleep | ( | double | seconds | ) |
Definition at line 206 of file nix-objects.cpp.
void pfc::overwrite_list_enumerated | ( | t_receiver & | p_receiver, |
const t_giver & | p_giver | ||
) |
Definition at line 813 of file primitives.h.
double pfc::parse_timecode | ( | const char * | in | ) |
Definition at line 849 of file string_base.cpp.
|
static |
Definition at line 833 of file string_base.cpp.
For critical sanity checks. Speed: O(n), allocates memory.
Definition at line 17 of file other.cpp.
For critical sanity checks. Speed: O(n), allocates memory.
Definition at line 26 of file other.cpp.
pfc::PFC_DECLARE_EXCEPTION | ( | exception_invalid_permutation | , |
exception_invalid_params | , | ||
"Invalid permutation" | |||
) |
pfc::PFC_DECLARE_EXCEPTION | ( | exception_map_entry_not_found | , |
exception | , | ||
"Map entry not found" | |||
) |
pfc::PFC_DECLARE_EXCEPTION | ( | exception_overflow | , |
exception | , | ||
"Overflow" | |||
) |
pfc::PFC_DECLARE_EXCEPTION | ( | exception_bug_check | , |
exception | , | ||
"Bug check" | |||
) |
pfc::PFC_DECLARE_EXCEPTION | ( | exception_invalid_params | , |
exception_bug_check | , | ||
"Invalid parameters" | |||
) |
pfc::PFC_DECLARE_EXCEPTION | ( | exception_unexpected_recursion | , |
exception_bug_check | , | ||
"Unexpected recursion" | |||
) |
pfc::PFC_DECLARE_EXCEPTION | ( | exception_not_implemented | , |
exception_bug_check | , | ||
"Feature not implemented" | |||
) |
pfc::PFC_DECLARE_EXCEPTION | ( | exception_dynamic_assert | , |
exception_bug_check | , | ||
"dynamic_assert failure" | |||
) |
|
static |
Definition at line 206 of file string_base.cpp.
|
static |
Definition at line 820 of file string_base.cpp.
|
static |
|
inlinestatic |
void pfc::print_hex_raw | ( | const void * | buffer, |
unsigned | bytes, | ||
char * | p_out | ||
) |
Definition at line 152 of file guid.cpp.
bool pfc::query_cpu_feature_set | ( | unsigned | p_value | ) |
Definition at line 7 of file cpuid.cpp.
|
static |
|
static |
|
static |
rcptr_t<t_object> pfc::rcnew_t | ( | ) |
rcptr_t<t_object> pfc::rcnew_t | ( | t_param1 const & | p_param1 | ) |
rcptr_t<t_object> pfc::rcnew_t | ( | t_param1 const & | p_param1, |
t_param2 const & | p_param2 | ||
) |
rcptr_t<t_object> pfc::rcnew_t | ( | t_param1 const & | p_param1, |
t_param2 const & | p_param2, | ||
t_param3 const & | p_param3 | ||
) |
rcptr_t<t_object> pfc::rcnew_t | ( | t_param1 const & | p_param1, |
t_param2 const & | p_param2, | ||
t_param3 const & | p_param3, | ||
t_param4 const & | p_param4 | ||
) |
rcptr_t<t_object> pfc::rcnew_t | ( | t_param1 const & | p_param1, |
t_param2 const & | p_param2, | ||
t_param3 const & | p_param3, | ||
t_param4 const & | p_param4, | ||
t_param5 const & | p_param5 | ||
) |
rcptr_t<t_object> pfc::rcnew_t | ( | t_param1 const & | p_param1, |
t_param2 const & | p_param2, | ||
t_param3 const & | p_param3, | ||
t_param4 const & | p_param4, | ||
t_param5 const & | p_param5, | ||
t_param6 const & | p_param6 | ||
) |
void pfc::recover_invalid_utf8 | ( | const char * | src, |
char * | out, | ||
unsigned | replace | ||
) |
|
inline |
Definition at line 719 of file primitives.h.
void pfc::reorder | ( | reorder_callback & | p_callback, |
const t_size * | p_order, | ||
t_size | p_count | ||
) |
Definition at line 25 of file sort.cpp.
void pfc::reorder_partial_t | ( | t_container & | p_data, |
t_size | p_base, | ||
const t_size * | p_order, | ||
t_size | p_count | ||
) |
Definition at line 49 of file sort.h.
void pfc::reorder_ptr_t | ( | T * | p_data, |
const t_size * | p_order, | ||
t_size | p_count | ||
) |
Definition at line 72 of file sort.h.
void pfc::reorder_t | ( | t_container & | p_data, |
const t_size * | p_order, | ||
t_size | p_count | ||
) |
Definition at line 42 of file sort.h.
void pfc::reorder_void | ( | void * | data, |
t_size | width, | ||
const t_size * | order, | ||
t_size | num, | ||
void(*)(void *item1, void *item2, t_size width) | swapfunc | ||
) |
Definition at line 53 of file sort.cpp.
t_type pfc::replace_null_t | ( | t_type & | p_var | ) |
Definition at line 688 of file primitives.h.
t_type pfc::replace_t | ( | t_type & | p_var, |
const t_newval & | p_newval | ||
) |
Definition at line 682 of file primitives.h.
|
inline |
Definition at line 231 of file byte_order_helper.h.
|
inline |
Definition at line 237 of file byte_order_helper.h.
|
inline |
Definition at line 236 of file byte_order_helper.h.
t_ret* pfc::safe_ptr_cast | ( | t_param * | p_param | ) |
Definition at line 185 of file primitives.h.
|
inline |
|
static |
Definition at line 826 of file string_base.cpp.
t_size pfc::scan_filename | ( | const char * | ptr | ) |
Definition at line 693 of file string_base.cpp.
void pfc::selftest | ( | ) |
Definition at line 79 of file selftest.cpp.
void pfc::selftest_runtime | ( | ) |
Definition at line 41 of file selftest.cpp.
void pfc::selftest_static | ( | ) |
Definition at line 48 of file selftest.cpp.
void pfc::setCloseOnExec | ( | int | fd, |
bool | bCloseOnExec | ||
) |
Definition at line 29 of file nix-objects.cpp.
void pfc::setInheritable | ( | int | fd, |
bool | bInheritable | ||
) |
Definition at line 37 of file nix-objects.cpp.
void pfc::setNonBlocking | ( | int | fd, |
bool | bNonBlocking | ||
) |
Definition at line 21 of file nix-objects.cpp.
int pfc::sgn_t | ( | const T & | p_val | ) |
Definition at line 669 of file primitives.h.
void pfc::sort | ( | pfc::sort_callback & | p_callback, |
t_size | p_num | ||
) |
Definition at line 225 of file sort.cpp.
|
static |
void pfc::sort_stable | ( | sort_callback & | p_callback, |
t_size | p_count | ||
) |
|
static |
|
static |
|
static |
void pfc::sort_void | ( | void * | base, |
t_size | num, | ||
t_size | width, | ||
int(*)(const void *, const void *) | comp | ||
) |
Definition at line 231 of file sort.cpp.
void pfc::sort_void_ex | ( | void * | base, |
t_size | num, | ||
t_size | width, | ||
int(*)(const void *, const void *) | comp, | ||
void(*)(void *, void *, t_size) | swap | ||
) |
void pfc::splitStringByChar | ( | t_out & | out, |
const char * | str, | ||
char | c | ||
) |
Definition at line 989 of file string_base.h.
void pfc::splitStringByLines | ( | t_out & | out, |
const char * | str | ||
) |
Definition at line 977 of file string_base.h.
void pfc::splitStringBySubstring | ( | t_out & | out, |
const char * | str, | ||
const char * | split | ||
) |
Definition at line 999 of file string_base.h.
void pfc::splitStringEx | ( | t_output & | p_output, |
const t_splitCheck & | p_check, | ||
const char * | p_string, | ||
t_size | p_stringLen = ~0 |
||
) |
Definition at line 872 of file string_base.h.
void pfc::splitStringSimple_toArray | ( | t_array & | p_output, |
t_split | p_split, | ||
const char * | p_string, | ||
t_size | p_stringLen = ~0 |
||
) |
Definition at line 955 of file string_base.h.
void pfc::splitStringSimple_toList | ( | t_list & | p_output, |
t_split | p_split, | ||
const char * | p_string, | ||
t_size | p_stringLen = ~0 |
||
) |
Definition at line 970 of file string_base.h.
Definition at line 562 of file primitives.h.
|
static |
Definition at line 332 of file string_base.cpp.
int pfc::strcmp_nc | ( | const char * | p1, |
size_t | n1, | ||
const char * | p2, | ||
size_t | n2 | ||
) | |||
throw | ( | ||
) |
Definition at line 316 of file string_base.cpp.
|
inline |
Definition at line 1089 of file string_base.h.
|
inline |
Definition at line 1088 of file string_base.h.
int pfc::strcmp_partial_ex_t | ( | const t_char * | p_string, |
t_size | p_string_length, | ||
const t_char * | p_substring, | ||
t_size | p_substring_length | ||
) | |||
throw | ( | ||
) |
Definition at line 1080 of file string_base.h.
int pfc::strcmp_partial_t | ( | const t_char * | p_string, |
const t_char * | p_substring | ||
) | |||
throw | ( | ||
) |
Definition at line 1086 of file string_base.h.
void pfc::strcpy_t | ( | char_t * | out, |
const char_t * | in | ||
) |
Definition at line 141 of file string_base.h.
unsigned pfc::strcpy_utf8_truncate | ( | const char * | src, |
char * | out, | ||
unsigned | maxbytes | ||
) |
char * pfc::strDup | ( | const char * | src | ) |
Definition at line 1212 of file string_base.cpp.
char * pfc::strdup_n | ( | const char * | src, |
t_size | len | ||
) |
Definition at line 75 of file string_base.cpp.
int pfc::stricmp_ascii | ( | const char * | s1, |
const char * | s2 | ||
) | |||
throw | ( | ||
) |
Definition at line 419 of file string_base.cpp.
int pfc::stricmp_ascii_ex | ( | const char *const | s1, |
t_size const | len1, | ||
const char *const | s2, | ||
t_size const | len2 | ||
) | |||
throw | ( | ||
) |
Definition at line 405 of file string_base.cpp.
int pfc::stricmp_ascii_partial | ( | const char * | str, |
const char * | substr | ||
) | |||
throw | ( | ||
) |
Definition at line 391 of file string_base.cpp.
Definition at line 706 of file string_base.cpp.
Definition at line 715 of file string_base.cpp.
t_size pfc::string_find_first_ex | ( | const char * | p_string, |
t_size | p_string_length, | ||
char | p_tofind, | ||
t_size | p_start | ||
) |
Definition at line 722 of file string_base.cpp.
t_size pfc::string_find_first_ex | ( | const char * | p_string, |
t_size | p_string_length, | ||
const char * | p_tofind, | ||
t_size | p_tofind_length, | ||
t_size | p_start | ||
) |
Definition at line 731 of file string_base.cpp.
t_size pfc::string_find_first_nc | ( | const char * | p_string, |
t_size | p_string_length, | ||
char | c, | ||
t_size | p_start | ||
) |
Definition at line 752 of file string_base.cpp.
t_size pfc::string_find_first_nc | ( | const char * | p_string, |
t_size | p_string_length, | ||
const char * | p_tofind, | ||
t_size | p_tofind_length, | ||
t_size | p_start | ||
) |
Definition at line 759 of file string_base.cpp.
Definition at line 712 of file string_base.cpp.
Definition at line 718 of file string_base.cpp.
t_size pfc::string_find_last_ex | ( | const char * | p_string, |
t_size | p_string_length, | ||
char | p_tofind, | ||
t_size | p_start | ||
) |
Definition at line 728 of file string_base.cpp.
t_size pfc::string_find_last_ex | ( | const char * | p_string, |
t_size | p_string_length, | ||
const char * | p_tofind, | ||
t_size | p_tofind_length, | ||
t_size | p_start | ||
) |
Definition at line 741 of file string_base.cpp.
bool pfc::string_has_prefix | ( | const char * | string, |
const char * | prefix | ||
) |
Definition at line 1176 of file string_base.cpp.
bool pfc::string_has_prefix_i | ( | const char * | string, |
const char * | prefix | ||
) |
Definition at line 1183 of file string_base.cpp.
bool pfc::string_has_suffix | ( | const char * | string, |
const char * | suffix | ||
) |
Definition at line 1197 of file string_base.cpp.
bool pfc::string_has_suffix_i | ( | const char * | string, |
const char * | suffix | ||
) |
Definition at line 1204 of file string_base.cpp.
bool pfc::string_is_numeric | ( | const char * | p_string, |
t_size | p_length | ||
) | |||
throw | ( | ||
) |
Definition at line 770 of file string_base.cpp.
|
inline |
Definition at line 31 of file string_base.h.
double pfc::string_to_float | ( | const char * | src, |
t_size | max | ||
) |
Definition at line 245 of file string_base.cpp.
|
static |
Definition at line 860 of file string_base.h.
Definition at line 245 of file stringNew.h.
int pfc::stringCompareCaseInsensitive | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 930 of file string_base.cpp.
int pfc::stringCompareCaseInsensitiveEx | ( | string_part_ref | s1, |
string_part_ref | s2 | ||
) |
Definition at line 913 of file string_base.cpp.
bool pfc::stringEqualsI_ascii | ( | const char * | p1, |
const char * | p2 | ||
) | |||
throw | ( | ||
) |
Definition at line 1121 of file string_base.cpp.
bool pfc::stringEqualsI_utf8 | ( | const char * | p1, |
const char * | p2 | ||
) | |||
throw | ( | ||
) |
Definition at line 1137 of file string_base.cpp.
void pfc::stringToBuffer | ( | TChar(&) | buffer[len], |
const TSource & | source | ||
) |
Writes a string to a fixed-size buffer. Truncates the string if necessary. Always writes a null terminator.
Definition at line 1048 of file string_base.h.
void pfc::stringToBufferGuarded | ( | TChar(&) | buffer[len], |
const TSource & | source | ||
) |
Same as stringToBuffer() but throws exception_overflow() if the string could not be fully written, including null terminator.
Definition at line 1059 of file string_base.h.
void pfc::stringToLowerAppend | ( | string_base & | out, |
const char * | src, | ||
t_size | len | ||
) |
Definition at line 903 of file string_base.cpp.
|
inline |
Definition at line 1020 of file string_base.h.
|
inline |
Definition at line 1021 of file string_base.h.
|
static |
Definition at line 1023 of file string_base.h.
|
inline |
Definition at line 1024 of file string_base.h.
|
inline |
Definition at line 1025 of file string_base.h.
void pfc::stringToUpperAppend | ( | string_base & | out, |
const char * | src, | ||
t_size | len | ||
) |
Definition at line 893 of file string_base.cpp.
Definition at line 91 of file string_base.h.
Definition at line 84 of file string_base.h.
Definition at line 771 of file primitives.h.
Definition at line 316 of file utf8.cpp.
t_size pfc::strstr_ex | ( | const char * | p_string, |
t_size | p_string_len, | ||
const char * | p_substring, | ||
t_size | p_substring_len | ||
) | |||
throw | ( | ||
) |
Definition at line 288 of file string_base.cpp.
Definition at line 601 of file primitives.h.
void pfc::subtract_sorted_lists | ( | t_destination & | p_destination, |
const t_source1 & | p_source1, | ||
const t_source2 & | p_source2 | ||
) |
Subtracts p_source2 contents from p_source1 and stores result in p_destination. Both source lists must be sorted. Note: duplicates will be carried over (and ignored for p_source2).
Definition at line 395 of file primitives.h.
t_size pfc::subtract_sorted_lists_calculate_count | ( | const t_source1 & | p_source1, |
const t_source2 & | p_source2 | ||
) |
Definition at line 371 of file primitives.h.
Definition at line 253 of file primitives.h.
Definition at line 264 of file primitives.h.
Definition at line 285 of file primitives.h.
Definition at line 545 of file string_base.h.
void pfc::swap_void | ( | void * | item1, |
void * | item2, | ||
t_size | width | ||
) |
Definition at line 95 of file string_base.h.
|
inline |
Definition at line 37 of file primitives.h.
Definition at line 204 of file stringNew.h.
Definition at line 205 of file stringNew.h.
Definition at line 206 of file stringNew.h.
Definition at line 207 of file stringNew.h.
Definition at line 208 of file stringNew.h.
Definition at line 209 of file stringNew.h.
Definition at line 210 of file stringNew.h.
|
inline |
Definition at line 211 of file stringNew.h.
|
inline |
Definition at line 212 of file stringNew.h.
|
inline |
Definition at line 213 of file stringNew.h.
|
inline |
Definition at line 214 of file stringNew.h.
|
inlinestatic |
void pfc::urlEncode | ( | pfc::string_base & | out, |
const char * | in | ||
) |
Definition at line 1074 of file string_base.cpp.
void pfc::urlEncodeAppend | ( | pfc::string_base & | out, |
const char * | in | ||
) |
Definition at line 1065 of file string_base.cpp.
void pfc::urlEncodeAppendRaw | ( | pfc::string_base & | out, |
const char * | in, | ||
t_size | inSize | ||
) |
Definition at line 1057 of file string_base.cpp.
t_size pfc::utf16_decode_char | ( | const char16_t * | p_source, |
unsigned * | p_out, | ||
t_size | p_source_length = ~0 |
||
) | |||
throw | ( | ||
) |
t_size pfc::utf16_decode_char | ( | const wchar_t * | p_source, |
unsigned * | p_out, | ||
t_size | p_source_length = ~0 |
||
) | |||
throw | ( | ||
) |
Definition at line 207 of file utf8.cpp.
t_size pfc::utf16_encode_char | ( | unsigned | c, |
char16_t * | out | ||
) | |||
throw | ( | ||
) |
Definition at line 165 of file utf8.cpp.
t_size pfc::utf16_encode_char | ( | unsigned | c, |
wchar_t * | out | ||
) | |||
throw | ( | ||
) |
|
inline |
Definition at line 178 of file string_base.h.
|
inline |
Definition at line 184 of file string_base.h.
Definition at line 246 of file utf8.cpp.
|
inline |
Definition at line 190 of file string_base.h.
|
inline |
Definition at line 191 of file string_base.h.
Definition at line 332 of file utf8.cpp.
t_size pfc::utf8_decode_char | ( | const char * | src, |
unsigned & | out | ||
) | |||
throw | ( | ||
) |
t_size pfc::utf8_encode_char | ( | unsigned | c, |
char * | out | ||
) | |||
throw | ( | ||
) |
unsigned pfc::utf8_get_char | ( | const char * | src | ) |
Definition at line 238 of file utf8.cpp.
Definition at line 92 of file string_base.h.
t_size pfc::wide_decode_char | ( | const wchar_t * | p_source, |
unsigned * | p_out, | ||
t_size | p_source_length = ~0 |
||
) | |||
throw | ( | ||
) |
Definition at line 217 of file utf8.cpp.
t_size pfc::wide_encode_char | ( | unsigned | c, |
wchar_t * | out | ||
) | |||
throw | ( | ||
) |
BOOL pfc::winFormatSystemErrorMessage | ( | pfc::string_base & | p_out, |
DWORD | p_code | ||
) |
Definition at line 7 of file win-objects.cpp.
void pfc::winPrefixPath | ( | pfc::string_base & | out, |
const char * | p_path | ||
) |
Definition at line 55 of file win-objects.cpp.
void pfc::winUnPrefixPath | ( | pfc::string_base & | out, |
const char * | p_path | ||
) |
Definition at line 67 of file win-objects.cpp.
Definition at line 31 of file guid.h.
|
static |
Definition at line 1091 of file string_base.cpp.
|
static |
Definition at line 116 of file byte_order_helper.h.
|
static |
Definition at line 117 of file byte_order_helper.h.
const fileHandle_t pfc::fileHandleInvalid = INVALID_HANDLE_VALUE |
Definition at line 4 of file filehandle.h.
const GUID pfc::guid_null = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } } |
Definition at line 57 of file int_types.h.
Definition at line 58 of file int_types.h.
Definition at line 59 of file int_types.h.
Definition at line 60 of file int_types.h.
|
static |
|
static |