Home
last modified time | relevance | path

Searched refs:start_pos (Results 226 – 250 of 6626) sorted by relevance

12345678910>>...266

/dports/textproc/py-tinycss2/tinycss2-1.1.1/tinycss2/
H A Dtokenizer.py240 start_pos = pos
251 start_pos = pos
267 start_pos = pos
284 start_pos = pos
335 start_pos = pos
355 start_pos = pos
399 start_pos = pos
403 start = css[start_pos:pos]
405 start_pos = pos
417 start_pos = pos
[all …]
/dports/textproc/py-parso/parso-0.8.3/parso/
H A Dtree.py137 def start_pos(self) -> Tuple[int, int]: member in NodeOrLeaf
301 self.start_pos = start_pos
313 def start_pos(self) -> Tuple[int, int]: member in Leaf
316 @start_pos.setter
317 def start_pos(self, value: Tuple[int, int]) -> None: member in Leaf
362 def __init__(self, type, value, start_pos, prefix=''): argument
363 super().__init__(value, start_pos, prefix)
388 def start_pos(self) -> Tuple[int, int]: member in BaseNode
389 return self.children[0].start_pos
449 (type(self).__name__, code, self.start_pos[0], self.start_pos[1])
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/network/mime/
H A Dcontent_type.cc76 unsigned start_pos = 0; in ParseParameters() local
81 if (cur_pos != start_pos) { in ParseParameters()
83 stripped_type.Substring(start_pos, cur_pos - start_pos)); in ParseParameters()
85 start_pos = cur_pos + 1; in ParseParameters()
92 if (start_pos != end_pos) in ParseParameters()
93 result.push_back(stripped_type.Substring(start_pos)); in ParseParameters()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/network/mime/
H A Dcontent_type.cc76 unsigned start_pos = 0; in ParseParameters() local
81 if (cur_pos != start_pos) { in ParseParameters()
83 stripped_type.Substring(start_pos, cur_pos - start_pos)); in ParseParameters()
85 start_pos = cur_pos + 1; in ParseParameters()
92 if (start_pos != end_pos) in ParseParameters()
93 result.push_back(stripped_type.Substring(start_pos)); in ParseParameters()
/dports/security/rhash/RHash-1.4.2/
H A Dcommon_func.c131 if (start_pos > len1) in wcs_replace_n()
132 start_pos = end_pos = len1; in wcs_replace_n()
135 else if (start_pos > end_pos) in wcs_replace_n()
136 end_pos = start_pos; in wcs_replace_n()
137 result_len = len1 + len2 - (end_pos - start_pos); in wcs_replace_n()
165 if (start_pos > len1) in str_replace_n()
166 start_pos = end_pos = len1; in str_replace_n()
169 else if (start_pos > end_pos) in str_replace_n()
170 end_pos = start_pos; in str_replace_n()
173 memcpy(result, src, start_pos); in str_replace_n()
[all …]
/dports/sysutils/zeitgeist/zeitgeist-1.0.3/extensions/fts++/
H A Dstringutils.cpp101 size_t start_pos = has_double_slash ? colon_pos + 3 : colon_pos + 1; in SplitUri() local
103 size_t first_slash = uri.find ('/', start_pos); in SplitUri()
105 start_pos : first_slash + 1); in SplitUri()
107 authority = uri.substr (start_pos); in SplitUri()
110 authority.resize (first_slash - start_pos); in SplitUri()
114 authority.resize (question_mark_pos - start_pos); in SplitUri()
119 first_slash = start_pos + authority.length (); in SplitUri()
153 gint start_pos; in matcher_cb() local
154 g_match_info_fetch_pos (match_info, 0, &start_pos, NULL); in matcher_cb()
155 if (start_pos != 0) g_string_append_c (result, ' '); in matcher_cb()
/dports/textproc/py-parso/parso-0.8.3/test/
H A Dtest_prefix.py33 start_pos = (1, 0)
39 end_pos = start_pos[0] + 1, 0
41 end_pos = start_pos[0], start_pos[1] + len(expected) + len(pt.spacing)
45 start_pos = end_pos
68 assert expr_stmt.start_pos == (1, 0)
74 assert [p.start_pos for p in parts] == [(1, 0), (1, 0), (2, 0)]
H A Dtest_normalizer_issues_files.py23 return self.code == other.code and self.start_pos == other.start_pos
26 return self.start_pos < other.start_pos or self.code < other.code
32 def start_pos(self) -> Tuple[int, int]: member in WantedIssue
53 issues = sorted(issues, key=lambda i: (i.start_pos, i.code))
54 return ["(%s, %s): %s" % (i.start_pos[0], i.start_pos[1], i.code)
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/tests/audio/
H A Dmidi_note.c43 Position start_pos, end_pos;
44 position_set_to_bar (&start_pos, 2);
48 &start_pos, &end_pos, 0, 0, 0);
60 Position start_pos, end_pos;
61 position_set_to_bar (&start_pos, 2);
66 &start_pos, &end_pos, val,
74 &start_pos, &mn_obj->pos));
/dports/net/eternalterminal/EternalTerminal-et-v5.1.9/src/base/
H A DHeaders.hpp131 size_t start_pos = str.find(from); in replace() local
132 if (start_pos == std::string::npos) return false; in replace()
133 str.replace(start_pos, from.length(), to); in replace()
141 size_t start_pos = 0; in replaceAll() local
142 while ((start_pos = str.find(from, start_pos)) != std::string::npos) { in replaceAll()
144 str.replace(start_pos, from.length(), to); in replaceAll()
145 start_pos += to.length(); // In case 'to' contains 'from', like replacing in replaceAll()
/dports/devel/courier-unicode/courier-unicode-2.2.3/
H A Dunicode_tablookup.c41 const size_t start_pos=unicode_starting_pagetab[n]; in unicode_tab_lookup() local
42 const uint8_t (*p)[2]=unicode_rangetab + start_pos; in unicode_tab_lookup()
46 : unicode_starting_pagetab[n+1]) - start_pos; in unicode_tab_lookup()
58 unicode_classtab[start_pos+n] in unicode_tab_lookup()
104 const size_t start_pos=unicode_starting_pagetab[n]; in unicode_tab32_lookup() local
105 const uint8_t (*p)[2]=unicode_rangetab + start_pos; in unicode_tab32_lookup()
109 : unicode_starting_pagetab[n+1]) - start_pos; in unicode_tab32_lookup()
121 unicode_classtab[start_pos+n] in unicode_tab32_lookup()
/dports/mail/spamprobe/spamprobe-1.4d/src/utility/
H A DRegularExpression.cc120 md.start_pos = 0; in match()
123 md.start_pos = matches[i].rm_so; in match()
192 text.erase(match_data->start_pos, match_data->end_pos - match_data->start_pos + 1); in removeMatch()
202 …text.replace(match_data->start_pos, match_data->end_pos - match_data->start_pos + 1, replace_with); in replaceMatch()
219 matched_string = m_text.substr(md.start_pos, md.end_pos - md.start_pos); in getMatch()
229 matched_string = m_text.substr(md.start_pos, md.end_pos - md.start_pos); in getMatch()
/dports/comms/rtl-433/rtl_433-21.12/src/devices/
H A Dinsteon.c125 start_pos += 7; in parse_insteon_pkt()
157 next_pos = bitbuffer_manchester_decode(bits, row, start_pos, &i_bits, 5); in parse_insteon_pkt()
168 bitbuffer_extract_bytes(bits, row, start_pos + 26, &i, 2); in parse_insteon_pkt()
188 … __func__, start_pos, bits->bits_per_row[row], (bits->bits_per_row[row] - start_pos)); in parse_insteon_pkt()
192 bitbuffer_extract_bytes(bits, row, start_pos - 2, buffy, 30); in parse_insteon_pkt()
194 __func__, pkt_i, pkt_d, next_pos, (next_pos - start_pos), 0); in parse_insteon_pkt()
221 start_pos += 28; in parse_insteon_pkt()
224 next_pos = bitbuffer_manchester_decode(bits, row, start_pos, &i_bits, 5); in parse_insteon_pkt()
227 y = (next_pos - start_pos); in parse_insteon_pkt()
244 bitbuffer_extract_bytes(bits, row, start_pos - 2, buffy, 30); in parse_insteon_pkt()
[all …]
/dports/math/onednn/oneDNN-2.5.1/tests/benchdnn/utils/
H A Dparser.cpp220 size_t start_pos = 0; in parse_prb_vdims() local
246 if (start_pos != eol) prb_vdims.name = str.substr(start_pos); in parse_prb_vdims()
250 size_t start_pos = 0; in parse_prb_dims() local
257 if (start_pos != eol) prb_dims.name = str.substr(start_pos); in parse_prb_dims()
320 auto start_pos = s.find_first_of(':'); in parse_engine() local
321 if (start_pos != eol) engine_index = stoi(s.substr(start_pos + 1)); in parse_engine()
370 size_t start_pos = 0; in parse_skip_impl() local
371 while (start_pos != eol) { in parse_skip_impl()
372 start_pos = skip_impl.find_first_of(c, start_pos); in parse_skip_impl()
373 if (start_pos != eol) skip_impl.erase(start_pos, 1); in parse_skip_impl()
[all …]
/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.5.2/src-separate/
H A Dduk_bi_string.c196 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_substring()
201 start_pos = end_pos; in duk_bi_string_prototype_substring()
235 if (start_pos < 0) { in duk_bi_string_prototype_substr()
236 start_pos = len + start_pos; in duk_bi_string_prototype_substr()
238 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_substr()
245 end_pos = start_pos + duk_to_int_clamped(ctx, 1, 0, len - start_pos); in duk_bi_string_prototype_substr()
247 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_substr()
273 if (start_pos < 0) { in duk_bi_string_prototype_slice()
274 start_pos = len + start_pos; in duk_bi_string_prototype_slice()
284 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_slice()
[all …]
/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.8.0/src-separate/
H A Dduk_bi_string.c196 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_substring()
201 start_pos = end_pos; in duk_bi_string_prototype_substring()
235 if (start_pos < 0) { in duk_bi_string_prototype_substr()
236 start_pos = len + start_pos; in duk_bi_string_prototype_substr()
238 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_substr()
245 end_pos = start_pos + duk_to_int_clamped(ctx, 1, 0, len - start_pos); in duk_bi_string_prototype_substr()
247 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_substr()
273 if (start_pos < 0) { in duk_bi_string_prototype_slice()
274 start_pos = len + start_pos; in duk_bi_string_prototype_slice()
284 DUK_ASSERT(start_pos >= 0 && start_pos <= len); in duk_bi_string_prototype_slice()
[all …]
/dports/x11-toolkits/gtksourceview3/gtksourceview-3.24.11/gtksourceview/
H A Dgtksourceregex.c330 gint *start_pos, /* character offsets */ in _gtk_source_regex_fetch_pos() argument
340 if (start_pos != NULL) in _gtk_source_regex_fetch_pos()
341 *start_pos = -1; in _gtk_source_regex_fetch_pos()
347 if (start_pos != NULL) in _gtk_source_regex_fetch_pos()
360 gint start_pos; in _gtk_source_regex_fetch_pos_bytes() local
367 start_pos = -1; in _gtk_source_regex_fetch_pos_bytes()
372 *start_pos_p = start_pos; in _gtk_source_regex_fetch_pos_bytes()
381 gint *start_pos, /* character offsets */ in _gtk_source_regex_fetch_named_pos() argument
390 if (start_pos != NULL) in _gtk_source_regex_fetch_named_pos()
391 *start_pos = -1; in _gtk_source_regex_fetch_named_pos()
[all …]
/dports/x11-toolkits/gtksourceview4/gtksourceview-4.8.1/gtksourceview/
H A Dgtksourceregex.c329 gint *start_pos, /* character offsets */ in _gtk_source_regex_fetch_pos() argument
339 if (start_pos != NULL) in _gtk_source_regex_fetch_pos()
340 *start_pos = -1; in _gtk_source_regex_fetch_pos()
346 if (start_pos != NULL) in _gtk_source_regex_fetch_pos()
359 gint start_pos; in _gtk_source_regex_fetch_pos_bytes() local
366 start_pos = -1; in _gtk_source_regex_fetch_pos_bytes()
371 *start_pos_p = start_pos; in _gtk_source_regex_fetch_pos_bytes()
380 gint *start_pos, /* character offsets */ in _gtk_source_regex_fetch_named_pos() argument
389 if (start_pos != NULL) in _gtk_source_regex_fetch_named_pos()
390 *start_pos = -1; in _gtk_source_regex_fetch_named_pos()
[all …]
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/src/audio/
H A Dmetronome.c159 const Position * start_pos, in find_and_queue_metronome() argument
164 if (start_pos->frames == end_pos->frames) in find_and_queue_metronome()
170 position_get_total_bars (start_pos, false); in find_and_queue_metronome()
179 position_to_string (start_pos, start_pos_str); in find_and_queue_metronome()
188 if (start_pos->frames == 0) in find_and_queue_metronome()
206 bar_pos.frames - start_pos->frames; in find_and_queue_metronome()
212 position_print (start_pos); in find_and_queue_metronome()
236 position_get_total_beats (start_pos, false); in find_and_queue_metronome()
258 if (beat_pos.frames < start_pos->frames) in find_and_queue_metronome()
260 beat_pos.frames = start_pos->frames; in find_and_queue_metronome()
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/relative_positioning/
H A Dgap.rb8 def initialize(start_pos, end_pos) argument
9 @start_pos = start_pos
14 other.is_a?(self.class) && other.start_pos == start_pos && other.end_pos == end_pos
18 ((start_pos - end_pos) / 2.0).abs.ceil.clamp(0, RelativePositioning::IDEAL_DISTANCE)
/dports/devel/csmith/csmith-2.3.0/src/
H A DStringUtils.cpp118 size_t start_pos = 0; in split_string() local
121 start_pos = pos; in split_string()
123 std::string s = str.substr(start_pos, (pos - start_pos)); in split_string()
137 size_t start_pos = 0; in split_string() local
140 start_pos = pos; in split_string()
142 std::string s = str.substr(start_pos, (pos - start_pos)); in split_string()
156 size_t start_pos = 0; in split_int_string() local
159 start_pos = pos; in split_int_string()
161 std::string s = str.substr(start_pos, (pos - start_pos)); in split_int_string()
/dports/biology/star/STAR-2.7.9a/source/
H A DstringSubstituteAll.cpp5 size_t start_pos = 0; in stringSubstituteAll() local
6 while((start_pos = str.find(from, start_pos)) != std::string::npos) { in stringSubstituteAll()
7 str.replace(start_pos, from.length(), to); in stringSubstituteAll()
8 start_pos += to.length(); // In case 'to' contains 'from', like replacing 'x' with 'yx' in stringSubstituteAll()
/dports/biology/p5-transdecoder/TransDecoder-TransDecoder-v5.4.0/PerlLib/
H A DLongest_orf.pm289 foreach my $start_pos (@{$starts_ref}) {
290 my $start_pos_frame = $start_pos % 3;
293 if ( ($stop_pos > $start_pos) && #end3 > end5
294 ( ($stop_pos - $start_pos) % 3 == 0) #must be in-frame
295 && ($start_pos > $last_delete_pos{$start_pos_frame})) #only count each stop once.
299 my ($start_pos_adj, $stop_pos_adj) = ( ($start_pos+1), ($stop_pos+1+2));
307 …my $orfSeq = substr ($seq, $start_pos, ($stop_pos - $start_pos + 3)); #include the stop codon too.
366 my $start_pos = index ($seq, "atg");
367 while ($start_pos != -1) {
368 $starts{$start_pos} = 1;
[all …]
/dports/lang/ruby26/ruby-2.6.9/lib/rdoc/markup/
H A Dattribute_manager.rb119 def copy_string(start_pos, end_pos) argument
120 res = @str[start_pos...end_pos]
301 start_pos = i
307 if i > start_pos
308 res << copy_string(start_pos, i)
309 start_pos = i
320 copy_string(start_pos, i))
321 start_pos = i
333 if start_pos < str_len
334 res << copy_string(start_pos, str_len)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/page/scrolling/
H A Dtext_fragment_anchor.cc34 size_t start_pos = 0; in ParseTextDirective() local
38 start_pos) { in ParseTextDirective()
40 end_pos = fragment_directive.find('&', start_pos + 1); in ParseTextDirective()
41 start_pos = end_pos + 1; in ParseTextDirective()
45 start_pos += kTextFragmentIdentifierPrefixStringLength; in ParseTextDirective()
46 end_pos = fragment_directive.find('&', start_pos); in ParseTextDirective()
50 target_text = fragment_directive.Substring(start_pos); in ParseTextDirective()
53 fragment_directive.Substring(start_pos, end_pos - start_pos); in ParseTextDirective()
54 start_pos = end_pos + 1; in ParseTextDirective()
139 wtf_size_t start_pos = fragment.Find(kFragmentDirectivePrefix); in GenerateNewTokenForSameDocument() local
[all …]

12345678910>>...266