Home
last modified time | relevance | path

Searched refs:found_idx (Results 1 – 25 of 37) sorted by relevance

12

/dports/www/R-cran-httpuv/httpuv/src/
H A Dfs.cpp16 size_t found_idx = filename.find_last_of('.'); in find_extension() local
18 if (found_idx <= 0) { in find_extension()
21 return filename.substr(found_idx + 1); in find_extension()
28 size_t found_idx = path.find_last_of('/'); in basename() local
30 if (found_idx == std::string::npos) { in basename()
33 return path.substr(found_idx + 1); in basename()
H A Dstaticpath.cpp343 size_t found_idx = path.length() + 1; in matchStaticPath() local
358 if (found_idx == 0) { in matchStaticPath()
364 found_idx = path.find_last_of('/', found_idx - 1); in matchStaticPath()
366 if (found_idx == std::string::npos) { in matchStaticPath()
374 pre_slash = path.substr(0, found_idx); in matchStaticPath()
379 post_slash = path.substr(found_idx + 1); in matchStaticPath()
/dports/security/p5-Crypt-Perl/Crypt-Perl-0.34/lib/Crypt/Perl/X509/
H A DSCT.pm133 my $found_idx;
137 $found_idx = $idx;
142 if (!defined $found_idx) {
146 return $found_idx;
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dlog_filter.c78 int found_idx = zlog_filter_lookup(filter); in zlog_filter_del() local
81 if (found_idx == -1) in zlog_filter_del()
86 memmove(zlog_filters[found_idx], zlog_filters[found_idx + 1], in zlog_filter_del()
87 (last_idx - found_idx) * sizeof(zlog_filters[0])); in zlog_filter_del()
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dlog_filter.c78 int found_idx = zlog_filter_lookup(filter); in zlog_filter_del() local
81 if (found_idx == -1) in zlog_filter_del()
86 memmove(zlog_filters[found_idx], zlog_filters[found_idx + 1], in zlog_filter_del()
87 (last_idx - found_idx) * sizeof(zlog_filters[0])); in zlog_filter_del()
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/android/md5sum/
H A Dmd5sum.cc84 size_t found_idx = str.find(delim); in StringSplit() local
86 while (found_idx != std::string::npos) { in StringSplit()
87 ret.push_back(str.substr(start_idx, found_idx - start_idx)); in StringSplit()
88 start_idx = found_idx + 1; in StringSplit()
89 found_idx = str.find(delim, start_idx); in StringSplit()
/dports/net/pjsip/pjproject-2.11.1/pjmedia/src/pjmedia/
H A Dtransport_srtp_sdes.c200 pj_ssize_t found_idx; in parse_attr_crypto() local
206 found_idx = pj_strtok(&attr->value, &delim, &token, 0); in parse_attr_crypto()
207 if (found_idx == attr->value.slen) { in parse_attr_crypto()
225 found_idx = pj_strtok(&attr->value, &delim, &token, found_idx+token.slen); in parse_attr_crypto()
226 if (found_idx == attr->value.slen) { in parse_attr_crypto()
234 found_idx = pj_strtok(&attr->value, &delim, &token, found_idx+token.slen); in parse_attr_crypto()
235 if (found_idx == attr->value.slen) { in parse_attr_crypto()
247 found_idx = pj_strtok(&attr->value, &delim, &token, found_idx+token.slen); in parse_attr_crypto()
248 if (found_idx == attr->value.slen) { in parse_attr_crypto()
H A Dtransport_ice.c1194 pj_ssize_t found_idx; in parse_cand() local
1204 if (found_idx == orig_input->slen) { in parse_cand()
1215 found_idx = pj_strtok(orig_input, &delim, &token, found_idx + token.slen); in parse_cand()
1216 if (found_idx == orig_input->slen) { in parse_cand()
1223 found_idx = pj_strtok(orig_input, &delim, &token, found_idx + token.slen); in parse_cand()
1224 if (found_idx == orig_input->slen) { in parse_cand()
1235 found_idx = pj_strtok(orig_input, &delim, &token, found_idx + token.slen); in parse_cand()
1243 found_idx = pj_strtok(orig_input, &delim, &host, found_idx + token.slen); in parse_cand()
1260 found_idx = pj_strtok(orig_input, &delim, &token, found_idx + host.slen); in parse_cand()
1268 found_idx = pj_strtok(orig_input, &delim, &token, found_idx + token.slen); in parse_cand()
[all …]
/dports/devel/make++/makepp-2.0/Mpp/
H A DBuildCacheControl.pm348 my( $found_idx, $found, $found_build_info, $found_extlink );
360 $found_idx = $i;
370 if( $preferred && $found_idx >= $preferred ) {
386 chown @{$lstats[$found_idx]}[UID, GID], $found;
387 chown @{$lstats[$found_idx]}[BIUID, GID], $found_build_info;
389 @{$lstats[$found_idx]}[ATIME, MTIME, UID, GID, BIUID];
390 $found_idx = $round_robin;
395 next if $i == $found_idx;
418 chown @{$lstats[$found_idx]}[UID, GID], "$_[0][$i]/$_";
419 chown @{$lstats[$found_idx]}[BIUID, GID], $build_info;
[all …]
/dports/audio/vitunes/vitunes-2.3/
H A De_commands.c88 int found_idx; in ecmd_addurl() local
123 found_idx = -1; in ecmd_addurl()
127 found_idx = i; in ecmd_addurl()
144 playlist_file_replace(mdb.library, found_idx, m); in ecmd_addurl()
275 int found_idx; in ecmd_rmfile() local
297 found_idx = -1; in ecmd_rmfile()
301 found_idx = i; in ecmd_rmfile()
319 playlist_files_remove(mdb.library, found_idx, 1, false); in ecmd_rmfile()
H A Dvitunes.c382 int found_idx = 0; in load_config() local
420 found_idx = i; in load_config()
426 if ((ret = (CommandPath[found_idx].func)(argc, argv)) != 0) { in load_config()
H A Dcommands.c916 int found_idx = 0; in cmd_execute() local
930 found_idx = i; in cmd_execute()
936 (CommandPath[found_idx].func)(argc, argv); in cmd_execute()
/dports/textproc/lookatme/lookatme-2.3.2/lookatme/widgets/
H A Dclickable_text.py51 found_idx = 0
59 found_idx = idx
76 chunk_stylings[found_idx] = (found_style, new_rle)
/dports/net/pjsip/pjproject-2.11.1/pjlib/src/pj/
H A Dos_info.c103 pj_ssize_t found_idx; in parse_version() local
113 for (found_idx = pj_strtok(&in_str, &delim, &token, 0), i=0; in parse_version()
114 found_idx != in_str.slen && i < maxtok; in parse_version()
115 ++i, found_idx = pj_strtok(&in_str, &delim, &token, in parse_version()
116 found_idx + token.slen)) in parse_version()
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.base/
H A Dindex-cache.exp164 set found_idx [lsearch -exact $files_after $expected_created_file]
166 gdb_assert "$found_idx >= 0" "expected file is there"
168 gdb_assert "$found_idx == -1" "no index cache file generated"
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/driver/
H A Dalsatimer.cpp213 int found_idx = -1; in setTimerFreq() local
232 found_idx = i; in setTimerFreq()
236 if(found_idx == -1) in setTimerFreq()
245 if(found_idx >= 0) in setTimerFreq()
/dports/devel/p5-Curses-UI/Curses-UI-0.9609/lib/Curses/UI/
H A DButtonbox.pm456 my $found_idx;
462 $found_idx = $idx;
469 if (defined $found_idx)
471 $this->{-selected} = $found_idx;
/dports/science/py-dipy/dipy-1.4.1/dipy/denoise/
H A Dnoise_estimate.py242 found_idx = np.sum(np.logical_and(lambda_minus <= s, s <= lambda_plus),
245 if found_idx > prev_idx:
247 prev_idx = found_idx
/dports/print/qpdf/qpdf-10.5.0/libqpdf/
H A DQPDFFormFieldObjectHelper.cc693 size_t found_idx = 0; in writeAppearance() local
695 for (found_idx = 0; found_idx < nopt; ++found_idx) in writeAppearance()
697 if (opt.at(found_idx) == V) in writeAppearance()
707 int wanted_first = QIntC::to_int(found_idx) - 1; in writeAppearance()
708 int wanted_last = QIntC::to_int(found_idx + max_rows) - 2; in writeAppearance()
726 highlight_idx = found_idx - QIntC::to_size(wanted_first); in writeAppearance()
/dports/games/freecell-solver/freecell-solver-6.2.0/
H A Dscans_impl.h206 for (int found_idx = 0; found_idx < num_foundations; ++found_idx) in befs_rate_state() local
209 int)(fcs_foundation_value((*state), found_idx))]; in befs_rate_state()
/dports/mail/roundcube/roundcubemail-1.5.1/program/include/
H A Drcmail_sendmail.php1582 $found_idx = ['to' => null, 'from' => null];
1590 if ($found_idx['from'] === null) {
1591 $found_idx['from'] = $idx;
1603 if ($found_idx['to'] === null) {
1604 $found_idx['to'] = $idx;
1617 $from_idx = $found_idx['to'] !== null ? $found_idx['to'] : $found_idx['from'];
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dmacro_use.rs142 let found_idx = self.mac_refs.iter().position(|mac| import.ends_with(&mac.name)); in check_crate_post() localVariable
144 if let Some(idx) = found_idx { in check_crate_post()
/dports/science/code_saturne/code_saturne-7.1.0/src/lagr/
H A Dcs_lagr_fragmentation.c237 cs_lnum_t found_idx = interf[position][1]; in _add_particle() local
238 cs_real_t stat_weight = cs_lagr_particles_get_real(p_set, found_idx, in _add_particle()
242 cs_lagr_particles_set_real(p_set, found_idx, CS_LAGR_STAT_WEIGHT, auxx+vp); in _add_particle()
H A Dcs_lagr_agglo.c550 cs_lnum_t found_idx = interf[position][1]; in cs_lagr_agglomeration() local
552 = cs_lagr_particles_get_real(p_set, found_idx, CS_LAGR_STAT_WEIGHT); in cs_lagr_agglomeration()
555 cs_lagr_particles_set_real(p_set, found_idx, in cs_lagr_agglomeration()
/dports/devel/sccache/sccache-0.2.15/cargo-crates/multipart-0.15.4/src/server/
H A Dboundary.rs74 Ok(found_idx) => { in read_to_boundary()
75 self.search_idx += found_idx; in read_to_boundary()

12