Home
last modified time | relevance | path

Searched refs:text_length (Results 1 – 25 of 1776) sorted by relevance

12345678910>>...72

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/win/
H A Dtext_analysis_source.cc27 UINT32* text_length, in GetLocaleName() argument
31 *text_length = text_.length() - text_position; in GetLocaleName()
38 UINT32* text_length, in GetNumberSubstitution() argument
42 *text_length = text_.length() - text_position; in GetNumberSubstitution()
53 UINT32* text_length) { in GetTextAtPosition() argument
54 if (!text_length || !text_string) in GetTextAtPosition()
58 *text_length = 0; in GetTextAtPosition()
62 *text_length = text_.length() - text_position; in GetTextAtPosition()
69 if (!text_length || !text_string) in GetTextBeforePosition()
73 *text_length = 0; in GetTextBeforePosition()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/win/
H A Dtext_analysis_source.cc27 UINT32* text_length, in GetLocaleName() argument
31 *text_length = text_.length() - text_position; in GetLocaleName()
38 UINT32* text_length, in GetNumberSubstitution() argument
42 *text_length = text_.length() - text_position; in GetNumberSubstitution()
53 UINT32* text_length) { in GetTextAtPosition() argument
54 if (!text_length || !text_string) in GetTextAtPosition()
58 *text_length = 0; in GetTextAtPosition()
62 *text_length = text_.length() - text_position; in GetTextAtPosition()
69 if (!text_length || !text_string) in GetTextBeforePosition()
73 *text_length = 0; in GetTextBeforePosition()
[all …]
/dports/graphics/p5-Image-PNG-Libpng/Image-PNG-Libpng-0.57/t/
H A Dget-text.t42 text_length => 8,
51 text_length => 42,
63 text_length => 46,
82 text_length => 48,
94 text_length => 9,
110 text_length => 8,
116 text_length => 42,
159 text_length => 9,
175 text_length => 0,
184 text_length => 0,
[all …]
/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnscore/src/
H A Dparser.c799 parser->text_length = 0; in parser_next_token()
845 u32 offset = parser->text_length; in parser_next_characters()
871 parser->text_length = offset - 1; in parser_next_characters()
877 return parser->text_length; in parser_next_characters()
888 u32 offset = parser->text_length; in parser_next_characters_nospace()
911 parser->text_length = offset; in parser_next_characters_nospace()
925 return parser->text_length; in parser_next_characters_nospace()
977 return parser->text_length; in parser_concat_next_tokens()
992 offset = parser->text_length; in parser_concat_current_and_next_tokens_nospace()
1026 return parser->text_length; in parser_concat_current_and_next_tokens_nospace()
[all …]
/dports/net-im/toot/toot-0.28.0/toot/
H A Dwcstring.py80 text_length = wcswidth(text)
82 if text_length <= length:
93 if text_length - trunc_length <= length:
103 text_length = wcswidth(text)
105 if text_length < length:
106 return text + ' ' * (length - text_length)
113 text_length = wcswidth(text)
115 if text_length > length:
118 if text_length < length:
/dports/databases/unixODBC/unixODBC-2.3.9/DriverManager/
H A DSQLPrepare.c135 SQLINTEGER text_length ) in SQLPrepareA() argument
139 text_length ); in SQLPrepareA()
144 SQLINTEGER text_length ) in SQLPrepare() argument
174 if ( statement_text && text_length == SQL_NTS ) in SQLPrepare()
180 s1 = malloc( text_length + 100 ); in SQLPrepare()
191 __string_with_length( s1, statement_text, text_length )); in SQLPrepare()
219 if ( text_length <= 0 && text_length != SQL_NTS ) in SQLPrepare()
317 s1 = ansi_to_unicode_alloc( statement_text, text_length, statement -> connection, &wlen ); in SQLPrepare()
319 text_length = wlen; in SQLPrepare()
324 text_length ); in SQLPrepare()
[all …]
H A DSQLPrepareW.c84 SQLINTEGER text_length ) in SQLPrepareW() argument
127 text_length ); in SQLPrepareW()
143 if ( statement_text && text_length == SQL_NTS ) in SQLPrepareW()
149 s1 = malloc( text_length + 100 ); in SQLPrepareW()
160 __wstring_with_length( s1, statement_text, text_length )); in SQLPrepareW()
188 if ( text_length <= 0 && text_length != SQL_NTS ) in SQLPrepareW()
287 text_length ); in SQLPrepareW()
309 …as1 = (SQLCHAR*) unicode_to_ansi_alloc( statement_text, text_length, statement -> connection, &cle… in SQLPrepareW()
311 text_length = clen; in SQLPrepareW()
316 text_length ); in SQLPrepareW()
H A DSQLErrorW.c101 SQLSMALLINT *text_length ) in extract_parent_handle_err() argument
162 text_length ); in extract_parent_handle_err()
181 SQLSMALLINT *text_length ) in local_extract_sql_error_w() argument
245 if ( text_length ) in local_extract_sql_error_w()
247 *text_length = wide_strlen( err -> msg ); in local_extract_sql_error_w()
279 SQLSMALLINT *text_length ) in SQLErrorW() argument
304 …ction_handle, statement_handle, sqlstate, native_error, message_text, buffer_length, text_length ); in SQLErrorW()
320 …ction_handle, statement_handle, sqlstate, native_error, message_text, buffer_length, text_length ); in SQLErrorW()
372 text_length ); in SQLErrorW()
399 text_length ); in SQLErrorW()
[all …]
H A DSQLExecDirect.c179 SQLINTEGER text_length ) in SQLExecDirectA() argument
183 text_length ); in SQLExecDirectA()
188 SQLINTEGER text_length ) in SQLExecDirect() argument
218 if ( statement_text && text_length == SQL_NTS ) in SQLExecDirect()
224 s1 = malloc( text_length + LOG_MESSAGE_LEN ); in SQLExecDirect()
235 __string_with_length( s1, statement_text, text_length )); in SQLExecDirect()
263 if ( text_length <= 0 && text_length != SQL_NTS ) in SQLExecDirect()
380 s1 = ansi_to_unicode_alloc( statement_text, text_length, statement -> connection, &wlen ); in SQLExecDirect()
382 text_length = wlen; in SQLExecDirect()
387 text_length ); in SQLExecDirect()
[all …]
H A DSQLError.c192 SQLSMALLINT *text_length, in local_extract_sql_error() argument
256 if ( text_length ) in local_extract_sql_error()
258 *text_length = strlen( str ); in local_extract_sql_error()
292 SQLSMALLINT *text_length ) in SQLErrorA() argument
301 text_length ); in SQLErrorA()
311 SQLSMALLINT *text_length ) in SQLError() argument
421 text_length ); in SQLError()
448 text_length, in SQLError()
464 text_length, message_text )); in SQLError()
H A DSQLExecDirectW.c96 SQLINTEGER text_length ) in SQLExecDirectW() argument
139 text_length ); in SQLExecDirectW()
155 if ( statement_text && text_length == SQL_NTS ) in SQLExecDirectW()
161 s1 = malloc( text_length + LOG_MESSAGE_LEN * 2 ); in SQLExecDirectW()
172 __wstring_with_length( s1, statement_text, text_length )); in SQLExecDirectW()
200 if ( text_length <= 0 && text_length != SQL_NTS ) in SQLExecDirectW()
315 text_length ); in SQLExecDirectW()
355 …as1 = (SQLCHAR*) unicode_to_ansi_alloc( statement_text, text_length, statement -> connection, &cle… in SQLExecDirectW()
357 text_length = clen; in SQLExecDirectW()
362 text_length ); in SQLExecDirectW()
/dports/databases/unixODBC/unixODBC-2.3.9/cur/
H A DSQLPrepare.c60 SQLINTEGER text_length ) in CLPrepare() argument
72 if ( text_length < 0 ) in CLPrepare()
78 cl_statement -> sql_text = malloc( text_length + 1 ); in CLPrepare()
79 memcpy( cl_statement -> sql_text, statement_text, text_length ); in CLPrepare()
80 cl_statement -> sql_text[ text_length ] = '\0'; in CLPrepare()
86 text_length ); in CLPrepare()
/dports/x11/xlockmore/xlockmore-5.67/modes/glx/
H A Dtext3d2.cc294 int text_length; in draw_text() local
301 if (text_length == 0) in draw_text()
302 text_length = strlen(tp->words); in draw_text()
306 c_text[text_length] = 0; in draw_text()
307 c_text[text_length+1] = 0; in draw_text()
315 c_text[text_length] = 0; in draw_text()
316 c_text[text_length+1] = 0; in draw_text()
503 if (text_length == 0) in draw_text3d2()
506 tp->words += text_length; in draw_text3d2()
507 text_length = strlen(tp->words); in draw_text3d2()
[all …]
/dports/audio/rhvoice/RHVoice-1.2.4/src/include/core/
H A Devents.hpp68 std::size_t text_start,text_length; member in RHVoice::text_unit_event
72 text_length(0) in text_unit_event()
84text_length=token_rel.last().get("position").as<std::size_t>()+token_rel.last().get("length").as<s… in sentence_event()
98 return c.sentence_starts(text_start,text_length); in notify()
112 return c.sentence_ends(text_start,text_length); in notify()
122 text_length=token.get("length").as<std::size_t>(); in word_event()
136 return c.word_starts(text_start,text_length); in notify()
150 return c.word_ends(text_start,text_length); in notify()
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/x11/
H A Dgdkfont-x11.c507 gint text_length) in gdk_text_width() argument
555 gint text_length) in gdk_text_width_wc() argument
596 text_wchar = g_new(wchar_t, text_length); in gdk_text_width_wc()
626 gint text_length, in gdk_text_extents() argument
653 XTextExtents (xfont, text, text_length, in gdk_text_extents()
708 gint text_length, in gdk_text_extents_wc() argument
739 text_8bit = g_new (gchar, text_length); in gdk_text_extents_wc()
740 for (i=0; i<text_length; i++) in gdk_text_extents_wc()
743 XTextExtents (xfont, text_8bit, text_length, in gdk_text_extents_wc()
770 text_wchar = g_new (wchar_t, text_length); in gdk_text_extents_wc()
[all …]
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/directfb/
H A Dgdkfont-directfb.c196 gint text_length) in gdk_text_width() argument
202 return (text_length * private->size) / 2; in gdk_text_width()
208 gint text_length) in gdk_text_width_wc() argument
216 gint text_length, in gdk_text_extents() argument
228 *width = gdk_text_width (font, text, text_length); in gdk_text_extents()
238 gint text_length, in gdk_text_extents_wc() argument
248 realstr = alloca (text_length + 1); in gdk_text_extents_wc()
250 for(i = 0; i < text_length; i++) in gdk_text_extents_wc()
257 text_length, in gdk_text_extents_wc()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/dwrote-0.9.0/src/
H A Dtext_analysis_source_impl.rs116 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetLocaleName()
123 *text_length = text_len; in CustomTextAnalysisSourceImpl_GetLocaleName()
131 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
139 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
155 text_length: *mut UINT32) in CustomTextAnalysisSourceImpl_GetTextAtPosition()
160 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
164 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
172 text_length: *mut UINT32) in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
177 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
181 *text_length = text_position; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
/dports/games/flare-engine/flare-engine-1.12/src/
H A DSDLFontEngine.cpp155 size_t text_length = text.length(); in trimTextToWidth() local
156 size_t ret_length = text_length; in trimTextToWidth()
159 for (size_t i=text_length; i>0; i--) { in trimTextToWidth()
166 else if (left_pos < text_length - ret_length) { in trimTextToWidth()
173 if (total_width < calc_width(text.substr(text_length-ret_length))) in trimTextToWidth()
185 if (left_pos < text_length - ret_length) in trimTextToWidth()
188 return text.substr(text_length-ret_length); in trimTextToWidth()
191 if (text_length <= 3) in trimTextToWidth()
194 if (text_length-ret_length < 3) in trimTextToWidth()
195 ret_length = text_length-3; in trimTextToWidth()
/dports/devel/libmba/libmba-0.9.1/tcase/tests/
H A DTextTest.c26 T(text_length(NULL, NULL) == 0); in TextTest()
27 T(text_length(hello, NULL) == 0); in TextTest()
28 T(text_length(hello + 3, hello) == 0); in TextTest()
29 T(text_length(hello, hello) == 0); in TextTest()
30 T(text_length(hello, hello + 1) == 0); in TextTest()
31 T(text_length(hello, hello + 4) == 0); in TextTest()
32 T(text_length(a, a + 1) == 0); in TextTest()
33 T(text_length(a, a + 2) == 1); in TextTest()
34 T(text_length(a + 1, a + 2) == 0); in TextTest()
35 T(text_length(hello, hello + 100) == 5); in TextTest()
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/dwrote-0.10.0/src/
H A Dtext_analysis_source_impl.rs117 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetLocaleName()
124 *text_length = text_len; in CustomTextAnalysisSourceImpl_GetLocaleName()
132 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
140 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
156 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetTextAtPosition()
161 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
165 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
173 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
178 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
182 *text_length = text_position; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
/dports/mail/libetpan/libetpan-1.9.4/src/driver/implementation/imap/
H A Dimapdriver_message.c205 size_t text_length; in imap_fetch() local
275 text_length = 0; in imap_fetch()
294 text_length = in imap_fetch()
330 size_t text_length; in imap_fetch_header() local
400 text_length = 0; in imap_fetch_header()
419 text_length = in imap_fetch_header()
524 text_length = 0; in imap_fetch_body()
543 text_length = in imap_fetch_body()
867 text_length = 0; in fetch_imap()
879 text_length = in fetch_imap()
[all …]
/dports/security/yapet/yapet-2.3/libyacurs/src/
H A Dlineobject.cc65 size_t LineObject::text_length() const { in text_length() function in LineObject
85 if (text_length() < 1) return; in put_line()
88 if (static_cast<std::string::size_type>(area().cols()) <= text_length()) { in put_line()
103 text_length()); in put_line()
104 hpos = (area().cols() - text_length()) / 2; in put_line()
109 text_length()); in put_line()
110 hpos = area().cols() - text_length(); in put_line()
/dports/editors/setzer/Setzer-0.4.1/setzer/document/latex/parser/
H A Dlatex_parser.py28 self.text_length = 0
56 text_length = offset_end - offset_start
62 self.text_length = char_count - offset_end + offset_start
90 …_symbol_matches['others'].append((match[0], match[1] - deleted_line_count, match[2] - text_length))
93 other_symbols.append((match[0], match[1] - text_length))
104 buffer, location_iter, text, text_length = parameter
105 text_length = len(text)
119 self.text_length = char_count + text_length
145 …lock_symbol_matches['others'].append((match[0], match[1] + new_line_count, match[2] + text_length))
148 other_symbols.append((match[0], match[1] - text_length))
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/dwrote/src/
H A Dtext_analysis_source_impl.rs133 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetLocaleName()
150 *text_length = text_len; in CustomTextAnalysisSourceImpl_GetLocaleName()
158 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
166 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
190 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetTextAtPosition()
195 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
199 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
207 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
212 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
216 *text_length = text_position; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/dwrote/src/
H A Dtext_analysis_source_impl.rs133 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetLocaleName()
150 *text_length = text_len; in CustomTextAnalysisSourceImpl_GetLocaleName()
158 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
166 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetNumberSubstitution()
190 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetTextAtPosition()
195 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
199 *text_length = (this.text.len() as UINT32) - text_position; in CustomTextAnalysisSourceImpl_GetTextAtPosition()
207 text_length: *mut UINT32, in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
212 *text_length = 0; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()
216 *text_length = text_position; in CustomTextAnalysisSourceImpl_GetTextBeforePosition()

12345678910>>...72