mirror of
https://github.com/MidnightCommander/source.git
synced 2026-02-02 11:11:55 -08:00
1252 lines
223 KiB
HTML
1252 lines
223 KiB
HTML
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
|
|
<html xmlns='http://www.w3.org/1999/xhtml'>
|
|
<head>
|
|
<title>lib/strutil/strutil.c</title>
|
|
<meta name='robots' content='noindex,nofollow' />
|
|
<meta name='generator' content='GLOBAL-6.6.11' />
|
|
<meta http-equiv='Content-Style-Type' content='text/css' />
|
|
<link rel='stylesheet' type='text/css' href='../style.css' />
|
|
</head>
|
|
<body>
|
|
<!-- beginning of fixed guide -->
|
|
<div id='guide'><ul>
|
|
<li><a href='#L99'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
|
|
<li><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
|
|
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
|
|
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
|
|
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
|
|
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
|
|
<li class='standout'><span><a href='../files/lib.html'>lib</a>/<a href='../files/lib--strutil.html'>strutil</a>/strutil.c</span></li>
|
|
</ul></div>
|
|
<!-- end of fixed guide -->
|
|
<div align='right'>Manual pages:
|
|
<a href=man/mc.html>mc</a> • <a href=man/mcdiff.html>mcdiff</a> • <a href=man/mcedit.html>mcedit</a> • <a href=man/mcview.html>mcview</a>
|
|
</div>
|
|
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/lib.html'>lib</a>/<a href='../files/lib--strutil.html'>strutil</a>/strutil.c</h2>
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+1 lib/strutil/strutil.c' /> */</em>
|
|
<hr />
|
|
<h2 class='header'>DEFINITIONS</h2>
|
|
This source file includes following definitions.
|
|
<ol>
|
|
<li><a href='#L99' title='Defined at 99.'>str_test_not_convert</a></li>
|
|
<li><a href='#L107' title='Defined at 107.'>_str_convert</a></li>
|
|
<li><a href='#L227' title='Defined at 227.'>str_test_encoding_class</a></li>
|
|
<li><a href='#L246' title='Defined at 246.'>str_choose_str_functions</a></li>
|
|
<li><a href='#L261' title='Defined at 261.'>str_crt_conv_to</a></li>
|
|
<li><a href='#L269' title='Defined at 269.'>str_crt_conv_from</a></li>
|
|
<li><a href='#L278' title='Defined at 278.'>str_close_conv</a></li>
|
|
<li><a href='#L287' title='Defined at 287.'>str_convert</a></li>
|
|
<li><a href='#L295' title='Defined at 295.'>str_nconvert</a></li>
|
|
<li><a href='#L303' title='Defined at 303.'>str_conv_gerror_message</a></li>
|
|
<li><a href='#L311' title='Defined at 311.'>str_vfs_convert_from</a></li>
|
|
<li><a href='#L326' title='Defined at 326.'>str_vfs_convert_to</a></li>
|
|
<li><a href='#L334' title='Defined at 334.'>str_printf</a></li>
|
|
<li><a href='#L346' title='Defined at 346.'>str_insert_replace_char</a></li>
|
|
<li><a href='#L354' title='Defined at 354.'>str_translate_char</a></li>
|
|
<li><a href='#L376' title='Defined at 376.'>str_detect_termencoding</a></li>
|
|
<li><a href='#L393' title='Defined at 393.'>str_isutf8</a></li>
|
|
<li><a href='#L401' title='Defined at 401.'>str_init_strings</a></li>
|
|
<li><a href='#L432' title='Defined at 432.'>str_uninit_strings</a></li>
|
|
<li><a href='#L444' title='Defined at 444.'>str_term_form</a></li>
|
|
<li><a href='#L452' title='Defined at 452.'>str_fit_to_term</a></li>
|
|
<li><a href='#L460' title='Defined at 460.'>str_term_trim</a></li>
|
|
<li><a href='#L468' title='Defined at 468.'>str_term_substring</a></li>
|
|
<li><a href='#L476' title='Defined at 476.'>str_get_next_char</a></li>
|
|
<li><a href='#L486' title='Defined at 486.'>str_cget_next_char</a></li>
|
|
<li><a href='#L495' title='Defined at 495.'>str_next_char</a></li>
|
|
<li><a href='#L503' title='Defined at 503.'>str_cnext_char</a></li>
|
|
<li><a href='#L511' title='Defined at 511.'>str_get_prev_char</a></li>
|
|
<li><a href='#L520' title='Defined at 520.'>str_cget_prev_char</a></li>
|
|
<li><a href='#L529' title='Defined at 529.'>str_prev_char</a></li>
|
|
<li><a href='#L537' title='Defined at 537.'>str_cprev_char</a></li>
|
|
<li><a href='#L545' title='Defined at 545.'>str_get_next_char_safe</a></li>
|
|
<li><a href='#L554' title='Defined at 554.'>str_cget_next_char_safe</a></li>
|
|
<li><a href='#L563' title='Defined at 563.'>str_next_char_safe</a></li>
|
|
<li><a href='#L571' title='Defined at 571.'>str_cnext_char_safe</a></li>
|
|
<li><a href='#L579' title='Defined at 579.'>str_get_prev_char_safe</a></li>
|
|
<li><a href='#L588' title='Defined at 588.'>str_cget_prev_char_safe</a></li>
|
|
<li><a href='#L597' title='Defined at 597.'>str_prev_char_safe</a></li>
|
|
<li><a href='#L605' title='Defined at 605.'>str_cprev_char_safe</a></li>
|
|
<li><a href='#L613' title='Defined at 613.'>str_next_noncomb_char</a></li>
|
|
<li><a href='#L621' title='Defined at 621.'>str_cnext_noncomb_char</a></li>
|
|
<li><a href='#L629' title='Defined at 629.'>str_prev_noncomb_char</a></li>
|
|
<li><a href='#L637' title='Defined at 637.'>str_cprev_noncomb_char</a></li>
|
|
<li><a href='#L645' title='Defined at 645.'>str_is_valid_char</a></li>
|
|
<li><a href='#L653' title='Defined at 653.'>str_term_width1</a></li>
|
|
<li><a href='#L665' title='Defined at 665.'>str_term_width2</a></li>
|
|
<li><a href='#L675' title='Defined at 675.'>str_term_char_width</a></li>
|
|
<li><a href='#L683' title='Defined at 683.'>str_offset_to_pos</a></li>
|
|
<li><a href='#L691' title='Defined at 691.'>str_length</a></li>
|
|
<li><a href='#L699' title='Defined at 699.'>str_length_char</a></li>
|
|
<li><a href='#L707' title='Defined at 707.'>str_length2</a></li>
|
|
<li><a href='#L715' title='Defined at 715.'>str_length_noncomb</a></li>
|
|
<li><a href='#L723' title='Defined at 723.'>str_column_to_pos</a></li>
|
|
<li><a href='#L731' title='Defined at 731.'>str_isspace</a></li>
|
|
<li><a href='#L739' title='Defined at 739.'>str_ispunct</a></li>
|
|
<li><a href='#L747' title='Defined at 747.'>str_isalnum</a></li>
|
|
<li><a href='#L755' title='Defined at 755.'>str_isdigit</a></li>
|
|
<li><a href='#L763' title='Defined at 763.'>str_toupper</a></li>
|
|
<li><a href='#L771' title='Defined at 771.'>str_tolower</a></li>
|
|
<li><a href='#L779' title='Defined at 779.'>str_isprint</a></li>
|
|
<li><a href='#L787' title='Defined at 787.'>str_iscombiningmark</a></li>
|
|
<li><a href='#L795' title='Defined at 795.'>str_trunc</a></li>
|
|
<li><a href='#L803' title='Defined at 803.'>str_create_search_needle</a></li>
|
|
<li><a href='#L811' title='Defined at 811.'>str_release_search_needle</a></li>
|
|
<li><a href='#L819' title='Defined at 819.'>str_search_first</a></li>
|
|
<li><a href='#L827' title='Defined at 827.'>str_search_last</a></li>
|
|
<li><a href='#L835' title='Defined at 835.'>str_is_valid_string</a></li>
|
|
<li><a href='#L843' title='Defined at 843.'>str_compare</a></li>
|
|
<li><a href='#L851' title='Defined at 851.'>str_ncompare</a></li>
|
|
<li><a href='#L859' title='Defined at 859.'>str_casecmp</a></li>
|
|
<li><a href='#L867' title='Defined at 867.'>str_ncasecmp</a></li>
|
|
<li><a href='#L875' title='Defined at 875.'>str_prefix</a></li>
|
|
<li><a href='#L883' title='Defined at 883.'>str_caseprefix</a></li>
|
|
<li><a href='#L891' title='Defined at 891.'>str_fix_string</a></li>
|
|
<li><a href='#L899' title='Defined at 899.'>str_create_key</a></li>
|
|
<li><a href='#L907' title='Defined at 907.'>str_create_key_for_filename</a></li>
|
|
<li><a href='#L915' title='Defined at 915.'>str_key_collate</a></li>
|
|
<li><a href='#L923' title='Defined at 923.'>str_release_key</a></li>
|
|
<li><a href='#L931' title='Defined at 931.'>str_msg_term_size</a></li>
|
|
<li><a href='#L972' title='Defined at 972.'>strrstr_skip_count</a></li>
|
|
<li><a href='#L1001' title='Defined at 1001.'>parse_integer</a></li>
|
|
<li><a href='#L1036' title='Defined at 1036.'>str_rstrip_eol</a></li>
|
|
</ol>
|
|
<hr />
|
|
<pre>
|
|
<a id='L1' name='L1'></a> 1 <em class='comment'>/*</em>
|
|
<a id='L2' name='L2'></a> 2 <em class='comment'> Common strings utilities</em>
|
|
<a id='L3' name='L3'></a> 3 <em class='comment'></em>
|
|
<a id='L4' name='L4'></a> 4 <em class='comment'> Copyright (C) 2007-2025</em>
|
|
<a id='L5' name='L5'></a> 5 <em class='comment'> Free Software Foundation, Inc.</em>
|
|
<a id='L6' name='L6'></a> 6 <em class='comment'></em>
|
|
<a id='L7' name='L7'></a> 7 <em class='comment'> Written by:</em>
|
|
<a id='L8' name='L8'></a> 8 <em class='comment'> Rostislav Benes, 2007</em>
|
|
<a id='L9' name='L9'></a> 9 <em class='comment'></em>
|
|
<a id='L10' name='L10'></a> 10 <em class='comment'> This file is part of the Midnight Commander.</em>
|
|
<a id='L11' name='L11'></a> 11 <em class='comment'></em>
|
|
<a id='L12' name='L12'></a> 12 <em class='comment'> The Midnight Commander is free software: you can redistribute it</em>
|
|
<a id='L13' name='L13'></a> 13 <em class='comment'> and/or modify it under the terms of the GNU General Public License as</em>
|
|
<a id='L14' name='L14'></a> 14 <em class='comment'> published by the Free Software Foundation, either version 3 of the License,</em>
|
|
<a id='L15' name='L15'></a> 15 <em class='comment'> or (at your option) any later version.</em>
|
|
<a id='L16' name='L16'></a> 16 <em class='comment'></em>
|
|
<a id='L17' name='L17'></a> 17 <em class='comment'> The Midnight Commander is distributed in the hope that it will be useful,</em>
|
|
<a id='L18' name='L18'></a> 18 <em class='comment'> but WITHOUT ANY WARRANTY; without even the implied warranty of</em>
|
|
<a id='L19' name='L19'></a> 19 <em class='comment'> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</em>
|
|
<a id='L20' name='L20'></a> 20 <em class='comment'> GNU General Public License for more details.</em>
|
|
<a id='L21' name='L21'></a> 21 <em class='comment'></em>
|
|
<a id='L22' name='L22'></a> 22 <em class='comment'> You should have received a copy of the GNU General Public License</em>
|
|
<a id='L23' name='L23'></a> 23 <em class='comment'> along with this program. If not, see <https://www.gnu.org/licenses/>.</em>
|
|
<a id='L24' name='L24'></a> 24 <em class='comment'> */</em>
|
|
<a id='L25' name='L25'></a> 25
|
|
<a id='L26' name='L26'></a> 26 <em class='sharp'>#include</em> <config.h>
|
|
<a id='L27' name='L27'></a> 27
|
|
<a id='L28' name='L28'></a> 28 <em class='sharp'>#include</em> <stdlib.h>
|
|
<a id='L29' name='L29'></a> 29 <em class='sharp'>#include</em> <langinfo.h>
|
|
<a id='L30' name='L30'></a> 30 <em class='sharp'>#include</em> <string.h>
|
|
<a id='L31' name='L31'></a> 31 <em class='sharp'>#include</em> <errno.h>
|
|
<a id='L32' name='L32'></a> 32
|
|
<a id='L33' name='L33'></a> 33 <em class='sharp'>#include</em> "<a href='lib--global.h.html'>lib/global.h</a>"
|
|
<a id='L34' name='L34'></a> 34 <em class='sharp'>#include</em> "<a href='../I/util.h.html'>lib/util.h</a>" <em class='comment'>// MC_PTR_FREE</em>
|
|
<a id='L35' name='L35'></a> 35 <em class='sharp'>#include</em> "<a href='lib--strutil.h.html'>lib/strutil.h</a>"
|
|
<a id='L36' name='L36'></a> 36
|
|
<a id='L37' name='L37'></a> 37 <em class='comment'>/*** global variables ****************************************************************************/</em>
|
|
<a id='L38' name='L38'></a> 38
|
|
<a id='L39' name='L39'></a> 39 <a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/str_cnv_to_term.html' title='Multiple used in 3 places.'>str_cnv_to_term</a>;
|
|
<a id='L40' name='L40'></a> 40 <a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/str_cnv_from_term.html' title='Multiple used in 19 places.'>str_cnv_from_term</a>;
|
|
<a id='L41' name='L41'></a> 41 <a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a> = <a href='../S/lib--strutil.h.html#L49' title='Defined at 49 in lib/strutil.h.'>INVALID_CONV</a>;
|
|
<a id='L42' name='L42'></a> 42
|
|
<a id='L43' name='L43'></a> 43 <em class='comment'>/*** file scope macro definitions ****************************************************************/</em>
|
|
<a id='L44' name='L44'></a> 44
|
|
<a id='L45' name='L45'></a> 45 <em class='comment'>/*** file scope type declarations ****************************************************************/</em>
|
|
<a id='L46' name='L46'></a> 46
|
|
<a id='L47' name='L47'></a> 47 <em class='comment'>/*** forward declarations (file scope functions) *************************************************/</em>
|
|
<a id='L48' name='L48'></a> 48
|
|
<a id='L49' name='L49'></a> 49 <em class='comment'>/*** file scope variables ************************************************************************/</em>
|
|
<a id='L50' name='L50'></a> 50
|
|
<a id='L51' name='L51'></a> 51 <em class='comment'>/* names, that are used for utf-8 */</em>
|
|
<a id='L52' name='L52'></a> 52 <strong class='reserved'>static</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<strong class='reserved'>const</strong> <a href='../Y/str_utf8_encodings.html' title='Multiple used in 3 places.'>str_utf8_encodings</a>[] = <em class='brace'>{</em>
|
|
<a id='L53' name='L53'></a> 53 "utf-8",
|
|
<a id='L54' name='L54'></a> 54 "utf8",
|
|
<a id='L55' name='L55'></a> 55 <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>,
|
|
<a id='L56' name='L56'></a> 56 <em class='brace'>}</em>;
|
|
<a id='L57' name='L57'></a> 57
|
|
<a id='L58' name='L58'></a> 58 <em class='comment'>/* standard 8bit encodings, no wide or multibytes characters */</em>
|
|
<a id='L59' name='L59'></a> 59 <strong class='reserved'>static</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<strong class='reserved'>const</strong> <a href='../Y/str_8bit_encodings.html' title='Multiple used in 2 places.'>str_8bit_encodings</a>[] = <em class='brace'>{</em>
|
|
<a id='L60' name='L60'></a> 60 "cp-1251",
|
|
<a id='L61' name='L61'></a> 61 "cp1251",
|
|
<a id='L62' name='L62'></a> 62
|
|
<a id='L63' name='L63'></a> 63 <em class='comment'>// solaris</em>
|
|
<a id='L64' name='L64'></a> 64 "ansi-1251",
|
|
<a id='L65' name='L65'></a> 65 "ansi1251",
|
|
<a id='L66' name='L66'></a> 66
|
|
<a id='L67' name='L67'></a> 67 "cp-1250",
|
|
<a id='L68' name='L68'></a> 68 "cp1250",
|
|
<a id='L69' name='L69'></a> 69 "cp-866",
|
|
<a id='L70' name='L70'></a> 70 "cp866",
|
|
<a id='L71' name='L71'></a> 71
|
|
<a id='L72' name='L72'></a> 72 <em class='comment'>// glibc</em>
|
|
<a id='L73' name='L73'></a> 73 "ibm-866",
|
|
<a id='L74' name='L74'></a> 74 "ibm866",
|
|
<a id='L75' name='L75'></a> 75
|
|
<a id='L76' name='L76'></a> 76 "cp-850",
|
|
<a id='L77' name='L77'></a> 77 "cp850",
|
|
<a id='L78' name='L78'></a> 78 "cp-852",
|
|
<a id='L79' name='L79'></a> 79 "cp852",
|
|
<a id='L80' name='L80'></a> 80 "iso-8859",
|
|
<a id='L81' name='L81'></a> 81 "iso8859",
|
|
<a id='L82' name='L82'></a> 82 "koi8",
|
|
<a id='L83' name='L83'></a> 83
|
|
<a id='L84' name='L84'></a> 84 <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>,
|
|
<a id='L85' name='L85'></a> 85 <em class='brace'>}</em>;
|
|
<a id='L86' name='L86'></a> 86
|
|
<a id='L87' name='L87'></a> 87 <em class='comment'>/* terminal encoding */</em>
|
|
<a id='L88' name='L88'></a> 88 <strong class='reserved'>static</strong> <strong class='reserved'>char</strong> *<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a> = <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>;
|
|
<a id='L89' name='L89'></a> 89 <strong class='reserved'>static</strong> <strong class='reserved'>char</strong> *<a href='../Y/term_encoding.html' title='Multiple used in 5 places.'>term_encoding</a> = <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>;
|
|
<a id='L90' name='L90'></a> 90 <em class='comment'>/* function for encoding specific operations */</em>
|
|
<a id='L91' name='L91'></a> 91 <strong class='reserved'>static</strong> <strong class='reserved'>struct</strong> <a href='../S/lib--strutil.h.html#L104' title='Defined at 104 in lib/strutil.h.'>str_class</a> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>;
|
|
<a id='L92' name='L92'></a> 92
|
|
<a id='L93' name='L93'></a> 93 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L94' name='L94'></a> 94 <em class='comment'>/*** file scope functions ************************************************************************/</em>
|
|
<a id='L95' name='L95'></a> 95 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L96' name='L96'></a> 96
|
|
<a id='L97' name='L97'></a> 97 <em class='comment'>/* if enc is same encoding like on terminal */</em>
|
|
<a id='L98' name='L98'></a> 98 <strong class='reserved'>static</strong> <strong class='reserved'>int</strong>
|
|
<a id='L99' name='L99'></a> 99 <a href='../R/str_test_not_convert.html' title='Multiple referred from 2 places.'>str_test_not_convert</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/enc.html' title='Multiple used in 10 places.'>enc</a>)
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><a href='#L107'><img class='icon' src='../icons/right.png' alt='[next]' /></a><img class='icon' src='../icons/n_first.png' alt='[first]' /><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+99 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L100' name='L100'></a> 100 <em class='brace'>{</em>
|
|
<a id='L101' name='L101'></a> 101 <strong class='reserved'>return</strong> <a href='../Y/g_ascii_strcasecmp.html' title='Multiple used in 16 places.'>g_ascii_strcasecmp</a> (<a href='../Y/enc.html' title='Multiple used in 10 places.'>enc</a>, <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>) == 0;
|
|
<a id='L102' name='L102'></a> 102 <em class='brace'>}</em>
|
|
<a id='L103' name='L103'></a> 103
|
|
<a id='L104' name='L104'></a> 104 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L105' name='L105'></a> 105
|
|
<a id='L106' name='L106'></a> 106 <strong class='reserved'>static</strong> <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a>
|
|
<a id='L107' name='L107'></a> 107 <a href='../R/_str_convert.html' title='Multiple referred from 3 places.'>_str_convert</a> (<a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <strong class='reserved'>int</strong> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>)
|
|
<em class='comment'>/* <a href='#L99'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L227'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+107 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L108' name='L108'></a> 108 <em class='brace'>{</em>
|
|
<a id='L109' name='L109'></a> 109 <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a> <a href='../Y/state.html' title='Multiple used in 274 places.'>state</a> = <a href='../S/lib--strutil.h.html#L59' title='Defined at 59 in lib/strutil.h.'>ESTR_SUCCESS</a>;
|
|
<a id='L110' name='L110'></a> 110 <a href='../Y/gssize.html' title='Multiple used in 3 places.'>gssize</a> <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a>;
|
|
<a id='L111' name='L111'></a> 111 <a href='../Y/gsize.html' title='Multiple used in 146 places.'>gsize</a> <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a> = 0;
|
|
<a id='L112' name='L112'></a> 112 <a href='../Y/gsize.html' title='Multiple used in 146 places.'>gsize</a> <a href='../Y/bytes_written.html' title='Multiple used in 7 places.'>bytes_written</a> = 0;
|
|
<a id='L113' name='L113'></a> 113
|
|
<a id='L114' name='L114'></a> 114 <a href='../Y/errno.html' title='Multiple used in 200 places.'>errno</a> = 0; <em class='comment'>// FIXME: is it really needed?</em>
|
|
<a id='L115' name='L115'></a> 115
|
|
<a id='L116' name='L116'></a> 116 <strong class='reserved'>if</strong> (<a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a> == <a href='../S/lib--strutil.h.html#L49' title='Defined at 49 in lib/strutil.h.'>INVALID_CONV</a>)
|
|
<a id='L117' name='L117'></a> 117 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L67' title='Defined at 67 in lib/strutil.h.'>ESTR_FAILURE</a>;
|
|
<a id='L118' name='L118'></a> 118
|
|
<a id='L119' name='L119'></a> 119 <strong class='reserved'>if</strong> (<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a> || <a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L120' name='L120'></a> 120 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L67' title='Defined at 67 in lib/strutil.h.'>ESTR_FAILURE</a>;
|
|
<a id='L121' name='L121'></a> 121
|
|
<a id='L122' name='L122'></a> 122 <em class='comment'>/*</em>
|
|
<a id='L123' name='L123'></a> 123 <em class='comment'> if (! used_class.is_valid_string (string))</em>
|
|
<a id='L124' name='L124'></a> 124 <em class='comment'> {</em>
|
|
<a id='L125' name='L125'></a> 125 <em class='comment'> return ESTR_FAILURE;</em>
|
|
<a id='L126' name='L126'></a> 126 <em class='comment'> }</em>
|
|
<a id='L127' name='L127'></a> 127 <em class='comment'> */</em>
|
|
<a id='L128' name='L128'></a> 128 <strong class='reserved'>if</strong> (<a href='../Y/size.html' title='Multiple used in 385 places.'>size</a> < 0)
|
|
<a id='L129' name='L129'></a> 129 <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a> = <a href='../Y/strlen.html' title='Multiple used in 193 places.'>strlen</a> (<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>);
|
|
<a id='L130' name='L130'></a> 130 <strong class='reserved'>else</strong>
|
|
<a id='L131' name='L131'></a> 131 <em class='brace'>{</em>
|
|
<a id='L132' name='L132'></a> 132 <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> = <a href='../Y/strlen.html' title='Multiple used in 193 places.'>strlen</a> (<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>);
|
|
<a id='L133' name='L133'></a> 133 <strong class='reserved'>if</strong> (<a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> < <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>)
|
|
<a id='L134' name='L134'></a> 134 <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a> = <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a>;
|
|
<a id='L135' name='L135'></a> 135 <em class='brace'>}</em>
|
|
<a id='L136' name='L136'></a> 136
|
|
<a id='L137' name='L137'></a> 137 <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> = <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>;
|
|
<a id='L138' name='L138'></a> 138 <a href='../Y/g_iconv.html' title='Multiple used in 3 places.'>g_iconv</a> (<a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>);
|
|
<a id='L139' name='L139'></a> 139
|
|
<a id='L140' name='L140'></a> 140 <strong class='reserved'>while</strong> (<a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> != 0)
|
|
<a id='L141' name='L141'></a> 141 <em class='brace'>{</em>
|
|
<a id='L142' name='L142'></a> 142 <a href='../Y/gchar.html' title='Multiple used in 321 places.'>gchar</a> *<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>;
|
|
<a id='L143' name='L143'></a> 143 <a href='../Y/GError.html' title='Multiple used in 184 places.'>GError</a> *<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a> = <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>;
|
|
<a id='L144' name='L144'></a> 144
|
|
<a id='L145' name='L145'></a> 145 <a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a> = <a href='../Y/g_convert_with_iconv.html' title='Multiple used in 4 places.'>g_convert_with_iconv</a> ((<strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 321 places.'>gchar</a> *) <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a>, <a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, &<a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a>,
|
|
<a id='L146' name='L146'></a> 146 &<a href='../Y/bytes_written.html' title='Multiple used in 7 places.'>bytes_written</a>, &<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a>);
|
|
<a id='L147' name='L147'></a> 147 <strong class='reserved'>if</strong> (<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L148' name='L148'></a> 148 <em class='brace'>{</em>
|
|
<a id='L149' name='L149'></a> 149 <strong class='reserved'>int</strong> <a href='../Y/code.html' title='Multiple used in 84 places.'>code</a> = <a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a>-><a href='../Y/code.html' title='Multiple used in 84 places.'>code</a>;
|
|
<a id='L150' name='L150'></a> 150
|
|
<a id='L151' name='L151'></a> 151 <a href='../Y/g_error_free.html' title='Multiple used in 27 places.'>g_error_free</a> (<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a>);
|
|
<a id='L152' name='L152'></a> 152 <a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a> = <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>;
|
|
<a id='L153' name='L153'></a> 153
|
|
<a id='L154' name='L154'></a> 154 <strong class='reserved'>switch</strong> (<a href='../Y/code.html' title='Multiple used in 84 places.'>code</a>)
|
|
<a id='L155' name='L155'></a> 155 <em class='brace'>{</em>
|
|
<a id='L156' name='L156'></a> 156 <strong class='reserved'>case</strong> G_CONVERT_ERROR_NO_CONVERSION:
|
|
<a id='L157' name='L157'></a> 157 <em class='comment'>// Conversion between the requested character sets is not supported.</em>
|
|
<a id='L158' name='L158'></a> 158 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L159' name='L159'></a> 159 <a href='../S/lib--glibcompat.c.html#L289' title='Defined at 289 in lib/glibcompat.c.'>mc_g_string_append_c_len</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, '?', <a href='../Y/strlen.html' title='Multiple used in 193 places.'>strlen</a> (<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>));
|
|
<a id='L160' name='L160'></a> 160 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L67' title='Defined at 67 in lib/strutil.h.'>ESTR_FAILURE</a>;
|
|
<a id='L161' name='L161'></a> 161
|
|
<a id='L162' name='L162'></a> 162 <strong class='reserved'>case</strong> G_CONVERT_ERROR_ILLEGAL_SEQUENCE:
|
|
<a id='L163' name='L163'></a> 163 <em class='comment'>// Invalid byte sequence in conversion input.</em>
|
|
<a id='L164' name='L164'></a> 164 <strong class='reserved'>if</strong> ((<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>) && (<a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a> != 0))
|
|
<a id='L165' name='L165'></a> 165 <em class='comment'>// recode valid byte sequence</em>
|
|
<a id='L166' name='L166'></a> 166 <a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a> = <a href='../Y/g_convert_with_iconv.html' title='Multiple used in 4 places.'>g_convert_with_iconv</a> ((<strong class='reserved'>const</strong> <a href='../Y/gchar.html' title='Multiple used in 321 places.'>gchar</a> *) <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a>, <a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>,
|
|
<a id='L167' name='L167'></a> 167 <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>);
|
|
<a id='L168' name='L168'></a> 168
|
|
<a id='L169' name='L169'></a> 169 <strong class='reserved'>if</strong> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L170' name='L170'></a> 170 <em class='brace'>{</em>
|
|
<a id='L171' name='L171'></a> 171 <a href='../Y/g_string_append.html' title='Multiple used in 100 places.'>g_string_append</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L172' name='L172'></a> 172 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L173' name='L173'></a> 173 <em class='brace'>}</em>
|
|
<a id='L174' name='L174'></a> 174
|
|
<a id='L175' name='L175'></a> 175 <strong class='reserved'>if</strong> ((<strong class='reserved'>int</strong>) <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a> >= <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a>)
|
|
<a id='L176' name='L176'></a> 176 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L63' title='Defined at 63 in lib/strutil.h.'>ESTR_PROBLEM</a>;
|
|
<a id='L177' name='L177'></a> 177
|
|
<a id='L178' name='L178'></a> 178 <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a> += <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a> + 1;
|
|
<a id='L179' name='L179'></a> 179 <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a> -= (<a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a> + 1);
|
|
<a id='L180' name='L180'></a> 180 <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> -= (<a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a> + 1);
|
|
<a id='L181' name='L181'></a> 181 <a href='../Y/g_string_append_c.html' title='Multiple used in 120 places.'>g_string_append_c</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, *(<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a> - 1));
|
|
<a id='L182' name='L182'></a> 182 <a href='../Y/state.html' title='Multiple used in 274 places.'>state</a> = <a href='../S/lib--strutil.h.html#L63' title='Defined at 63 in lib/strutil.h.'>ESTR_PROBLEM</a>;
|
|
<a id='L183' name='L183'></a> 183 <strong class='reserved'>break</strong>;
|
|
<a id='L184' name='L184'></a> 184
|
|
<a id='L185' name='L185'></a> 185 <strong class='reserved'>case</strong> G_CONVERT_ERROR_PARTIAL_INPUT:
|
|
<a id='L186' name='L186'></a> 186 <em class='comment'>// Partial character sequence at end of input.</em>
|
|
<a id='L187' name='L187'></a> 187 <a href='../Y/g_string_append.html' title='Multiple used in 100 places.'>g_string_append</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L188' name='L188'></a> 188 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L189' name='L189'></a> 189 <strong class='reserved'>if</strong> ((<strong class='reserved'>int</strong>) <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a> < <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a>)
|
|
<a id='L190' name='L190'></a> 190 <a href='../S/lib--glibcompat.c.html#L289' title='Defined at 289 in lib/glibcompat.c.'>mc_g_string_append_c_len</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, '?', <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> - <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a>);
|
|
<a id='L191' name='L191'></a> 191 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L63' title='Defined at 63 in lib/strutil.h.'>ESTR_PROBLEM</a>;
|
|
<a id='L192' name='L192'></a> 192
|
|
<a id='L193' name='L193'></a> 193 <strong class='reserved'>case</strong> G_CONVERT_ERROR_BAD_URI: <em class='comment'>// Don't know how handle this error :(</em>
|
|
<a id='L194' name='L194'></a> 194 <strong class='reserved'>case</strong> G_CONVERT_ERROR_NOT_ABSOLUTE_PATH: <em class='comment'>// Don't know how handle this error :(</em>
|
|
<a id='L195' name='L195'></a> 195 <strong class='reserved'>case</strong> G_CONVERT_ERROR_FAILED: <em class='comment'>// Conversion failed for some reason.</em>
|
|
<a id='L196' name='L196'></a> 196 <strong class='reserved'>default</strong>:
|
|
<a id='L197' name='L197'></a> 197 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L198' name='L198'></a> 198 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L67' title='Defined at 67 in lib/strutil.h.'>ESTR_FAILURE</a>;
|
|
<a id='L199' name='L199'></a> 199 <em class='brace'>}</em>
|
|
<a id='L200' name='L200'></a> 200 <em class='brace'>}</em>
|
|
<a id='L201' name='L201'></a> 201 <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L202' name='L202'></a> 202 <em class='brace'>{</em>
|
|
<a id='L203' name='L203'></a> 203 <a href='../Y/g_string_append.html' title='Multiple used in 100 places.'>g_string_append</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>);
|
|
<a id='L204' name='L204'></a> 204 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L63' title='Defined at 63 in lib/strutil.h.'>ESTR_PROBLEM</a>;
|
|
<a id='L205' name='L205'></a> 205 <em class='brace'>}</em>
|
|
<a id='L206' name='L206'></a> 206 <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (*<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a> == '\0')
|
|
<a id='L207' name='L207'></a> 207 <em class='brace'>{</em>
|
|
<a id='L208' name='L208'></a> 208 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L209' name='L209'></a> 209 <a href='../Y/g_string_append.html' title='Multiple used in 100 places.'>g_string_append</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>);
|
|
<a id='L210' name='L210'></a> 210 <strong class='reserved'>return</strong> <a href='../Y/state.html' title='Multiple used in 274 places.'>state</a>;
|
|
<a id='L211' name='L211'></a> 211 <em class='brace'>}</em>
|
|
<a id='L212' name='L212'></a> 212 <strong class='reserved'>else</strong>
|
|
<a id='L213' name='L213'></a> 213 <em class='brace'>{</em>
|
|
<a id='L214' name='L214'></a> 214 <a href='../Y/g_string_append.html' title='Multiple used in 100 places.'>g_string_append</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L215' name='L215'></a> 215 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/tmp_buff.html' title='Multiple used in 21 places.'>tmp_buff</a>);
|
|
<a id='L216' name='L216'></a> 216 <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a> += <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a>;
|
|
<a id='L217' name='L217'></a> 217 <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> -= <a href='../Y/bytes_read.html' title='Multiple used in 24 places.'>bytes_read</a>;
|
|
<a id='L218' name='L218'></a> 218 <em class='brace'>}</em>
|
|
<a id='L219' name='L219'></a> 219 <em class='brace'>}</em>
|
|
<a id='L220' name='L220'></a> 220
|
|
<a id='L221' name='L221'></a> 221 <strong class='reserved'>return</strong> <a href='../Y/state.html' title='Multiple used in 274 places.'>state</a>;
|
|
<a id='L222' name='L222'></a> 222 <em class='brace'>}</em>
|
|
<a id='L223' name='L223'></a> 223
|
|
<a id='L224' name='L224'></a> 224 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L225' name='L225'></a> 225
|
|
<a id='L226' name='L226'></a> 226 <strong class='reserved'>static</strong> <strong class='reserved'>int</strong>
|
|
<a id='L227' name='L227'></a> 227 <a href='../R/str_test_encoding_class.html' title='Multiple referred from 3 places.'>str_test_encoding_class</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/encoding.html' title='Multiple used in 65 places.'>encoding</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<strong class='reserved'>const</strong> *<a href='../Y/table.html' title='Multiple used in 11 places.'>table</a>)
|
|
<em class='comment'>/* <a href='#L107'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L246'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+227 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L228' name='L228'></a> 228 <em class='brace'>{</em>
|
|
<a id='L229' name='L229'></a> 229 <strong class='reserved'>int</strong> <a href='../Y/result.html' title='Multiple used in 781 places.'>result</a> = 0;
|
|
<a id='L230' name='L230'></a> 230
|
|
<a id='L231' name='L231'></a> 231 <strong class='reserved'>if</strong> (<a href='../Y/encoding.html' title='Multiple used in 65 places.'>encoding</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L232' name='L232'></a> 232 <em class='brace'>{</em>
|
|
<a id='L233' name='L233'></a> 233 <strong class='reserved'>int</strong> <a href='../Y/t.html' title='Multiple used in 305 places.'>t</a>;
|
|
<a id='L234' name='L234'></a> 234
|
|
<a id='L235' name='L235'></a> 235 <strong class='reserved'>for</strong> (<a href='../Y/t.html' title='Multiple used in 305 places.'>t</a> = 0; <a href='../Y/table.html' title='Multiple used in 11 places.'>table</a>[<a href='../Y/t.html' title='Multiple used in 305 places.'>t</a>] != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>; <a href='../Y/t.html' title='Multiple used in 305 places.'>t</a>++)
|
|
<a id='L236' name='L236'></a> 236 <strong class='reserved'>if</strong> (<a href='../Y/g_ascii_strncasecmp.html' title='Multiple used in 3 places.'>g_ascii_strncasecmp</a> (<a href='../Y/encoding.html' title='Multiple used in 65 places.'>encoding</a>, <a href='../Y/table.html' title='Multiple used in 11 places.'>table</a>[<a href='../Y/t.html' title='Multiple used in 305 places.'>t</a>], <a href='../Y/strlen.html' title='Multiple used in 193 places.'>strlen</a> (<a href='../Y/table.html' title='Multiple used in 11 places.'>table</a>[<a href='../Y/t.html' title='Multiple used in 305 places.'>t</a>])) == 0)
|
|
<a id='L237' name='L237'></a> 237 <a href='../Y/result.html' title='Multiple used in 781 places.'>result</a>++;
|
|
<a id='L238' name='L238'></a> 238 <em class='brace'>}</em>
|
|
<a id='L239' name='L239'></a> 239
|
|
<a id='L240' name='L240'></a> 240 <strong class='reserved'>return</strong> <a href='../Y/result.html' title='Multiple used in 781 places.'>result</a>;
|
|
<a id='L241' name='L241'></a> 241 <em class='brace'>}</em>
|
|
<a id='L242' name='L242'></a> 242
|
|
<a id='L243' name='L243'></a> 243 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L244' name='L244'></a> 244
|
|
<a id='L245' name='L245'></a> 245 <strong class='reserved'>static</strong> <strong class='reserved'>void</strong>
|
|
<a id='L246' name='L246'></a> 246 <a href='../S/lib--strutil--strutil.c.html#L426' title='Referred from 426 in lib/strutil/strutil.c.'>str_choose_str_functions</a> (<strong class='reserved'>void</strong>)
|
|
<em class='comment'>/* <a href='#L227'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L261'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+246 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L247' name='L247'></a> 247 <em class='brace'>{</em>
|
|
<a id='L248' name='L248'></a> 248 <strong class='reserved'>if</strong> (<a href='../S/lib--strutil--strutil.c.html#L227' title='Defined at 227 in lib/strutil/strutil.c.'>str_test_encoding_class</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>, <a href='../Y/str_utf8_encodings.html' title='Multiple used in 3 places.'>str_utf8_encodings</a>))
|
|
<a id='L249' name='L249'></a> 249 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a> = <a href='../S/lib--strutil--strutilutf8.c.html#L1483' title='Defined at 1483 in lib/strutil/strutilutf8.c.'>str_utf8_init</a> ();
|
|
<a id='L250' name='L250'></a> 250 <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../S/lib--strutil--strutil.c.html#L227' title='Defined at 227 in lib/strutil/strutil.c.'>str_test_encoding_class</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>, <a href='../Y/str_8bit_encodings.html' title='Multiple used in 2 places.'>str_8bit_encodings</a>))
|
|
<a id='L251' name='L251'></a> 251 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a> = <a href='../S/lib--strutil--strutil8bit.c.html#L818' title='Defined at 818 in lib/strutil/strutil8bit.c.'>str_8bit_init</a> ();
|
|
<a id='L252' name='L252'></a> 252 <strong class='reserved'>else</strong>
|
|
<a id='L253' name='L253'></a> 253 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a> = <a href='../S/lib--strutil--strutilascii.c.html#L748' title='Defined at 748 in lib/strutil/strutilascii.c.'>str_ascii_init</a> ();
|
|
<a id='L254' name='L254'></a> 254 <em class='brace'>}</em>
|
|
<a id='L255' name='L255'></a> 255
|
|
<a id='L256' name='L256'></a> 256 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L257' name='L257'></a> 257 <em class='comment'>/*** public functions ****************************************************************************/</em>
|
|
<a id='L258' name='L258'></a> 258 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L259' name='L259'></a> 259
|
|
<a id='L260' name='L260'></a> 260 <a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a>
|
|
<a id='L261' name='L261'></a> 261 <a href='../R/str_crt_conv_to.html' title='Multiple referred from 8 places.'>str_crt_conv_to</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/to_enc.html' title='Multiple used in 3 places.'>to_enc</a>)
|
|
<em class='comment'>/* <a href='#L246'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L269'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+261 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L262' name='L262'></a> 262 <em class='brace'>{</em>
|
|
<a id='L263' name='L263'></a> 263 <strong class='reserved'>return</strong> (!<a href='../S/lib--strutil--strutil.c.html#L99' title='Defined at 99 in lib/strutil/strutil.c.'>str_test_not_convert</a> (<a href='../Y/to_enc.html' title='Multiple used in 3 places.'>to_enc</a>)) ? <a href='../Y/g_iconv_open.html' title='Multiple used in 10 places.'>g_iconv_open</a> (<a href='../Y/to_enc.html' title='Multiple used in 3 places.'>to_enc</a>, <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>) : <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a>;
|
|
<a id='L264' name='L264'></a> 264 <em class='brace'>}</em>
|
|
<a id='L265' name='L265'></a> 265
|
|
<a id='L266' name='L266'></a> 266 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L267' name='L267'></a> 267
|
|
<a id='L268' name='L268'></a> 268 <a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a>
|
|
<a id='L269' name='L269'></a> 269 <a href='../R/str_crt_conv_from.html' title='Multiple referred from 22 places.'>str_crt_conv_from</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/from_enc.html' title='Multiple used in 3 places.'>from_enc</a>)
|
|
<em class='comment'>/* <a href='#L261'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L278'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+269 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L270' name='L270'></a> 270 <em class='brace'>{</em>
|
|
<a id='L271' name='L271'></a> 271 <strong class='reserved'>return</strong> (!<a href='../S/lib--strutil--strutil.c.html#L99' title='Defined at 99 in lib/strutil/strutil.c.'>str_test_not_convert</a> (<a href='../Y/from_enc.html' title='Multiple used in 3 places.'>from_enc</a>)) ? <a href='../Y/g_iconv_open.html' title='Multiple used in 10 places.'>g_iconv_open</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>, <a href='../Y/from_enc.html' title='Multiple used in 3 places.'>from_enc</a>)
|
|
<a id='L272' name='L272'></a> 272 : <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a>;
|
|
<a id='L273' name='L273'></a> 273 <em class='brace'>}</em>
|
|
<a id='L274' name='L274'></a> 274
|
|
<a id='L275' name='L275'></a> 275 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L276' name='L276'></a> 276
|
|
<a id='L277' name='L277'></a> 277 <strong class='reserved'>void</strong>
|
|
<a id='L278' name='L278'></a> 278 <a href='../R/str_close_conv.html' title='Multiple referred from 30 places.'>str_close_conv</a> (<a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/conv.html' title='Multiple used in 113 places.'>conv</a>)
|
|
<em class='comment'>/* <a href='#L269'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L287'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+278 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L279' name='L279'></a> 279 <em class='brace'>{</em>
|
|
<a id='L280' name='L280'></a> 280 <strong class='reserved'>if</strong> (<a href='../Y/conv.html' title='Multiple used in 113 places.'>conv</a> != <a href='../S/lib--strutil.h.html#L49' title='Defined at 49 in lib/strutil.h.'>INVALID_CONV</a> && <a href='../Y/conv.html' title='Multiple used in 113 places.'>conv</a> != <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a>)
|
|
<a id='L281' name='L281'></a> 281 <a href='../Y/g_iconv_close.html' title='Multiple used in 6 places.'>g_iconv_close</a> (<a href='../Y/conv.html' title='Multiple used in 113 places.'>conv</a>);
|
|
<a id='L282' name='L282'></a> 282 <em class='brace'>}</em>
|
|
<a id='L283' name='L283'></a> 283
|
|
<a id='L284' name='L284'></a> 284 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L285' name='L285'></a> 285
|
|
<a id='L286' name='L286'></a> 286 <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a>
|
|
<a id='L287' name='L287'></a> 287 <a href='../R/str_convert.html' title='Multiple referred from 13 places.'>str_convert</a> (<a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>)
|
|
<em class='comment'>/* <a href='#L278'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L295'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+287 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L288' name='L288'></a> 288 <em class='brace'>{</em>
|
|
<a id='L289' name='L289'></a> 289 <strong class='reserved'>return</strong> <a href='../S/lib--strutil--strutil.c.html#L107' title='Defined at 107 in lib/strutil/strutil.c.'>_str_convert</a> (<a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, -1, <a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>);
|
|
<a id='L290' name='L290'></a> 290 <em class='brace'>}</em>
|
|
<a id='L291' name='L291'></a> 291
|
|
<a id='L292' name='L292'></a> 292 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L293' name='L293'></a> 293
|
|
<a id='L294' name='L294'></a> 294 <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a>
|
|
<a id='L295' name='L295'></a> 295 <a href='../R/str_nconvert.html' title='Multiple referred from 5 places.'>str_nconvert</a> (<a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <strong class='reserved'>int</strong> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>)
|
|
<em class='comment'>/* <a href='#L287'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L303'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+295 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L296' name='L296'></a> 296 <em class='brace'>{</em>
|
|
<a id='L297' name='L297'></a> 297 <strong class='reserved'>return</strong> <a href='../S/lib--strutil--strutil.c.html#L107' title='Defined at 107 in lib/strutil/strutil.c.'>_str_convert</a> (<a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>);
|
|
<a id='L298' name='L298'></a> 298 <em class='brace'>}</em>
|
|
<a id='L299' name='L299'></a> 299
|
|
<a id='L300' name='L300'></a> 300 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L301' name='L301'></a> 301
|
|
<a id='L302' name='L302'></a> 302 <a href='../Y/gchar.html' title='Multiple used in 321 places.'>gchar</a> *
|
|
<a id='L303' name='L303'></a> 303 <a href='../R/str_conv_gerror_message.html' title='Multiple referred from 3 places.'>str_conv_gerror_message</a> (<a href='../Y/GError.html' title='Multiple used in 184 places.'>GError</a> *<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/def_msg.html' title='Multiple used in 11 places.'>def_msg</a>)
|
|
<em class='comment'>/* <a href='#L295'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L311'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+303 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L304' name='L304'></a> 304 <em class='brace'>{</em>
|
|
<a id='L305' name='L305'></a> 305 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/conv_gerror_message.html' title='Multiple used in 5 places.'>conv_gerror_message</a> (<a href='../Y/mcerror.html' title='Multiple used in 399 places.'>mcerror</a>, <a href='../Y/def_msg.html' title='Multiple used in 11 places.'>def_msg</a>);
|
|
<a id='L306' name='L306'></a> 306 <em class='brace'>}</em>
|
|
<a id='L307' name='L307'></a> 307
|
|
<a id='L308' name='L308'></a> 308 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L309' name='L309'></a> 309
|
|
<a id='L310' name='L310'></a> 310 <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a>
|
|
<a id='L311' name='L311'></a> 311 <a href='../R/str_vfs_convert_from.html' title='Multiple referred from 4 places.'>str_vfs_convert_from</a> (<a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>)
|
|
<em class='comment'>/* <a href='#L303'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L326'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+311 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L312' name='L312'></a> 312 <em class='brace'>{</em>
|
|
<a id='L313' name='L313'></a> 313 <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a> <a href='../Y/result.html' title='Multiple used in 781 places.'>result</a> = <a href='../S/lib--strutil.h.html#L59' title='Defined at 59 in lib/strutil.h.'>ESTR_SUCCESS</a>;
|
|
<a id='L314' name='L314'></a> 314
|
|
<a id='L315' name='L315'></a> 315 <strong class='reserved'>if</strong> (<a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a> == <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a>)
|
|
<a id='L316' name='L316'></a> 316 <a href='../Y/g_string_append.html' title='Multiple used in 100 places.'>g_string_append</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a> ? <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a> : "");
|
|
<a id='L317' name='L317'></a> 317 <strong class='reserved'>else</strong>
|
|
<a id='L318' name='L318'></a> 318 <a href='../Y/result.html' title='Multiple used in 781 places.'>result</a> = <a href='../S/lib--strutil--strutil.c.html#L107' title='Defined at 107 in lib/strutil/strutil.c.'>_str_convert</a> (<a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, -1, <a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>);
|
|
<a id='L319' name='L319'></a> 319
|
|
<a id='L320' name='L320'></a> 320 <strong class='reserved'>return</strong> <a href='../Y/result.html' title='Multiple used in 781 places.'>result</a>;
|
|
<a id='L321' name='L321'></a> 321 <em class='brace'>}</em>
|
|
<a id='L322' name='L322'></a> 322
|
|
<a id='L323' name='L323'></a> 323 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L324' name='L324'></a> 324
|
|
<a id='L325' name='L325'></a> 325 <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a>
|
|
<a id='L326' name='L326'></a> 326 <a href='../R/str_vfs_convert_to.html' title='Multiple referred from 3 places.'>str_vfs_convert_to</a> (<a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <strong class='reserved'>int</strong> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>)
|
|
<em class='comment'>/* <a href='#L311'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L334'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+326 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L327' name='L327'></a> 327 <em class='brace'>{</em>
|
|
<a id='L328' name='L328'></a> 328 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/vfs_convert_to.html' title='Multiple used in 5 places.'>vfs_convert_to</a> (<a href='../Y/coder.html' title='Multiple used in 36 places.'>coder</a>, <a href='../Y/string.html' title='Multiple used in 111 places.'>string</a>, <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>, <a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>);
|
|
<a id='L329' name='L329'></a> 329 <em class='brace'>}</em>
|
|
<a id='L330' name='L330'></a> 330
|
|
<a id='L331' name='L331'></a> 331 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L332' name='L332'></a> 332
|
|
<a id='L333' name='L333'></a> 333 <strong class='reserved'>void</strong>
|
|
<a id='L334' name='L334'></a> 334 <a href='../R/str_printf.html' title='Multiple referred from 6 places.'>str_printf</a> (<a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/format.html' title='Multiple used in 125 places.'>format</a>, ...)
|
|
<em class='comment'>/* <a href='#L326'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L346'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+334 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L335' name='L335'></a> 335 <em class='brace'>{</em>
|
|
<a id='L336' name='L336'></a> 336 <a href='../Y/va_list.html' title='Multiple used in 36 places.'>va_list</a> <a href='../Y/ap.html' title='Multiple used in 71 places.'>ap</a>;
|
|
<a id='L337' name='L337'></a> 337 <a href='../Y/va_start.html' title='Multiple used in 31 places.'>va_start</a> (<a href='../Y/ap.html' title='Multiple used in 71 places.'>ap</a>, <a href='../Y/format.html' title='Multiple used in 125 places.'>format</a>);
|
|
<a id='L338' name='L338'></a> 338
|
|
<a id='L339' name='L339'></a> 339 <a href='../Y/g_string_append_vprintf.html' title='Multiple used in 2 places.'>g_string_append_vprintf</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>, <a href='../Y/format.html' title='Multiple used in 125 places.'>format</a>, <a href='../Y/ap.html' title='Multiple used in 71 places.'>ap</a>);
|
|
<a id='L340' name='L340'></a> 340 <a href='../Y/va_end.html' title='Multiple used in 31 places.'>va_end</a> (<a href='../Y/ap.html' title='Multiple used in 71 places.'>ap</a>);
|
|
<a id='L341' name='L341'></a> 341 <em class='brace'>}</em>
|
|
<a id='L342' name='L342'></a> 342
|
|
<a id='L343' name='L343'></a> 343 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L344' name='L344'></a> 344
|
|
<a id='L345' name='L345'></a> 345 <strong class='reserved'>void</strong>
|
|
<a id='L346' name='L346'></a> 346 <a href='../S/lib--strutil.h.html#L221' title='Referred from 221 in lib/strutil.h.'>str_insert_replace_char</a> (<a href='../Y/GString.html' title='Multiple used in 317 places.'>GString</a> *<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>)
|
|
<em class='comment'>/* <a href='#L334'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L354'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+346 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L347' name='L347'></a> 347 <em class='brace'>{</em>
|
|
<a id='L348' name='L348'></a> 348 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/insert_replace_char.html' title='Multiple used in 5 places.'>insert_replace_char</a> (<a href='../Y/buffer.html' title='Multiple used in 996 places.'>buffer</a>);
|
|
<a id='L349' name='L349'></a> 349 <em class='brace'>}</em>
|
|
<a id='L350' name='L350'></a> 350
|
|
<a id='L351' name='L351'></a> 351 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L352' name='L352'></a> 352
|
|
<a id='L353' name='L353'></a> 353 <a href='../S/lib--strutil.h.html#L68' title='Defined at 68 in lib/strutil.h.'>estr_t</a>
|
|
<a id='L354' name='L354'></a> 354 <a href='../R/str_translate_char.html' title='Multiple referred from 4 places.'>str_translate_char</a> (<a href='../Y/GIConv.html' title='Multiple used in 62 places.'>GIConv</a> <a href='../Y/conv.html' title='Multiple used in 113 places.'>conv</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/keys.html' title='Multiple used in 47 places.'>keys</a>, <strong class='reserved'>const</strong> <a href='../Y/ssize_t.html' title='Multiple used in 180 places.'>ssize_t</a> <a href='../Y/ch_size.html' title='Multiple used in 3 places.'>ch_size</a>, <strong class='reserved'>char</strong> *<a href='../Y/output.html' title='Multiple used in 10 places.'>output</a>,
|
|
<em class='comment'>/* <a href='#L346'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L376'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+354 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L355' name='L355'></a> 355 <strong class='reserved'>const</strong> <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/out_size.html' title='Multiple used in 3 places.'>out_size</a>)
|
|
<a id='L356' name='L356'></a> 356 <em class='brace'>{</em>
|
|
<a id='L357' name='L357'></a> 357 <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a>;
|
|
<a id='L358' name='L358'></a> 358 <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/cnv.html' title='Multiple used in 3 places.'>cnv</a>;
|
|
<a id='L359' name='L359'></a> 359 <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/osize.html' title='Multiple used in 2 places.'>osize</a> = <a href='../Y/out_size.html' title='Multiple used in 3 places.'>out_size</a>;
|
|
<a id='L360' name='L360'></a> 360
|
|
<a id='L361' name='L361'></a> 361 <a href='../Y/g_iconv.html' title='Multiple used in 3 places.'>g_iconv</a> (<a href='../Y/conv.html' title='Multiple used in 113 places.'>conv</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>, <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>);
|
|
<a id='L362' name='L362'></a> 362
|
|
<a id='L363' name='L363'></a> 363 <a href='../Y/left.html' title='Multiple used in 57 places.'>left</a> = <a href='../Y/ch_size.html' title='Multiple used in 3 places.'>ch_size</a> < 0 ? <a href='../Y/strlen.html' title='Multiple used in 193 places.'>strlen</a> (<a href='../Y/keys.html' title='Multiple used in 47 places.'>keys</a>) : (<a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a>) <a href='../Y/ch_size.html' title='Multiple used in 3 places.'>ch_size</a>;
|
|
<a id='L364' name='L364'></a> 364
|
|
<a id='L365' name='L365'></a> 365 <a href='../Y/cnv.html' title='Multiple used in 3 places.'>cnv</a> = <a href='../Y/g_iconv.html' title='Multiple used in 3 places.'>g_iconv</a> (<a href='../Y/conv.html' title='Multiple used in 113 places.'>conv</a>, (<a href='../Y/gchar.html' title='Multiple used in 321 places.'>gchar</a> **) &<a href='../Y/keys.html' title='Multiple used in 47 places.'>keys</a>, &<a href='../Y/left.html' title='Multiple used in 57 places.'>left</a>, &<a href='../Y/output.html' title='Multiple used in 10 places.'>output</a>, &<a href='../Y/osize.html' title='Multiple used in 2 places.'>osize</a>);
|
|
<a id='L366' name='L366'></a> 366 <strong class='reserved'>if</strong> (<a href='../Y/cnv.html' title='Multiple used in 3 places.'>cnv</a> == (<a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a>) (-1))
|
|
<a id='L367' name='L367'></a> 367 <strong class='reserved'>return</strong> (<a href='../Y/errno.html' title='Multiple used in 200 places.'>errno</a> == <a href='../Y/EINVAL.html' title='Multiple used in 12 places.'>EINVAL</a>) ? <a href='../S/lib--strutil.h.html#L63' title='Defined at 63 in lib/strutil.h.'>ESTR_PROBLEM</a> : <a href='../S/lib--strutil.h.html#L67' title='Defined at 67 in lib/strutil.h.'>ESTR_FAILURE</a>;
|
|
<a id='L368' name='L368'></a> 368
|
|
<a id='L369' name='L369'></a> 369 <a href='../Y/output.html' title='Multiple used in 10 places.'>output</a>[0] = '\0';
|
|
<a id='L370' name='L370'></a> 370 <strong class='reserved'>return</strong> <a href='../S/lib--strutil.h.html#L59' title='Defined at 59 in lib/strutil.h.'>ESTR_SUCCESS</a>;
|
|
<a id='L371' name='L371'></a> 371 <em class='brace'>}</em>
|
|
<a id='L372' name='L372'></a> 372
|
|
<a id='L373' name='L373'></a> 373 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L374' name='L374'></a> 374
|
|
<a id='L375' name='L375'></a> 375 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L376' name='L376'></a> 376 <a href='../R/str_detect_termencoding.html' title='Multiple referred from 7 places.'>str_detect_termencoding</a> (<strong class='reserved'>void</strong>)
|
|
<em class='comment'>/* <a href='#L354'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L393'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+376 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L377' name='L377'></a> 377 <em class='brace'>{</em>
|
|
<a id='L378' name='L378'></a> 378 <strong class='reserved'>if</strong> (<a href='../Y/term_encoding.html' title='Multiple used in 5 places.'>term_encoding</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L379' name='L379'></a> 379 <em class='brace'>{</em>
|
|
<a id='L380' name='L380'></a> 380 <em class='comment'>/* On Linux, nl_langinfo (CODESET) returns upper case UTF-8 whether the LANG is set</em>
|
|
<a id='L381' name='L381'></a> 381 <em class='comment'> to utf-8 or UTF-8.</em>
|
|
<a id='L382' name='L382'></a> 382 <em class='comment'> On Mac OS X, it returns the same case as the LANG input.</em>
|
|
<a id='L383' name='L383'></a> 383 <em class='comment'> So let transform result of nl_langinfo (CODESET) to upper case unconditionally. */</em>
|
|
<a id='L384' name='L384'></a> 384 <a href='../Y/term_encoding.html' title='Multiple used in 5 places.'>term_encoding</a> = <a href='../Y/g_ascii_strup.html' title='Multiple used in 3 places.'>g_ascii_strup</a> (nl_langinfo (CODESET), -1);
|
|
<a id='L385' name='L385'></a> 385 <em class='brace'>}</em>
|
|
<a id='L386' name='L386'></a> 386
|
|
<a id='L387' name='L387'></a> 387 <strong class='reserved'>return</strong> <a href='../Y/term_encoding.html' title='Multiple used in 5 places.'>term_encoding</a>;
|
|
<a id='L388' name='L388'></a> 388 <em class='brace'>}</em>
|
|
<a id='L389' name='L389'></a> 389
|
|
<a id='L390' name='L390'></a> 390 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L391' name='L391'></a> 391
|
|
<a id='L392' name='L392'></a> 392 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L393' name='L393'></a> 393 <a href='../R/str_isutf8.html' title='Multiple referred from 14 places.'>str_isutf8</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/codeset_name.html' title='Multiple used in 3 places.'>codeset_name</a>)
|
|
<em class='comment'>/* <a href='#L376'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L401'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+393 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L394' name='L394'></a> 394 <em class='brace'>{</em>
|
|
<a id='L395' name='L395'></a> 395 <strong class='reserved'>return</strong> (<a href='../S/lib--strutil--strutil.c.html#L227' title='Defined at 227 in lib/strutil/strutil.c.'>str_test_encoding_class</a> (<a href='../Y/codeset_name.html' title='Multiple used in 3 places.'>codeset_name</a>, <a href='../Y/str_utf8_encodings.html' title='Multiple used in 3 places.'>str_utf8_encodings</a>) != 0);
|
|
<a id='L396' name='L396'></a> 396 <em class='brace'>}</em>
|
|
<a id='L397' name='L397'></a> 397
|
|
<a id='L398' name='L398'></a> 398 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L399' name='L399'></a> 399
|
|
<a id='L400' name='L400'></a> 400 <strong class='reserved'>void</strong>
|
|
<a id='L401' name='L401'></a> 401 <a href='../R/str_init_strings.html' title='Multiple referred from 35 places.'>str_init_strings</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/termenc.html' title='Multiple used in 4 places.'>termenc</a>)
|
|
<em class='comment'>/* <a href='#L393'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L432'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+401 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L402' name='L402'></a> 402 <em class='brace'>{</em>
|
|
<a id='L403' name='L403'></a> 403 <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a> = <a href='../Y/termenc.html' title='Multiple used in 4 places.'>termenc</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a> ? <a href='../Y/g_ascii_strup.html' title='Multiple used in 3 places.'>g_ascii_strup</a> (<a href='../Y/termenc.html' title='Multiple used in 4 places.'>termenc</a>, -1) : <a href='../Y/g_strdup.html' title='Multiple used in 402 places.'>g_strdup</a> (<a href='../S/lib--strutil--strutil.c.html#L376' title='Defined at 376 in lib/strutil/strutil.c.'>str_detect_termencoding</a> ());
|
|
<a id='L404' name='L404'></a> 404
|
|
<a id='L405' name='L405'></a> 405 <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a> = <a href='../Y/g_iconv_open.html' title='Multiple used in 10 places.'>g_iconv_open</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>, <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>);
|
|
<a id='L406' name='L406'></a> 406 <strong class='reserved'>if</strong> (<a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a> == <a href='../S/lib--strutil.h.html#L49' title='Defined at 49 in lib/strutil.h.'>INVALID_CONV</a>)
|
|
<a id='L407' name='L407'></a> 407 <em class='brace'>{</em>
|
|
<a id='L408' name='L408'></a> 408 <strong class='reserved'>if</strong> (<a href='../Y/termenc.html' title='Multiple used in 4 places.'>termenc</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L409' name='L409'></a> 409 <em class='brace'>{</em>
|
|
<a id='L410' name='L410'></a> 410 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>);
|
|
<a id='L411' name='L411'></a> 411 <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a> = <a href='../Y/g_strdup.html' title='Multiple used in 402 places.'>g_strdup</a> (<a href='../S/lib--strutil--strutil.c.html#L376' title='Defined at 376 in lib/strutil/strutil.c.'>str_detect_termencoding</a> ());
|
|
<a id='L412' name='L412'></a> 412 <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a> = <a href='../Y/g_iconv_open.html' title='Multiple used in 10 places.'>g_iconv_open</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>, <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>);
|
|
<a id='L413' name='L413'></a> 413 <em class='brace'>}</em>
|
|
<a id='L414' name='L414'></a> 414
|
|
<a id='L415' name='L415'></a> 415 <strong class='reserved'>if</strong> (<a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a> == <a href='../S/lib--strutil.h.html#L49' title='Defined at 49 in lib/strutil.h.'>INVALID_CONV</a>)
|
|
<a id='L416' name='L416'></a> 416 <em class='brace'>{</em>
|
|
<a id='L417' name='L417'></a> 417 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>);
|
|
<a id='L418' name='L418'></a> 418 <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a> = <a href='../Y/g_strdup.html' title='Multiple used in 402 places.'>g_strdup</a> (<a href='../S/lib--global.h.html#L99' title='Defined at 99 in lib/global.h.'>DEFAULT_CHARSET</a>);
|
|
<a id='L419' name='L419'></a> 419 <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a> = <a href='../Y/g_iconv_open.html' title='Multiple used in 10 places.'>g_iconv_open</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>, <a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>);
|
|
<a id='L420' name='L420'></a> 420 <em class='brace'>}</em>
|
|
<a id='L421' name='L421'></a> 421 <em class='brace'>}</em>
|
|
<a id='L422' name='L422'></a> 422
|
|
<a id='L423' name='L423'></a> 423 <a href='../Y/str_cnv_to_term.html' title='Multiple used in 3 places.'>str_cnv_to_term</a> = <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a>;
|
|
<a id='L424' name='L424'></a> 424 <a href='../Y/str_cnv_from_term.html' title='Multiple used in 19 places.'>str_cnv_from_term</a> = <a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a>;
|
|
<a id='L425' name='L425'></a> 425
|
|
<a id='L426' name='L426'></a> 426 <a href='../S/lib--strutil--strutil.c.html#L246' title='Defined at 246 in lib/strutil/strutil.c.'>str_choose_str_functions</a> ();
|
|
<a id='L427' name='L427'></a> 427 <em class='brace'>}</em>
|
|
<a id='L428' name='L428'></a> 428
|
|
<a id='L429' name='L429'></a> 429 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L430' name='L430'></a> 430
|
|
<a id='L431' name='L431'></a> 431 <strong class='reserved'>void</strong>
|
|
<a id='L432' name='L432'></a> 432 <a href='../R/str_uninit_strings.html' title='Multiple referred from 36 places.'>str_uninit_strings</a> (<strong class='reserved'>void</strong>)
|
|
<em class='comment'>/* <a href='#L401'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L444'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+432 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L433' name='L433'></a> 433 <em class='brace'>{</em>
|
|
<a id='L434' name='L434'></a> 434 <strong class='reserved'>if</strong> (<a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a> != <a href='../S/lib--strutil.h.html#L49' title='Defined at 49 in lib/strutil.h.'>INVALID_CONV</a>)
|
|
<a id='L435' name='L435'></a> 435 <a href='../Y/g_iconv_close.html' title='Multiple used in 6 places.'>g_iconv_close</a> (<a href='../Y/str_cnv_not_convert.html' title='Multiple used in 17 places.'>str_cnv_not_convert</a>);
|
|
<a id='L436' name='L436'></a> 436 <em class='comment'>// NULL-ize pointers to avoid double free in unit tests</em>
|
|
<a id='L437' name='L437'></a> 437 <a href='../S/lib--util.h.html#L25' title='Defined at 25 in lib/util.h.'>MC_PTR_FREE</a> (<a href='../Y/term_encoding.html' title='Multiple used in 5 places.'>term_encoding</a>);
|
|
<a id='L438' name='L438'></a> 438 <a href='../S/lib--util.h.html#L25' title='Defined at 25 in lib/util.h.'>MC_PTR_FREE</a> (<a href='../Y/codeset.html' title='Multiple used in 15 places.'>codeset</a>);
|
|
<a id='L439' name='L439'></a> 439 <em class='brace'>}</em>
|
|
<a id='L440' name='L440'></a> 440
|
|
<a id='L441' name='L441'></a> 441 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L442' name='L442'></a> 442
|
|
<a id='L443' name='L443'></a> 443 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L444' name='L444'></a> 444 <a href='../R/str_term_form.html' title='Multiple referred from 6 places.'>str_term_form</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L432'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L452'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+444 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L445' name='L445'></a> 445 <em class='brace'>{</em>
|
|
<a id='L446' name='L446'></a> 446 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../S/lib--strutil--strutilutf8.c.html#L53' title='Defined at 53 in lib/strutil/strutilutf8.c.'>term_form</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L447' name='L447'></a> 447 <em class='brace'>}</em>
|
|
<a id='L448' name='L448'></a> 448
|
|
<a id='L449' name='L449'></a> 449 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L450' name='L450'></a> 450
|
|
<a id='L451' name='L451'></a> 451 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L452' name='L452'></a> 452 <a href='../R/str_fit_to_term.html' title='Multiple referred from 24 places.'>str_fit_to_term</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>int</strong> <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>, <a href='../S/lib--strutil.h.html#L85' title='Defined at 85 in lib/strutil.h.'>align_crt_t</a> <a href='../Y/just_mode.html' title='Multiple used in 23 places.'>just_mode</a>)
|
|
<em class='comment'>/* <a href='#L444'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L460'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+452 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L453' name='L453'></a> 453 <em class='brace'>{</em>
|
|
<a id='L454' name='L454'></a> 454 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/fit_to_term.html' title='Multiple used in 5 places.'>fit_to_term</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>, <a href='../Y/just_mode.html' title='Multiple used in 23 places.'>just_mode</a>);
|
|
<a id='L455' name='L455'></a> 455 <em class='brace'>}</em>
|
|
<a id='L456' name='L456'></a> 456
|
|
<a id='L457' name='L457'></a> 457 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L458' name='L458'></a> 458
|
|
<a id='L459' name='L459'></a> 459 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L460' name='L460'></a> 460 <a href='../R/str_term_trim.html' title='Multiple referred from 9 places.'>str_term_trim</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <a href='../Y/ssize_t.html' title='Multiple used in 180 places.'>ssize_t</a> <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>)
|
|
<em class='comment'>/* <a href='#L452'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L468'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+460 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L461' name='L461'></a> 461 <em class='brace'>{</em>
|
|
<a id='L462' name='L462'></a> 462 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/term_trim.html' title='Multiple used in 5 places.'>term_trim</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>);
|
|
<a id='L463' name='L463'></a> 463 <em class='brace'>}</em>
|
|
<a id='L464' name='L464'></a> 464
|
|
<a id='L465' name='L465'></a> 465 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L466' name='L466'></a> 466
|
|
<a id='L467' name='L467'></a> 467 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L468' name='L468'></a> 468 <a href='../R/str_term_substring.html' title='Multiple referred from 6 places.'>str_term_substring</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>int</strong> <a href='../S/src--editor--etags.c.html#L199' title='Defined at 199 in src/editor/etags.c.'>start</a>, <strong class='reserved'>int</strong> <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>)
|
|
<em class='comment'>/* <a href='#L460'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L476'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+468 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L469' name='L469'></a> 469 <em class='brace'>{</em>
|
|
<a id='L470' name='L470'></a> 470 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/term_substring.html' title='Multiple used in 5 places.'>term_substring</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../S/src--editor--etags.c.html#L199' title='Defined at 199 in src/editor/etags.c.'>start</a>, <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>);
|
|
<a id='L471' name='L471'></a> 471 <em class='brace'>}</em>
|
|
<a id='L472' name='L472'></a> 472
|
|
<a id='L473' name='L473'></a> 473 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L474' name='L474'></a> 474
|
|
<a id='L475' name='L475'></a> 475 <strong class='reserved'>char</strong> *
|
|
<a id='L476' name='L476'></a> 476 <a href='../R/str_get_next_char.html' title='Multiple referred from 9 places.'>str_get_next_char</a> (<strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L468'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L486'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+476 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L477' name='L477'></a> 477 <em class='brace'>{</em>
|
|
<a id='L478' name='L478'></a> 478
|
|
<a id='L479' name='L479'></a> 479 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char.html' title='Multiple used in 8 places.'>cnext_char</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) &<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L480' name='L480'></a> 480 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L481' name='L481'></a> 481 <em class='brace'>}</em>
|
|
<a id='L482' name='L482'></a> 482
|
|
<a id='L483' name='L483'></a> 483 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L484' name='L484'></a> 484
|
|
<a id='L485' name='L485'></a> 485 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L486' name='L486'></a> 486 <a href='../R/str_cget_next_char.html' title='Multiple referred from 5 places.'>str_cget_next_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L476'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L495'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+486 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L487' name='L487'></a> 487 <em class='brace'>{</em>
|
|
<a id='L488' name='L488'></a> 488 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char.html' title='Multiple used in 8 places.'>cnext_char</a> (&<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L489' name='L489'></a> 489 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L490' name='L490'></a> 490 <em class='brace'>}</em>
|
|
<a id='L491' name='L491'></a> 491
|
|
<a id='L492' name='L492'></a> 492 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L493' name='L493'></a> 493
|
|
<a id='L494' name='L494'></a> 494 <strong class='reserved'>void</strong>
|
|
<a id='L495' name='L495'></a> 495 <a href='../R/str_next_char.html' title='Multiple referred from 14 places.'>str_next_char</a> (<strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L486'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L503'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+495 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L496' name='L496'></a> 496 <em class='brace'>{</em>
|
|
<a id='L497' name='L497'></a> 497 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char.html' title='Multiple used in 8 places.'>cnext_char</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L498' name='L498'></a> 498 <em class='brace'>}</em>
|
|
<a id='L499' name='L499'></a> 499
|
|
<a id='L500' name='L500'></a> 500 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L501' name='L501'></a> 501
|
|
<a id='L502' name='L502'></a> 502 <strong class='reserved'>void</strong>
|
|
<a id='L503' name='L503'></a> 503 <a href='../R/str_cnext_char.html' title='Multiple referred from 9 places.'>str_cnext_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L495'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L511'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+503 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L504' name='L504'></a> 504 <em class='brace'>{</em>
|
|
<a id='L505' name='L505'></a> 505 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char.html' title='Multiple used in 8 places.'>cnext_char</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L506' name='L506'></a> 506 <em class='brace'>}</em>
|
|
<a id='L507' name='L507'></a> 507
|
|
<a id='L508' name='L508'></a> 508 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L509' name='L509'></a> 509
|
|
<a id='L510' name='L510'></a> 510 <strong class='reserved'>char</strong> *
|
|
<a id='L511' name='L511'></a> 511 <a href='../R/str_get_prev_char.html' title='Multiple referred from 6 places.'>str_get_prev_char</a> (<strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L503'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L520'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+511 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L512' name='L512'></a> 512 <em class='brace'>{</em>
|
|
<a id='L513' name='L513'></a> 513 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char.html' title='Multiple used in 8 places.'>cprev_char</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) &<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L514' name='L514'></a> 514 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L515' name='L515'></a> 515 <em class='brace'>}</em>
|
|
<a id='L516' name='L516'></a> 516
|
|
<a id='L517' name='L517'></a> 517 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L518' name='L518'></a> 518
|
|
<a id='L519' name='L519'></a> 519 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L520' name='L520'></a> 520 <a href='../S/lib--strutil.h.html#L264' title='Referred from 264 in lib/strutil.h.'>str_cget_prev_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L511'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L529'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+520 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L521' name='L521'></a> 521 <em class='brace'>{</em>
|
|
<a id='L522' name='L522'></a> 522 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char.html' title='Multiple used in 8 places.'>cprev_char</a> (&<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L523' name='L523'></a> 523 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L524' name='L524'></a> 524 <em class='brace'>}</em>
|
|
<a id='L525' name='L525'></a> 525
|
|
<a id='L526' name='L526'></a> 526 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L527' name='L527'></a> 527
|
|
<a id='L528' name='L528'></a> 528 <strong class='reserved'>void</strong>
|
|
<a id='L529' name='L529'></a> 529 <a href='../R/str_prev_char.html' title='Multiple referred from 6 places.'>str_prev_char</a> (<strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L520'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L537'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+529 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L530' name='L530'></a> 530 <em class='brace'>{</em>
|
|
<a id='L531' name='L531'></a> 531 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char.html' title='Multiple used in 8 places.'>cprev_char</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L532' name='L532'></a> 532 <em class='brace'>}</em>
|
|
<a id='L533' name='L533'></a> 533
|
|
<a id='L534' name='L534'></a> 534 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L535' name='L535'></a> 535
|
|
<a id='L536' name='L536'></a> 536 <strong class='reserved'>void</strong>
|
|
<a id='L537' name='L537'></a> 537 <a href='../R/str_cprev_char.html' title='Multiple referred from 4 places.'>str_cprev_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L529'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L545'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+537 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L538' name='L538'></a> 538 <em class='brace'>{</em>
|
|
<a id='L539' name='L539'></a> 539 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char.html' title='Multiple used in 8 places.'>cprev_char</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L540' name='L540'></a> 540 <em class='brace'>}</em>
|
|
<a id='L541' name='L541'></a> 541
|
|
<a id='L542' name='L542'></a> 542 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L543' name='L543'></a> 543
|
|
<a id='L544' name='L544'></a> 544 <strong class='reserved'>char</strong> *
|
|
<a id='L545' name='L545'></a> 545 <a href='../S/lib--strutil.h.html#L280' title='Referred from 280 in lib/strutil.h.'>str_get_next_char_safe</a> (<strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L537'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L554'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+545 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L546' name='L546'></a> 546 <em class='brace'>{</em>
|
|
<a id='L547' name='L547'></a> 547 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char_safe.html' title='Multiple used in 8 places.'>cnext_char_safe</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) &<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L548' name='L548'></a> 548 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L549' name='L549'></a> 549 <em class='brace'>}</em>
|
|
<a id='L550' name='L550'></a> 550
|
|
<a id='L551' name='L551'></a> 551 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L552' name='L552'></a> 552
|
|
<a id='L553' name='L553'></a> 553 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L554' name='L554'></a> 554 <a href='../R/str_cget_next_char_safe.html' title='Multiple referred from 3 places.'>str_cget_next_char_safe</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L545'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L563'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+554 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L555' name='L555'></a> 555 <em class='brace'>{</em>
|
|
<a id='L556' name='L556'></a> 556 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char_safe.html' title='Multiple used in 8 places.'>cnext_char_safe</a> (&<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L557' name='L557'></a> 557 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L558' name='L558'></a> 558 <em class='brace'>}</em>
|
|
<a id='L559' name='L559'></a> 559
|
|
<a id='L560' name='L560'></a> 560 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L561' name='L561'></a> 561
|
|
<a id='L562' name='L562'></a> 562 <strong class='reserved'>void</strong>
|
|
<a id='L563' name='L563'></a> 563 <a href='../R/str_next_char_safe.html' title='Multiple referred from 2 places.'>str_next_char_safe</a> (<strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L554'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L571'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+563 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L564' name='L564'></a> 564 <em class='brace'>{</em>
|
|
<a id='L565' name='L565'></a> 565 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char_safe.html' title='Multiple used in 8 places.'>cnext_char_safe</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L566' name='L566'></a> 566 <em class='brace'>}</em>
|
|
<a id='L567' name='L567'></a> 567
|
|
<a id='L568' name='L568'></a> 568 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L569' name='L569'></a> 569
|
|
<a id='L570' name='L570'></a> 570 <strong class='reserved'>void</strong>
|
|
<a id='L571' name='L571'></a> 571 <a href='../S/lib--strutil.h.html#L295' title='Referred from 295 in lib/strutil.h.'>str_cnext_char_safe</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L563'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L579'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+571 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L572' name='L572'></a> 572 <em class='brace'>{</em>
|
|
<a id='L573' name='L573'></a> 573 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_char_safe.html' title='Multiple used in 8 places.'>cnext_char_safe</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L574' name='L574'></a> 574 <em class='brace'>}</em>
|
|
<a id='L575' name='L575'></a> 575
|
|
<a id='L576' name='L576'></a> 576 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L577' name='L577'></a> 577
|
|
<a id='L578' name='L578'></a> 578 <strong class='reserved'>char</strong> *
|
|
<a id='L579' name='L579'></a> 579 <a href='../S/lib--strutil.h.html#L287' title='Referred from 287 in lib/strutil.h.'>str_get_prev_char_safe</a> (<strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L571'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L588'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+579 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L580' name='L580'></a> 580 <em class='brace'>{</em>
|
|
<a id='L581' name='L581'></a> 581 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char_safe.html' title='Multiple used in 8 places.'>cprev_char_safe</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) &<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L582' name='L582'></a> 582 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L583' name='L583'></a> 583 <em class='brace'>}</em>
|
|
<a id='L584' name='L584'></a> 584
|
|
<a id='L585' name='L585'></a> 585 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L586' name='L586'></a> 586
|
|
<a id='L587' name='L587'></a> 587 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L588' name='L588'></a> 588 <a href='../S/lib--strutil.h.html#L288' title='Referred from 288 in lib/strutil.h.'>str_cget_prev_char_safe</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L579'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L597'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+588 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L589' name='L589'></a> 589 <em class='brace'>{</em>
|
|
<a id='L590' name='L590'></a> 590 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char_safe.html' title='Multiple used in 8 places.'>cprev_char_safe</a> (&<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L591' name='L591'></a> 591 <strong class='reserved'>return</strong> <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L592' name='L592'></a> 592 <em class='brace'>}</em>
|
|
<a id='L593' name='L593'></a> 593
|
|
<a id='L594' name='L594'></a> 594 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L595' name='L595'></a> 595
|
|
<a id='L596' name='L596'></a> 596 <strong class='reserved'>void</strong>
|
|
<a id='L597' name='L597'></a> 597 <a href='../S/lib--strutil.h.html#L301' title='Referred from 301 in lib/strutil.h.'>str_prev_char_safe</a> (<strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L588'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L605'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+597 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L598' name='L598'></a> 598 <em class='brace'>{</em>
|
|
<a id='L599' name='L599'></a> 599 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char_safe.html' title='Multiple used in 8 places.'>cprev_char_safe</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L600' name='L600'></a> 600 <em class='brace'>}</em>
|
|
<a id='L601' name='L601'></a> 601
|
|
<a id='L602' name='L602'></a> 602 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L603' name='L603'></a> 603
|
|
<a id='L604' name='L604'></a> 604 <strong class='reserved'>void</strong>
|
|
<a id='L605' name='L605'></a> 605 <a href='../S/lib--strutil.h.html#L302' title='Referred from 302 in lib/strutil.h.'>str_cprev_char_safe</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L597'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L613'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+605 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L606' name='L606'></a> 606 <em class='brace'>{</em>
|
|
<a id='L607' name='L607'></a> 607 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_char_safe.html' title='Multiple used in 8 places.'>cprev_char_safe</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L608' name='L608'></a> 608 <em class='brace'>}</em>
|
|
<a id='L609' name='L609'></a> 609
|
|
<a id='L610' name='L610'></a> 610 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L611' name='L611'></a> 611
|
|
<a id='L612' name='L612'></a> 612 <strong class='reserved'>int</strong>
|
|
<a id='L613' name='L613'></a> 613 <a href='../S/lib--strutil.h.html#L309' title='Referred from 309 in lib/strutil.h.'>str_next_noncomb_char</a> (<strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L605'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L621'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+613 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L614' name='L614'></a> 614 <em class='brace'>{</em>
|
|
<a id='L615' name='L615'></a> 615 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_noncomb_char.html' title='Multiple used in 6 places.'>cnext_noncomb_char</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L616' name='L616'></a> 616 <em class='brace'>}</em>
|
|
<a id='L617' name='L617'></a> 617
|
|
<a id='L618' name='L618'></a> 618 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L619' name='L619'></a> 619
|
|
<a id='L620' name='L620'></a> 620 <strong class='reserved'>int</strong>
|
|
<a id='L621' name='L621'></a> 621 <a href='../R/str_cnext_noncomb_char.html' title='Multiple referred from 3 places.'>str_cnext_noncomb_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L613'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L629'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+621 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L622' name='L622'></a> 622 <em class='brace'>{</em>
|
|
<a id='L623' name='L623'></a> 623 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cnext_noncomb_char.html' title='Multiple used in 6 places.'>cnext_noncomb_char</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L624' name='L624'></a> 624 <em class='brace'>}</em>
|
|
<a id='L625' name='L625'></a> 625
|
|
<a id='L626' name='L626'></a> 626 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L627' name='L627'></a> 627
|
|
<a id='L628' name='L628'></a> 628 <strong class='reserved'>int</strong>
|
|
<a id='L629' name='L629'></a> 629 <a href='../R/str_prev_noncomb_char.html' title='Multiple referred from 3 places.'>str_prev_noncomb_char</a> (<strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/begin.html' title='Multiple used in 22 places.'>begin</a>)
|
|
<em class='comment'>/* <a href='#L621'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L637'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+629 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L630' name='L630'></a> 630 <em class='brace'>{</em>
|
|
<a id='L631' name='L631'></a> 631 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_noncomb_char.html' title='Multiple used in 6 places.'>cprev_noncomb_char</a> ((<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **) <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/begin.html' title='Multiple used in 22 places.'>begin</a>);
|
|
<a id='L632' name='L632'></a> 632 <em class='brace'>}</em>
|
|
<a id='L633' name='L633'></a> 633
|
|
<a id='L634' name='L634'></a> 634 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L635' name='L635'></a> 635
|
|
<a id='L636' name='L636'></a> 636 <strong class='reserved'>int</strong>
|
|
<a id='L637' name='L637'></a> 637 <a href='../R/str_cprev_noncomb_char.html' title='Multiple referred from 3 places.'>str_cprev_noncomb_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> **<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/begin.html' title='Multiple used in 22 places.'>begin</a>)
|
|
<em class='comment'>/* <a href='#L629'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L645'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+637 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L638' name='L638'></a> 638 <em class='brace'>{</em>
|
|
<a id='L639' name='L639'></a> 639 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/cprev_noncomb_char.html' title='Multiple used in 6 places.'>cprev_noncomb_char</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/begin.html' title='Multiple used in 22 places.'>begin</a>);
|
|
<a id='L640' name='L640'></a> 640 <em class='brace'>}</em>
|
|
<a id='L641' name='L641'></a> 641
|
|
<a id='L642' name='L642'></a> 642 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L643' name='L643'></a> 643
|
|
<a id='L644' name='L644'></a> 644 <strong class='reserved'>int</strong>
|
|
<a id='L645' name='L645'></a> 645 <a href='../R/str_is_valid_char.html' title='Multiple referred from 5 places.'>str_is_valid_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>, <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>)
|
|
<em class='comment'>/* <a href='#L637'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L653'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+645 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L646' name='L646'></a> 646 <em class='brace'>{</em>
|
|
<a id='L647' name='L647'></a> 647 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/is_valid_char.html' title='Multiple used in 5 places.'>is_valid_char</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>, <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>);
|
|
<a id='L648' name='L648'></a> 648 <em class='brace'>}</em>
|
|
<a id='L649' name='L649'></a> 649
|
|
<a id='L650' name='L650'></a> 650 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L651' name='L651'></a> 651
|
|
<a id='L652' name='L652'></a> 652 <strong class='reserved'>int</strong>
|
|
<a id='L653' name='L653'></a> 653 <a href='../R/str_term_width1.html' title='Multiple referred from 89 places.'>str_term_width1</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L645'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L665'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+653 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L654' name='L654'></a> 654 <em class='brace'>{</em>
|
|
<a id='L655' name='L655'></a> 655 <em class='comment'>// Reduce bitwidth size_t -> int</em>
|
|
<a id='L656' name='L656'></a> 656 <em class='comment'>// str_term_width1() is widely used to caclulate widget coordinates and sizes</em>
|
|
<a id='L657' name='L657'></a> 657 <em class='comment'>// that are of type int (see WRect structure).</em>
|
|
<a id='L658' name='L658'></a> 658 <em class='comment'>// It's very unlikely that used_class.term_width1() will return a value greater than MAX_INT.</em>
|
|
<a id='L659' name='L659'></a> 659 <strong class='reserved'>return</strong> (<strong class='reserved'>int</strong>) <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/term_width1.html' title='Multiple used in 5 places.'>term_width1</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L660' name='L660'></a> 660 <em class='brace'>}</em>
|
|
<a id='L661' name='L661'></a> 661
|
|
<a id='L662' name='L662'></a> 662 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L663' name='L663'></a> 663
|
|
<a id='L664' name='L664'></a> 664 <strong class='reserved'>int</strong>
|
|
<a id='L665' name='L665'></a> 665 <a href='../R/str_term_width2.html' title='Multiple referred from 4 places.'>str_term_width2</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <a href='../Y/ssize_t.html' title='Multiple used in 180 places.'>ssize_t</a> <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>)
|
|
<em class='comment'>/* <a href='#L653'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L675'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+665 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L666' name='L666'></a> 666 <em class='brace'>{</em>
|
|
<a id='L667' name='L667'></a> 667 <em class='comment'>// Reduce bitwidth size_t -> int</em>
|
|
<a id='L668' name='L668'></a> 668 <em class='comment'>// See comment in str_term_width1().</em>
|
|
<a id='L669' name='L669'></a> 669 <strong class='reserved'>return</strong> (<strong class='reserved'>int</strong>) <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/term_width2.html' title='Multiple used in 5 places.'>term_width2</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>);
|
|
<a id='L670' name='L670'></a> 670 <em class='brace'>}</em>
|
|
<a id='L671' name='L671'></a> 671
|
|
<a id='L672' name='L672'></a> 672 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L673' name='L673'></a> 673
|
|
<a id='L674' name='L674'></a> 674 <strong class='reserved'>int</strong>
|
|
<a id='L675' name='L675'></a> 675 <a href='../S/lib--strutil.h.html#L433' title='Referred from 433 in lib/strutil.h.'>str_term_char_width</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L665'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L683'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+675 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L676' name='L676'></a> 676 <em class='brace'>{</em>
|
|
<a id='L677' name='L677'></a> 677 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/term_char_width.html' title='Multiple used in 5 places.'>term_char_width</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L678' name='L678'></a> 678 <em class='brace'>}</em>
|
|
<a id='L679' name='L679'></a> 679
|
|
<a id='L680' name='L680'></a> 680 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L681' name='L681'></a> 681
|
|
<a id='L682' name='L682'></a> 682 <strong class='reserved'>int</strong>
|
|
<a id='L683' name='L683'></a> 683 <a href='../R/str_offset_to_pos.html' title='Multiple referred from 21 places.'>str_offset_to_pos</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/length.html' title='Multiple used in 182 places.'>length</a>)
|
|
<em class='comment'>/* <a href='#L675'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L691'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+683 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L684' name='L684'></a> 684 <em class='brace'>{</em>
|
|
<a id='L685' name='L685'></a> 685 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/offset_to_pos.html' title='Multiple used in 5 places.'>offset_to_pos</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/length.html' title='Multiple used in 182 places.'>length</a>);
|
|
<a id='L686' name='L686'></a> 686 <em class='brace'>}</em>
|
|
<a id='L687' name='L687'></a> 687
|
|
<a id='L688' name='L688'></a> 688 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L689' name='L689'></a> 689
|
|
<a id='L690' name='L690'></a> 690 <strong class='reserved'>int</strong>
|
|
<a id='L691' name='L691'></a> 691 <a href='../R/str_length.html' title='Multiple referred from 13 places.'>str_length</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L683'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L699'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+691 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L692' name='L692'></a> 692 <em class='brace'>{</em>
|
|
<a id='L693' name='L693'></a> 693 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/length.html' title='Multiple used in 182 places.'>length</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L694' name='L694'></a> 694 <em class='brace'>}</em>
|
|
<a id='L695' name='L695'></a> 695
|
|
<a id='L696' name='L696'></a> 696 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L697' name='L697'></a> 697
|
|
<a id='L698' name='L698'></a> 698 <strong class='reserved'>int</strong>
|
|
<a id='L699' name='L699'></a> 699 <a href='../R/str_length_char.html' title='Multiple referred from 2 places.'>str_length_char</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L691'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L707'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+699 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L700' name='L700'></a> 700 <em class='brace'>{</em>
|
|
<a id='L701' name='L701'></a> 701 <strong class='reserved'>return</strong> <a href='../S/lib--strutil--strutil.c.html#L554' title='Defined at 554 in lib/strutil/strutil.c.'>str_cget_next_char_safe</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>) - <a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>;
|
|
<a id='L702' name='L702'></a> 702 <em class='brace'>}</em>
|
|
<a id='L703' name='L703'></a> 703
|
|
<a id='L704' name='L704'></a> 704 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L705' name='L705'></a> 705
|
|
<a id='L706' name='L706'></a> 706 <strong class='reserved'>int</strong>
|
|
<a id='L707' name='L707'></a> 707 <a href='../S/lib--strutil.h.html#L371' title='Referred from 371 in lib/strutil.h.'>str_length2</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>int</strong> <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>)
|
|
<em class='comment'>/* <a href='#L699'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L715'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+707 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L708' name='L708'></a> 708 <em class='brace'>{</em>
|
|
<a id='L709' name='L709'></a> 709 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/length2.html' title='Multiple used in 5 places.'>length2</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/size.html' title='Multiple used in 385 places.'>size</a>);
|
|
<a id='L710' name='L710'></a> 710 <em class='brace'>}</em>
|
|
<a id='L711' name='L711'></a> 711
|
|
<a id='L712' name='L712'></a> 712 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L713' name='L713'></a> 713
|
|
<a id='L714' name='L714'></a> 714 <strong class='reserved'>int</strong>
|
|
<a id='L715' name='L715'></a> 715 <a href='../S/lib--strutil.h.html#L381' title='Referred from 381 in lib/strutil.h.'>str_length_noncomb</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L707'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L723'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+715 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L716' name='L716'></a> 716 <em class='brace'>{</em>
|
|
<a id='L717' name='L717'></a> 717 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/length_noncomb.html' title='Multiple used in 5 places.'>length_noncomb</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L718' name='L718'></a> 718 <em class='brace'>}</em>
|
|
<a id='L719' name='L719'></a> 719
|
|
<a id='L720' name='L720'></a> 720 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L721' name='L721'></a> 721
|
|
<a id='L722' name='L722'></a> 722 <strong class='reserved'>int</strong>
|
|
<a id='L723' name='L723'></a> 723 <a href='../R/str_column_to_pos.html' title='Multiple referred from 3 places.'>str_column_to_pos</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/pos.html' title='Multiple used in 315 places.'>pos</a>)
|
|
<em class='comment'>/* <a href='#L715'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L731'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+723 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L724' name='L724'></a> 724 <em class='brace'>{</em>
|
|
<a id='L725' name='L725'></a> 725 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/column_to_pos.html' title='Multiple used in 5 places.'>column_to_pos</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/pos.html' title='Multiple used in 315 places.'>pos</a>);
|
|
<a id='L726' name='L726'></a> 726 <em class='brace'>}</em>
|
|
<a id='L727' name='L727'></a> 727
|
|
<a id='L728' name='L728'></a> 728 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L729' name='L729'></a> 729
|
|
<a id='L730' name='L730'></a> 730 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L731' name='L731'></a> 731 <a href='../R/str_isspace.html' title='Multiple referred from 12 places.'>str_isspace</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>)
|
|
<em class='comment'>/* <a href='#L723'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L739'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+731 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L732' name='L732'></a> 732 <em class='brace'>{</em>
|
|
<a id='L733' name='L733'></a> 733 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_isspace.html' title='Multiple used in 6 places.'>char_isspace</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>);
|
|
<a id='L734' name='L734'></a> 734 <em class='brace'>}</em>
|
|
<a id='L735' name='L735'></a> 735
|
|
<a id='L736' name='L736'></a> 736 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L737' name='L737'></a> 737
|
|
<a id='L738' name='L738'></a> 738 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L739' name='L739'></a> 739 <a href='../R/str_ispunct.html' title='Multiple referred from 5 places.'>str_ispunct</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>)
|
|
<em class='comment'>/* <a href='#L731'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L747'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+739 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L740' name='L740'></a> 740 <em class='brace'>{</em>
|
|
<a id='L741' name='L741'></a> 741 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_ispunct.html' title='Multiple used in 6 places.'>char_ispunct</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>);
|
|
<a id='L742' name='L742'></a> 742 <em class='brace'>}</em>
|
|
<a id='L743' name='L743'></a> 743
|
|
<a id='L744' name='L744'></a> 744 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L745' name='L745'></a> 745
|
|
<a id='L746' name='L746'></a> 746 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L747' name='L747'></a> 747 <a href='../R/str_isalnum.html' title='Multiple referred from 2 places.'>str_isalnum</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>)
|
|
<em class='comment'>/* <a href='#L739'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L755'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+747 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L748' name='L748'></a> 748 <em class='brace'>{</em>
|
|
<a id='L749' name='L749'></a> 749 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_isalnum.html' title='Multiple used in 6 places.'>char_isalnum</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>);
|
|
<a id='L750' name='L750'></a> 750 <em class='brace'>}</em>
|
|
<a id='L751' name='L751'></a> 751
|
|
<a id='L752' name='L752'></a> 752 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L753' name='L753'></a> 753
|
|
<a id='L754' name='L754'></a> 754 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L755' name='L755'></a> 755 <a href='../R/str_isdigit.html' title='Multiple referred from 3 places.'>str_isdigit</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>)
|
|
<em class='comment'>/* <a href='#L747'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L763'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+755 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L756' name='L756'></a> 756 <em class='brace'>{</em>
|
|
<a id='L757' name='L757'></a> 757 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_isdigit.html' title='Multiple used in 6 places.'>char_isdigit</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>);
|
|
<a id='L758' name='L758'></a> 758 <em class='brace'>}</em>
|
|
<a id='L759' name='L759'></a> 759
|
|
<a id='L760' name='L760'></a> 760 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L761' name='L761'></a> 761
|
|
<a id='L762' name='L762'></a> 762 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L763' name='L763'></a> 763 <a href='../R/str_toupper.html' title='Multiple referred from 2 places.'>str_toupper</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>, <strong class='reserved'>char</strong> **<a href='../Y/out.html' title='Multiple used in 87 places.'>out</a>, <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> *<a href='../Y/remain.html' title='Multiple used in 114 places.'>remain</a>)
|
|
<em class='comment'>/* <a href='#L755'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L771'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+763 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L764' name='L764'></a> 764 <em class='brace'>{</em>
|
|
<a id='L765' name='L765'></a> 765 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_toupper.html' title='Multiple used in 7 places.'>char_toupper</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>, <a href='../Y/out.html' title='Multiple used in 87 places.'>out</a>, <a href='../Y/remain.html' title='Multiple used in 114 places.'>remain</a>);
|
|
<a id='L766' name='L766'></a> 766 <em class='brace'>}</em>
|
|
<a id='L767' name='L767'></a> 767
|
|
<a id='L768' name='L768'></a> 768 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L769' name='L769'></a> 769
|
|
<a id='L770' name='L770'></a> 770 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L771' name='L771'></a> 771 <a href='../R/str_tolower.html' title='Multiple referred from 2 places.'>str_tolower</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>, <strong class='reserved'>char</strong> **<a href='../Y/out.html' title='Multiple used in 87 places.'>out</a>, <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> *<a href='../Y/remain.html' title='Multiple used in 114 places.'>remain</a>)
|
|
<em class='comment'>/* <a href='#L763'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L779'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+771 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L772' name='L772'></a> 772 <em class='brace'>{</em>
|
|
<a id='L773' name='L773'></a> 773 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_tolower.html' title='Multiple used in 7 places.'>char_tolower</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>, <a href='../Y/out.html' title='Multiple used in 87 places.'>out</a>, <a href='../Y/remain.html' title='Multiple used in 114 places.'>remain</a>);
|
|
<a id='L774' name='L774'></a> 774 <em class='brace'>}</em>
|
|
<a id='L775' name='L775'></a> 775
|
|
<a id='L776' name='L776'></a> 776 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L777' name='L777'></a> 777
|
|
<a id='L778' name='L778'></a> 778 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L779' name='L779'></a> 779 <a href='../R/str_isprint.html' title='Multiple referred from 2 places.'>str_isprint</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>)
|
|
<em class='comment'>/* <a href='#L771'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L787'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+779 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L780' name='L780'></a> 780 <em class='brace'>{</em>
|
|
<a id='L781' name='L781'></a> 781 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_isprint.html' title='Multiple used in 17 places.'>char_isprint</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>);
|
|
<a id='L782' name='L782'></a> 782 <em class='brace'>}</em>
|
|
<a id='L783' name='L783'></a> 783
|
|
<a id='L784' name='L784'></a> 784 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L785' name='L785'></a> 785
|
|
<a id='L786' name='L786'></a> 786 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L787' name='L787'></a> 787 <a href='../S/lib--strutil.h.html#L349' title='Referred from 349 in lib/strutil.h.'>str_iscombiningmark</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>)
|
|
<em class='comment'>/* <a href='#L779'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L795'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+787 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L788' name='L788'></a> 788 <em class='brace'>{</em>
|
|
<a id='L789' name='L789'></a> 789 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/char_iscombiningmark.html' title='Multiple used in 5 places.'>char_iscombiningmark</a> (<a href='../Y/ch.html' title='Multiple used in 230 places.'>ch</a>);
|
|
<a id='L790' name='L790'></a> 790 <em class='brace'>}</em>
|
|
<a id='L791' name='L791'></a> 791
|
|
<a id='L792' name='L792'></a> 792 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L793' name='L793'></a> 793
|
|
<a id='L794' name='L794'></a> 794 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L795' name='L795'></a> 795 <a href='../R/str_trunc.html' title='Multiple referred from 40 places.'>str_trunc</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <a href='../Y/ssize_t.html' title='Multiple used in 180 places.'>ssize_t</a> <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>)
|
|
<em class='comment'>/* <a href='#L787'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L803'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+795 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L796' name='L796'></a> 796 <em class='brace'>{</em>
|
|
<a id='L797' name='L797'></a> 797 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/trunc.html' title='Multiple used in 5 places.'>trunc</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>);
|
|
<a id='L798' name='L798'></a> 798 <em class='brace'>}</em>
|
|
<a id='L799' name='L799'></a> 799
|
|
<a id='L800' name='L800'></a> 800 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L801' name='L801'></a> 801
|
|
<a id='L802' name='L802'></a> 802 <strong class='reserved'>char</strong> *
|
|
<a id='L803' name='L803'></a> 803 <a href='../S/lib--strutil.h.html#L455' title='Referred from 455 in lib/strutil.h.'>str_create_search_needle</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/needle.html' title='Multiple used in 38 places.'>needle</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L795'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L811'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+803 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L804' name='L804'></a> 804 <em class='brace'>{</em>
|
|
<a id='L805' name='L805'></a> 805 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/create_search_needle.html' title='Multiple used in 5 places.'>create_search_needle</a> (<a href='../Y/needle.html' title='Multiple used in 38 places.'>needle</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L806' name='L806'></a> 806 <em class='brace'>}</em>
|
|
<a id='L807' name='L807'></a> 807
|
|
<a id='L808' name='L808'></a> 808 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L809' name='L809'></a> 809
|
|
<a id='L810' name='L810'></a> 810 <strong class='reserved'>void</strong>
|
|
<a id='L811' name='L811'></a> 811 <a href='../S/lib--strutil.h.html#L459' title='Referred from 459 in lib/strutil.h.'>str_release_search_needle</a> (<strong class='reserved'>char</strong> *<a href='../Y/needle.html' title='Multiple used in 38 places.'>needle</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L803'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L819'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+811 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L812' name='L812'></a> 812 <em class='brace'>{</em>
|
|
<a id='L813' name='L813'></a> 813 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/release_search_needle.html' title='Multiple used in 5 places.'>release_search_needle</a> (<a href='../Y/needle.html' title='Multiple used in 38 places.'>needle</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L814' name='L814'></a> 814 <em class='brace'>}</em>
|
|
<a id='L815' name='L815'></a> 815
|
|
<a id='L816' name='L816'></a> 816 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L817' name='L817'></a> 817
|
|
<a id='L818' name='L818'></a> 818 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L819' name='L819'></a> 819 <a href='../S/lib--strutil.h.html#L463' title='Referred from 463 in lib/strutil.h.'>str_search_first</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/search.html' title='Multiple used in 198 places.'>search</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L811'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L827'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+819 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L820' name='L820'></a> 820 <em class='brace'>{</em>
|
|
<a id='L821' name='L821'></a> 821 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/search_first.html' title='Multiple used in 5 places.'>search_first</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/search.html' title='Multiple used in 198 places.'>search</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L822' name='L822'></a> 822 <em class='brace'>}</em>
|
|
<a id='L823' name='L823'></a> 823
|
|
<a id='L824' name='L824'></a> 824 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L825' name='L825'></a> 825
|
|
<a id='L826' name='L826'></a> 826 <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
|
|
<a id='L827' name='L827'></a> 827 <a href='../S/lib--strutil.h.html#L467' title='Referred from 467 in lib/strutil.h.'>str_search_last</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/search.html' title='Multiple used in 198 places.'>search</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L819'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L835'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+827 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L828' name='L828'></a> 828 <em class='brace'>{</em>
|
|
<a id='L829' name='L829'></a> 829 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/search_last.html' title='Multiple used in 5 places.'>search_last</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/search.html' title='Multiple used in 198 places.'>search</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L830' name='L830'></a> 830 <em class='brace'>}</em>
|
|
<a id='L831' name='L831'></a> 831
|
|
<a id='L832' name='L832'></a> 832 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L833' name='L833'></a> 833
|
|
<a id='L834' name='L834'></a> 834 <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a>
|
|
<a id='L835' name='L835'></a> 835 <a href='../R/str_is_valid_string.html' title='Multiple referred from 7 places.'>str_is_valid_string</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L827'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L843'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+835 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L836' name='L836'></a> 836 <em class='brace'>{</em>
|
|
<a id='L837' name='L837'></a> 837 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/is_valid_string.html' title='Multiple used in 5 places.'>is_valid_string</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L838' name='L838'></a> 838 <em class='brace'>}</em>
|
|
<a id='L839' name='L839'></a> 839
|
|
<a id='L840' name='L840'></a> 840 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L841' name='L841'></a> 841
|
|
<a id='L842' name='L842'></a> 842 <strong class='reserved'>int</strong>
|
|
<a id='L843' name='L843'></a> 843 <a href='../S/lib--strutil.h.html#L472' title='Referred from 472 in lib/strutil.h.'>str_compare</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>)
|
|
<em class='comment'>/* <a href='#L835'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L851'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+843 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L844' name='L844'></a> 844 <em class='brace'>{</em>
|
|
<a id='L845' name='L845'></a> 845 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/compare.html' title='Multiple used in 5 places.'>compare</a> (<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>);
|
|
<a id='L846' name='L846'></a> 846 <em class='brace'>}</em>
|
|
<a id='L847' name='L847'></a> 847
|
|
<a id='L848' name='L848'></a> 848 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L849' name='L849'></a> 849
|
|
<a id='L850' name='L850'></a> 850 <strong class='reserved'>int</strong>
|
|
<a id='L851' name='L851'></a> 851 <a href='../S/lib--strutil.h.html#L478' title='Referred from 478 in lib/strutil.h.'>str_ncompare</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>)
|
|
<em class='comment'>/* <a href='#L843'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L859'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+851 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L852' name='L852'></a> 852 <em class='brace'>{</em>
|
|
<a id='L853' name='L853'></a> 853 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/ncompare.html' title='Multiple used in 5 places.'>ncompare</a> (<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>);
|
|
<a id='L854' name='L854'></a> 854 <em class='brace'>}</em>
|
|
<a id='L855' name='L855'></a> 855
|
|
<a id='L856' name='L856'></a> 856 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L857' name='L857'></a> 857
|
|
<a id='L858' name='L858'></a> 858 <strong class='reserved'>int</strong>
|
|
<a id='L859' name='L859'></a> 859 <a href='../S/lib--strutil.h.html#L483' title='Referred from 483 in lib/strutil.h.'>str_casecmp</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>)
|
|
<em class='comment'>/* <a href='#L851'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L867'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+859 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L860' name='L860'></a> 860 <em class='brace'>{</em>
|
|
<a id='L861' name='L861'></a> 861 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/casecmp.html' title='Multiple used in 5 places.'>casecmp</a> (<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>);
|
|
<a id='L862' name='L862'></a> 862 <em class='brace'>}</em>
|
|
<a id='L863' name='L863'></a> 863
|
|
<a id='L864' name='L864'></a> 864 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L865' name='L865'></a> 865
|
|
<a id='L866' name='L866'></a> 866 <strong class='reserved'>int</strong>
|
|
<a id='L867' name='L867'></a> 867 <a href='../S/lib--strutil.h.html#L489' title='Referred from 489 in lib/strutil.h.'>str_ncasecmp</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>)
|
|
<em class='comment'>/* <a href='#L859'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L875'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+867 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L868' name='L868'></a> 868 <em class='brace'>{</em>
|
|
<a id='L869' name='L869'></a> 869 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/ncasecmp.html' title='Multiple used in 5 places.'>ncasecmp</a> (<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>);
|
|
<a id='L870' name='L870'></a> 870 <em class='brace'>}</em>
|
|
<a id='L871' name='L871'></a> 871
|
|
<a id='L872' name='L872'></a> 872 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L873' name='L873'></a> 873
|
|
<a id='L874' name='L874'></a> 874 <strong class='reserved'>int</strong>
|
|
<a id='L875' name='L875'></a> 875 <a href='../S/lib--strutil.h.html#L497' title='Referred from 497 in lib/strutil.h.'>str_prefix</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/prefix.html' title='Multiple used in 85 places.'>prefix</a>)
|
|
<em class='comment'>/* <a href='#L867'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L883'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+875 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L876' name='L876'></a> 876 <em class='brace'>{</em>
|
|
<a id='L877' name='L877'></a> 877 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/prefix.html' title='Multiple used in 85 places.'>prefix</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/prefix.html' title='Multiple used in 85 places.'>prefix</a>);
|
|
<a id='L878' name='L878'></a> 878 <em class='brace'>}</em>
|
|
<a id='L879' name='L879'></a> 879
|
|
<a id='L880' name='L880'></a> 880 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L881' name='L881'></a> 881
|
|
<a id='L882' name='L882'></a> 882 <strong class='reserved'>int</strong>
|
|
<a id='L883' name='L883'></a> 883 <a href='../S/lib--strutil.h.html#L502' title='Referred from 502 in lib/strutil.h.'>str_caseprefix</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/prefix.html' title='Multiple used in 85 places.'>prefix</a>)
|
|
<em class='comment'>/* <a href='#L875'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L891'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+883 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L884' name='L884'></a> 884 <em class='brace'>{</em>
|
|
<a id='L885' name='L885'></a> 885 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/caseprefix.html' title='Multiple used in 5 places.'>caseprefix</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/prefix.html' title='Multiple used in 85 places.'>prefix</a>);
|
|
<a id='L886' name='L886'></a> 886 <em class='brace'>}</em>
|
|
<a id='L887' name='L887'></a> 887
|
|
<a id='L888' name='L888'></a> 888 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L889' name='L889'></a> 889
|
|
<a id='L890' name='L890'></a> 890 <strong class='reserved'>void</strong>
|
|
<a id='L891' name='L891'></a> 891 <a href='../S/lib--strutil.h.html#L387' title='Referred from 387 in lib/strutil.h.'>str_fix_string</a> (<strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>)
|
|
<em class='comment'>/* <a href='#L883'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L899'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+891 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L892' name='L892'></a> 892 <em class='brace'>{</em>
|
|
<a id='L893' name='L893'></a> 893 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/fix_string.html' title='Multiple used in 5 places.'>fix_string</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L894' name='L894'></a> 894 <em class='brace'>}</em>
|
|
<a id='L895' name='L895'></a> 895
|
|
<a id='L896' name='L896'></a> 896 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L897' name='L897'></a> 897
|
|
<a id='L898' name='L898'></a> 898 <strong class='reserved'>char</strong> *
|
|
<a id='L899' name='L899'></a> 899 <a href='../R/str_create_key.html' title='Multiple referred from 3 places.'>str_create_key</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L891'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L907'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+899 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L900' name='L900'></a> 900 <em class='brace'>{</em>
|
|
<a id='L901' name='L901'></a> 901 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/create_key.html' title='Multiple used in 5 places.'>create_key</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L902' name='L902'></a> 902 <em class='brace'>}</em>
|
|
<a id='L903' name='L903'></a> 903
|
|
<a id='L904' name='L904'></a> 904 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L905' name='L905'></a> 905
|
|
<a id='L906' name='L906'></a> 906 <strong class='reserved'>char</strong> *
|
|
<a id='L907' name='L907'></a> 907 <a href='../R/str_create_key_for_filename.html' title='Multiple referred from 3 places.'>str_create_key_for_filename</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L899'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L915'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+907 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L908' name='L908'></a> 908 <em class='brace'>{</em>
|
|
<a id='L909' name='L909'></a> 909 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/create_key_for_filename.html' title='Multiple used in 6 places.'>create_key_for_filename</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L910' name='L910'></a> 910 <em class='brace'>}</em>
|
|
<a id='L911' name='L911'></a> 911
|
|
<a id='L912' name='L912'></a> 912 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L913' name='L913'></a> 913
|
|
<a id='L914' name='L914'></a> 914 <strong class='reserved'>int</strong>
|
|
<a id='L915' name='L915'></a> 915 <a href='../R/str_key_collate.html' title='Multiple referred from 3 places.'>str_key_collate</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L907'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L923'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+915 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L916' name='L916'></a> 916 <em class='brace'>{</em>
|
|
<a id='L917' name='L917'></a> 917 <strong class='reserved'>return</strong> <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../S/src--filemanager--dir.c.html#L83' title='Defined at 83 in src/filemanager/dir.c.'>key_collate</a> (<a href='../Y/t1.html' title='Multiple used in 59 places.'>t1</a>, <a href='../Y/t2.html' title='Multiple used in 64 places.'>t2</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L918' name='L918'></a> 918 <em class='brace'>}</em>
|
|
<a id='L919' name='L919'></a> 919
|
|
<a id='L920' name='L920'></a> 920 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L921' name='L921'></a> 921
|
|
<a id='L922' name='L922'></a> 922 <strong class='reserved'>void</strong>
|
|
<a id='L923' name='L923'></a> 923 <a href='../R/str_release_key.html' title='Multiple referred from 3 places.'>str_release_key</a> (<strong class='reserved'>char</strong> *<a href='../Y/key.html' title='Multiple used in 190 places.'>key</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>)
|
|
<em class='comment'>/* <a href='#L915'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L931'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+923 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L924' name='L924'></a> 924 <em class='brace'>{</em>
|
|
<a id='L925' name='L925'></a> 925 <a href='../Y/used_class.html' title='Multiple used in 65 places.'>used_class</a>.<a href='../Y/release_key.html' title='Multiple used in 5 places.'>release_key</a> (<a href='../Y/key.html' title='Multiple used in 190 places.'>key</a>, <a href='../Y/case_sen.html' title='Multiple used in 86 places.'>case_sen</a>);
|
|
<a id='L926' name='L926'></a> 926 <em class='brace'>}</em>
|
|
<a id='L927' name='L927'></a> 927
|
|
<a id='L928' name='L928'></a> 928 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L929' name='L929'></a> 929
|
|
<a id='L930' name='L930'></a> 930 <strong class='reserved'>void</strong>
|
|
<a id='L931' name='L931'></a> 931 <a href='../R/str_msg_term_size.html' title='Multiple referred from 4 places.'>str_msg_term_size</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>, <strong class='reserved'>int</strong> *<a href='../Y/lines.html' title='Multiple used in 377 places.'>lines</a>, <strong class='reserved'>int</strong> *<a href='../Y/columns.html' title='Multiple used in 46 places.'>columns</a>)
|
|
<em class='comment'>/* <a href='#L923'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L972'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+931 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L932' name='L932'></a> 932 <em class='brace'>{</em>
|
|
<a id='L933' name='L933'></a> 933 <strong class='reserved'>char</strong> *<a href='../Y/p.html' title='Multiple used in 1572 places.'>p</a>, *<a href='../Y/tmp.html' title='Multiple used in 260 places.'>tmp</a>;
|
|
<a id='L934' name='L934'></a> 934 <strong class='reserved'>char</strong> *<a href='../Y/q.html' title='Multiple used in 361 places.'>q</a>;
|
|
<a id='L935' name='L935'></a> 935 <strong class='reserved'>char</strong> <a href='../Y/c.html' title='Multiple used in 818 places.'>c</a> = '\0';
|
|
<a id='L936' name='L936'></a> 936
|
|
<a id='L937' name='L937'></a> 937 *<a href='../Y/lines.html' title='Multiple used in 377 places.'>lines</a> = 1;
|
|
<a id='L938' name='L938'></a> 938 *<a href='../Y/columns.html' title='Multiple used in 46 places.'>columns</a> = 0;
|
|
<a id='L939' name='L939'></a> 939
|
|
<a id='L940' name='L940'></a> 940 <a href='../Y/tmp.html' title='Multiple used in 260 places.'>tmp</a> = <a href='../Y/g_strdup.html' title='Multiple used in 402 places.'>g_strdup</a> (<a href='../Y/text.html' title='Multiple used in 951 places.'>text</a>);
|
|
<a id='L941' name='L941'></a> 941 <a href='../Y/p.html' title='Multiple used in 1572 places.'>p</a> = <a href='../Y/tmp.html' title='Multiple used in 260 places.'>tmp</a>;
|
|
<a id='L942' name='L942'></a> 942
|
|
<a id='L943' name='L943'></a> 943 <strong class='reserved'>while</strong> (<a href='../Y/TRUE.html' title='Multiple used in 1990 places.'>TRUE</a>)
|
|
<a id='L944' name='L944'></a> 944 <em class='brace'>{</em>
|
|
<a id='L945' name='L945'></a> 945 <strong class='reserved'>int</strong> <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>;
|
|
<a id='L946' name='L946'></a> 946
|
|
<a id='L947' name='L947'></a> 947 <a href='../Y/q.html' title='Multiple used in 361 places.'>q</a> = <a href='../Y/strchr.html' title='Multiple used in 117 places.'>strchr</a> (<a href='../Y/p.html' title='Multiple used in 1572 places.'>p</a>, '\n');
|
|
<a id='L948' name='L948'></a> 948 <strong class='reserved'>if</strong> (<a href='../Y/q.html' title='Multiple used in 361 places.'>q</a> != <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L949' name='L949'></a> 949 <em class='brace'>{</em>
|
|
<a id='L950' name='L950'></a> 950 <a href='../Y/c.html' title='Multiple used in 818 places.'>c</a> = <a href='../Y/q.html' title='Multiple used in 361 places.'>q</a>[0];
|
|
<a id='L951' name='L951'></a> 951 <a href='../Y/q.html' title='Multiple used in 361 places.'>q</a>[0] = '\0';
|
|
<a id='L952' name='L952'></a> 952 <em class='brace'>}</em>
|
|
<a id='L953' name='L953'></a> 953
|
|
<a id='L954' name='L954'></a> 954 <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a> = <a href='../S/lib--strutil--strutil.c.html#L653' title='Defined at 653 in lib/strutil/strutil.c.'>str_term_width1</a> (<a href='../Y/p.html' title='Multiple used in 1572 places.'>p</a>);
|
|
<a id='L955' name='L955'></a> 955 <strong class='reserved'>if</strong> (<a href='../Y/width.html' title='Multiple used in 302 places.'>width</a> > *<a href='../Y/columns.html' title='Multiple used in 46 places.'>columns</a>)
|
|
<a id='L956' name='L956'></a> 956 *<a href='../Y/columns.html' title='Multiple used in 46 places.'>columns</a> = <a href='../Y/width.html' title='Multiple used in 302 places.'>width</a>;
|
|
<a id='L957' name='L957'></a> 957
|
|
<a id='L958' name='L958'></a> 958 <strong class='reserved'>if</strong> (<a href='../Y/q.html' title='Multiple used in 361 places.'>q</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L959' name='L959'></a> 959 <strong class='reserved'>break</strong>;
|
|
<a id='L960' name='L960'></a> 960
|
|
<a id='L961' name='L961'></a> 961 <a href='../Y/q.html' title='Multiple used in 361 places.'>q</a>[0] = <a href='../Y/c.html' title='Multiple used in 818 places.'>c</a>;
|
|
<a id='L962' name='L962'></a> 962 <a href='../Y/p.html' title='Multiple used in 1572 places.'>p</a> = <a href='../Y/q.html' title='Multiple used in 361 places.'>q</a> + 1;
|
|
<a id='L963' name='L963'></a> 963 (*<a href='../Y/lines.html' title='Multiple used in 377 places.'>lines</a>)++;
|
|
<a id='L964' name='L964'></a> 964 <em class='brace'>}</em>
|
|
<a id='L965' name='L965'></a> 965
|
|
<a id='L966' name='L966'></a> 966 <a href='../Y/g_free.html' title='Multiple used in 1114 places.'>g_free</a> (<a href='../Y/tmp.html' title='Multiple used in 260 places.'>tmp</a>);
|
|
<a id='L967' name='L967'></a> 967 <em class='brace'>}</em>
|
|
<a id='L968' name='L968'></a> 968
|
|
<a id='L969' name='L969'></a> 969 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L970' name='L970'></a> 970
|
|
<a id='L971' name='L971'></a> 971 <strong class='reserved'>char</strong> *
|
|
<a id='L972' name='L972'></a> 972 <a href='../R/strrstr_skip_count.html' title='Multiple referred from 2 places.'>strrstr_skip_count</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/haystack.html' title='Multiple used in 27 places.'>haystack</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/needle.html' title='Multiple used in 38 places.'>needle</a>, <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/skip_count.html' title='Multiple used in 6 places.'>skip_count</a>)
|
|
<em class='comment'>/* <a href='#L931'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L1001'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+972 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L973' name='L973'></a> 973 <em class='brace'>{</em>
|
|
<a id='L974' name='L974'></a> 974 <strong class='reserved'>char</strong> *<a href='../Y/semi.html' title='Multiple used in 45 places.'>semi</a>;
|
|
<a id='L975' name='L975'></a> 975 <a href='../Y/ssize_t.html' title='Multiple used in 180 places.'>ssize_t</a> <a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a>;
|
|
<a id='L976' name='L976'></a> 976
|
|
<a id='L977' name='L977'></a> 977 <a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> = <a href='../Y/strlen.html' title='Multiple used in 193 places.'>strlen</a> (<a href='../Y/haystack.html' title='Multiple used in 27 places.'>haystack</a>);
|
|
<a id='L978' name='L978'></a> 978
|
|
<a id='L979' name='L979'></a> 979 <strong class='reserved'>do</strong>
|
|
<a id='L980' name='L980'></a> 980 <em class='brace'>{</em>
|
|
<a id='L981' name='L981'></a> 981 <a href='../Y/semi.html' title='Multiple used in 45 places.'>semi</a> = <a href='../Y/g_strrstr_len.html' title='Multiple used in 6 places.'>g_strrstr_len</a> (<a href='../Y/haystack.html' title='Multiple used in 27 places.'>haystack</a>, <a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a>, <a href='../Y/needle.html' title='Multiple used in 38 places.'>needle</a>);
|
|
<a id='L982' name='L982'></a> 982 <strong class='reserved'>if</strong> (<a href='../Y/semi.html' title='Multiple used in 45 places.'>semi</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>)
|
|
<a id='L983' name='L983'></a> 983 <strong class='reserved'>return</strong> <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a>;
|
|
<a id='L984' name='L984'></a> 984 <a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> = <a href='../Y/semi.html' title='Multiple used in 45 places.'>semi</a> - <a href='../Y/haystack.html' title='Multiple used in 27 places.'>haystack</a> - 1;
|
|
<a id='L985' name='L985'></a> 985 <em class='brace'>}</em>
|
|
<a id='L986' name='L986'></a> 986 <strong class='reserved'>while</strong> (<a href='../Y/skip_count.html' title='Multiple used in 6 places.'>skip_count</a>-- != 0);
|
|
<a id='L987' name='L987'></a> 987
|
|
<a id='L988' name='L988'></a> 988 <strong class='reserved'>return</strong> <a href='../Y/semi.html' title='Multiple used in 45 places.'>semi</a>;
|
|
<a id='L989' name='L989'></a> 989 <em class='brace'>}</em>
|
|
<a id='L990' name='L990'></a> 990
|
|
<a id='L991' name='L991'></a> 991 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L992' name='L992'></a> 992 <em class='comment'>/* Interpret string as a non-negative decimal integer, optionally multiplied by various values.</em>
|
|
<a id='L993' name='L993'></a> 993 <em class='comment'> *</em>
|
|
<a id='L994' name='L994'></a> 994 <em class='comment'> * @param str input value</em>
|
|
<a id='L995' name='L995'></a> 995 <em class='comment'> * @param invalid set to TRUE if "str" does not represent a number in this format</em>
|
|
<a id='L996' name='L996'></a> 996 <em class='comment'> *</em>
|
|
<a id='L997' name='L997'></a> 997 <em class='comment'> * @return non-negative integer representation of "str", 0 in case of error.</em>
|
|
<a id='L998' name='L998'></a> 998 <em class='comment'> */</em>
|
|
<a id='L999' name='L999'></a> 999
|
|
<a id='L1000' name='L1000'></a>1000 <a href='../Y/uintmax_t.html' title='Multiple used in 111 places.'>uintmax_t</a>
|
|
<a id='L1001' name='L1001'></a>1001 <a href='../R/parse_integer.html' title='Multiple referred from 4 places.'>parse_integer</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/str.html' title='Multiple used in 654 places.'>str</a>, <a href='../Y/gboolean.html' title='Multiple used in 1942 places.'>gboolean</a> *<a href='../Y/invalid.html' title='Multiple used in 9 places.'>invalid</a>)
|
|
<em class='comment'>/* <a href='#L972'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L1036'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+1001 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L1002' name='L1002'></a>1002 <em class='brace'>{</em>
|
|
<a id='L1003' name='L1003'></a>1003 <a href='../Y/uintmax_t.html' title='Multiple used in 111 places.'>uintmax_t</a> <a href='../Y/n.html' title='Multiple used in 251 places.'>n</a>;
|
|
<a id='L1004' name='L1004'></a>1004 <strong class='reserved'>char</strong> *<a href='../Y/suffix.html' title='Multiple used in 14 places.'>suffix</a>;
|
|
<a id='L1005' name='L1005'></a>1005 <a href='../S/lib--strutil.h.html#L99' title='Defined at 99 in lib/strutil.h.'>strtol_error_t</a> <a href='../Y/e.html' title='Multiple used in 237 places.'>e</a>;
|
|
<a id='L1006' name='L1006'></a>1006
|
|
<a id='L1007' name='L1007'></a>1007 <a href='../Y/e.html' title='Multiple used in 237 places.'>e</a> = <a href='../S/lib--strutil--xstrtol.c.html#L93' title='Defined at 93 in lib/strutil/xstrtol.c.'>xstrtoumax</a> (<a href='../Y/str.html' title='Multiple used in 654 places.'>str</a>, &<a href='../Y/suffix.html' title='Multiple used in 14 places.'>suffix</a>, 10, &<a href='../Y/n.html' title='Multiple used in 251 places.'>n</a>, "bcEGkKMPTwYZ0");
|
|
<a id='L1008' name='L1008'></a>1008 <strong class='reserved'>if</strong> (<a href='../Y/e.html' title='Multiple used in 237 places.'>e</a> == <a href='../S/lib--strutil.h.html#L95' title='Defined at 95 in lib/strutil.h.'>LONGINT_INVALID_SUFFIX_CHAR</a> && *<a href='../Y/suffix.html' title='Multiple used in 14 places.'>suffix</a> == 'x')
|
|
<a id='L1009' name='L1009'></a>1009 <em class='brace'>{</em>
|
|
<a id='L1010' name='L1010'></a>1010 <a href='../Y/uintmax_t.html' title='Multiple used in 111 places.'>uintmax_t</a> <a href='../Y/multiplier.html' title='Multiple used in 4 places.'>multiplier</a>;
|
|
<a id='L1011' name='L1011'></a>1011
|
|
<a id='L1012' name='L1012'></a>1012 <a href='../Y/multiplier.html' title='Multiple used in 4 places.'>multiplier</a> = <a href='../S/lib--strutil--strutil.c.html#L1001' title='Defined at 1001 in lib/strutil/strutil.c.'>parse_integer</a> (<a href='../Y/suffix.html' title='Multiple used in 14 places.'>suffix</a> + 1, <a href='../Y/invalid.html' title='Multiple used in 9 places.'>invalid</a>);
|
|
<a id='L1013' name='L1013'></a>1013 <strong class='reserved'>if</strong> (<a href='../Y/multiplier.html' title='Multiple used in 4 places.'>multiplier</a> != 0 && <a href='../Y/n.html' title='Multiple used in 251 places.'>n</a> * <a href='../Y/multiplier.html' title='Multiple used in 4 places.'>multiplier</a> / <a href='../Y/multiplier.html' title='Multiple used in 4 places.'>multiplier</a> != <a href='../Y/n.html' title='Multiple used in 251 places.'>n</a>)
|
|
<a id='L1014' name='L1014'></a>1014 <em class='brace'>{</em>
|
|
<a id='L1015' name='L1015'></a>1015 *<a href='../Y/invalid.html' title='Multiple used in 9 places.'>invalid</a> = <a href='../Y/TRUE.html' title='Multiple used in 1990 places.'>TRUE</a>;
|
|
<a id='L1016' name='L1016'></a>1016 <strong class='reserved'>return</strong> 0;
|
|
<a id='L1017' name='L1017'></a>1017 <em class='brace'>}</em>
|
|
<a id='L1018' name='L1018'></a>1018
|
|
<a id='L1019' name='L1019'></a>1019 <a href='../Y/n.html' title='Multiple used in 251 places.'>n</a> *= <a href='../Y/multiplier.html' title='Multiple used in 4 places.'>multiplier</a>;
|
|
<a id='L1020' name='L1020'></a>1020 <em class='brace'>}</em>
|
|
<a id='L1021' name='L1021'></a>1021 <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../Y/e.html' title='Multiple used in 237 places.'>e</a> != <a href='../S/lib--strutil.h.html#L91' title='Defined at 91 in lib/strutil.h.'>LONGINT_OK</a>)
|
|
<a id='L1022' name='L1022'></a>1022 <em class='brace'>{</em>
|
|
<a id='L1023' name='L1023'></a>1023 *<a href='../Y/invalid.html' title='Multiple used in 9 places.'>invalid</a> = <a href='../Y/TRUE.html' title='Multiple used in 1990 places.'>TRUE</a>;
|
|
<a id='L1024' name='L1024'></a>1024 <a href='../Y/n.html' title='Multiple used in 251 places.'>n</a> = 0;
|
|
<a id='L1025' name='L1025'></a>1025 <em class='brace'>}</em>
|
|
<a id='L1026' name='L1026'></a>1026
|
|
<a id='L1027' name='L1027'></a>1027 <strong class='reserved'>return</strong> <a href='../Y/n.html' title='Multiple used in 251 places.'>n</a>;
|
|
<a id='L1028' name='L1028'></a>1028 <em class='brace'>}</em>
|
|
<a id='L1029' name='L1029'></a>1029
|
|
<a id='L1030' name='L1030'></a>1030 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
<a id='L1031' name='L1031'></a>1031
|
|
<a id='L1032' name='L1032'></a>1032 <em class='comment'>/**</em>
|
|
<a id='L1033' name='L1033'></a>1033 <em class='comment'> * Strips single right (trailing) EOL (\\r, \\n, or \\r\\n), NULL-safe</em>
|
|
<a id='L1034' name='L1034'></a>1034 <em class='comment'> */</em>
|
|
<a id='L1035' name='L1035'></a>1035 <strong class='reserved'>void</strong>
|
|
<a id='L1036' name='L1036'></a>1036 <a href='../R/str_rstrip_eol.html' title='Multiple referred from 5 places.'>str_rstrip_eol</a> (<strong class='reserved'>char</strong> *<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>)
|
|
<em class='comment'>/* <a href='#L1001'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+1036 lib/strutil/strutil.c' /> */</em>
|
|
<a id='L1037' name='L1037'></a>1037 <em class='brace'>{</em>
|
|
<a id='L1038' name='L1038'></a>1038 <strong class='reserved'>if</strong> (<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a> == <a href='../Y/NULL.html' title='Multiple used in 5498 places.'>NULL</a> || *<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a> == '\0')
|
|
<a id='L1039' name='L1039'></a>1039 <strong class='reserved'>return</strong>;
|
|
<a id='L1040' name='L1040'></a>1040
|
|
<a id='L1041' name='L1041'></a>1041 <strong class='reserved'>const</strong> <a href='../Y/size_t.html' title='Multiple used in 711 places.'>size_t</a> <a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> = <a href='../Y/strlen.html' title='Multiple used in 193 places.'>strlen</a> (<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>);
|
|
<a id='L1042' name='L1042'></a>1042 <strong class='reserved'>if</strong> (<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> >= 2 && <a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>[<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> - 2] == '\r' && <a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>[<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> - 1] == '\n') <em class='comment'>// removes \r\n</em>
|
|
<a id='L1043' name='L1043'></a>1043 <a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>[<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> - 2] = '\0';
|
|
<a id='L1044' name='L1044'></a>1044 <strong class='reserved'>else</strong> <strong class='reserved'>if</strong> (<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> >= 1 && (<a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>[<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> - 1] == '\n' || <a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>[<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> - 1] == '\r')) <em class='comment'>// removes \n or \r</em>
|
|
<a id='L1045' name='L1045'></a>1045 <a href='../Y/s.html' title='Multiple used in 822 places.'>s</a>[<a href='../Y/len.html' title='Multiple used in 1039 places.'>len</a> - 1] = '\0';
|
|
<a id='L1046' name='L1046'></a>1046 <em class='brace'>}</em>
|
|
<a id='L1047' name='L1047'></a>1047
|
|
<a id='L1048' name='L1048'></a>1048 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
|
|
</pre>
|
|
<hr />
|
|
<a id='BOTTOM' name='BOTTOM'></a>
|
|
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L99'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L1036'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a> <input type='text' readonly onfocus='this.select();' value='+1048 lib/strutil/strutil.c' /> */</em>
|
|
</body>
|
|
</html>
|